]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Adjust language-code fields of LC_ADDRESS.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b85545a6
CL
12013-10-24 Chris Leonard <cjl@sugarlabs.org>
2
3 * locale/iso-639.def: Add Ligurian (lij)
4
d1f23d46
OB
52013-10-21 Ondřej Bílka <neleai@seznam.cz>
6
7 [BZ #15825]
8 * sunrpc/rpc_main.c: Document rpcgen -5.
9
4db5b08f
MS
102013-10-19 Michael Stahl <mstahl@redhat.com>
11
12 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13
a471e96a
OB
142013-10-19 Ondřej Bílka <neleai@seznam.cz>
15
d1f23d46 16 [BZ #10278]
a471e96a
OB
17 * posix/glob.c: Match only directories when trailing slash is present.
18 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19 (main): Add testcase.
20
45c30c61
OB
212013-10-19 Ondřej Bílka <neleai@seznam.cz>
22
23 [BZ #15670]
24 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25
484c12fb
CD
262013-10-18 Carlos O'Donell <carlos@redhat.com>
27
3d7dc513
CD
28 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30 AUTH_DES and cindex for FIPS 140-2.
31 (DES Encryption): Add cindex FIPS 46-3.
32
484c12fb
CD
33 * locale/locarchive.h (struct locarhandle): Add fname.
34 * locale/programs/localedef.c (main): Pass ARGV[remaining]
35 if an optional argument was specified to --list-archive,
36 otherwise NULL.
37 * locale/programs/locarchive.c (show_archive_content): Take new
38 argument fname and pass it via ah.fname to open_archive.
39 * locale/programs/localedef.h: Update decl.
40 (open_archive): If AH->fname is non-null, open that file
41 rather than the default file name, and don't ignore ENOENT.
42 (create_archive): Set AH.fname to NULL.
43 (delete_locales_from_archive): Likewise.
44 (add_locales_to_archive): Likewise.
45 * locale/programs/locfile.c (write_all_categories): Likewise.
46
3c8325fb
JM
472013-10-18 Joseph Myers <joseph@codesourcery.com>
48 Aldy Hernandez <aldyh@redhat.com>
49
50 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
52 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
53 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
54 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
56 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
57 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
58 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
59 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
60 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
62 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
63 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
64 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
65 Likewise.
66 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
67 Likewise.
68 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
69 Likewise.
70 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
71 Likewise.
72 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
73 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
74 Likewise.
75 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
76 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
77 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
78 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
79 Likewise.
80 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
81 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
82 * sysdeps/powerpc/preconfigure: Likewise.
83 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
84 Likewise.
85 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
86 Replace contents of file by #include of <fenv_libc.h>.
87 * sysdeps/powerpc/soft-fp/sfp-machine.h
88 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
89 and <sys/prctl.h>.
90 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
91 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
92 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
93 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
94 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
95 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
96 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
97 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
98 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
99 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
100 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
101 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
103 Allow copysignl PLT reference to be missing.
104
5abe0682
RS
1052013-10-18 Richard Sandiford <richard@codesourcery.com>
106 Joseph Myers <joseph@codesourcery.com
107
108 [BZ #15948]
109 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
110 single character.
111 (add_to_tablewc): Assert sequence of wide characters is nonempty.
112
c7738d08
SP
1132013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
114
115 * elf/tst-tls-dlinfo.c: Don't include tls.h.
116 * elf/tst-tls1.c: Likewise.
117 * elf/tst-tls10.h: Likewise.
118 * elf/tst-tls14.c: Likewise.
119 * elf/tst-tls2.c: Likewise.
120 * elf/tst-tls3.c: Likewise.
121 * elf/tst-tls4.c: Likewise.
122 * elf/tst-tls5.c: Likewise.
123 * elf/tst-tls6.c: Likewise.
124 * elf/tst-tls7.c: Likewise.
125 * elf/tst-tls8.c: Likewise.
126 * elf/tst-tls9.c: Likewise.
127 * elf/tst-tlsmod1.c: Likewise.
128 * elf/tst-tlsmod13.c: Likewise.
129 * elf/tst-tlsmod13a.c: Likewise.
130 * elf/tst-tlsmod14a.c: Likewise.
131 * elf/tst-tlsmod16a.c: Likewise.
132 * elf/tst-tlsmod16b.c: Likewise.
133 * elf/tst-tlsmod2.c: Likewise.
134 * elf/tst-tlsmod3.c: Likewise.
135 * elf/tst-tlsmod4.c: Likewise.
136 * elf/tst-tlsmod5.c: Likewise.
137 * elf/tst-tlsmod6.c: Likewise.
138
0bfcf2c7
OB
1392013-10-18 Ondřej Bílka <neleai@seznam.cz>
140
141 [BZ #12486]
142 * malloc/malloc.c: remove checks for statistics.
143
264aad1e
OB
1442013-10-17 Ondřej Bílka <neleai@seznam.cz>
145
146 [BZ #15277]
147 * inet/inet_net.c (inet_network): Detect additional invalid strings.
148 * inet/tst-network.c: Add testcase.
149
b957ced8
AS
1502013-10-17 Andreas Schwab <schwab@suse.de>
151
152 [BZ #15218]
153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
154 to determine canonical name.
155
c5d5d574
OB
1562013-10-17 Ondřej Bílka <neleai@seznam.cz>
157
158 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
159 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
160 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
161 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
162 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
163 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
164 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
165 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
166 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
167 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
168 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
169 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
170 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
171 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
172 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
173 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
174 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
175 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
176 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
177 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
178 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
179 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
180 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
181 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
182 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
183 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
184 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
185 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
186 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
187 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
188 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
189 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
190 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
191 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
192 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
193 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
194 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
195 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
196 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
197 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
198 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
199 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
200 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
201 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
202 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
203 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
204 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
205 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
206 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
207 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
208 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
209 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
210 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
211 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
212 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
213 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
214 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
215 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
216
e5c2c2d0
JM
2172013-10-17 Joseph Myers <joseph@codesourcery.com>
218
219 [BZ #16041]
220 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
221 make result into a quiet NaN.
222
51ca9e29
JM
2232013-10-16 Joseph Myers <joseph@codesourcery.com>
224
225 * soft-fp/adddf3.c: Fix horizontal whitespace.
226 * soft-fp/addsf3.c: Likewise.
227 * soft-fp/addtf3.c: Likewise.
228 * soft-fp/divdf3.c: Likewise.
229 * soft-fp/divsf3.c: Likewise.
230 * soft-fp/divtf3.c: Likewise.
231 * soft-fp/double.h: Likewise.
232 * soft-fp/eqdf2.c: Likewise.
233 * soft-fp/eqsf2.c: Likewise.
234 * soft-fp/eqtf2.c: Likewise.
235 * soft-fp/extenddftf2.c: Likewise.
236 * soft-fp/extended.h: Likewise.
237 * soft-fp/extendsfdf2.c: Likewise.
238 * soft-fp/extendsftf2.c: Likewise.
239 * soft-fp/extendxftf2.c: Likewise.
240 * soft-fp/fixdfdi.c: Likewise.
241 * soft-fp/fixdfsi.c: Likewise.
242 * soft-fp/fixdfti.c: Likewise.
243 * soft-fp/fixsfdi.c: Likewise.
244 * soft-fp/fixsfsi.c: Likewise.
245 * soft-fp/fixsfti.c: Likewise.
246 * soft-fp/fixtfdi.c: Likewise.
247 * soft-fp/fixtfsi.c: Likewise.
248 * soft-fp/fixtfti.c: Likewise.
249 * soft-fp/fixunsdfdi.c: Likewise.
250 * soft-fp/fixunsdfsi.c: Likewise.
251 * soft-fp/fixunsdfti.c: Likewise.
252 * soft-fp/fixunssfdi.c: Likewise.
253 * soft-fp/fixunssfsi.c: Likewise.
254 * soft-fp/fixunssfti.c: Likewise.
255 * soft-fp/fixunstfdi.c: Likewise.
256 * soft-fp/fixunstfsi.c: Likewise.
257 * soft-fp/fixunstfti.c: Likewise.
258 * soft-fp/floatdidf.c: Likewise.
259 * soft-fp/floatdisf.c: Likewise.
260 * soft-fp/floatditf.c: Likewise.
261 * soft-fp/floatsidf.c: Likewise.
262 * soft-fp/floatsisf.c: Likewise.
263 * soft-fp/floatsitf.c: Likewise.
264 * soft-fp/floattidf.c: Likewise.
265 * soft-fp/floattisf.c: Likewise.
266 * soft-fp/floattitf.c: Likewise.
267 * soft-fp/floatundidf.c: Likewise.
268 * soft-fp/floatundisf.c: Likewise.
269 * soft-fp/floatunditf.c: Likewise.
270 * soft-fp/floatunsidf.c: Likewise.
271 * soft-fp/floatunsisf.c: Likewise.
272 * soft-fp/floatunsitf.c: Likewise.
273 * soft-fp/floatuntidf.c: Likewise.
274 * soft-fp/floatuntisf.c: Likewise.
275 * soft-fp/floatuntitf.c: Likewise.
276 * soft-fp/fmadf4.c: Likewise.
277 * soft-fp/fmasf4.c: Likewise.
278 * soft-fp/fmatf4.c: Likewise.
279 * soft-fp/gedf2.c: Likewise.
280 * soft-fp/gesf2.c: Likewise.
281 * soft-fp/getf2.c: Likewise.
282 * soft-fp/ledf2.c: Likewise.
283 * soft-fp/lesf2.c: Likewise.
284 * soft-fp/letf2.c: Likewise.
285 * soft-fp/muldf3.c: Likewise.
286 * soft-fp/mulsf3.c: Likewise.
287 * soft-fp/multf3.c: Likewise.
288 * soft-fp/negdf2.c: Likewise.
289 * soft-fp/negsf2.c: Likewise.
290 * soft-fp/negtf2.c: Likewise.
291 * soft-fp/op-1.h: Likewise.
292 * soft-fp/op-2.h: Likewise.
293 * soft-fp/op-4.h: Likewise.
294 * soft-fp/op-8.h: Likewise.
295 * soft-fp/op-common.h: Likewise.
296 * soft-fp/quad.h: Likewise.
297 * soft-fp/single.h: Likewise.
298 * soft-fp/soft-fp.h: Likewise.
299 * soft-fp/sqrtdf2.c: Likewise.
300 * soft-fp/sqrtsf2.c: Likewise.
301 * soft-fp/sqrttf2.c: Likewise.
302 * soft-fp/subdf3.c: Likewise.
303 * soft-fp/subsf3.c: Likewise.
304 * soft-fp/subtf3.c: Likewise.
305 * soft-fp/truncdfsf2.c: Likewise.
306 * soft-fp/trunctfdf2.c: Likewise.
307 * soft-fp/trunctfsf2.c: Likewise.
308 * soft-fp/trunctfxf2.c: Likewise.
309 * soft-fp/unorddf2.c: Likewise.
310 * soft-fp/unordsf2.c: Likewise.
311 * soft-fp/unordtf2.c: Likewise.
312
9ebb0332
JM
3132013-10-15 Joseph Myers <joseph@codesourcery.com>
314
315 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
316 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
317
4b1a6d8b
OB
3182013-10-15 Ondřej Bílka <neleai@seznam.cz>
319
320 * elf/dl-libc.c: Clear initfini list after freeing.
321
1e145589
JM
3222013-10-14 Joseph Myers <joseph@codesourcery.com>
323
324 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
325 * soft-fp/addsf3.c: Likewise.
326 * soft-fp/addtf3.c: Likewise.
327 * soft-fp/divdf3.c: Likewise.
328 * soft-fp/divsf3.c: Likewise.
329 * soft-fp/divtf3.c: Likewise.
330 * soft-fp/double.h: Likewise.
331 * soft-fp/eqdf2.c: Likewise.
332 * soft-fp/eqsf2.c: Likewise.
333 * soft-fp/eqtf2.c: Likewise.
334 * soft-fp/extenddftf2.c: Likewise.
335 * soft-fp/extended.h: Likewise.
336 * soft-fp/extendsfdf2.c: Likewise.
337 * soft-fp/extendsftf2.c: Likewise.
338 * soft-fp/extendxftf2.c: Likewise.
339 * soft-fp/fixdfdi.c: Likewise.
340 * soft-fp/fixdfsi.c: Likewise.
341 * soft-fp/fixdfti.c: Likewise.
342 * soft-fp/fixsfdi.c: Likewise.
343 * soft-fp/fixsfsi.c: Likewise.
344 * soft-fp/fixsfti.c: Likewise.
345 * soft-fp/fixtfdi.c: Likewise.
346 * soft-fp/fixtfsi.c: Likewise.
347 * soft-fp/fixtfti.c: Likewise.
348 * soft-fp/fixunsdfdi.c: Likewise.
349 * soft-fp/fixunsdfsi.c: Likewise.
350 * soft-fp/fixunsdfti.c: Likewise.
351 * soft-fp/fixunssfdi.c: Likewise.
352 * soft-fp/fixunssfsi.c: Likewise.
353 * soft-fp/fixunssfti.c: Likewise.
354 * soft-fp/fixunstfdi.c: Likewise.
355 * soft-fp/fixunstfsi.c: Likewise.
356 * soft-fp/fixunstfti.c: Likewise.
357 * soft-fp/floatdidf.c: Likewise.
358 * soft-fp/floatdisf.c: Likewise.
359 * soft-fp/floatditf.c: Likewise.
360 * soft-fp/floatsidf.c: Likewise.
361 * soft-fp/floatsisf.c: Likewise.
362 * soft-fp/floatsitf.c: Likewise.
363 * soft-fp/floattidf.c: Likewise.
364 * soft-fp/floattisf.c: Likewise.
365 * soft-fp/floattitf.c: Likewise.
366 * soft-fp/floatundidf.c: Likewise.
367 * soft-fp/floatundisf.c: Likewise.
368 * soft-fp/floatunsidf.c: Likewise.
369 * soft-fp/floatunsisf.c: Likewise.
370 * soft-fp/floatuntidf.c: Likewise.
371 * soft-fp/floatuntisf.c: Likewise.
372 * soft-fp/floatuntitf.c: Likewise.
373 * soft-fp/fmadf4.c: Likewise.
374 * soft-fp/fmasf4.c: Likewise.
375 * soft-fp/fmatf4.c: Likewise.
376 * soft-fp/gedf2.c: Likewise.
377 * soft-fp/gesf2.c: Likewise.
378 * soft-fp/getf2.c: Likewise.
379 * soft-fp/ledf2.c: Likewise.
380 * soft-fp/lesf2.c: Likewise.
381 * soft-fp/letf2.c: Likewise.
382 * soft-fp/muldf3.c: Likewise.
383 * soft-fp/mulsf3.c: Likewise.
384 * soft-fp/multf3.c: Likewise.
385 * soft-fp/negdf2.c: Likewise.
386 * soft-fp/negsf2.c: Likewise.
387 * soft-fp/negtf2.c: Likewise.
388 * soft-fp/op-1.h: Likewise.
389 * soft-fp/op-2.h: Likewise.
390 * soft-fp/op-4.h: Likewise.
391 * soft-fp/op-8.h: Likewise.
392 * soft-fp/op-common.h: Likewise.
393 * soft-fp/quad.h: Likewise.
394 * soft-fp/single.h: Likewise.
395 * soft-fp/soft-fp.h: Likewise.
396 * soft-fp/sqrtdf2.c: Likewise.
397 * soft-fp/sqrtsf2.c: Likewise.
398 * soft-fp/sqrttf2.c: Likewise.
399 * soft-fp/subdf3.c: Likewise.
400 * soft-fp/subsf3.c: Likewise.
401 * soft-fp/subtf3.c: Likewise.
402 * soft-fp/truncdfsf2.c: Likewise.
403 * soft-fp/trunctfdf2.c: Likewise.
404 * soft-fp/trunctfsf2.c: Likewise.
405 * soft-fp/trunctfxf2.c: Likewise.
406 * soft-fp/unorddf2.c: Likewise.
407 * soft-fp/unordsf2.c: Likewise.
408 * soft-fp/unordtf2.c: Likewise.
409
17c48a60
OB
4102013-10-14 Ondřej Bílka <neleai@seznam.cz>
411
412 [BZ #15672]
413 * misc/error.c (error_tail): Fix possible buffer overflow.
414
cabba934
OB
4152013-10-14 Aurelien Jarno <aurelien@aurel32.net>
416
417 [BZ #13028]
418 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
419 address.
420
94bf958a
PM
4212013-10-14 P. J. McDermott <pj@pehjota.net>
422
423 [BZ #832]
424 * elf/ldd.bash.in (try_trace): New function. Delete previous code
425 testing pipefail option.
426
71b4dea7
JM
4272013-10-12 Joseph Myers <joseph@codesourcery.com>
428
429 * soft-fp/double.h: Indent preprocessor directives inside #if.
430 * soft-fp/extended.h: Likewise.
431 * soft-fp/op-2.h: Likewise.
432 * soft-fp/op-4.h: Likewise.
433 * soft-fp/op-common.h: Likewise.
434 * soft-fp/quad.h: Likewise.
435 * soft-fp/single.h: Likewise.
436 * soft-fp/soft-fp.h: Likewise.
437
55602758
YC
4382013-10-12 Yuri Chornoivan <yurchor@ukr.net>
439
440 * iconv/iconv_prog.c: Fix typos.
441 * stdio-common/psiginfo-data.h: Likewise.
442
9cd83302
RT
4432013-10-12 Reuben Thomas <rrt@sc3d.org>
444
445 [BZ #15764]
446 * locale/setlocale.c: Fix typo.
447
99fd9f47
JM
4482013-10-12 Joseph Myers <joseph@codesourcery.com>
449
b7ea74f0
JM
450 [BZ #16036]
451 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
452 signaling NaN arguments.
453 * soft-fp/unordsf2.c (__unordsf2): Likewise.
454 * soft-fp/unordtf2.c (__unordtf2): Likewise.
455
8a509447
JM
456 [BZ #14910]
457 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
458 unordered operands.
459 * soft-fp/gesf2.c (__gesf2): Likewise.
460 * soft-fp/getf2.c (__getf2): Likewise.
461 * soft-fp/ledf2.c (__ledf2): Likewise.
462 * soft-fp/lesf2.c (__lesf2): Likewise.
463 * soft-fp/letf2.c (__letf2): Likewise.
464
98998e9f
JM
465 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
466 * soft-fp/eqsf2.c (__eqsf2): Likewise.
467 * soft-fp/eqtf2.c (__eqtf2): Likewise.
468 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
469 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
470 * soft-fp/fixdfti.c (__fixdfti): Likewise.
471 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
472 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
473 * soft-fp/fixsfti.c (__fixsfti): Likewise.
474 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
475 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
476 * soft-fp/fixtfti.c (__fixtfti): Likewise.
477 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
478 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
479 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
480 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
481 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
482 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
483 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
484 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
485 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
486 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
487 * soft-fp/floatdisf.c (__floatdisf): Likewise.
488 * soft-fp/floatsisf.c (__floatsisf): Likewise.
489 * soft-fp/floattidf.c (__floattidf): Likewise.
490 * soft-fp/floattisf.c (__floattisf): Likewise.
491 * soft-fp/floattitf.c (__floattitf): Likewise.
492 * soft-fp/floatundidf.c (__floatundidf): Likewise.
493 * soft-fp/floatundisf.c (__floatundisf): Likewise.
494 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
495 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
496 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
497 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
498 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
499 * soft-fp/gesf2.c (__gesf2): Likewise.
500 * soft-fp/getf2.c (__getf2): Likewise.
501 * soft-fp/ledf2.c (__ledf2): Likewise.
502 * soft-fp/lesf2.c (__lesf2): Likewise.
503 * soft-fp/letf2.c (__letf2): Likewise.
504
8edc4a11
JM
505 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
506 Undefine and redefine.
507 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
508 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
509 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
510 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
511 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
512 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
513 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
514 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
515 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
516 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
517 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
518 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
519 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
520 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
521 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
522
8399acaf
JM
523 [BZ #16032]
524 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
525 without decrementing exponent if mantissa >= that for the
526 denominator, not >.
527 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
528 denominator, not >. Decrement exponent in < case instead of
529 incrementing in >= case.
530 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
531 without decrementing exponent if mantissa >= that for the
532 denominator, not >.
533
99fd9f47
JM
534 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
535 computing saturated result for unsigned overflow.
536
10e1cf6b
SP
5372013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
538 Jeff Law <law@redhat.com>
539
540 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
541 (atan2Mp): Add systemtap probe marker.
542 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
543 (__ieee754_log): Add systemtap probe marker.
544 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
545 (atanMp): Add systemtap probe marker.
546 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
547 (tanMp): Add systemtap probe marker.
548 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
549 (__slowexp): Add systemtap probe marker.
550 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
551 (__slowpow): Add systemtap probe marker.
552 * manual/probes.texi: Document probes.
553
3d110c7c
EB
5542013-10-11 Eric Biggers <ebiggers3@gmail.com>
555
556 [BZ #15362]
557 * libio/fileops.c (_IO_new_file_write): Return count of bytes
558 written.
559 (_IO_new_file_xsputn): Don't return EOF if nothing has been
560 written.
561 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
562 written to buffer but not flushed.
563 * libio/iofwrite_u.c: Likewise.
564 * libio/iopadn.c: Return bytes returned even if EOF was
565 encountered.
566 * libio/iowpadn.c: Likewise.
567 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
568 if _IO_padn does not write the whole buffer.
569 [!COMPILE_WPRINTF] (PAD): Likewise.
570
75b4202a
DM
5712013-10-10 David S. Miller <davem@davemloft.net>
572
573 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
574 directory block.
575
6c6352e6
JM
5762013-10-10 Joseph Myers <joseph@codesourcery.com>
577
33b853c3
JM
578 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
579 instead of FSF address.
580 * soft-fp/fixdfti.c: Likewise.
581 * soft-fp/fixsfti.c: Likewise.
582 * soft-fp/fixtfti.c: Likewise.
583 * soft-fp/fixunsdfti.c: Likewise.
584 * soft-fp/fixunssfti.c: Likewise.
585 * soft-fp/fixunstfti.c: Likewise.
586 * soft-fp/floattidf.c: Likewise.
587 * soft-fp/floattisf.c: Likewise.
588 * soft-fp/floattitf.c: Likewise.
589 * soft-fp/floatuntidf.c: Likewise.
590 * soft-fp/floatuntisf.c: Likewise.
591 * soft-fp/floatuntitf.c: Likewise.
592 * soft-fp/trunctfxf2.c: Likewise.
593
6c6352e6
JM
594 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
595 * soft-fp/fixdfti.c: Likewise.
596 * soft-fp/fixsfti.c: Likewise.
597 * soft-fp/fixtfti.c: Likewise.
598 * soft-fp/fixunsdfti.c: Likewise.
599 * soft-fp/fixunssfti.c: Likewise.
600 * soft-fp/fixunstfti.c: Likewise.
601 * soft-fp/floattidf.c: Likewise.
602 * soft-fp/floattisf.c: Likewise.
603 * soft-fp/floattitf.c: Likewise.
604 * soft-fp/floatuntidf.c: Likewise.
605 * soft-fp/floatuntisf.c: Likewise.
606 * soft-fp/floatuntitf.c: Likewise.
607 * soft-fp/trunctfxf2.c: Likewise.
608
3bf78b71
DM
6092013-10-10 David S. Miller <davem@davemloft.net>
610
611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
612
6f10289e
JM
6132013-10-10 Joseph Myers <joseph@codsourcery.com>
614
bd878fc0
JM
615 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
616 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
617 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
618 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
619 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
620 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
621 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
622
6f10289e
JM
623 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
624 for NaNs before doing comparisons on argument.
625 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
626 Likewise.
627
321e2684
WN
6282013-10-10 Will Newton <will.newton@linaro.org>
629
630 * malloc/hooks.c (memalign_check): Ensure the value of bytes
631 passed to _int_memalign does not overflow.
632
40fefba1
TR
6332013-10-10 Torvald Riegel <triegel@redhat.com>
634
635 * scripts/bench.pl: Add include-sources directive.
636 * benchtests/README: Update documentation.
637
2ae21ed2
JM
6382013-10-10 Joseph Myers <joseph@codesourcery.com>
639
dcc2dd3f
JM
640 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
641 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
642 instead of FP_INIT_ROUNDMODE.
643 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
644 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
645
2ae21ed2
JM
646 [BZ #16034]
647 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
648 copy class of input value.
649 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
650 not handle exceptions.
651 * soft-fp/negsf2.c (__negsf2): Likewise.
652 * soft-fp/negtf2.c (__negtf2): Likewise.
653 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
654
cb8f9562
JM
6552013-10-09 Joseph Myers <joseph@codesourcery.com>
656
657 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
658 semicolon. From Linux kernel.
659
5b60c59d
AB
6602013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
661
662 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
663
b86835ca
YC
6642013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
665
666 [BZ #156]
667 * manual/socket.texi: Added statement about buffer
668 for gethostbyname2_r.
669
e7044ea7
OB
6702013-10-08 Ondřej Bílka <neleai@seznam.cz>
671
672 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
673 Use .p2align directive instead, throughout.
674 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
675 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
676 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
677 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
679 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
680 * sysdeps/x86_64/strchr.S: Likewise.
681 * sysdeps/x86_64/strrchr.S: Likewise.
682
09544cbc
SP
6832013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
684
88576635
SP
685 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
686
e7b2d1dd
SP
687 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
688
09544cbc
SP
689 * sysdeps/generic/math_private.h (__mpsin1): Remove
690 declaration.
691 (__mpcos1): Likewise.
692 (__mpsin): New argument __range_reduce.
693 (__mpcos): Likewise.
694 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
695 (slow): Use __mpsin and __mpcos.
696 (slow1): Likewise.
697 (slow2): Likewise.
698 (sloww): Likewise.
699 (sloww1): Likewise.
700 (sloww2): Likewise.
701 (bsloww): Likewise.
702 (bsloww1): Likewise.
703 (bsloww2): Likewise.
704 (cslow2): Likewise.
705 (csloww): Likewise.
706 (csloww1): Likewise.
707 (csloww2): Likewise.
708 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
709 range_reduce. Merge in __mpsin1.
710 (__mpcos): Likewise.
711 (__mpsin1): Remove.
712 (__mpcos1): Likewise.
713
7602d070
JM
7142013-10-07 Joseph Myers <joseph@codesourcery.com>
715
716 * locale/loadlocale.c (_nl_intern_locale_data): Use
717 LOCFILE_ALIGNED_P.
718 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
719 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
720 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
721 obstack data is appropriately aligned.
722 (obstack_int32_grow_fast): Likewise.
723 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
724 * locale/programs/locfile.c (add_locale_uint32): Likewise.
725 (add_locale_uint32_array): Likewise.
726
a357259b
SP
7272013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
728
729 * benchtests/Makefile: Remove ARGLIST and RET variables.
730 ($(objpfx)bench-%.c): Pass only function name to the script.
731 * benchtests/README: Update documentation.
732 * benchtests/acos-inputs: Add new directives.
733 * benchtests/acosh-inputs: Likewise.
734 * benchtests/asin-inputs: Likewise.
735 * benchtests/asinh-inputs: Likewise.
736 * benchtests/atan-inputs: Likewise.
737 * benchtests/atanh-inputs: Likewise.
738 * benchtests/cos-inputs: Likewise.
739 * benchtests/cosh-inputs: Likewise.
740 * benchtests/exp-inputs: Likewise.
741 * benchtests/log-inputs: Likewise.
742 * benchtests/pow-inputs: Likewise.
743 * benchtests/rint-inputs: Likewise.
744 * benchtests/sin-inputs: Likewise.
745 * benchtests/sinh-inputs: Likewise.
746 * benchtests/tan-inputs: Likewise.
747 * benchtests/tanh-inputs: Likewise.
748 * scripts/bench.pl: Add support for new directives.
749
9ec1b13d
AM
7502013-10-07 Alan Modra <amodra@gmail.com>
751
752 * README: Fix careless merge.
753
8b7d57cd
AM
7542013-10-05 Alan Modra <amodra@gmail.com>
755
756 * NEWS: Mention powerpc64le support and bugs fixed.
757 * README: Both big-endian and little-endian powerpc64 supported.
758
7b7bab13
ST
7592013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
760
761 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
762 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
763 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
764 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
765
d39baad1
RA
7662013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
767
768 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
769 match prototype.
770
cd78f7e7
JM
7712013-10-04 Joseph Myers <joseph@codesourcery.com>
772
29d73d86
JM
773 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
774 Move -mhard-float appending from
775 ports/sysdeps/powerpc/powerpc32/Makefile.
776 [$(with-fp) = yes] (ASFLAGS): Likewise.
777 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
778 * sysdeps/powerpc/nofpu: Move directory from
779 ports/sysdeps/powerpc/nofpu.
780 * sysdeps/powerpc/soft-fp: Move directory from
781 ports/sysdeps/powerpc/soft-fp.
782 * sysdeps/powerpc/powerpc32/405: Move directory from
783 ports/sysdeps/powerpc/powerpc32/405.
784 * sysdeps/powerpc/powerpc32/440: Move directory from
785 ports/sysdeps/powerpc/powerpc32/440.
786 * sysdeps/powerpc/powerpc32/464: Move directory from
787 ports/sysdeps/powerpc/powerpc32/464.
788 * sysdeps/powerpc/powerpc32/476: Move directory from
789 ports/sysdeps/powerpc/powerpc32/476.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
791 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
793 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
795 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
797 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
799 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
800 * README: Update for powerpc-*-linux-gnu software floating point
801 support in libc.
802
e246b347
JM
803 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
804 case to powerpc/powerpc32*.
805 * sysdeps/unix/sysv/linux/configure: Regenerated.
806
89c2003e
JM
807 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
808 (_FPU_MASK_OM): Define as 0x04.
809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
811 0x00c10080.
812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
813 0x0000003c.
814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
815
cd78f7e7
JM
816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
817 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
818 getcontext_e500.
819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
820 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
821 setcontext_e500.
822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
823 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
824 and setcontext_e500.
825
c755294d
CL
8262013-10-04 Chris Leonard <cjl@sugarlabs,.org>
827
828 * locale/iso-3166.def: Update iso-1366.def and related occurrences
829
e16d221c
SP
8302013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
831
832 * manual/threads.texi (Default Thread Attributes): Fix typo.
833
215c7d43
WN
8342013-10-04 Will Newton <will.newton@linaro.org>
835
836 * malloc/Makefile: Add tst-memalign.
837 * malloc/tst-memalign.c: New file.
838
27d0461b
WN
839 * malloc/tst-posix_memalign.c: Add comments.
840 (do_test): Add comments and call free on all potentially
841 allocated pointers. Add space after cast.
842
1bc92709
WN
843 * malloc/tst-pvalloc.c: Add comments.
844 (do_test): Add comments and call free on all potentially
845 allocated pointers. Remove duplicate check for NULL pointer.
846 Add space after cast.
847
66a9be9d
WN
848 * malloc/tst-valloc.c: Add comments.
849 (do_test): Add comments and call free on all potentially
850 allocated pointers. Remove duplicate check for NULL pointer.
851 Add space after cast.
852
4cb81307
AM
8532013-10-04 Alan Modra <amodra@gmail.com>
854
855 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
856 Use stdint types in rather than __attribute__((mode())).
857 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
858
f8e3e9f3
AM
8592013-10-04 Alan Modra <amodra@gmail.com>
860
861 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
862 Correct handling of unaligned relocs for little-endian.
863 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
864
8f9ebb08
AM
8652013-10-04 Alan Modra <amodra@gmail.com>
866
867 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
868 * configure: Regenerate.
869 * nptl/shlib-versions: Powerpc*le starts at 2.18.
870 * shlib-versions: Likewise.
871
0edf96c2
AM
8722013-10-04 Alan Modra <amodra@gmail.com>
873
874 * string/tester.c (test_memrchr): Increment reported test cycle.
875
e0f7a380
AM
8762013-10-04 Alan Modra <amodra@gmail.com>
877
878 * string/test-memcpy.c (do_one_test): When reporting errors, print
879 string address and don't overrun end of string.
880
466b0393
AM
8812013-10-04 Alan Modra <amodra@gmail.com>
882
883 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
884 insrdi. Make better use of reg selection to speed exit slightly.
885 Schedule entry path a little better. Remove useless "are we done"
886 checks on entry to main loop. Handle wrapping around zero address.
887 Correct main loop count. Handle single left-over word from main
888 loop inline rather than by using loop_small. Remove extra word
889 case in loop_small caused by wrong loop count. Add little-endian
890 support.
891 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
892 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
893 cache hint.
894 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
895 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
896 support. Avoid rlwimi.
897 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
898
3be87c77
AM
8992013-10-04 Alan Modra <amodra@gmail.com>
900
901 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 902 insrdi. Formatting.
3be87c77
AM
903 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
904 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
905 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
906 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
907 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
908 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
909
759cfef3
AM
9102013-10-04 Alan Modra <amodra@gmail.com>
911
912 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
913 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
914 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
915 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
916 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
917 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
918 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
919 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
920 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
921 use of regs. Use power7 mtocrf. Tidy function tails.
922
fe6e95d7
AM
9232013-10-04 Alan Modra <amodra@gmail.com>
924
925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
926 Formatting. Consistently use rXXX register defines or rN defines.
927 Use early exit labels that avoid restoring unused non-volatile regs.
928 Make cr field use more consistent with rWORDn compares. Rename
929 regs used as shift registers for unaligned loop, using rN defines
930 for short lifetime/multiple use regs.
931 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
932 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
933 addi 1,1,64 to pop stack frame. Simplify return value code.
934 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
935
664318c3
AM
9362013-10-04 Alan Modra <amodra@gmail.com>
937
938 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
939 support. Correct typos, formatting. Optimize tail. Use insrdi
940 rather than rlwimi.
941 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
942 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
943 little-endian support. Correct typos.
944 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
945 rather than rlwimi.
946 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
947 in loop and entry code to keep "and." results.
948 (strchr): Add little-endian support. Comment. Move cntlzd
949 earlier in tail.
950 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
951
43b84013
AM
9522013-10-04 Alan Modra <amodra@gmail.com>
953
954 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
955 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
956 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
957 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
958
8a7413f9
AM
9592013-10-04 Alan Modra <amodra@gmail.com>
960
961 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
962 (rTMP): Define as r11.
963 (strcmp): Add little-endian support. Optimise tail.
964 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
965 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
966 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
967 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
968 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
969 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
970 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
971
33ee81de
AM
9722013-10-04 Alan Modra <amodra@gmail.com>
973
974 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
975 little-endian support. Remove unnecessary "are we done" tests.
976 Handle "s" wrapping around zero and extremely large "size".
977 Correct main loop count. Handle single left-over word from main
978 loop inline rather than by using small_loop. Correct comments.
979 Delete "zero" tail, use "end_max" instead.
980 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
981
db9b4570
AM
9822013-10-04 Alan Modra <amodra@gmail.com>
983
984 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
985 support. Don't branch over align.
986 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
987 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
988 support. Rearrange tmp reg use to suit. Comment.
989 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
990
f7c399cf
AM
9912013-10-04 Alan Modra <amodra@gmail.com>
992
993 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
994
0b2c2ace
AM
9952013-10-04 Alan Modra <amodra@gmail.com>
996
997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
998 conditional form of branch and link when obtaining pc.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1000
02f04a6c
AM
10012013-10-04 Alan Modra <amodra@gmail.com>
1002
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1004 HIWORD/LOWORD.
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1007
9b874b2f
AM
10082013-10-04 Alan Modra <amodra@gmail.com>
1009
1010 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1011 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1012 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1013 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1014 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1015 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1016 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1017 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1018 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1019 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1020
be1e5d31
AB
10212013-10-04 Anton Blanchard <anton@au1.ibm.com>
1022 Alistair Popple <alistair@ozlabs.au.ibm.com>
1023 Alan Modra <amodra@gmail.com>
1024
1025 [BZ #15723]
1026 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1027 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1028 _dl_hwcap access for little-endian.
1029 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1030 destroy vmx regs when saving unaligned.
1031 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1032 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1033 destroy vmx regs when saving unaligned.
1034
fef13a78
AM
10352013-10-04 Alan Modra <amodra@gmail.com>
1036
1037 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1038 Don't use a union to pack hi/low value.
1039
76a66d51
AB
10402013-10-04 Anton Blanchard <anton@au1.ibm.com>
1041
1042 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1043 for little-endian.
1044 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1046 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1047 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1048 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1049
6a31fe7f
AM
10502013-10-04 Alan Modra <amodra@gmail.com>
1051
1052 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1053 constants to usual value for .cst8 section, and remove redundant
1054 high address load.
1055 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1056 constant for 0x1p52. Load little-endian words of double from
1057 correct stack offsets.
1058
7b88401f
AM
10592013-10-04 Alan Modra <amodra@gmail.com>
1060
1061 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1062 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1063 words of double from correct stack offsets.
1064 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1065 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1066 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1067 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1068 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1069 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1070 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1071 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1072 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1073 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1074 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1075 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1076 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1077 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1078 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1079 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1080 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1081
9c008155
AM
10822013-10-04 Alan Modra <amodra@gmail.com>
1083
1084 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1085 64-bit int/double union.
1086 (_FPU_SETCW): Likewise.
1087 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1088 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1089
da13146d
AM
10902013-10-04 Alan Modra <amodra@gmail.com>
1091
1092 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1093 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1094
603e8410
AM
10952013-10-04 Alan Modra <amodra@gmail.com>
1096
1097 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1098 use vector int constants.
1099 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1100
4a28b3ca
AB
11012013-10-04 Anton Blanchard <anton@au1.ibm.com>
1102
1103 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1104 array with long long.
1105 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1106 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1107 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1108 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1109 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1110 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1111 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1112 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1113 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1114 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1115 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1116 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1117 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1118
2ca85d2b
AB
11192013-10-04 Anton Blanchard <anton@au1.ibm.com>
1120
1121 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1122 (__signbit): Likewise. Correct for little-endian.
1123 (__signbitl): Call __signbit.
1124 (lrint): Correct for little-endian.
1125 (lrintf): Call lrint.
1126
62a728ae
AM
11272013-10-04 Alan Modra <amodra@gmail.com>
1128
1129 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1130 union 32-bit int array member with 64-bit int array.
1131 (t515, tm256): Double rather than long double.
1132 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1133
32c301df
AM
11342013-10-04 Alan Modra <amodra@gmail.com>
1135
1136 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1137 Delete.
1138 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1139 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1140 version of math_ldbl.h.
1141
650ef4bd
AM
11422013-10-04 Alan Modra <amodra@gmail.com>
1143
1144 [BZ #15734], [BZ #15735]
1145 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1146 all uses of ieee875 long double macros and unions. Simplify test
1147 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1148 ldbl_extract_mantissa value for ix,iy exponents. Properly
1149 normalize after ldbl_extract_mantissa, and don't add hidden bit
1150 already handled. Don't treat low word of ieee854 mantissa like
1151 low word of IBM long double and mask off bit when testing for
1152 zero.
1153 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1154 all uses of ieee875 long double macros and unions. Simplify tests
1155 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1156 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1157 two1022, instead use their values. Recognise that tests for large
1158 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1159 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1160 Rewrite all uses of ieee875 long double macros and unions. Simplify
1161 test for 0.0L and nan. Correct negation.
1162 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1163 ieee875 long double macros and unions. Correct output for large
1164 magnitude x. Correct absolute value calculation.
1165 (__erfcl): Likewise.
1166 * math/libm-test.inc: Add tests for errors discovered in IBM long
1167 double versions of fmodl, remainderl, erfl and erfcl.
1168
765714ca
AM
11692013-10-04 Alan Modra <amodra@gmail.com>
1170
1171 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1172 all uses of ieee854 long double macros and unions. Simplify tests
1173 for long doubles that are fully specified by the high double.
1174 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1175 Likewise.
1176 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1177 Remove dead code too.
1178 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1179 (__ieee754_ynl): Likewise.
1180 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1181 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1183 Remove dead code too.
1184 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1185 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1186 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1187 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1188 Simplify.
1189 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1190 Simplify.
1191 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1192 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1193 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1194 Comment on variable precision.
1195 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1196 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1197 Likewise.
1198 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1201 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1202 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1203
4ebd120c
AM
12042013-10-04 Alan Modra <amodra@gmail.com>
1205
1206 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1207 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1208 all uses of ieee854 long double macros and unions.
1209 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1210 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1211 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1212 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1213 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1214 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1215 Likewise.
1216 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1217 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1218 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1219 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1220 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1221 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1222 Simplify sign and nan test too.
1223 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1224 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1225 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1226 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1227 Likewise.
1228 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1229 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1230 Likewise.
1231 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1232 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1233 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1234 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1235 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1236 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1237
1b6adf88
AM
12382013-10-04 Alan Modra <amodra@gmail.com>
1239
1240 * stdio-common/printf_size.c (__printf_size): Don't use
1241 union ieee854_long_double in fpnum union.
1242 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1243 signbit macro to retrieve sign from long double.
1244 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1245 retrieve sign from long double.
1246 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1247 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1248 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1249 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1250 * math/test-misc.c (main): Don't use union ieee854_long_double.
1251
4cf69995
AM
12522013-10-04 Alan Modra <amodra@gmail.com>
1253
1254 [BZ #15680]
1255 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1256 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1257 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1258 calculation. Remove unnecessary test for denormal exponent.
1259 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1260 Correct handling of denormals. Avoid undefined shift behaviour.
1261 Correct normalisation of low mantissa when low double is denormal.
1262 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1263 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1264 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1265 Correct normalisation of low mantissa. Test for overflow of high
1266 mantissa and normalise.
1267 (ldbl_nearbyint): Use more readable constant for two52.
1268 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1269 (__mpn_construct_long_double): Fix test for overflow of high
1270 mantissa and correct normalisation. Avoid undefined shift.
1271
9605ca6c
AM
12722013-10-04 Alan Modra <amodra@gmail.com>
1273
1274 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1275 (union ibm_extended_long_double): Define as an array of ieee754_double.
1276 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1277 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1278 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1279 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1280 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1281 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1282 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1283 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1284 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1285 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1286 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1287
975569d0
JM
12882013-10-03 Joseph Myers <joseph@codesourcery.com>
1289
d3d23756
JM
1290 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1291 page size instead of calling getpagesize.
1292
975569d0
JM
1293 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1294 (LOCFILE_ALIGN_MASK): Likewise.
1295 (LOCFILE_ALIGN_UP): Likewise.
1296 (LOCFILE_ALIGNED_P): Likewise.
1297 * locale/programs/ld-collate.c (collate_output): Use the new
1298 macros instead of __alignof__ (int32_t).
1299 * locale/weight.h (findidx): Likewise.
1300
b1fe1f2b
OB
13012013-10-03 Ondřej Bílka <neleai@seznam.cz>
1302
1303 [BZ #431]
1304 * manual/string.texi: Fix strncat and wcsncat.
1305
5f855e35
BM
13062013-10-03 Brooks Moses <bmoses@google.com>
1307
1308 [BZ #15915]
1309 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1310 * Makerules: ...here, and adjust associated comments.
1311
3cef6009
WN
13122013-10-02 Will Newton <will.newton@linaro.org>
1313
1314 * malloc/Makefile: Add tst-pvalloc.
1315 * malloc/tst-pvalloc.c: New file.
1316
7815420b
WN
13172013-10-02 Will Newton <will.newton@linaro.org>
1318
1319 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1320 improve test coverage.
1321
4868b204
WN
13222013-10-02 Will Newton <will.newton@linaro.org>
1323
1324 * malloc/Makefile: Add tst-posix_memalign.
1325 * malloc/tst-posix_memalign.c: New file.
1326
29c793b3
EB
13272013-10-01 Eric Blake <eblake@redhat.com>
1328
1329 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1330 Use __THROWNL rather than __THROW on static functions.
1331
fd967522
PM
13322013-09-30 Petr Machata <pmachata@redhat.com>
1333
1334 * elf/elf.h (R_AARCH64_ABS16): New macro.
1335 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1336 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1337 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1338 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1339 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1340 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1341 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1342 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1343 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1344 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1345 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1346 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1347 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1348 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1349 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1350 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1351 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1352 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1353 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1354 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1355 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1356 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1357 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1358 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1359 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1360 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1361 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1362 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1363 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1364 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1365 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1366 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1367 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1368 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1369 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1370 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1371 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1372 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1373 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1374 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1375 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1376 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1377 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1378 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1379 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1380 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1381 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1382 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1383 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1384 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1385 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1386 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1387 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1388 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1389 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1390 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1391 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1392 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1393 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1394 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1395 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1396 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1397 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1398 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1399 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1400 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1401 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1402 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1403 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1404 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1405 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1406 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1407 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1408 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1409 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1410 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1411 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1412 (R_AARCH64_TLSDESC_LDR): Likewise.
1413 (R_AARCH64_TLSDESC_ADD): Likewise.
1414 (R_AARCH64_TLSDESC_CALL): Likewise.
1415
b2179107
AS
14162013-09-30 Andreas Schwab <schwab@suse.de>
1417
1418 [BZ #15048]
1419 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1420 the nss database lookup.
1421 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1423
47f28d0a
MF
14242013-09-28 Mike Frysinger <vapier@gentoo.org>
1425
1426 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1427
14282013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1429
1430 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1431 ${Bash-specific parameter/pattern/string} parameter expansion.
1432 * sysdeps/unix/make-syscalls.sh: Likewise.
1433
f4518a17
KK
14342013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1435
1436 * sysdeps/sh/stackguard-macros.h: New file.
1437
dc1a95c7
OB
14382013-09-26 Ondřej Bílka <neleai@seznam.cz>
1439
1440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1441 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1442 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1443 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1444 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1445 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1446
5ebbff8f
AZ
14472013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1448
1449 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1450 Fix thread ID register.
1451
4fd2cf9f
JM
14522013-09-25 Joseph Myers <joseph@codesourcery.com>
1453
1454 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1455 [POSIX || UNIX98]: Require rather than permitting all symbols from
1456 <time.h>.
1457 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1458 element of struct sched_param.
1459 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1460 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1461 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1462 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1463 constant.
1464
12c22bc4
OL
14652013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1466
1467 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1468 argument calculation.
1469
a03d8ea7
JM
14702013-09-24 Joseph Myers <joseph@codesourcery.com>
1471
1472 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1473 Expect macro.
1474 [POSIX] (pthread_attr_t): Do not require type.
1475 [POSIX] (pthread_cond_t): Likewise.
1476 [POSIX] (pthread_condattr_t): Likewise.
1477 [POSIX] (pthread_key_t): Likewise.
1478 [POSIX] (pthread_mutex_t): Likewise.
1479 [POSIX] (pthread_mutexattr_t): Likewise.
1480 [POSIX] (pthread_once_t): Likewise.
1481 [POSIX] (pthread_t): Likewise.
1482 [POSIX-based standards] (pthread_atfork): Expect function.
1483
6055173a
JM
14842013-09-24 Joseph Myers <joseph@codesourcery.com>
1485 Richard Sandiford <richard@codesourcery.com>
1486
1487 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1488 (swap_endianness_p): New extern variable.
1489 (set_big_endian): New inline function.
1490 (maybe_swap_uint32): Likewise.
1491 (maybe_swap_uint32_array): Likewise.
1492 (maybe_swap_uint32_obstack): Likewise.
1493 * locale/programs/locfile.c: Include <stdbool.h>.
1494 (swap_endianness_p): New variable.
1495 (add_locale_uint32): Call maybe_swap_uint32.
1496 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1497 (write_locale_data): Call maybe_swap_uint32_array.
1498 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1499 maybe_swap_uint32.
1500 (obstack_int32_grow_fast): Likewise.
1501 (output_weightwc): Call maybe_swap_uint32_obstack.
1502 (collate_output): Likewise.
1503 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1504 (OPT_LITTLE_ENDIAN): Likewise.
1505 (options): Add --little-endian and --big-endian options.
1506 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1507 * locale/programs/locarchive.c: Include "locfile.h".
1508 (GET): New macro.
1509 (SET): Likewise.
1510 (INC): Likewise.
1511 (create_archive): Use the new macros to access fields of
1512 structures directly mapped from or written to locale archives.
1513 (oldlocrecentcmp): Likewise.
1514 (enlarge_archive): Likewise.
1515 (insert_name): Likewise.
1516 (add_alias): Likewise.
1517 (add_locale): Likewise.
1518 (delete_locales_from_archive): Likewise.
1519 (show_archive_content): Likewise.
1520 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1521 locale data.
1522
39bf0bb4
RM
15232013-09-24 Roland McGrath <roland@hack.frob.com>
1524
1525 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1526 http://www.gnu.org/doc/freemanuals.texi.
1527 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1528
f02eed10
WN
15292013-09-24 Will Newton <will.newton@linaro.org>
1530
1531 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1532 macro.
1533
a3a6c312
JM
15342013-09-23 Joseph Myers <joseph@codesourcery.com>
1535
1536 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1537 unsigned char.
1538
107375ac
MR
15392013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1540
1541 * manual/threads.texi (POSIX Threads): Fix a typo.
1542
141f3a77
SP
15432013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1544
303e567a
SP
1545 [BZ #14547]
1546 * string/tst-strcoll-overflow.c: New test case.
1547 * string/Makefile (xtests): Add tst-strcoll-overflow.
1548 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1549 cache if string sizes may cause integer overflow.
1550
141f3a77
SP
1551 [BZ #14547]
1552 * string/strcoll_l.c (coll_seq): New members rule, idx,
1553 save_idx and back_us.
1554 (get_next_seq_nocache): New function.
1555 (do_compare_nocache): New function.
1556 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1557 when malloc fails.
1558
c61b4d41
CD
15592013-09-23 Carlos O'Donell <carlos@redhat.com>
1560
0b1f8e35
CD
1561 [BZ #15754]
1562 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1563 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1564 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1565
c61b4d41
CD
1566 [BZ #15754]
1567 * elf/Makefile (tests): Add tst-ptrguard1.
1568 (tests-static): Add tst-ptrguard1-static.
1569 (tst-ptrguard1-ARGS): Define.
1570 (tst-ptrguard1-static-ARGS): Define.
1571 * elf/tst-ptrguard1.c: New file.
1572 * elf/tst-ptrguard1-static.c: New file.
1573 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1574 * sysdeps/i386/stackguard-macros.h: Likewise.
1575 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1576 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1577 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1578 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1579 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1580 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1581
15822013-09-23 Hector Marco <hecmargi@upv.es>
1583 Ismael Ripoll <iripoll@disca.upv.es>
1584 Carlos O'Donell <carlos@redhat.com>
1585
1586 [BZ #15754]
1587 * sysdeps/generic/stackguard-macros.h: Define
1588 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1589 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1590 Define __pointer_chk_guard_local.
1591 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1592 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1593
f5f4e7b4
VV
15942013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1595
1596 [BZ #15859]
1597 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1598
5bb43a43
AS
15992013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1600
1601 * include/string.h (__ffs): Declare as hidden.
1602 * string/ffs.c (__ffs): Define as hidden.
1603 * sysdeps/i386/ffs.c (__ffs): Likewise.
1604 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1605 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1606 * sysdeps/s390/ffs.c (__ffs): Likewise.
1607 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1608
3ea5be54
AO
16092013-09-20 Alexandre Oliva <aoliva@redhat.com>
1610
ffb89e53
AO
1611 * NEWS: Mention malloc probes.
1612
322dea08
AO
1613 * malloc/arena.c (new_heap): New memory_heap_new probe.
1614 (grow_heap): New memory_heap_more probe.
1615 (shrink_heap): New memory_heap_less probe.
1616 (heap_trim): New memory_heap_free probe.
1617 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1618 (systrim): New memory_sbrk_less probe.
1619 * manual/probes.texi: Document them.
1620
655673f3
AO
1621 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1622 * manual/probes.texi: Document it.
1623
35fed6f1
AO
1624 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1625 (__libc_realloc): Add memory_realloc_retry probe.
1626 (__libc_memalign): Add memory_memalign_retry probe.
1627 (__libc_valloc): Add memory_valloc_retry probe.
1628 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1629 (__libc_calloc): Add memory_calloc_retry probe.
1630 * manual/probes.texi: Document them.
1631
6999d38c
AO
1632 * malloc/arena.c (get_free_list): Add probe
1633 memory_arena_reuse_free_list.
1634 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1635 and memory_arena_reuse.
1636 (arena_get2) [!PER_THREAD]: Likewise.
1637 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1638 memory_arena_reuse_realloc.
1639 * manual/probes.texi: Document them.
1640
0653427f
AO
1641 * malloc/malloc.c (__libc_free): Add
1642 memory_mallopt_free_dyn_thresholds probe.
1643 (__libc_mallopt): Add multiple memory_mallopt probes.
1644 * manual/probes.texi: Document them.
1645
3ea5be54
AO
1646 * malloc/malloc.c: Include stap-probe.h.
1647 (__libc_mallopt): Add memory_mallopt probe.
1648 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1649 * manual/probes.texi: New.
1650 * manual/Makefile (chapters): Add probes.
1651 * manual/threads.texi: Set next node.
1652
e35696c3 16532013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1654
e35696c3
CL
1655 [BZ #15963, #13985]
1656 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1657 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1658 Add `Chinese' to `nan' entry name.
1659
4aafb73c
SP
16602013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1661
1662 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1663 (POLYNOMIAL): Likewise.
1664 (TAYLOR_SINCOS): Likewise.
1665 (TAYLOR_SLOW): Likewise.
1666 (__sin): Use TAYLOR_SINCOS.
1667 (__cos): Likewise.
1668 (slow): Use TAYLOR_SLOW.
1669 (sloww): Likewise.
1670 (bsloww): Likewise.
1671 (csloww): Likewise.
1672
d84f25c7
LD
16732013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1674
1675 * stdlib/strtod_l.c: Fix buffer overrun.
1676
5eea0404
SP
16772013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1678
7849ff93
SP
1679 * benchtests/Makefile (bench): Add sincos.
1680 * benchtests/bench-sincos.c: New file.
1681
cfa3c886
SP
1682 * math/libm-test.inc (cos_test_data): New test inputs.
1683 (sin_test_data): Likewise.
1684
b348e1e3
SP
1685 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1686 macro.
1687 (__sin): Use it.
1688 (__cos): Likewise.
1689 (slow1): Likewise.
1690 (slow2): Likewise.
1691 (sloww1): Likewise.
1692 (sloww2): Likewise.
1693 (bsloww1): Likewise.
1694 (bsloww2): Likewise.
1695 (cslow2): Likewise.
1696 (csloww1): Likewise.
1697 (csloww2): Likewise.
1698
6cce25f8
SP
1699 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1700 function.
1701 (__sin): Use it.
1702 (__cos): Likewise.
1703
5eea0404
SP
1704 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1705 gotos.
1706 (__cos): Likewise.
1707
9c21573c
MR
17082013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1709
1710 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1711 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1712 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1713 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1714 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1715 * elf/cache.c (print_entry): Handle the new cache flags.
1716
24d22e65
JM
17172013-09-18 Joseph Myers <joseph@codesourcery.com>
1718 Aldy Hernandez <aldyh@redhat.com>
1719
1720 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1721 Change condition to [_SOFT_FLOAT].
1722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1734 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1737 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1738 declaration.
1739
d13ef066
JM
17402013-09-18 Joseph Myers <joseph@codesourcery.com>
1741
2e071de0
JM
1742 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1743 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1744 (__longjmp): Use LOAD_GP to load saved GPRs.
1745 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1746 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1747 (__sigsetjmp): Use SAVE_GP to save GPRs.
1748
d13ef066
JM
1749 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1750 Do not append -msoft-float.
1751 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1752
97a0650b
SP
17532013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1754
1755 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1756
11ca09e9
JM
17572013-09-17 Joseph Myers <joseph@codesourcery.com>
1758
1759 [BZ #15966]
1760 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1761 (_FPU_GETCW): Use initial "__" on variable and field names but not
1762 on macro parameter name.
1763 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1764 parentheses around reference to macro parameter.
1765
08ffcf34
RS
17662013-09-13 Richard Sandiford <richard@codesourcery.com>
1767
1768 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1769 prototype.
1770 (ctype_startup): Use uint32_t in cast and sizeof for
1771 ctype->charnames.
1772
ae7080d3
JL
17732013-09-11 Jia Liu <proljc@gmail.com>
1774
1775 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1776 __daddr_t_defined.
1777 [__FreeBSD__]: Likewise.
1778
5905e7b3
OB
17792013-09-11 Ondřej Bílka <neleai@seznam.cz>
1780
1781 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1782 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1783 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1784 (strchr): Remove __strchr_sse42 ifunc selection.
1785 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1786 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1787
b987c776
WN
17882013-09-11 Will Newton <will.newton@linaro.org>
1789
1790 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1791 parameter to RES. Remove hardcoded 1000 value.
1792 * benchtests/bench-skeleton.c (main): Pass RES parameter
1793 to TIMING_INIT and multiply result by 1000.
1794
ddf985af
AZ
17952013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1796
1797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1798
ffdd3181
AS
17992013-09-11 Andreas Schwab <schwab@suse.de>
1800
1801 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1802 if not defined.
1803 (O_TMPFILE) [__USE_GNU]: Define.
1804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1805 Define.
1806
b73ed247
WN
18072013-09-11 Will Newton <will.newton@linaro.org>
1808
1809 [BZ #15857]
1810 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1811 does not overflow.
1812
55e17aad
WN
18132013-09-11 Will Newton <will.newton@linaro.org>
1814
1815 [BZ #15856]
1816 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1817 does not overflow.
1818
1159a193
WN
18192013-09-11 Will Newton <will.newton@linaro.org>
1820
1821 [BZ #15855]
1822 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1823 does not overflow.
1824
5905e7b3 18252013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1826
1827 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1828 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1829 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1830 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1831 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1832
cdfc721b
AM
18332013-09-10 Allan McRae <allan@archlinux.org>
1834
aa04af00
AM
1835 [BZ #15748]
1836 * manual/arith.texi (Parsing of Floats): Clarify
1837 cross-reference.
1838
cdfc721b
AM
1839 [BZ #15849]
1840 * manual/install.texi (Running make install): Mention
1841 --enable-pt-chown.
1842 * INSTALL: Regenerated.
1843
95e7cf29
MR
18442013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1845
1846 * csu/init-first.c (_init): Remove the !SHARED condition around
1847 FPU control word initialization.
1848 * elf/dl-support.c (_dl_fpu_control): New variable.
1849 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1850 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1851 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1852 * math/test-fpucw-static.c: New file.
1853 * math/test-fpucw-ieee.c: New file.
1854 * math/test-fpucw-ieee-static.c: New file.
1855 * math/Makefile (tests): Add `test-fpucw-ieee' and
1856 `$(tests-static)'.
1857 (tests-static): New variable.
1858 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1859 dependency to...
1860 [($(build-shared),yes)]
1861 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1862 ... this.
1863 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1864 New dependency.
1865
83e43bf0
AM
18662013-09-09 Allan McRae <allan@archlinux.org>
1867
a9f5ce09
AM
1868 [BZ #15939]
1869 * manual/string.texi (Collation Functions): Fix typo in
1870 strcoll example.
1871 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1872
34829bc2
AM
1873 [BZ #15893]
1874 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1875
3932737d
AM
1876 [BZ #15892]
1877 * libio/memstream.c (open_memstream): Fix memory leak.
1878 * libio/wmemstream.c (open_wmemstream): Likewise.
1879
83e43bf0
AM
1880 [BZ #15895]
1881 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1882
0c66b8e9
WN
18832013-09-09 Will Newton <will.newton@linaro.org>
1884
1885 * malloc/Makefile: Add tst-realloc to tests.
1886 * malloc/tst-realloc.c: New file.
1887
f6b00fd1
AM
18882013-09-09 Allan McRae <allan@archlinux.org>
1889
1890 [BZ #15844]
1891 * COPYING: Update from GNU website to fix FSF address.
1892 * COPYING.LIB: Likewise.
1893
eec55e16
DM
18942013-09-06 David S. Miller <davem@davemloft.net>
1895
1896 * po/zh_TW.po: Update Chinese (traditional) translation from
1897 translation project.
1898
1ecbb381
RS
18992013-09-06 Richard Sandiford <richard@codesourcery.com>
1900 Joseph Myers <joseph@codesourcery.com>
1901
1902 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1903 "localeinfo.h".
1904 (obstack_chunk_alloc): New macro.
1905 (obstack_chunk_free): Likewise.
1906 (record_offset): New function.
1907 (init_locale_data): Likewise.
1908 (align_locale_data): Likewise.
1909 (add_locale_empty): Likewise.
1910 (add_locale_raw_data): Likewise.
1911 (add_locale_raw_obstack): Likewise.
1912 (add_locale_string): Likewise.
1913 (add_locale_wstring): Likewise.
1914 (add_locale_uint32): Likewise.
1915 (add_locale_uint32_array): Likewise.
1916 (add_locale_char): Likewise.
1917 (start_locale_structure): Likewise.
1918 (end_locale_structure): Likewise.
1919 (start_locale_prelude): Likewise.
1920 (end_locale_prelude): Likewise.
1921 (write_locale_data): Take locale_file structure rather than an
1922 iovec.
1923 * locale/programs/locfile.h: Include "obstack.h".
1924 (struct locale_file): Change to store locale file contents instead
1925 of header.
1926 (init_locale_data): New prototype.
1927 (align_locale_data): Likewise.
1928 (add_locale_empty): Likewise.
1929 (add_locale_raw_data): Likewise.
1930 (add_locale_raw_obstack): Likewise.
1931 (add_locale_string): Likewise.
1932 (add_locale_wstring): Likewise.
1933 (add_locale_uint32): Likewise.
1934 (add_locale_uint32_array): Likewise.
1935 (add_locale_char): Likewise.
1936 (start_locale_structure): Likewise.
1937 (end_locale_structure): Likewise.
1938 (start_locale_prelude): Likewise.
1939 (end_locale_prelude): Likewise.
1940 (write_locale_data): Update prototype.
1941 * locale/programs/3level.h (struct TABLE): Remove result field.
1942 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1943 Use new locale_file interface.
1944 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1945 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1946 * locale/programs/ld-address.c (address_output): Use new
1947 locale_file interface.
1948 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1949 NO_ADD_LOCALE.
1950 (collate_finish): Don't call collseq_table_finalize.
1951 (collate_output): Use new locale_file interface.
1952 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1953 in file.
1954 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1955 (TABLE): Move defines earlier in file.
1956 (ELEMENT): Likewise.
1957 (DEFAULT): Likewise.
1958 (wctrans_table_add): Move macro and inline function earlier in
1959 file.
1960 (struct wctype_table): Move type earlier in file.
1961 (add_locale_wctype_table): New static prototype.
1962 (struct locale_ctype_t): Use logical types instead of struct iovec
1963 pointers for members.
1964 (ctype_output): Use new locale_file interface.
1965 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1966 new locale_file interface.
1967 (allocate_arrays): Update for use of new locale_file interface.
1968 * locale/programs/ld-identification.c (identification_output): Use
1969 new locale_file interface.
1970 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1971 * locale/programs/ld-messages.c (messages_output): Likewise.
1972 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1973 * locale/programs/ld-name.c (name_output): Likewise.
1974 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1975 * locale/programs/ld-paper.c (paper_output): Likewise.
1976 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1977 * locale/programs/ld-time.c (time_output): Likewise.
1978
e029e2e5
AZ
19792013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1980
1981 * benchtests/Makefile: Add memrchr benchmark.
1982 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1983 benchmark as memrchr.
1984 * benchtests/bench-memrchr-ifunc.c: New file.
1985 * benchtests/bench-memrchr.c: New file.
1986
bbf6e8e4
WN
19872013-09-06 Will Newton <will.newton@linaro.org>
1988
1989 * benchtests/Makefile (string-bench): Add memcpy.
1990
6c82a2f8
CD
19912013-09-05 Carlos O'Donell <carlos@redhat.com>
1992 Cong Wang <amwang@redhat.com>
1993
1994 * sysdeps/unix/sysv/linux/bits/in.h
1995 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1996 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1997 before __USE_KERNEL_IPV6_DEFS uses.
1998 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1999 IPPROTO_BEETPH.
2000 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2001 sockaddr_in6, or ipv6_mreq.
2002
5430fc65
AZ
20032013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004
2005 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2006 memory access for final bytes in some large inputs.
2007 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2008
4660856c
AZ
20092013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2010
2011 * string/test-memrchr.c: New file.
2012 * string/test-memrchr-ifunc.c: New file.
2013 * string/Makefile: Add new memrchr testcase.
2014
bb8ea713
MF
20152013-09-05 Mike Frysinger <vapier@gentoo.org>
2016
2017 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2018 fanotify_init returns EPERM.
2019
b92a20b5
JM
20202013-09-04 Joseph Myers <joseph@codesourcery.com>
2021
2022 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2023 errors.
2024 (top level): Treat second token from macro or constant entries for
2025 allowed headers as allowed.
2026 * include/complex.h: Condition internal declarations on
2027 [!_ISOMAC].
2028 * include/fenv.h: Condition include of <stdbool.h> and internal
2029 declarations on [!_ISOMAC].
7447ccd9
CL
2030
20312013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2032
3e181dda 2033 [BZ #15923]
7447ccd9
CL
2034 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2035
3f2e46a4
JM
20362013-09-04 Joseph Myers <joseph@codesourcery.com>
2037
2038 * configure.in (--enable-versioning): Remove configure option.
2039 (libc_cv_asm_symver_directive): Remove configure test.
2040 (libc_cv_ld_version_script_option): Likewise.
2041 (VERSIONING): Remove variable and AC_SUBST.
2042 (DO_VERSIONING): Remove AC_DEFINE.
2043 * configure: Regenerated.
2044 * config.h.in (DO_VERSIONING): Remove macro.
2045 * Makerules [$(versioning) = yes]: Change conditionals to
2046 [$(build-shared) = yes].
2047 * config.make.in (versioning): Remove variable.
2048 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2049 [$(build-shared) = yes].
2050 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2051 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2052 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2053 [$(build-shared) = yes].
2054 * extra-lib.mk [$(versioning) = yes]: Likewise.
2055 * hurd/Makefile [$(versioning) = yes]: Likewise.
2056 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2057 [SHARED].
2058 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2059 [SHARED].
2060 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2061 [SHARED && !NO_HIDDEN].
2062 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2063 [SHARED].
2064 [SHARED && DO_VERSIONING]: Likewise..
2065 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2066 [$(build-shared) = yes].
2067 * manual/install.texi (--disable-versioning): Remove
2068 documentation.
2069 * INSTALL: Regenerated.
2070 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2071 to [SHARED].
2072 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2073 [$(build-shared) = yes].
2074 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2075 * sysdeps/i386/i686/multiarch/strstr-c.c
2076 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2077 [SHARED && !NO_HIDDEN].
2078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2079 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2080 * sysdeps/powerpc/powerpc32/dl-machine.c
2081 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2082 * sysdeps/powerpc/powerpc32/sysdep.h
2083 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2084 to [SHARED && PIC && !NO_HIDDEN].
2085 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2086 conditional to [SHARED].
2087
44558701
WN
20882013-09-04 Will Newton <will.newton@linaro.org>
2089
2090 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2091 * benchtests/bench-string.h: Include bench-timing.h instead
2092 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2093 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2094 call to HP_TIMING_DIFF_INIT.
2095 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2096 instead of hp-timing.h macros.
2097 * benchtests/bench-memchr.c: Likewise.
2098 * benchtests/bench-memcmp.c: Likewise.
2099 * benchtests/bench-memcpy.c: Likewise.
2100 * benchtests/bench-memmem.c: Likewise.
2101 * benchtests/bench-memmove.c: Likewise.
2102 * benchtests/bench-memset.c: Likewise.
2103 * benchtests/bench-rawmemchr.c: Likewise.
2104 * benchtests/bench-strcasecmp.c: Likewise.
2105 * benchtests/bench-strcasestr.c: Likewise.
2106 * benchtests/bench-strcat.c: Likewise.
2107 * benchtests/bench-strchr.c: Likewise.
2108 * benchtests/bench-strcmp.c: Likewise.
2109 * benchtests/bench-strcpy.c: Likewise.
2110 * benchtests/bench-strcpy_chk.c: Likewise.
2111 * benchtests/bench-strlen.c: Likewise.
2112 * benchtests/bench-strncasecmp.c: Likewise.
2113 * benchtests/bench-strncat.c: Likewise.
2114 * benchtests/bench-strncmp.c: Likewise.
2115 * benchtests/bench-strncpy.c: Likewise.
2116 * benchtests/bench-strnlen.c: Likewise.
2117 * benchtests/bench-strpbrk.c: Likewise.
2118 * benchtests/bench-strrchr.c: Likewise.
2119 * benchtests/bench-strspn.c: Likewise.
2120 * benchtests/bench-strstr.c: Likewise.
2121
cae16d66
WN
21222013-09-04 Will Newton <will.newton@linaro.org>
2123
2124 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2125
ffa3cd7f
JM
21262013-09-03 Joseph Myers <joseph@codesourcery.com>
2127
2128 [BZ #15427]
2129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2130 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2131 * math/libm-test.inc (lgamma_test_data): Add more tests.
2132 * sysdeps/i386/fpu/libm-test-ulps: Update.
2133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2134
8f02859f
OB
21352013-09-03 Ondřej Bílka <neleai@seznam.cz>
2136
2137 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2139 Add ifunc.
2140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2141 Add strcmp-sse2-unaligned
2142 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2143
18d43716
MF
21442013-09-02 Mike Frysinger <vapier@gentoo.org>
2145
2146 * Versions.def (libc): Add GLIBC_2.19.
2147
ac444012
MF
21482013-09-02 Mike Frysinger <vapier@gentoo.org>
2149
2150 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2151 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2152
b7835e32
JM
21532013-09-02 Joseph Myers <joseph@codesourcery.com>
2154
2155 [BZ #14155]
2156 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2157 intermediate calculations in recurrence.
2158 (__ieee754_ynf): Likewise.
2159 * math/libm-test.inc (jn_test_data): Do not allow spurious
2160 underflow exception. Add more tests.
2161 (yn_test_data): Add more tests.
2162 * sysdeps/i386/fpu/libm-test-ulps: Update.
2163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2164
8220f4f0
OB
21652013-09-02 Ondřej Bílka <neleai@seznam.cz>
2166
2167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2168
f24a6d08
OB
21692013-08-30 Ondřej Bílka <neleai@seznam.cz>
2170
2171 * csu/init-first.c: Fix then/than typos.
2172 * locale/programs/ld-collate.c: Likewise.
2173 * locale/programs/linereader.h: Likewise.
2174 * manual/charset.texi: Likewise.
2175 * manual/filesys.texi: Likewise.
2176 * manual/stdio.texi: Likewise.
2177 * manual/string.texi: Likewise.
2178 * stdlib/fmtmsg.c: Likewise.
2179 * sysdeps/i386/stpncpy.S: Likewise.
2180 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2181 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2182 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2183 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2184
382466e0
OB
21852013-08-30 Ondřej Bílka <neleai@seznam.cz>
2186
2187 * elf/dl-open.c: Fix typos.
2188 * iconvdata/gbbig5.c: Likewise.
2189 * iconvdata/iso-2022-jp.c: Likewise.
2190 * iconv/gconv_int.h: Likewise.
2191 * iconv/loop.c: Likewise.
2192 * nis/rpcsvc/nis.h: Likewise.
2193 * resolv/ns_name.c: Likewise.
2194 * stdio-common/vfscanf.c: Likewise.
2195 * streams/stropts.h: Likewise.
2196 * sunrpc/rpc_thread.c: Likewise.
2197 * sysdeps/i386/strpbrk.S: Likewise.
2198 * sysdeps/ieee754/k_standard.c: Likewise.
2199 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2200 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2201 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2202 * sysdeps/mach/hurd/profil.c: Likewise.
2203 * sysdeps/s390/dl-procinfo.h: Likewise.
2204 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2205 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2206 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2207 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2208 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2209
0186c6e9
OB
22102013-08-30 Ondřej Bílka <neleai@seznam.cz>
2211
2212 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2214
d4e16af1
OB
22152013-08-29 Ondřej Bílka <neleai@seznam.cz>
2216
2217 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2218 aix specific files.
2219 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2221 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2222 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2223 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2224 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2225 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2226 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2227
88335980
TS
22282013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2229 Roland McGrath <roland@hack.frob.com>
2230
2231 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2232 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2233
ed479b02
ST
22342013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2235
2236 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2237 __executable_start symbol instead of _start.
2238
f1cc4c86
TS
22392013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2240
d821f07c
TS
2241 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2242 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2243 Move macros to...
2244 * sysdeps/gnu/ldsodefs.h: ... this new file.
2245
c54290cf
TS
2246 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2247 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2248 instead of ELFOSABI_LINUX.
2249
0007fc9b 2250 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2251 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2252 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2253 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2254 Likewise.
2255 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2256 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2258 Likewise.
2259 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2260 (ibm_extended_long_double): Add ieee_nan member.
2261 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2262 (do_test): New function.
2263
f1cc4c86
TS
2264 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2265 TEST_TRUNC.
2266 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2267 functions, renamed from truncdfsf_test, trunctfsf_test,
2268 trunctfdf_test.
2269 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2270 functions.
2271 (do_test): Run all these.
2272
6f65e668
OB
22732013-08-29 Ondřej Bílka <neleai@seznam.cz>
2274
2275 * argp/argp-help.c: Fix typos.
2276 * argp/argp-parse.c: Likewise.
2277 * debug/backtracesyms.c: Likewise.
2278 * elf/elf.h: Likewise.
2279 * malloc/malloc.c: Likewise.
2280 * nis/nis_print.c: Likewise.
2281 * resolv/res_comp.c: Likewise.
2282 * stdlib/stdlib.h: Likewise.
2283 * sunrpc/clnt_tcp.c: Likewise.
2284 * sunrpc/clnt_udp.c: Likewise.
2285 * sunrpc/clnt_unix.c: Likewise.
2286 * sysdeps/unix/bsd/ptsname.c: Likewise.
2287 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2288 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2290 Likewise.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2292 Likewise.
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2294 Likewise.
6f65e668
OB
2295 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2296
3a309239
SP
22972013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2298
2299 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2301
3b813b29
MF
23022013-08-27 Mike Frysinger <vapier@gentoo.org>
2303
2304 [BZ #15897]
2305 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2306 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2307 ($(objpfx)bug-dl-leaf): New rule.
2308 ($(objpfx)bug-dl-leaf.so): Likewise.
2309 ($(objpfx)bug-dl-leaf.out): Likewise.
2310 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2311 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2312 * dlfcn/bug-dl-leaf.c: New test.
2313 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2314 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2315 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2316 (dlclose): Likewise.
2317 (dlmopen): Likewise.
2318
8cc3269f
RM
23192013-08-27 Roland McGrath <roland@hack.frob.com>
2320
7f9d0034
RM
2321 * include/netdb.h [!_ISOMAC]:
2322 Don't include <tls.h>.
2323 (h_errno, __libc_h_errno): Move declaration and macros out of
2324 [_LIBC_REENTRANT].
2325
fb431262
RM
2326 * include/resolv.h [_RESOLV_H_]:
2327 Don't include <tls.h>.
2328 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2329 * resolv/res_libc.c: Don't include <tls.h>.
2330 (_res): Use __attribute__ ((nocommon)) in place of
2331 __attribute__ ((section (".bss"))).
2332
bd81123a
RM
2333 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2334 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2335
c4e42566
RM
2336 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2337
f890a59b
RM
2338 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2339 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2340
2341 * resolv/res_mkquery.c: Include <sys/time.h>.
2342
5d1f0a09
RM
2343 * inet/ifreq.c: Moved to ...
2344 * sysdeps/unix/ifreq.c: ... here.
2345 * inet/ifreq.c: New file, true stub version.
2346
6fcf28b3
RM
2347 * socket/sa_len.c: New file.
2348 * socket/Makefile (aux): Add it.
2349 * sysdeps/unix/sysv/linux/Makefile
2350 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2351 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2352 and #include <socket/sa_len.c>.
2353 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2354 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2355
e041fb8b
RM
2356 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2357 * bits/socket.h: ... here.
2358
8cc3269f
RM
2359 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2360 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2361 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2362
5d228a43
AS
23632013-08-27 Andreas Schwab <schwab@suse.de>
2364
45b8accc
AS
2365 [BZ #15736]
2366 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2367 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2368 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2369 * string/test-strcasecmp.c (test_main): Run tests in several
2370 locales.
2371 * string/test-strncasecmp.c (test_main): Likewise.
2372
5d228a43
AS
2373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2374 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2375 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2377 (__strncasecmp_ssse3) [PIC]: Likewise.
2378
59d112a4
RM
23792013-08-26 Roland McGrath <roland@hack.frob.com>
2380
53234cc3
RM
2381 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2382
59d112a4
RM
2383 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2384 instead of explicitly declaring xdecrypt.
2385 * nis/nss_nis/nis-publickey.c: Likewise.
2386
595aba70
SP
23872013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2388
2389 [BZ #15890]
2390 * nscd/aicache.c: Include res_hconf.h.
2391 (addhstaiX): Initialize res_hconf.
2392
ffabd393
AS
23932013-08-26 Andreas Schwab <schwab@suse.de>
2394
2395 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2396 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2397
e0a69f5c
SP
23982013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2399
2400 * nscd/aicache.c (addhstaiX): Fix indentation.
2401
8c12f01d
MF
24022013-08-25 Mike Frysinger <vapier@gentoo.org>
2403
2404 * configure.ac: Quote $build_pt_chown test.
2405 * configure: Regenerated.
2406
8fe89494
JM
24072013-08-23 Joseph Myers <joseph@codesourcery.com>
2408
2409 [BZ #15532]
2410 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2411 * math/s_cexpf.c (__cexpf): Likewise.
2412 * math/s_cexpl.c (__cexpl): Likewise.
2413 * math/libm-test.inc (cexp_test_data): Correct expected return
2414 value for NaN + i0. Add another test.
2415
75b181d6
DM
24162013-08-22 David S. Miller <davem@davemloft.net>
2417
2418 * po/ca.po: Update Catalan translation from translation project.
936241e4 2419 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2420
acd06bb1
JM
24212013-08-21 Joseph Myers <joseph@codesourcery.com>
2422
2423 [BZ #15797]
2424 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2425 is infinite, not alongside NaN test.
2426 * math/s_fdimf.c (__fdimf): Likewise.
2427 * math/s_fdiml.c (__fdiml): Likewise.
2428 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2429 errno is unchanged.
2430
c0c3f78a
OB
24312013-08-21 Ondřej Bílka <neleai@seznam.cz>
2432
2433 * argp/argp-help.c: Fix typos.
2434 * crypt/speeds.c: Likewise.
2435 * csu/check_fds.c: Likewise.
2436 * elf/dl-load.c: Likewise.
2437 * elf/dl-open.c: Likewise.
2438 * elf/reldep3.c: Likewise.
2439 * elf/reldep.c: Likewise.
2440 * elf/sprof.c: Likewise.
2441 * iconv/iconv_charmap.c: Likewise.
2442 * iconv/skeleton.c: Likewise.
2443 * iconv/strtab.c: Likewise.
2444 * io/lockf64.c: Likewise.
2445 * libio/libioP.h: Likewise.
2446 * resolv/gai_notify.c: Likewise.
2447 * resolv/ns_name.c: Likewise.
2448 * resolv/ns_samedomain.c: Likewise.
2449 * resolv/res_send.c: Likewise.
2450 * stdlib/random.c: Likewise.
2451 * sunrpc/rpc/xdr.h: Likewise.
2452 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2453 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2454 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2455 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2457 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2458 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2460 * sysdeps/mach/hurd/check_fds.c: Likewise.
2461 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2462 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2463 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2464 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2465 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2466 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2467 * sysdeps/pthread/aio_notify.c: Likewise.
2468 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2469 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2470 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2471 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2472 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2473
46ed1038
LD
24742013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2475
2476 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2477 version if bit_Slow_SSE4_2 is set.
2478 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2480
d400dcac
AZ
24812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2482
2483 [BZ #15867]
2484 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2485 trampoline stack frame information.
2486 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2487 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2488 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2489 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2490 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2491 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2492 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2493 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2494 sa_flags value.
2495 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2496 interrupting a syscall and set with option SA_SIGINFO.
2497
42c8fdd8
JM
24982013-08-20 Joseph Myers <joseph@codesourcery.com>
2499
c980f2f4
JM
2500 [BZ #15531]
2501 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2502 argument is infinite.
2503 * math/s_cprojf.c (__cprojf): Likewise.
2504 * math/s_cprojl.c (__cprojl): Likewise.
2505 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2506 * math/libm-test.inc (cproj_test_data): Add more tests.
2507
0716c4fc
JM
2508 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2509
42c8fdd8
JM
2510 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2511 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2512 size. Use __ffs to determine corresponding shift.
2513
b31469d0
JM
25142013-08-20 Joseph Myers <joseph@codesourcery.com>
2515 Roland McGrath <roland@hack.frob.com>
2516
2517 * Makefile (INSTALL): Remove trailing blank lines from output of
2518 makeinfo.
2519
4e39af6e
AK
25202013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2521
2522 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2523 Align 32 bit compat elf_greg to 8 bytes.
2524
f315524e
AA
25252013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2526
2527 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2528
1326ba1a
SP
25292013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2530
2531 * string/strcoll_l.c (coll_seq): New structure.
2532 (get_next_seq_cached): New function.
2533 (get_next_seq): New function.
2534 (do_compare): New function.
2535 (STRCOLL): Use GNU style definition. Simplify implementation
2536 by using get_next_seq, get_next_seq_cached and do_compare.
2537
91ce4085
FW
25382013-08-16 Florian Weimer <fweimer@redhat.com>
2539
2540 [BZ #14699]
2541 CVE-2013-4237
2542 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2543 member.
2544 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2545 member.
2546 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2547 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2548 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2549 conditional.
2550 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2551 GETDENTS_64BIT_ALIGNED.
2552 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2553 * manual/filesys.texi (Reading/Closing Directory): Document
2554 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2555 strongly.
2556 * manual/conf.texi (Limits for Files): Add portability note to
2557 NAME_MAX, PATH_MAX.
2558 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2559
ca0a6bc4
AS
25602013-08-13 Andreas Schwab <schwab@suse.de>
2561
2562 [BZ #15749]
2563 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2564 of fabs.
2565 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2566 LDBL_MAX_EXP >= 16384]: Add tests for it.
2567
6c1fd795
DM
25682013-08-12 David S. Miller <davem@davemloft.net>
2569
2570 * version.h (RELEASE): Set to "development".
2571 (VERSION): Set to "2.18.90".
2572 * NEWS: Add 2.19 section.
2573
31ad488d
DM
25742013-08-03 David S. Miller <davem@davemloft.net>
2575
2576 * po/ko.po: Update Korean translation from translation project.
2577
db24e684
DM
25782013-08-01 David S. Miller <davem@davemloft.net>
2579
2580 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2581 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2582 Bilka.
2583
f723285b
DM
25842013-07-30 David S. Miller <davem@davemloft.net>
2585
2586 * po/fr.po: Update French translation from translation project.
2587
3cbc52db
DM
25882013-07-28 David S. Miller <davem@davemloft.net>
2589
30bbc0cc
DM
2590 * po/cs.po: Update Czech translation from translation project.
2591
3cbc52db
DM
2592 * po/sv.po: Update Swedish translation from translation project.
2593
d492e6d0
DM
25942013-07-27 David S. Miller <davem@davemloft.net>
2595
f1a7f492
DM
2596 * po/eo.po: Update Esperanto translation from translation project.
2597
90e62a4a
DM
2598 * po/vi.po: Update Vietnamese translation from translation project.
2599
d492e6d0
DM
2600 * po/de.po: Update German translation from translation project.
2601
d4baa62d
DM
26022013-07-26 David S. Miller <davem@davemloft.net>
2603
641aa7b4
DM
2604 * po/bg.po: Update Bulgarian translation from translation project.
2605
d4baa62d
DM
2606 * po/nl.po: Update Dutch translation from translation project.
2607 * po/pl.po: Update Polish translation from translation project.
2608 * po/ru.po: Update Russian translation from translation project.
2609
61a9dcb9
DM
26102013-07-24 David S. Miller <davem@davemloft.net>
2611
2612 * po/libc.pot: Update.
2613
7b1f8b58
AZ
26142013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2615
2616 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2617 variable page size.
2618 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2619 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2620 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2621
a8fc7a03
AK
26222013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2623
2624 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2625
e4608715
CD
26262013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2627 Andreas Schwab <schwab@suse.de>
2628 Roland McGrath <roland@hack.frob.com>
2629 Joseph Myers <joseph@codesourcery.com>
2630 Carlos O'Donell <carlos@redhat.com>
2631
2632 [BZ #15755]
2633 * config.h.in: Define HAVE_PT_CHOWN.
2634 * config.make.in (build-pt-chown): New variable.
2635 * configure.in (--enable-pt_chown): New configure option.
2636 * configure: Regenerate.
2637 * login/Makefile: Include Makeconfig. Build pt_chown only if
2638 build-pt-chown is enabled.
2639 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2640 pt_chown to fix pty ownership.
2641 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2642 CLOSE_ALL_FDS.
2643 * manual/install.texi (Configuring and compiling): Mention
2644 --enable-pt_chown. Add @findex for grantpt.
2645 * INSTALL: Regenerate.
2646
da2d62df
DM
26472013-07-20 David S. Miller <davem@davemloft.net>
2648
2649 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2650 difference between 32-bit and 64-bit.
2651
d7e06450
CD
26522013-07-15 Carlos O'Donell <carlos@redhat.com>
2653
2654 [BZ #15711]
2655 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2656 Avoid system header dependency with -ffreestanding.
2657 ($(objpfx)bits/syscall%d): Likewise.
2658
f959cfd7
DM
26592013-07-13 David S. Miller <davem@davemloft.net>
2660
2661 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2662 underflows from atanl/atan2l due to bug 15319.
2663 (casinh_test_data): Likewise.
2664
c61f8513
DM
26652013-07-07 David S. Miller <davem@davemloft.net>
2666
2667 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2668
72c90ed0
JA
26692013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2670
2671 * sysdeps/i386/fpu/libm-test-ulps: Update.
2672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2673
52dfbe13
SP
26742013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2675
2676 * configure.in (--enable-lock-elision): Fix message text.
2677 * INSTALL: Regenerate.
2678 * configure: Regenerate.
2679
3f169543
AZ
26802013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2681
2682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2683
521c6785
AJ
26842013-07-03 Andreas Jaeger <aj@suse.de>
2685
2686 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2687 define.
2688 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2689 (ptrace_peeksiginfo_args): Add.
2690 (__ptrace_peeksiginfo_flags): Add.
2691 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2693 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2694
d2cc15cb
AM
26952013-07-03 Allan McRae <allan@archlinux.org>
2696
2697 * sysdeps/i386/fpu/libm-test-ulps: Update.
2698
3aaeeca7
DM
26992013-07-02 David S. Miller <davem@davemloft.net>
2700
2701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2702
5314ed1a
MT
27032013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2704
2705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2706
67338156
JM
27072013-07-02 Joseph Myers <joseph@codesourcery.com>
2708
2709 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2711
1717da59
AK
27122013-07-02 Andi Kleen <ak@linux.intel.com>
2713
2714 * config.h.in (ENABLE_LOCK_ELISION): Add.
2715 * configure.in (--enable-lock-elision): Add option.
2716 * manual/install.texi: Document --enable lock elision.
2717 * configure: Regenerate
2718 * INSTALL: Regenerate.
2719
1c81621c
L
27202013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2721
2722 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2723 SSE4.2 strcasecmp for libc.a.
2724 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2725
77f01ab5
JM
27262013-07-02 Joseph Myers <joseph@codesourcery.com>
2727
2728 [BZ #13304]
2729 * soft-fp/op-common.h (_FP_FMA): New macro.
2730 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2731 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2732 (_FP_MUL_MEAT_1_imm): ... here.
2733 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2734 (_FP_MUL_MEAT_1_wide): ... here.
2735 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2736 (_FP_MUL_MEAT_1_hard): ... here.
2737 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2738 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2739 (_FP_MUL_MEAT_2_wide): ... here.
2740 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2741 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2742 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2743 (_FP_MUL_MEAT_2_gmp): ... here.
2744 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2745 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2746 (_FP_MUL_MEAT_4_wide): ... here.
2747 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2748 (_FP_MUL_MEAT_4_gmp): ... here.
2749 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2750 (_FP_WFRACBITS_DW_S): Likewise.
2751 (_FP_WFRACXBITS_DW_S): Likewise.
2752 (_FP_HIGHBIT_DW_S): Likewise.
2753 (FP_FMA_S): Likewise.
2754 (_FP_FRAC_HIGH_DW_S): Likewise.
2755 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2756 (_FP_WFRACBITS_DW_D): Likewise.
2757 (_FP_WFRACXBITS_DW_D): Likewise.
2758 (_FP_HIGHBIT_DW_D): Likewise.
2759 (FP_FMA_D): Likewise.
2760 (_FP_FRAC_HIGH_DW_D): Likewise.
2761 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2762 (_FP_WFRACBITS_DW_E): Likewise.
2763 (_FP_WFRACXBITS_DW_E): Likewise.
2764 (_FP_HIGHBIT_DW_E): Likewise.
2765 (FP_FMA_E): Likewise.
2766 (_FP_FRAC_HIGH_DW_E): Likewise.
2767 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2768 (_FP_WFRACBITS_DW_Q): Likewise.
2769 (_FP_WFRACXBITS_DW_Q): Likewise.
2770 (_FP_HIGHBIT_DW_Q): Likewise.
2771 (FP_FMA_Q): Likewise.
2772 (_FP_FRAC_HIGH_DW_Q): Likewise.
2773 * soft-fp/fmasf4.c: New file.
2774 * soft-fp/fmadf4.c: Likewise.
2775 * soft-fp/fmatf4.c: Likewise.
2776
6308fd9a
LD
27772013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2778
2779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2780 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2781 Silvermont.
2782 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2783 macro.
2784 (index_Slow_SSE4_2): Likewise.
2785 (index_Prefer_PMINUB_for_stringop): Likewise.
2786 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2787 bit_Slow_SSE4_2 is set.
2788 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2789 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2790
89cd9569
RA
27912013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2792
2793 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2794 rtld_global._dl_hwcap2.
2795 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2796 POWER8.
2797 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2798 POWER8 feature descriptions defined in _dl_hwcap2.
2799 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2800 string handling for POWER8 feature bits.
2801 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2802 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2803 _dl_powerpc_cap_flags.
2804 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2805 * sysdeps/powerpc/rtld-global-offsets.sym
2806 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2807 _dl_hwcap2 in the rtld_global_ro structure.
2808
1ae8bfe0
RA
28092013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2810
2811 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2812 hardware capabilities in support of AT_HWCAP2.
2813 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2814 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2815 GLRO(dl_hwcap2).
2816 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2817 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2818 explicitly the unknown a_type display mechanism is used.
2819 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2820 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2821 struct member.
2822 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2823 to macro prototype for AT_HWCAP2 support.
2824 * sysdeps/i386/dl-procinfo.h: Likewise.
2825 * sysdeps/s390/dl-procinfo.h: Likewise.
2826 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2827 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2828 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2829 return -1 for unknown a_type display fallback.
2830 * sysdeps/sparc/dl-procinfo.h: Likewise.
2831 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2832 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2833
8fbec010
JM
28342013-06-28 Joseph Myers <joseph@codesourcery.com>
2835
2836 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2837 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2838
0432680e
PY
28392013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2840
2841 [BZ #12492]
2842 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2843 mprotect making __stack_prot writable.
2844
ce61a2ad
NF
28452013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2846 Joseph Myers <joseph@codesourcery.com>
2847
2848 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2849 as being properly aligned.
2850
f91f1c0f
MR
28512013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2852
3d0f5d0c
MR
2853 * dlfcn/modstatic5.c: New file.
2854 * dlfcn/tststatic5.c: New file.
2855 * dlfcn/Makefile (tests): Add tststatic5.
2856 (tests-static): Likewise.
2857 (modules-names): Add modstatic5.
2858 (tststatic5-ENV): New variable.
2859 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2860
f91f1c0f
MR
2861 [BZ #15022]
2862 * elf/dl-support.c (_dl_main_map): New variable.
2863 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2864 (_dl_nns, _dl_load_adds): Set to 1.
2865 (_dl_initial_searchlist): Refer to _dl_main_map.
2866 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2867 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2868 call to _dl_get_origin.
2869 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2870 around call_map.
2871 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2872 * dlfcn/modstatic3.c: New file.
2873 * dlfcn/tststatic3.c: New file.
2874 * dlfcn/tststatic4.c: New file.
2875 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2876 (tests-static): Likewise.
2877 (modules-names): Add modstatic3.
2878 (tststatic3-ENV, tststatic4-ENV): New variables.
2879 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2880 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2881
cbe7d24b
JM
28822013-06-26 Joseph Myers <joseph@codesourcery.com>
2883
2884 * configure.in (CC): Require GCC version 4.4 or later.
2885 * configure: Regenerated.
2886 * manual/install.texi (Tools for Compilation): Update GCC version
2887 requirement.
2888 * INSTALL: Regenerated.
2889
11b8a0e1
LD
28902013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2891
2892 [BZ #15674]
bb5bb87c
L
2893 * string/test-memcmp.c (check2): New.
2894 (main): Call check2.
2895
11b8a0e1
LD
2896 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2897
b0037103
MR
28982013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2899
2900 [BZ #15022]
2901 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2902 over to...
2903 (dl_open_worker) [!SHARED]: ... here.
2904
c18c701d
RA
29052013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2906
2907 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2908
1d17fa5f
RH
29092013-06-25 Richard Henderson <rth@redhat.com>
2910
2911 * locale/programs/locarchive.c: Include <libc-internal.h>
2912
8fcb833a
JM
29132013-06-25 Joseph Myers <joseph@codesourcery.com>
2914
2915 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2916 trailing whitespace removed.
2917
17db6e8d
MF
29182013-06-24 Mike Frysinger <vapier@gentoo.org>
2919
2920 [BZ #10283]
17db6e8d
MF
2921 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2922 * locale/programs/locarchive.c: Include libc-mmap.h.
2923 (prepare_address_space): Take two new outputs (the mmap base and len).
2924 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2925 values.
2926 (create_archive): Declare new mmap base and len values for
2927 prepare_address_space, and store the result in ah.
2928 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2929 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2930 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2931 Declare new mmap base and len values for
2932 prepare_address_space, and store the result in new_ah.
2933 (open_archive): Declare new mmap base and len values for
2934 prepare_address_space, and store the result in ah.
2935 (close_archive): If ah->mmap_base is not NULL, use that and
2936 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2937 * sysdeps/generic/libc-mmap.h: New file.
2938
d605071e
MF
29392013-06-24 Mike Frysinger <vapier@gentoo.org>
2940
2941 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2942 (ALIGN_UP): Likewise.
2943 (PTR_ALIGN_DOWN): Likewise.
2944 (PTR_ALIGN_UP): Likewise.
2945
2f063a6e
RA
29462013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2947
2948 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2949 entry mapped to PPC_PLATFORM_POWER8.
2950 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2951 POWER8.
2952 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2953 (_dl_string_platform): Add case for exporting platform position for
2954 POWER8.
2955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2956 search path to sysdeps/powerpc/powerpc32/power8 directory.
2957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2958 search path to sysdeps/powerpc/powerpc64/power8 directory.
2959 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2960 power7 directories.
2961 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2962 power7 directories.
2963
a31ee4b3
SP
29642013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2965
a74ca98f
SP
2966 * INSTALL: Regenerate.
2967
a31ee4b3
SP
2968 * nscd/connections.c (nscd_init): Fix comment.
2969
695c378f
JM
29702013-06-22 Joseph Myers <joseph@codesourcery.com>
2971
d8412221
JM
2972 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2973
695c378f
JM
2974 [BZ #15667]
2975 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2976 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2977
d1d54715
MR
29782013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2979
2980 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2981 DL_DST_REQ_STATIC.
2982 (DL_DST_REQ_STATIC): Remove macro.
2983
8fdda7af
JM
29842013-06-21 Joseph Myers <joseph@codesourcery.com>
2985
2986 [BZ #7006]
2987 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2988 with a shift of 0 bits.
2989
f3bc5e5a
MR
29902013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2991
2992 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2993 $(tststatic-ENV).
2994
be09e8c9
KK
29952013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2996
2997 [BZ #15655]
2998 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2999
85c2e611
AZ
30002013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3001
3002 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3003 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3004 accepts -fno-tree-loop-distribute-patterns.
3005 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3006 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3007 recursive call.
3008 * string/memset.c (memset): Likewise.
3009 * string/test-memmove.c (simple_memmove): Disable loop transformation
3010 to library calls.
3011 * string/test-memset.c (simple_memset): Likewise.
3012 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3013 * benchtests/bench-memset.c (simple_memset): Likewise.
3014 * configure: Regenerated.
3015
c91e0825
JM
30162013-06-20 Joseph Myers <joseph@codesourcery.com>
3017
b8c792af
JM
3018 * math/test-misc.c (main): Ignore fesetround failure when failures
3019 of subsequent rounding tests would be ignored.
3020
c91e0825
JM
3021 [BZ #15654]
3022 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3023 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3024 * math/fegetenv.c (__fegetenv): Return 0.
3025 * math/fegetexcept.c (fegetexcept): Return 0.
3026 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3027 FE_TONEAREST.
3028 * math/feholdexcpt.c (feholdexcept): Return 0.
3029 * math/fesetenv.c (__fesetenv): Return 0.
3030 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3031 argument FE_TONEAREST.
3032 * math/feupdateenv.c (__feupdateenv): Return 0.
3033 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3034
bfcacbde
RM
30352013-06-18 Roland McGrath <roland@hack.frob.com>
3036
3037 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3038 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3039 ($(objpfx)rtld-%.os rules): Use them.
3040
e55a9b25
AZ
30412013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3042
3043 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3044 fields.
3045
346d65b3
RM
30462013-06-17 Roland McGrath <roland@hack.frob.com>
3047
12086fb4
RM
3048 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3049 length of target pattern, then descending length of dependency pattern.
3050 * configure.in (AWK): Require gawk 3.1.2 or newer.
3051 * manual/install.texi (Tools for Compilation): Say that we do.
3052 * configure: Regenerated.
3053
346d65b3
RM
3054 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3055 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3056 * scripts/sysd-rules.awk: ... this new script.
3057 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3058 than a glob-style pattern.
3059
1a846317
JM
30602013-06-17 Joseph Myers <joseph@codesourcery.com>
3061
3062 * math/test-misc.c (main): Do not treat incorrectly rounded
3063 conversions as failure unless ROUNDING_TESTS passes.
3064
8fc75e6f
JM
30652013-06-15 Joseph Myers <joseph@codesourcery.com>
3066
3711a167
JM
3067 [BZ #15631]
3068 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3069 restore exception state around main square root computation, then
3070 check for inexactness explicitly.
3071
8fc75e6f
JM
3072 * math/libm-test.inc (fma_test_data): Add another test.
3073
61dd6208
SP
30742013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3075
adf23d2c
SP
3076 * manual/threads.texi (Non-POSIX Extensions): New document
3077 node. Document pthread_getattr_default_np and
3078 pthread_setattr_default_np.
3079
61dd6208
SP
3080 * Versions.def (libpthread): Add GLIBC_2.18.
3081 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3083 Likewise.
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3085 Likewise.
3086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3087 Likewise.
3088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3089 Likewise.
3090 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3091 Likewise.
3092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3093 Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3095 Likewise.
3096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3097 Likewise.
3098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3099 Likewise.
3100
d086fc7b
LD
31012013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3102
3103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3104 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3105
747ef469
SP
31062013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3107 H.J. Lu <hjl.tools@gmail.com>
3108
3109 [BZ #15627]
3110 * sysdeps/x86_64/rtld-memset.c: Remove file.
3111 * sysdeps/x86_64/rtld-memset.S: New file.
3112
1b2feed2
JM
31132013-06-14 Joseph Myers <joseph@codesourcery.com>
3114
3115 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3116 (test_in_one_mode): Take arguments for whether the rounding mode
3117 is supported for each floating-point type.
3118 (do_test): Pass new arguments to test_in_one_mode using
3119 ROUNDING_TESTS.
3120
a58ad3f8
RM
31212013-06-13 Roland McGrath <roland@hack.frob.com>
3122
3123 * posix/tst-waitid.c (do_test): Distinguish different instances of
3124 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3125 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3126 before entering the kernel for waitpid.
3127
c204ab28
SP
31282013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3129
3130 * NEWS: Fix note on clock function precision. Text by Roland
3131 McGrath.
3132
f4a29fba
RM
31332013-06-13 Roland McGrath <roland@hack.frob.com>
3134
3135 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3136 it into place only when and if the sanity check passes.
3137
1f24b9ad
JM
31382013-06-13 Joseph Myers <joseph@codesourcery.com>
3139
3140 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3141 output for whether conversion result is exact. Take argument
3142 indicating whether type is IBM long double.
3143 (round_for_all): Change need_exact field to ibm_ld.
3144 * stdlib/tst-strtod-round.c (struct exactness): New type.
3145 (struct test): Change bool ld_ok field to struct exactness exact.
3146 (TEST): Update all definitions for change to field.
3147 (tests): Regenerate array contents.
3148 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3149 field value. Check for IBM long double here.
3150 (do_test): Update calls to test_in_one_mode.
3151
58206c68
SP
31522013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3153
3154 [BZ #12515]
3155 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3156 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3157
2d6f4c5b 31582013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3159
3160 [BZ #15605]
3161 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3162 generated by the compiler on loop optimizations.
3163 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3164 general definitions.
3165
94f2c076
JM
31662013-06-12 Joseph Myers <joseph@codesourcery.com>
3167
3168 * math/bug-nextafter.c: Include <math-tests.h>.
3169 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3170 the relevant type.
3171 * math/bug-nexttoward.c: Include <math-tests.h>.
3172 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3173 the relevant type.
3174 * math/test-misc.c: Include <math-tests.h>.
3175 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3176 the relevant type.
3177
e0e50a0a
AJ
31782013-06-12 Andreas Jaeger <aj@suse.de>
3179
3180 * po/ia.po: Update Interlingua translation from translation
3181 project.
3182
25061094
SP
31832013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3184
3185 * include/fenv.h: Include stdbool.h.
3186 (struct rm_ctx): New structure.
3187 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3188 Define macro.
3189 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3190 (SET_RESTORE_ROUNDF): Likewise.
3191 (SET_RESTORE_ROUNDL): Likewise.
3192 (SET_RESTORE_ROUND_NOEX): Likewise.
3193 (SET_RESTORE_ROUND_NOEXF): Likewise.
3194 (SET_RESTORE_ROUND_NOEXL): Likewise.
3195 (SET_RESTORE_ROUND_53BIT): Likewise.
3196 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3197 (libc_feresetround_noexf_ctx): Likewise.
3198 (libc_feresetround_noexl_ctx): Likewise.
3199 (libc_feholdsetround_53bit_ctx): Likewise.
3200 (libc_feresetround_53bit_ctx): Likewise.
3201 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3202 (libc_feholdexcept_setround_sse_ctx): New function.
3203 (libc_fesetenv_sse_ctx): Likewise.
3204 (libc_feupdateenv_sse_ctx): Likewise.
3205 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3206 (libc_feholdexcept_setround_387_ctx): Likewise.
3207 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3208 (libc_feholdsetround_387_prec_ctx): Likewise.
3209 (libc_feholdsetround_387_ctx): Likewise.
3210 (libc_feholdsetround_387_53bit_ctx): Likewise.
3211 (libc_feholdsetround_sse_ctx): Likewise.
3212 (libc_feresetround_sse_ctx): Likewise.
3213 (libc_feresetround_387_ctx): Likewise.
3214 (libc_feupdateenv_387_ctx): Likewise.
3215 (libc_feholdexcept_setroundf_ctx): Define macro.
3216 (libc_fesetenvf_ctx): Likewise.
3217 (libc_feupdateenvf_ctx): Likewise.
3218 (libc_feholdsetroundf_ctx): Likewise.
3219 (libc_feresetroundf_ctx): Likewise.
3220 (libc_feholdexcept_setround_ctx): Likewise.
3221 (libc_fesetenv_ctx): Likewise.
3222 (libc_feupdateenv_ctx): Likewise.
3223 (libc_feholdsetround_ctx): Likewise.
3224 (libc_feresetround_ctx): Likewise.
3225 (libc_feholdexcept_setroundl_ctx): Likewise.
3226 (libc_feupdateenvl_ctx): Likewise.
3227 (libc_feholdsetroundl_ctx): Likewise.
3228 (libc_feresetroundl_ctx): Likewise.
3229 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3230 (libc_feresetround_53bit_ctx): Likewise.
3231
59b30555
SP
32322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3233
3234 * locale/iso-639.def: Convert to UTF-8.
3235
f1d73d30
JM
32362013-06-11 Joseph Myers <joseph@codesourcery.com>
3237
3238 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3239 (EXCEPTION_TESTS_double): Likewise.
3240 (EXCEPTION_TESTS_long_double): Likewise.
3241 (EXCEPTION_TESTS): Likewise.
3242 * math/libm-test.inc (test_exceptions): Only test exceptions if
3243 EXCEPTION_TESTS (FLOAT).
3244
94aca5e7
SP
32452013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3246
3247 * benchtests/Makefile (string-bench): Add strcpy_chk and
3248 stpcpy_chk.
3249 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3250 * benchtests/bench-stpcpy_chk.c: New file.
3251 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3252 * benchtests/bench-strcpy_chk.c: New file.
3253 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3254 code.
3255 (do_test): Likewise.
3256
fac0c5f2
RA
32572013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3258
3259 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3260 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3261 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3262 with tabs where appropriate.
3263 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3264 dl-procinfo.h.
3265 [PPC_PLATFORM_PPC440]: Likewise.
3266 [PPC_PLATFORM_PPC464]: Likewise.
3267 [PPC_PLATFORM_PPC476]: Likewise.
3268 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3269 ppc464, and ppc476 platform strings merging from ports/
3270 dl-procinfo.h.
3271
f22bc486
AS
32722013-06-11 Andreas Schwab <schwab@suse.de>
3273
3274 [BZ #14991]
3275 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3276 (from_ucs4_idx): Regenerate.
3277 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3278 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3279 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3280 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3281 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3282 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3283 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3284 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3285 from FROM_LOOP and TO_LOOP specific macros.
3286 (BODY): Handle combining characters.
3287 * iconvdata/BIG5HKSCS.irreversible: Update.
3288 * iconvdata/BIG5HKSCS.precomposed: New file.
3289 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3290 characters.
3291 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3292
c1f75dc3
SP
32932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3294
4eacded2
SP
3295 * include/sys/time.h: Fix indentation and add copyright header.
3296
fec799f8
SP
3297 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3298 (do_test): Likewise.
3299 * string/test-memchr.c (do_one_test): Likewise.
3300 (do_test): Likewise.
3301 * string/test-memcmp.c (do_one_test): Likewise.
3302 (do_test): Likewise.
3303 * string/test-memcpy.c (do_one_test): Likewise.
3304 (do_test): Likewise.
3305 * string/test-memmem.c (do_one_test): Likewise.
3306 (do_test): Likewise.
3307 (do_random_tests): Likewise.
3308 * string/test-memmove.c (do_one_test): Likewise.
3309 (do_test): Likewise.
3310 * string/test-memset.c (do_one_test): Likewise.
3311 (do_test): Likewise.
3312 * string/test-rawmemchr.c (do_one_test): Likewise.
3313 (do_test): Likewise.
3314 * string/test-strcasecmp.c (do_one_test): Likewise.
3315 (do_test): Likewise.
3316 * string/test-strcasestr.c (do_one_test): Likewise.
3317 (do_test): Likewise.
3318 * string/test-strcat.c (do_one_test): Likewise.
3319 (do_test): Likewise.
3320 * string/test-strchr.c (do_one_test): Likewise.
3321 (do_test): Likewise.
3322 * string/test-strcmp.c (do_one_test): Likewise.
3323 (do_test): Likewise.
3324 * string/test-strcpy.c (do_one_test): Likewise.
3325 (do_test): Likewise.
3326 * string/test-string.h: Likewise.
3327 (test_init): Likewise.
3328 * string/test-strlen.c (do_one_test): Likewise.
3329 (do_test): Likewise.
3330 * string/test-strncasecmp.c (do_one_test): Likewise.
3331 (do_test): Likewise.
3332 * string/test-strncat.c (do_one_test): Likewise.
3333 (do_test): Likewise.
3334 * string/test-strncmp.c (do_one_test): Likewise.
3335 (do_test_limit): Likewise.
3336 (do_test): Likewise.
3337 * string/test-strncpy.c (do_one_test): Likewise.
3338 (do_test): Likewise.
3339 * string/test-strnlen.c (do_one_test): Likewise.
3340 (do_test): Likewise.
3341 * string/test-strpbrk.c (do_one_test): Likewise.
3342 (do_test): Likewise.
3343 * string/test-strrchr.c (do_one_test): Likewise.
3344 (do_test): Likewise.
3345 * string/test-strspn.c (do_one_test): Likewise.
3346 (do_test): Likewise.
3347 * string/test-strstr.c (do_one_test): Likewise.
3348 (do_test): Likewise.
3349
97020474
SP
3350 * benchtests/Makefile (string-bench): Add string benchmarks.
3351 * benchtests/bench-bcopy-ifunc.c: New file.
3352 * benchtests/bench-bcopy.c: New file.
3353 * benchtests/bench-bzero-ifunc.c: New file.
3354 * benchtests/bench-bzero.c: New file.
3355 * benchtests/bench-memccpy-ifunc.c: New file.
3356 * benchtests/bench-memccpy.c: New file.
3357 * benchtests/bench-memchr-ifunc.c: New file.
3358 * benchtests/bench-memchr.c: New file.
3359 * benchtests/bench-memcmp-ifunc.c: New file.
3360 * benchtests/bench-memcmp.c: New file.
3361 * benchtests/bench-memmem-ifunc.c: New file.
3362 * benchtests/bench-memmem.c: New file.
3363 * benchtests/bench-memmove-ifunc.c: New file.
3364 * benchtests/bench-memmove.c: New file.
3365 * benchtests/bench-mempcpy-ifunc.c: New file.
3366 * benchtests/bench-mempcpy.c: New file.
3367 * benchtests/bench-memset-ifunc.c: New file.
3368 * benchtests/bench-memset.c: New file.
3369 * benchtests/bench-rawmemchr-ifunc.c: New file.
3370 * benchtests/bench-rawmemchr.c: New file.
3371 * benchtests/bench-stpcpy-ifunc.c: New file.
3372 * benchtests/bench-stpcpy.c: New file.
3373 * benchtests/bench-stpncpy-ifunc.c: New file.
3374 * benchtests/bench-stpncpy.c: New file.
3375 * benchtests/bench-strcasecmp-ifunc.c: New file.
3376 * benchtests/bench-strcasecmp.c: New file.
3377 * benchtests/bench-strcasestr-ifunc.c: New file.
3378 * benchtests/bench-strcasestr.c: New file.
3379 * benchtests/bench-strcat-ifunc.c: New file.
3380 * benchtests/bench-strcat.c: New file.
3381 * benchtests/bench-strchr-ifunc.c: New file.
3382 * benchtests/bench-strchr.c: New file.
3383 * benchtests/bench-strchrnul-ifunc.c: New file.
3384 * benchtests/bench-strchrnul.c: New file.
3385 * benchtests/bench-strcmp-ifunc.c: New file.
3386 * benchtests/bench-strcmp.c: New file.
3387 * benchtests/bench-strcpy-ifunc.c: New file.
3388 * benchtests/bench-strcpy.c: New file.
3389 * benchtests/bench-strcspn-ifunc.c: New file.
3390 * benchtests/bench-strcspn.c: New file.
3391 * benchtests/bench-strlen-ifunc.c: New file.
3392 * benchtests/bench-strlen.c: New file.
3393 * benchtests/bench-strncasecmp-ifunc.c: New file.
3394 * benchtests/bench-strncasecmp.c: New file.
3395 * benchtests/bench-strncat-ifunc.c: New file.
3396 * benchtests/bench-strncat.c: New file.
3397 * benchtests/bench-strncmp-ifunc.c: New file.
3398 * benchtests/bench-strncmp.c: New file.
3399 * benchtests/bench-strncpy-ifunc.c: New file.
3400 * benchtests/bench-strncpy.c: New file.
3401 * benchtests/bench-strnlen-ifunc.c: New file.
3402 * benchtests/bench-strnlen.c: New file.
3403 * benchtests/bench-strpbrk-ifunc.c: New file.
3404 * benchtests/bench-strpbrk.c: New file.
3405 * benchtests/bench-strrchr-ifunc.c: New file.
3406 * benchtests/bench-strrchr.c: New file.
3407 * benchtests/bench-strspn-ifunc.c: New file.
3408 * benchtests/bench-strspn.c: New file.
3409 * benchtests/bench-strstr-ifunc.c: New file.
3410 * benchtests/bench-strstr.c: New file.
3411
c1f75dc3
SP
3412 * benchtests/Makefile: Disable parallel execution of targets.
3413 (string-bench): Add memcpy.
3414 (benchset): New variable to store a list of benchmark sets.
3415 (bench-func): Renamed from bench.
3416 (bench-set): New target.
3417 (bench): Depend on bench-func and bench-set.
3418 * benchtests/README: Add section on benchmark sets.
3419 * benchtests/bench-memcpy-ifunc.c: New file.
3420 * benchtests/bench-memcpy.c: New file.
3421 * benchtests/bench-string.h: New file.
3422
50fd745b
AS
34232013-06-11 Andreas Schwab <schwab@suse.de>
3424
3425 [BZ #15577]
3426 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3427 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3428 values in the triple.
3429 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3430 terminator in the group key.
3431
3ee7e9fe
AJ
34322013-06-11 Andreas Jaeger <aj@suse.de>
3433
3434 * po/zh_TW.po: Update Chinese (traditional) translation from
3435 translation project.
3436
89fb6835
SP
34372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3438
3439 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3440 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3441 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3442 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3443 (clock_getcpuclockid): Likewise.
3444 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3445 Add weak_alias and libc_hidden_def.
3446 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3447 * rt/clock_gettime.c (clock_gettime): Rename to
3448 __clock_gettime. Add weak_alias and libc_hidden_def.
3449 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3450 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3451 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3452 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3453 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3454 Likewise.
3455 * rt/clock_settime.c (clock_settime): Rename to
3456 __clock_settime. Add weak_alias and libc_hidden_def.
3457 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3458
0efa6f8b
JM
34592013-06-10 Joseph Myers <joseph@codesourcery.com>
3460
b8c61b4b
JM
3461 * mach/err_boot.sub: Remove trailing whitespace.
3462 * mach/err_ipc.sub: Likewise.
3463 * mach/err_mach.sub: Likewise.
3464
0efa6f8b
JM
3465 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3466 (ROUNDING_TESTS_double): Likewise.
3467 (ROUNDING_TESTS_long_double): Likewise.
3468 (ROUNDING_TESTS): Likewise.
3469 * math/libm-test.inc: Include <math-tests.h>.
3470 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3471 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3472 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3473 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3474
50b818bf
SP
34752013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3476
3477 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3478 of assigning.
3479
60d2f8f3
JM
34802013-06-08 Joseph Myers <joseph@codesourcery.com>
3481
4902d2c3
JM
3482 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3483 otherwise empty TRANS lines.
3484 * sysdeps/gnu/errlist.c: Regenerated.
3485
60d2f8f3
JM
3486 * catgets/gencat.c (error_print): Use (void) in function
3487 definition.
3488 * crypt/crypt_util.c (__init_des): Likewise.
3489 * crypt/speeds.c (Stop): Likewise.
3490 (main): Likewise.
3491 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3492 * inet/ruserpass.c (token): Likewise.
3493 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3494 * intl/localealias.c (extend_alias_table): Likewise.
3495 * intl/plural-exp.c (init_germanic_plural): Likewise.
3496 * libio/fcloseall.c (__fcloseall): Likewise.
3497 * libio/genops.c (_IO_flush_all): Likewise.
3498 (_IO_flush_all_linebuffered): Likewise.
3499 (_IO_cleanup): Likewise.
3500 (_IO_iter_begin): Likewise.
3501 (_IO_iter_end): Likewise.
3502 (_IO_list_lock): Likewise.
3503 (_IO_list_unlock): Likewise.
3504 (_IO_list_resetlock): Likewise.
3505 * libio/getchar.c (getchar): Likewise.
3506 * libio/getchar_u.c (getchar_unlocked): Likewise.
3507 * libio/getwchar.c (getwchar): Likewise.
3508 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3509 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3510 * login/getpt.c (__getpt): Likewise.
3511 * login/tst-utmp.c (main): Likewise.
3512 * malloc/hooks.c (__malloc_check_init): Likewise.
3513 * malloc/malloc.c (__malloc_stats): Likewise.
3514 * malloc/mtrace.c (tr_break): Likewise.
3515 (mtrace): Likewise.
3516 (muntrace): Likewise.
3517 * misc/fstab.c (endfsent): Likewise.
3518 * misc/getclktck.c (__getclktck): Likewise.
3519 * misc/getdtsz.c (__getdtablesize): Likewise.
3520 * misc/gethostid.c (gethostid): Likewise.
3521 * misc/getpagesize.c (__getpagesize): Likewise.
3522 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3523 (__get_nprocs): Likewise.
3524 (__get_phys_pages): Likewise.
3525 (__get_avphys_pages): Likewise.
3526 * misc/getttyent.c (getttyent): Likewise.
3527 (setttyent): Likewise.
3528 (endttyent): Likewise.
3529 * misc/getusershell.c (getusershell): Likewise.
3530 (endusershell): Likewise.
3531 (setusershell): Likewise.
3532 (initshells): Likewise.
3533 * misc/hsearch.c (__hdestroy): Likewise.
3534 * misc/sync.c (sync): Likewise.
3535 * misc/syslog.c (closelog_internal): Likewise.
3536 (closelog): Likewise.
3537 * misc/ttyslot.c (ttyslot): Likewise.
3538 * misc/vhangup.c (vhangup): Likewise.
3539 * posix/fork.c (__fork): Likewise.
3540 * posix/getegid.c (__getegid): Likewise.
3541 * posix/geteuid.c (__geteuid): Likewise.
3542 * posix/getgid.c (__getgid): Likewise.
3543 * posix/getpid.c (__getpid): Likewise.
3544 * posix/getppid.c (__getppid): Likewise.
3545 * posix/getuid.c (__getuid): Likewise.
3546 * posix/pause.c (pause): Likewise.
3547 * posix/setpgrp.c (setpgrp): Likewise.
3548 * posix/setsid.c (__setsid): Likewise.
3549 * posix/test-vfork.c (noop): Likewise.
3550 * resolv/gethnamaddr.c (_endhtent): Likewise.
3551 (_gethtent): Likewise.
3552 (ht_endhostent): Likewise.
3553 (gethostent): Likewise.
3554 (dns_service): Likewise.
3555 * stdlib/drand48.c (drand48): Likewise.
3556 * stdlib/lrand48.c (lrand48): Likewise.
3557 * stdlib/mrand48.c (mrand48): Likewise.
3558 * stdlib/rand.c (rand): Likewise.
3559 * stdlib/random.c (__random): Likewise.
3560 * stdlib/setenv.c (clearenv): Likewise.
3561 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3562 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3563 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3564 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3565 (__get_nprocs): Likewise.
3566 (__get_phys_pages): Likewise.
3567 (__get_avphys_pages): Likewise.
3568 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3569 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3570 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3571 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3572 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3573 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3574 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3575 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3576 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3577 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3578 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3579 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3580 * sysdeps/posix/clock.c (clock): Likewise.
3581 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3582 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3583 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3584 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3585 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3587 (__get_nprocs_conf): Likewise.
3588 (__get_phys_pages): Likewise.
3589 (__get_avphys_pages): Likewise.
3590 * time/clock.c (clock): Likewise.
3591 * time/tzset.c (__tzname_max): Likewise.
3592
2e09a79a
JM
35932013-06-07 Joseph Myers <joseph@codesourcery.com>
3594
3595 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3596 (__bswap_32): Do not use "register".
3597 * crypt/crypt.c (_ufc_doit_r): Likewise.
3598 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3599 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3600 * gmon/gmon.c (__monstartup): Likewise.
3601 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3602 * hurd/hurdmalloc.c (more_memory): Likewise.
3603 (malloc): Likewise.
3604 (free): Likewise.
3605 (realloc): Likewise.
3606 (malloc_fork_prepare): Likewise.
3607 (malloc_fork_parent): Likewise.
3608 (malloc_fork_child): Likewise.
3609 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3610 (_svcauth_des): Likewise.
3611 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3612 * inet/inet_net.c (inet_network): Likewise.
3613 * inet/inet_netof.c (inet_netof): Likewise.
3614 * inet/rcmd.c (__validuser2_sa): Likewise.
3615 * io/fts.c (fts_open): Likewise.
3616 (fts_load): Likewise.
3617 (fts_close): Likewise.
3618 (fts_read): Likewise.
3619 (fts_children): Likewise.
3620 (fts_build): Likewise.
3621 (fts_stat): Likewise.
3622 (fts_sort): Likewise.
3623 (fts_alloc): Likewise.
3624 (fts_lfree): Likewise.
3625 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3626 (_IO_file_xsgetn): Likewise.
3627 (_IO_file_xsgetn_mmap): Likewise.
3628 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3629 (_IO_cookie_write): Likewise.
3630 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3631 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3632 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3633 * malloc/obstack.c (_obstack_begin): Likewise.
3634 (_obstack_begin_1): Likewise.
3635 (_obstack_newchunk): Likewise.
3636 (_obstack_allocated_p): Likewise.
3637 (obstack_free): Likewise.
3638 (_obstack_memory_used): Likewise.
3639 * misc/getttyent.c (getttynam): Likewise.
3640 (getttyent): Likewise.
3641 (skip): Likewise.
3642 (value): Likewise.
3643 * misc/getusershell.c (initshells): Likewise.
3644 * misc/syslog.c (__vsyslog_chk): Likewise.
3645 * misc/ttyslot.c (ttyslot): Likewise.
3646 * nis/nis_hash.c (__nis_hash): Likewise.
3647 * posix/fnmatch_loop.c (FCT): Likewise.
3648 * posix/getconf.c (print_all): Likewise.
3649 (main): Likewise.
3650 * posix/getopt.c (exchange): Likewise.
3651 * posix/glob.c (globfree): Likewise.
3652 (prefix_array): Likewise.
3653 (__glob_pattern_type): Likewise.
3654 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3655 (NS_GET32): Likewise.
3656 (NS_PUT16): Likewise.
3657 (NS_PUT32): Likewise.
3658 * resolv/gethnamaddr.c (getanswer): Likewise.
3659 (gethostbyname2): Likewise.
3660 (gethostbyaddr): Likewise.
3661 (_gethtent): Likewise.
3662 (_gethtbyname2): Likewise.
3663 (_gethtbyaddr): Likewise.
3664 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3665 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3666 * resolv/res_init.c (__res_vinit): Likewise.
3667 (net_mask): Likewise.
3668 * resolv/res_mkquery.c (outchar): Likewise.
3669 (PRINT): Likewise.
3670 * stdio-common/printf_fp.c (outchar): Likewise.
3671 (PRINT): Likewise.
3672 * stdio-common/printf_fphex.c (outchar): Likewise.
3673 (PRINT): Likewise.
3674 * stdio-common/printf_size.c (outchar): Likewise.
3675 (PRINT): Likewise.
3676 * stdio-common/test_rdwr.c (main): Likewise.
3677 * stdio-common/tfformat.c (matches): Likewise.
3678 * stdio-common/vfprintf.c (outchar): Likewise.
3679 (printf_unknown): Likewise.
3680 (buffered_vfprintf): Likewise.
3681 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3682 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3683 (ReadFile): Likewise.
3684 * stdlib/qsort.c (SWAP): Likewise.
3685 (_quicksort): Likewise.
3686 * stdlib/setenv.c (__add_to_environ): Likewise.
3687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3688 * stdlib/strtol_l.c (__strtol_l): Likewise.
3689 * stdlib/tst-strtod.c (main): Likewise.
3690 * stdlib/tst-strtol.c (main): Likewise.
3691 * stdlib/tst-strtoll.c (main): Likewise.
3692 * string/bits/string2.h (__strcmp_cc): Likewise.
3693 (__strcmp_cg): Likewise.
3694 (__strcspn_c1): Likewise.
3695 (__strcspn_c2): Likewise.
3696 (__strcspn_c3): Likewise.
3697 (__strspn_c1): Likewise.
3698 (__strspn_c2): Likewise.
3699 (__strspn_c3): Likewise.
3700 (__strsep_1c): Likewise.
3701 (__strsep_2c): Likewise.
3702 (__strsep_3c): Likewise.
3703 * string/memccpy.c (__memccpy): Likewise.
3704 * string/stpcpy.c (__stpcpy): Likewise.
3705 * string/strcmp.c (strcmp): Likewise.
3706 * string/strrchr.c (strrchr): Likewise.
3707 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3708 Likewise.
3709 * sysdeps/mach/hurd/getcwd.c
3710 (_hurd_canonicalize_directory_name_internal): Likewise.
3711 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3712 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3713 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3714 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3715 Likewise, in both definitions.
3716 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3717 definitions.
3718 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3719 64] (__bswap_64): Likewise.
3720 * time/test_time.c (main): Likewise.
3721 * time/tzfile.c (__tzfile_read): Likewise.
3722 (__tzfile_compute): Likewise.
3723 * time/tzset.c (__tzset_parse_tz): Likewise.
3724 (tzset_internal): Likewise.
3725 (compute_change): Likewise.
3726 * wcsmbs/wcscat.c (__wcscat): Likewise.
3727 * wcsmbs/wcschr.c (wcschr): Likewise.
3728 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3729 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3730 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3731 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3732 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3733 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3734 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3735 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3736 * wcsmbs/wmemset.c (wmemset): Likewise.
3737
9e54314b
JM
37382013-06-06 Joseph Myers <joseph@codesourcery.com>
3739
3740 * scripts/config.guess: Update to version 2013-05-16.
3741 * scripts/config.sub: Update to version 2013-04-24.
3742 * scripts/install-sh: Update to version 2011-11-20.07.
3743 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3744 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3745
350635a5
OB
37462013-06-06 Ondřej Bílka <neleai@seznam.cz>
3747
3748 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3749 * elf/sln.c: Likewise.
3750 * hurd/hurd/ioctl.h: Likewise.
3751 * hurd/hurdmalloc.c: Likewise.
3752 * hurd/xattr.c: Likewise.
3753 * include/shlib-compat.h: Likewise.
3754 * inet/ruserpass.c: Likewise.
3755 * libio/iofgets_u.c: Likewise.
3756 * libio/iofgetws_u.c: Likewise.
3757 * locale/programs/ld-identification.c: Likewise.
3758 * locale/programs/ld-time.c: Likewise.
3759 * mach/msg-destroy.c: Likewise.
3760 * nss/nss_files/files-netgrp.c: Likewise.
3761 * resolv/res_data.c: Likewise.
3762 * soft-fp/op-1.h: Likewise.
3763 * soft-fp/op-2.h: Likewise.
3764 * soft-fp/op-4.h: Likewise.
3765 * soft-fp/op-common.h: Likewise.
3766 * stdio-common/printf_fphex.c: Likewise.
3767 * stdlib/strtod_l.c: Likewise.
3768 * sunrpc/rpc/clnt.h: Likewise.
3769 * sysdeps/generic/framestate.c: Likewise.
3770 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3771 * sysdeps/i386/bsd-setjmp.S: Likewise.
3772 * sysdeps/i386/__longjmp.S: Likewise.
3773 * sysdeps/i386/setjmp.S: Likewise.
3774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3775 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3776 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3781 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3782 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3783 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3784 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3788 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3790 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3792 * sysdeps/ieee754/support.c: Likewise.
3793 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3794 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3795 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3796 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3797 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3798 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3799 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3800 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3801 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3802 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3803 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3804 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3805 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3806 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3807 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3808 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3809 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3811
44a988af
OB
38122013-06-05 Ondřej Bílka <neleai@seznam.cz>
3813
25506f09 3814 * posix/transbug.c: Remove executable mode.
44a988af 3815
9c84384c
JM
38162013-06-05 Joseph Myers <joseph@codesourcery.com>
3817
3818 * crypt/speeds.c: Remove trailing whitespace.
3819 * dlfcn/default.c: Likewise.
3820 * elf/ifuncdep2.c: Likewise.
3821 * elf/ifuncmain1.c: Likewise.
3822 * elf/ifuncmain1vis.c: Likewise.
3823 * elf/testobj.h: Likewise.
3824 * elf/tst-stackguard1.c: Likewise.
3825 * gmon/sys/gmon.h: Likewise.
3826 * hurd/hurdmsg.c: Likewise.
3827 * hurd/new-fd.c: Likewise.
3828 * hurd/ports-get.c: Likewise.
3829 * iconvdata/ibm1008_420.c: Likewise.
3830 * inet/tst-getni1.c: Likewise.
3831 * inet/tst-getni2.c: Likewise.
3832 * libio/ioungetc.c: Likewise.
3833 * libio/wfiledoalloc.c: Likewise.
3834 * manual/libm-err-tab.pl: Likewise.
3835 * math/w_dremf.c: Likewise.
3836 * misc/ftruncate.c: Likewise.
3837 * posix/bug-glob2.c: Likewise.
3838 * posix/tst-pcre.c: Likewise.
3839 * posix/wait4.c: Likewise.
3840 * resolv/README: Likewise.
3841 * resolv/res_debug.h: Likewise.
3842 * resolv/tst-inet_ntop.c: Likewise.
3843 * setjmp/bug269-setjmp.c: Likewise.
3844 * soft-fp/extended.h: Likewise.
3845 * soft-fp/op-1.h: Likewise.
3846 * soft-fp/op-2.h: Likewise.
3847 * soft-fp/op-4.h: Likewise.
3848 * soft-fp/op-8.h: Likewise.
3849 * soft-fp/testit.c: Likewise.
3850 * stdio-common/bug16.c: Likewise.
3851 * stdlib/random.c: Likewise.
3852 * sunrpc/rpcsvc/rquota.x: Likewise.
3853 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3854 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3855 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3856 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3857 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3858 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3859 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3860 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3861 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3862 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3863 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3869 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3880 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3881 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3882 * sysdeps/ieee754/s_lib_version.c: Likewise.
3883 * sysdeps/mach/hurd/check_fds.c: Likewise.
3884 * sysdeps/mach/hurd/getsockname.c: Likewise.
3885 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3886 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3887 * sysdeps/powerpc/bits/link.h: Likewise.
3888 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3889 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3890 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3891 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3892 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3893 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3894 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3895 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3896 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3897 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3898 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3899 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3900 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3901 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3902 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3903 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3904 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3908 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3909 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3910 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3911 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3912 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3913 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3915 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3917 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3918 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3920 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3921 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3922 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3923 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3925 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3926 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3927 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3928 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3929 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3932 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3933 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3934 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3935 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3936 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3937 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3940 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3941 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3942 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3943 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3944 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3945 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3946 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3947 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3948 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3949 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3950 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3951 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3952 * sysdeps/powerpc/sysdep.h: Likewise.
3953 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3954 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3955 * sysdeps/sh/dl-trampoline.S: Likewise.
3956 * sysdeps/sh/memset.S: Likewise.
3957 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3958 * sysdeps/sh/strlen.S: Likewise.
3959 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3960 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3961 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3962 * sysdeps/sparc/sparc32/rem.S: Likewise.
3963 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3964 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3965 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3966 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3967 * sysdeps/sparc/sparc32/urem.S: Likewise.
3968 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3969 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3970 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3971 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3972 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3973 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3974 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3975 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3976 * sysdeps/unix/bsd/times.c: Likewise.
3977 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3978 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3982 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3983 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3984 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3985 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3986 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3987 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3988 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3989 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3990 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3991 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3992 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3993 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3994 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3995 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3996 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3997 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3998 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3999 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4000 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4001 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4002 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4003 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4004 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4005 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4006 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4007 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4008 * sysdeps/x86_64/strcspn.S: Likewise.
4009
869378a5
RA
40102013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4011
4012 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4013 generated file. Regenerate properly from gen-translit.pl.
4014 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4015 locale/C-translit.h.
4016
840e2943
AS
40172013-06-05 Andreas Schwab <schwab@suse.de>
4018
4019 [BZ #15100]
4020 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4021 week as 6 instead of -1.
4022 * time/tst-strptime.c (day_tests): Add test case.
4023
4c60cb0c
SP
40242013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4025
4026 * sysdeps/generic/math_private.h
4027 (libc_feholdexcept_setround_53bit): Replace with
4028 libc_feholdsetround_53bit.
4029 (libc_feupdateenv_53bit): Replace with
4030 libc_feresetround_53bit.
4031 (SET_RESTORE_ROUND_53BIT): Adjust.
4032
d180203e
SP
40332013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4034
96df079a
SP
4035 * string/test-strchrnul.c: Add copyright header.
4036
d180203e
SP
4037 * posix/tst-getaddrinfo4.c: Increase test timeout.
4038
8b0ccb2d
CD
40392013-06-03 Carlos O'Donell <carlos@redhat.com>
4040
4041 [BZ #15536]
4042 * math/libm-test.inc (MAX_EXP): Remove
4043 (MIN_EXP): Define.
4044 (ulp): Use MIN_EXP - MANT_DIG.
4045 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4046
3b3c4d40
CD
40472013-05-31 Carlos O'Donell <carlos@redhat.com>
4048
4049 * po/be.po: Revert last change.
4050 * po/zh_CN.po: Likewise.
4051 * po/header.pot: Likewise.
4052
fab7ce3f
JM
40532013-05-31 Joseph Myers <joseph@codesourcery.com>
4054
4055 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4056 link-libc-deps to empty as target-specific variable.
4057 * Makerules (link-libc-args): New variable.
4058 (libc-for-link): Likewise.
4059 (link-libc-deps): Likewise.
4060 (lib%.so): Depend on $(link-libc-deps). Link with
4061 $(link-libc-args).
4062 (build-module): Link with $(link-libc-args).
4063 (build-module-asneeded): Likewise.
4064 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4065 list of objects.
4066 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4067 target-specific variable.
4068 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4069 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4070 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4071 libc.
4072 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4073 libc and ld.so.
4074 ($(objpfx)libpcprofile.so): Likewise.
4075 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4076 libc_nonshared.a.
4077 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4078 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4079 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4080 $(link-libc-deps).
4081 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4082 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4083 * login/Makefile ($(objpfx)libutil.so): Likewise.
4084 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4085 * math/Makefile ($(objpfx)libm.so): Likewise.
4086 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4087 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4088 variable instead of depending directly on libc.
4089 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4090 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4091 $(link-libc-deps).
4092 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4093 libc.
4094 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4095 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4096 ($(objpfx)libanl.so): Likewise.
4097 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4098 ld.so.
4099 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4100 $(link-libc-deps).
4101 * sysdeps/i386/fpu/Makefile: Remove file.
4102 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4103 ($(objpfx)libm.so): Remove dependency on ld.so.
4104
eca5920c
PF
41052013-05-30 Patsy Franklin <pfrankli@redhat.com>
4106
4107 [BZ # 15553]
4108 * nis/yp_xdr.c (XDRMAXNAME): Define.
4109 (XDRMAXRECORD): Define.
4110 (xdr_domainname): Use XDRMAXNAME.
4111 (xdr_mapname): Likewise.
4112 (xdr_peername): Likewise.
4113 (xdr_keydat): Use XDRMAXRECORD.
4114 (xdr_valdat): Likewise.
4115
41162013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4117
4118 [BZ #14256]
4119 * manual/errno.texi (ESTALE): Update to account for more than
4120 just NFS file systems.
4121 * sysdeps/gnu/errlist.c: Regenerated.
4122
b9375348
SP
41232013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4124
4125 [BZ #15465]
4126 * elf/Makefile (tests): Add tst-null-argv.
4127 (modules-names): Add tst-null-argv-lib.
4128 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4129 (tst-null-argv-ENV): Set environment for tst-null-argv.
4130 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4131 (RTLD_PROGNAME): New macro.
4132 * elf/tst-null-argv.c: New test case.
4133 * elf/tst-null-argv-lib.c: Library for test case.
4134 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4135 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4136 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4137 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4138 * elf/dl-init.c (call_init): Likewise.
4139 (_dl_init): Likewise.
4140 * elf/dl-load.c (print_search_path): Likewise.
4141 (_dl_map_object): Likewise.
4142 * elf/dl-lookup.c (do_lookup_x): Likewise.
4143 (add_dependency): Likewise.
4144 (_dl_lookup_symbol_x): Likewise.
4145 (_dl_debug_bindings): Likewise.
4146 * elf/dl-open.c (_dl_show_scope): Likewise.
4147 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4148 * elf/dl-version.c (match_symbol): Likewise.
4149 (_dl_check_map_versions): Likewise.
4150 * elf/rtld.c (dl_main): Likewise.
4151 (print_unresolved): Use RTLD_PROGNAME.
4152 (print_missing_version): Likewise.
4153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4154 (elf_machine_rela): Likewise.
4155 * sysdeps/powerpc/powerpc32/dl-machine.c
4156 (__process_machine_rela): Likewise.
4157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4158 Likewise.
4159 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4160 Likewise.
4161 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4162 Likewise.
4163 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4164 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4165 Likewise.
4166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4167 Likewise.
4168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4169
8a9f20c8
CD
41702013-05-28 Carlos O'Donell <carlos@redhat.com>
4171
4172 * po/be.po: Add descriptive title.
4173 * po/zh_CN.po: Likewise.
4174 * po/header.pot: Likewise.
4175
0e60d68e
MF
41762013-05-28 Mike Frysinger <vapier@gentoo.org>
4177
4178 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4179 error message.
4180 (enlarge_archive): Likewise.
4181
56b672e9
BN
41822013-05-28 Ben North <ben@redfrontdoor.org>
4183
4184 * manual/arith.texi (frexp): It is the magnitude of the return
4185 value which lies in [0.5, 1), not the return value itself.
4186
5e056687
AZ
41872013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4188
4189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4190
2b66ef5d
TS
41912013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4192
528c2405
TS
4193 * stdio-common/bug26.c (main): Correct fscanf template.
4194
07b4c13d
TS
4195 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4196 declare _dl_skip_args.
4197
ec9dd97c
TS
4198 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4199 Don't declare.
4200
2b66ef5d
TS
4201 * manual/platform.texi: Add missing @end deftypefun.
4202
4f8dfe27
JM
42032013-05-24 Joseph Myers <joseph@codesourcery.com>
4204
0323d086
JM
4205 [BZ #15529]
4206 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4207 bit of mantissa of 2^16382.
4208 * math/libm-test.inc (hypot_test_data): Add more tests.
4209
dd4259b9
JM
4210 * math/libm-test.inc: Add drem and pow10 to list of tested
4211 functions.
4212 (pow10_test): New function.
4213 (drem_test): Likewise.
4214 (drem_test_tonearest): Likewise.
4215 (drem_test_towardzero): Likewise.
4216 (drem_test_downward): Likewise.
4217 (drem_test_upward): Likewise.
4218 (main): Call the new functions.
4219
4f8dfe27
JM
4220 * math/libm-test.inc (finite_test_data): Remove.
4221 (finite_test): Run tests from isfinite_test_data.
4222 (gamma_test_data): Remove.
4223 (gamma_test): Run tests from lgamma_test_data.
4224 * sysdeps/i386/fpu/libm-test-ulps: Update.
4225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4226
d116b7c4
AZ
42272013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4228
4229 * manual/platform.texi: Add PowerPC PPR function set documentation.
4230 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4231 implementation.
4232
e96e3767
CD
42332013-05-24 Carlos O'Donell <carlos@redhat.com>
4234
4235 * math/libm-test.inc (MAX_EXP): Define.
4236 (ULPDIFF): Define.
4237 (ulp): New function.
4238 (check_float_internal): Use ULPDIFF.
4239 (cpow_test): Disable failing test.
4240 (check_ulp): Test ulp() implemetnation.
4241 (main): Call check_ulp before starting tests.
4242
b679a606
JM
42432013-05-24 Joseph Myers <joseph@codesourcery.com>
4244
e8bdba36
JM
4245 * math/gen-libm-test.pl (generate_testfile): Do not handle
4246 START_DATA and END_DATA.
4247 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4248 END_DATA.
4249 (acos_tonearest_test_data): Likewise.
4250 (acos_towardzero_test_data): Likewise.
4251 (acos_downward_test_data): Likewise.
4252 (acos_upward_test_data): Likewise.
4253 (acosh_test_data): Likewise.
4254 (asin_test_data): Likewise.
4255 (asin_tonearest_test_data): Likewise.
4256 (asin_towardzero_test_data): Likewise.
4257 (asin_downward_test_data): Likewise.
4258 (asin_upward_test_data): Likewise.
4259 (asinh_test_data): Likewise.
4260 (atan_test_data): Likewise.
4261 (atanh_test_data): Likewise.
4262 (atan2_test_data): Likewise.
4263 (cabs_test_data): Likewise.
4264 (cacos_test_data): Likewise.
4265 (cacosh_test_data): Likewise.
4266 (carg_test_data): Likewise.
4267 (casin_test_data): Likewise.
4268 (casinh_test_data): Likewise.
4269 (catan_test_data): Likewise.
4270 (catanh_test_data): Likewise.
4271 (cbrt_test_data): Likewise.
4272 (ccos_test_data): Likewise.
4273 (ccosh_test_data): Likewise.
4274 (ceil_test_data): Likewise.
4275 (cexp_test_data): Likewise.
4276 (cimag_test_data): Likewise.
4277 (clog_test_data): Likewise.
4278 (clog10_test_data): Likewise.
4279 (conj_test_data): Likewise.
4280 (copysign_test_data): Likewise.
4281 (cos_test_data): Likewise.
4282 (cos_tonearest_test_data): Likewise.
4283 (cos_towardzero_test_data): Likewise.
4284 (cos_downward_test_data): Likewise.
4285 (cos_upward_test_data): Likewise.
4286 (cosh_test_data): Likewise.
4287 (cosh_tonearest_test_data): Likewise.
4288 (cosh_towardzero_test_data): Likewise.
4289 (cosh_downward_test_data): Likewise.
4290 (cosh_upward_test_data): Likewise.
4291 (cpow_test_data): Likewise.
4292 (cproj_test_data): Likewise.
4293 (creal_test_data): Likewise.
4294 (csin_test_data): Likewise.
4295 (csinh_test_data): Likewise.
4296 (csqrt_test_data): Likewise.
4297 (ctan_test_data): Likewise.
4298 (ctan_tonearest_test_data): Likewise.
4299 (ctan_towardzero_test_data): Likewise.
4300 (ctan_downward_test_data): Likewise.
4301 (ctan_upward_test_data): Likewise.
4302 (ctanh_test_data): Likewise.
4303 (ctanh_tonearest_test_data): Likewise.
4304 (ctanh_towardzero_test_data): Likewise.
4305 (ctanh_downward_test_data): Likewise.
4306 (ctanh_upward_test_data): Likewise.
4307 (erf_test_data): Likewise.
4308 (erfc_test_data): Likewise.
4309 (exp_test_data): Likewise.
4310 (exp_tonearest_test_data): Likewise.
4311 (exp_towardzero_test_data): Likewise.
4312 (exp_downward_test_data): Likewise.
4313 (exp_upward_test_data): Likewise.
4314 (exp10_test_data): Likewise.
4315 (exp2_test_data): Likewise.
4316 (expm1_test_data): Likewise.
4317 (fabs_test_data): Likewise.
4318 (fdim_test_data): Likewise.
4319 (finite_test_data): Likewise.
4320 (floor_test_data): Likewise.
4321 (fma_test_data): Likewise.
4322 (fma_towardzero_test_data): Likewise.
4323 (fma_downward_test_data): Likewise.
4324 (fma_upward_test_data): Likewise.
4325 (fmax_test_data): Likewise.
4326 (fmin_test_data): Likewise.
4327 (fmod_test_data): Likewise.
4328 (fpclassify_test_data): Likewise.
4329 (frexp_test_data): Likewise.
4330 (gamma_test_data): Likewise.
4331 (hypot_test_data): Likewise.
4332 (ilogb_test_data): Likewise.
4333 (isfinite_test_data): Likewise.
4334 (isgreater_test_data): Likewise.
4335 (isgreaterequal_test_data): Likewise.
4336 (isinf_test_data): Likewise.
4337 (isless_test_data): Likewise.
4338 (islessequal_test_data): Likewise.
4339 (islessgreater_test_data): Likewise.
4340 (isnan_test_data): Likewise.
4341 (isnormal_test_data): Likewise.
4342 (issignaling_test_data): Likewise.
4343 (isunordered_test_data): Likewise.
4344 (j0_test_data): Likewise.
4345 (j1_test_data): Likewise.
4346 (jn_test_data): Likewise.
4347 (ldexp_test_data): Likewise.
4348 (lgamma_test_data): Likewise.
4349 (lrint_test_data): Likewise.
4350 (lrint_tonearest_test_data): Likewise.
4351 (lrint_towardzero_test_data): Likewise.
4352 (lrint_downward_test_data): Likewise.
4353 (lrint_upward_test_data): Likewise.
4354 (llrint_test_data): Likewise.
4355 (llrint_tonearest_test_data): Likewise.
4356 (llrint_towardzero_test_data): Likewise.
4357 (llrint_downward_test_data): Likewise.
4358 (llrint_upward_test_data): Likewise.
4359 (log_test_data): Likewise.
4360 (log10_test_data): Likewise.
4361 (log1p_test_data): Likewise.
4362 (log2_test_data): Likewise.
4363 (logb_test_data): Likewise.
4364 (logb_downward_test_data): Likewise.
4365 (lround_test_data): Likewise.
4366 (llround_test_data): Likewise.
4367 (modf_test_data): Likewise.
4368 (nearbyint_test_data): Likewise.
4369 (nextafter_test_data): Likewise.
4370 (nexttoward_test_data): Likewise.
4371 (pow_test_data): Likewise.
4372 (pow_tonearest_test_data): Likewise.
4373 (pow_towardzero_test_data): Likewise.
4374 (pow_downward_test_data): Likewise.
4375 (pow_upward_test_data): Likewise.
4376 (remainder_test_data): Likewise.
4377 (remainder_tonearest_test_data): Likewise.
4378 (remainder_towardzero_test_data): Likewise.
4379 (remainder_downward_test_data): Likewise.
4380 (remainder_upward_test_data): Likewise.
4381 (remquo_test_data): Likewise.
4382 (rint_test_data): Likewise.
4383 (rint_tonearest_test_data): Likewise.
4384 (rint_towardzero_test_data): Likewise.
4385 (rint_downward_test_data): Likewise.
4386 (rint_upward_test_data): Likewise.
4387 (round_test_data): Likewise.
4388 (scalb_test_data): Likewise.
4389 (scalbn_test_data): Likewise.
4390 (scalbln_test_data): Likewise.
4391 (signbit_test_data): Likewise.
4392 (sin_test_data): Likewise.
4393 (sin_tonearest_test_data): Likewise.
4394 (sin_towardzero_test_data): Likewise.
4395 (sin_downward_test_data): Likewise.
4396 (sin_upward_test_data): Likewise.
4397 (sincos_test_data): Likewise.
4398 (sinh_test_data): Likewise.
4399 (sinh_tonearest_test_data): Likewise.
4400 (sinh_towardzero_test_data): Likewise.
4401 (sinh_downward_test_data): Likewise.
4402 (sinh_upward_test_data): Likewise.
4403 (sqrt_test_data): Likewise.
4404 (tan_test_data): Likewise.
4405 (tan_tonearest_test_data): Likewise.
4406 (tan_towardzero_test_data): Likewise.
4407 (tan_downward_test_data): Likewise.
4408 (tan_upward_test_data): Likewise.
4409 (tanh_test_data): Likewise.
4410 (tgamma_test_data): Likewise.
4411 (trunc_test_data): Likewise.
4412 (y0_test_data): Likewise.
4413 (y1_test_data): Likewise.
4414 (yn_test_data): Likewise.
4415 (significand_test_data): Likewise.
4416
b679a606
JM
4417 * math/gen-libm-test.pl (@functions): Remove variable.
4418 (generate_testfile): Don't handle START and END lines.
4419 * math/libm-test.inc (START): New macro.
4420 (END): Likewise.
4421 (END_COMPLEX): Likewise.
4422 (acos_test): Use END macro without arguments.
4423 (acos_test_tonearest): Likewise.
4424 (acos_test_towardzero): Likewise.
4425 (acos_test_downward): Likewise.
4426 (acos_test_upward): Likewise.
4427 (acosh_test): Likewise.
4428 (asin_test): Likewise.
4429 (asin_test_tonearest): Likewise.
4430 (asin_test_towardzero): Likewise.
4431 (asin_test_downward): Likewise.
4432 (asin_test_upward): Likewise.
4433 (asinh_test): Likewise.
4434 (atan_test): Likewise.
4435 (atanh_test): Likewise.
4436 (atan2_test): Likewise.
4437 (cabs_test): Likewise.
4438 (cacos_test): Use END_COMPLEX macro without arguments.
4439 (cacosh_test): Likewise.
4440 (carg_test): Use END macro without arguments.
4441 (casin_test): Use END_COMPLEX macro without arguments.
4442 (casinh_test): Likewise.
4443 (catan_test): Likewise.
4444 (catanh_test): Likewise.
4445 (cbrt_test): Use END macro without arguments.
4446 (ccos_test): Use END_COMPLEX macro without arguments.
4447 (ccosh_test): Likewise.
4448 (ceil_test): Use END macro without arguments.
4449 (cexp_test): Use END_COMPLEX macro without arguments.
4450 (cimag_test): Use END macro without arguments.
4451 (clog_test): Use END_COMPLEX macro without arguments.
4452 (clog10_test): Likewise.
4453 (conj_test): Likewise.
4454 (copysign_test): Use END macro without arguments.
4455 (cos_test): Likewise.
4456 (cos_test_tonearest): Likewise.
4457 (cos_test_towardzero): Likewise.
4458 (cos_test_downward): Likewise.
4459 (cos_test_upward): Likewise.
4460 (cosh_test): Likewise.
4461 (cosh_test_tonearest): Likewise.
4462 (cosh_test_towardzero): Likewise.
4463 (cosh_test_downward): Likewise.
4464 (cosh_test_upward): Likewise.
4465 (cpow_test): Use END_COMPLEX macro without arguments.
4466 (cproj_test): Likewise.
4467 (creal_test): Use END macro without arguments.
4468 (csin_test): Use END_COMPLEX macro without arguments.
4469 (csinh_test): Likewise.
4470 (csqrt_test): Likewise.
4471 (ctan_test): Likewise.
4472 (ctan_test_tonearest): Likewise.
4473 (ctan_test_towardzero): Likewise.
4474 (ctan_test_downward): Likewise.
4475 (ctan_test_upward): Likewise.
4476 (ctanh_test): Likewise.
4477 (ctanh_test_tonearest): Likewise.
4478 (ctanh_test_towardzero): Likewise.
4479 (ctanh_test_downward): Likewise.
4480 (ctanh_test_upward): Likewise.
4481 (erf_test): Use END macro without arguments.
4482 (erfc_test): Likewise.
4483 (exp_test): Likewise.
4484 (exp_test_tonearest): Likewise.
4485 (exp_test_towardzero): Likewise.
4486 (exp_test_downward): Likewise.
4487 (exp_test_upward): Likewise.
4488 (exp10_test): Likewise.
4489 (exp2_test): Likewise.
4490 (expm1_test): Likewise.
4491 (fabs_test): Likewise.
4492 (fdim_test): Likewise.
4493 (finite_test): Likewise.
4494 (floor_test): Likewise.
4495 (fma_test): Likewise.
4496 (fma_test_towardzero): Likewise.
4497 (fma_test_downward): Likewise.
4498 (fma_test_upward): Likewise.
4499 (fmax_test): Likewise.
4500 (fmin_test): Likewise.
4501 (fmod_test): Likewise.
4502 (fpclassify_test): Likewise.
4503 (frexp_test): Likewise.
4504 (gamma_test): Likewise.
4505 (hypot_test): Likewise.
4506 (ilogb_test): Likewise.
4507 (isfinite_test): Likewise.
4508 (isgreater_test): Likewise.
4509 (isgreaterequal_test): Likewise.
4510 (isinf_test): Likewise.
4511 (isless_test): Likewise.
4512 (islessequal_test): Likewise.
4513 (islessgreater_test): Likewise.
4514 (isnan_test): Likewise.
4515 (isnormal_test): Likewise.
4516 (issignaling_test): Likewise.
4517 (isunordered_test): Likewise.
4518 (j0_test): Likewise.
4519 (j1_test): Likewise.
4520 (jn_test): Likewise.
4521 (ldexp_test): Likewise.
4522 (lgamma_test): Likewise.
4523 (lrint_test): Likewise.
4524 (lrint_test_tonearest): Likewise.
4525 (lrint_test_towardzero): Likewise.
4526 (lrint_test_downward): Likewise.
4527 (lrint_test_upward): Likewise.
4528 (llrint_test): Likewise.
4529 (llrint_test_tonearest): Likewise.
4530 (llrint_test_towardzero): Likewise.
4531 (llrint_test_downward): Likewise.
4532 (llrint_test_upward): Likewise.
4533 (log_test): Likewise.
4534 (log10_test): Likewise.
4535 (log1p_test): Likewise.
4536 (log2_test): Likewise.
4537 (logb_test): Likewise.
4538 (logb_test_downward): Likewise.
4539 (lround_test): Likewise.
4540 (llround_test): Likewise.
4541 (modf_test): Likewise.
4542 (nearbyint_test): Likewise.
4543 (nextafter_test): Likewise.
4544 (nexttoward_test): Likewise.
4545 (pow_test): Likewise.
4546 (pow_test_tonearest): Likewise.
4547 (pow_test_towardzero): Likewise.
4548 (pow_test_downward): Likewise.
4549 (pow_test_upward): Likewise.
4550 (remainder_test): Likewise.
4551 (remainder_test_tonearest): Likewise.
4552 (remainder_test_towardzero): Likewise.
4553 (remainder_test_downward): Likewise.
4554 (remainder_test_upward): Likewise.
4555 (remquo_test): Likewise.
4556 (rint_test): Likewise.
4557 (rint_test_tonearest): Likewise.
4558 (rint_test_towardzero): Likewise.
4559 (rint_test_downward): Likewise.
4560 (rint_test_upward): Likewise.
4561 (round_test): Likewise.
4562 (scalb_test): Likewise.
4563 (scalbn_test): Likewise.
4564 (scalbln_test): Likewise.
4565 (signbit_test): Likewise.
4566 (sin_test): Likewise.
4567 (sin_test_tonearest): Likewise.
4568 (sin_test_towardzero): Likewise.
4569 (sin_test_downward): Likewise.
4570 (sin_test_upward): Likewise.
4571 (sincos_test): Likewise.
4572 (sinh_test): Likewise.
4573 (sinh_test_tonearest): Likewise.
4574 (sinh_test_towardzero): Likewise.
4575 (sinh_test_downward): Likewise.
4576 (sinh_test_upward): Likewise.
4577 (sqrt_test): Likewise.
4578 (tan_test): Likewise.
4579 (tan_test_tonearest): Likewise.
4580 (tan_test_towardzero): Likewise.
4581 (tan_test_downward): Likewise.
4582 (tan_test_upward): Likewise.
4583 (tanh_test): Likewise.
4584 (tgamma_test): Likewise.
4585 (trunc_test): Likewise.
4586 (y0_test): Likewise.
4587 (y1_test): Likewise.
4588 (yn_test): Likewise.
4589 (significand_test): Likewise.
4590
bae143d2
OB
45912013-05-24 Ondřej Bílka <neleai@seznam.cz>
4592
4593 [BZ #15381]
4594 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4595
9323d39b
EM
45962013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4597
d4ea44a0 4598 [BZ #14894]
9323d39b
EM
4599 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4600 __ppc_mdoio and __ppc_mdoom.
4601 * manual/platform.texi: Document new functions __ppc_yield,
4602 __ppc_mdoio and __ppc_mdoom.
4603
13e23af7
CD
46042013-05-22 Carlos O'Donell <carlos@redhat.com>
4605
4606 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4607 (main): Mention "tls" pseudo-hwcap is legacy.
4608 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4609
351fe550
JM
46102013-05-22 Joseph Myers <joseph@codesourcery.com>
4611
4612 * math/gen-libm-test.pl (parse_args): Output only string of
4613 arguments as text for test name, not full call or descriptions of
4614 tests for extra outputs.
4615 (generate_testfile): Do not pass function name to parse_args.
4616 Generate this_func variable from START.
4617 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4618 field to arg_str.
4619 (struct test_ff_f_data): Likewise.
4620 (test_ff_f_data_nexttoward): Likewise.
4621 (struct test_fi_f_data): Likewise.
4622 (struct test_fl_f_data): Likewise.
4623 (struct test_if_f_data): Likewise.
4624 (struct test_fff_f_data): Likewise.
4625 (struct test_c_f_data): Likewise.
4626 (struct test_f_f1_data): Likewise. Remove field extra_name.
4627 (struct test_fF_f1_data): Likewise.
4628 (struct test_ffI_f1_data): Likewise.
4629 (struct test_c_c_data): Rename test_name field to arg_str.
4630 (struct test_cc_c_data): Likewise.
4631 (struct test_f_i_data): Likewise.
4632 (struct test_ff_i_data): Likewise.
4633 (struct test_f_l_data): Likewise.
4634 (struct test_f_L_data): Likewise.
4635 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4636 and extra2_name.
4637 (COMMON_TEST_SETUP): New macro.
4638 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4639 (COMMON_TEST_CLEANUP): Likewise.
4640 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4641 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4642 macros.
4643 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4644 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4645 macros.
4646 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4647 (RUN_TEST_fff_f): Take argument string. Call new setup and
4648 cleanup macros.
4649 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4650 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4651 macros.
4652 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4653 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4654 macros.
4655 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4656 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4657 cleanup macros.
4658 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4659 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4660 cleanup macros.
4661 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4662 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4663 cleanup macros.
4664 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4665 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4666 macros.
4667 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4668 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4669 macros.
4670 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4671 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4672 macros.
4673 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4674 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4675 cleanup macros.
4676 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4677 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4678 cleanup macros.
4679 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4680 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4681 macros.
4682 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4683 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4684 cleanup macros.
4685 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4686 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4687 macros.
4688 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4689 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4690 macros.
4691 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4692 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4693 cleanup macros.
4694 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4695
85118d4d
EBM
46962013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4697
4698 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4699 to _sifields.sigfault.
4700 (si_addr_lsb): Define new macro.
4701 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4702 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4703 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4704
7a44c18f
CD
47052013-05-03 Carlos O'Donell <carlos at redhat.com>
4706
4707 [BZ #15441]
4708 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4709 returns -1.
4710 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4711 null return -1.
4712 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4713 loading the domain.
4714
b50a7181
JM
47152013-05-22 Joseph Myers <joseph@codesourcery.com>
4716
4717 * math/gen-libm-test.pl (parse_args): Do not include expected
4718 result in test name.
4719 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4720 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4721 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4722 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4723 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4725
051063c8
SP
47262013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4727
3ce9e010
SP
4728 * benchtests/Makefile: Sort function entries.
4729
051063c8
SP
4730 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4731 tanh, asinh, acosh, atanh.
4732 * benchtests/acos-inputs: New file.
4733 * benchtests/acosh-inputs: New file.
4734 * benchtests/asin-inputs: New file.
4735 * benchtests/asinh-inputs: New file.
4736 * benchtests/atanh-inputs: New file.
4737 * benchtests/cosh-inputs: New file.
4738 * benchtests/log-inputs: New file.
4739 * benchtests/sinh-inputs: New file.
4740 * benchtests/tanh-inputs: New file.
4741
47c22455
DL
47422013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4743
4744 [BZ #15339]
4745 * posix/tst-getaddrinfo4.c: New test.
4746 * posix/Makefile (tests): Add it.
4747
3d04f5db
SP
47482013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4749
4750 [BZ #15339]
4751 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4752 when no services were used.
4753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4754 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4755
d5dd6189
AS
47562013-05-21 Andreas Schwab <schwab@suse.de>
4757
4758 [BZ #15014]
4759 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4760 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4761 successful.
4762 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4763 redundant variable declarations and reallocation of buffer when
4764 parsing as IPv6 address. Always set NSS status when called from
4765 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4766 buffer too small. Correct computation of needed size.
4767 * nss/Makefile (tests): Add test-digits-dots.
4768 * nss/test-digits-dots.c: New test.
4769
fef94eab
SP
47702013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4771
4772 * benchtests/Makefile: Remove instructions for adding
4773 benchmark tests.
4774 * benchtests/README: New file to explain how to execute and
4775 enhance the benchmark tests.
4776
e39adf43
AS
47772013-05-21 Andreas Schwab <schwab@suse.de>
4778
4779 [BZ #15493]
4780 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4781 * setjmp/tst-sigsetjmp.c: New test.
4782
b2b671b6
OB
47832013-05-20 Ondřej Bílka <neleai@seznam.cz>
4784
4785 * sysdeps/x86_64/memset.S (memset): New implementation.
4786 (__bzero): Likewise.
4787 (__memset_tail): New function.
4788
2d48b41c
OB
47892013-05-20 Ondřej Bílka <neleai@seznam.cz>
4790
4791 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4792 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4793 __memcpy_sse2_unaligned ifunc selection.
4794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4795 Add memcpy-sse2-unaligned.S.
4796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4797 Add: __memcpy_sse2_unaligned.
4798
f16cc3eb
JM
47992013-05-19 Joseph Myers <joseph@codesourcery.com>
4800
3e694268
JM
4801 [BZ #15490]
4802 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4803 math_force_eval before restoring floating-point envrionment.
4804 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4805 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4806 Likewise.
4807 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4808 <math_private.h>.
4809 (__nearbyintl): Use math_force_eval before restoring
4810 floating-point environment.
4811 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4812
db62a907
JM
4813 * math/gen-libm-test.pl (special_functions): Remove.
4814 (parse_args): Don't handle TEST_extra. Handle functions with no
4815 return value.
4816 * math/libm-test.inc (struct test_sincos_data): Replace with
4817 struct test_fFF_11_data.
4818 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4819 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4820 (sincos_test_data): Change element type to struct
4821 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4822 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4823 RUN_TEST_LOOP_sincos.
4824 * math/README.libm-test: Don't mention special handling of
4825 individual functions.
4826 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4827 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4828 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4829 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4830 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4832
f16cc3eb
JM
4833 * math/gen-libm-test.pl (get_variable): Remove function.
4834 (parse_args): Don't show pointer parameters to call in test
4835 names. Use "extra output N" in test names for extra outputs
4836 rather than naming variables.
4837
3779b5b6
JM
48382013-05-18 Joseph Myers <joseph@codesourcery.com>
4839
2ee094ff
JM
4840 [BZ #15488]
4841 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4842 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4843 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4844 double tests.
4845 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4846 disable.
4847 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4848 check_long_double.
4849
3779b5b6
JM
4850 * math/gen-libm-test.pl (@tests): Remove variable.
4851 ($count): Likewise.
4852 (new_test): Remove function.
4853 (show_exceptions): New function.
4854 (special_functions): Use show_exceptions instead of new_test.
4855 (parse_args): Likewise.
4856 (generate_testfile): Pass only function name in generated call to
4857 print_max_error or print_complex_max_error.
4858 (get_ulps): Do not handle complex tests specially.
4859 (output_test): Rename to ...
4860 (get_all_ulps_for_test): ... this. Return a string rather than
4861 printing to a file. Require ulps to be present.
4862 (output_ulps): Generate arrays rather than #defines.
4863 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4864 (struct ulp_data): New type.
4865 (BUILD_COMPLEX_ULP): Remove macro.
4866 (compare_ulp_data): New function.
4867 (find_ulps): Likewise.
4868 (find_test_ulps): Likewise.
4869 (find_function_ulps): Likewise.
4870 (find_complex_function_ulps): Likewise.
4871 (print_max_error): Determine allowed ulps using
4872 find_function_ulps.
4873 (print_complex_max_error): Determine allowed ulps using
4874 find_complex_function_ulps.
4875 (check_float_internal): Determine max ulps using find_test_ulps.
4876 (check_float): Do not take max_ulp parameter. Update call to
4877 check_float_internal.
4878 (check_complex): Likewise.
4879 (check_int): Do not take max_ulp parameter.
4880 (check_long): Likewise.
4881 (check_bool): Likewise.
4882 (check_longlong): Likewise.
4883 (struct test_f_f_data): Remove max_ulp field.
4884 (struct test_ff_f_data): Likewise.
4885 (struct test_ff_f_data_nexttoward): Likewise.
4886 (struct test_fi_f_data): Likewise.
4887 (struct test_fl_f_data): Likewise.
4888 (struct test_if_f_data): Likewise.
4889 (struct test_fff_f_data): Likewise.
4890 (struct test_c_f_data): Likewise.
4891 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4892 (struct test_fF_f1_data): Likewise.
4893 (struct test_ffI_f1_data): Likewise.
4894 (struct test_c_c_data): Remove max_ulp field.
4895 (struct test_cc_c_data): Likewise.
4896 (struct test_f_i_data): Likewise.
4897 (struct test_ff_i_data): Likewise.
4898 (struct test_f_l_data): Likewise.
4899 (struct test_f_L_data): Likewise.
4900 (struct test_sincos_data): Likewise.
4901 (RUN_TEST_f_f): Do not handle ulps.
4902 (RUN_TEST_LOOP_f_f): Likewise.
4903 (RUN_TEST_2_f): Likewise.
4904 (RUN_TEST_LOOP_2_f): Likewise.
4905 (RUN_TEST_fff_f): Likewise.
4906 (RUN_TEST_LOOP_fff_f): Likewise.
4907 (RUN_TEST_c_f): Likewise.
4908 (RUN_TEST_LOOP_c_f): Likewise.
4909 (RUN_TEST_f_f1): Likewise.
4910 (RUN_TEST_LOOP_f_f1): Likewise.
4911 (RUN_TEST_fF_f1): Likewise.
4912 (RUN_TEST_LOOP_fF_f1): Likewise.
4913 (RUN_TEST_fI_f1): Likewise.
4914 (RUN_TEST_LOOP_fI_f1): Likewise.
4915 (RUN_TEST_ffI_f1): Likewise.
4916 (RUN_TEST_LOOP_ffI_f1): Likewise.
4917 (RUN_TEST_c_c): Likewise.
4918 (RUN_TEST_LOOP_c_c): Likewise.
4919 (RUN_TEST_cc_c): Likewise.
4920 (RUN_TEST_LOOP_cc_c): Likewise.
4921 (RUN_TEST_f_i): Likewise.
4922 (RUN_TEST_LOOP_f_i): Likewise.
4923 (RUN_TEST_f_i_tg): Likewise.
4924 (RUN_TEST_LOOP_f_i_tg): Likewise.
4925 (RUN_TEST_ff_i_tg): Likewise.
4926 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4927 (RUN_TEST_f_b): Likewise.
4928 (RUN_TEST_LOOP_f_b): Likewise.
4929 (RUN_TEST_f_b_tg): Likewise.
4930 (RUN_TEST_LOOP_f_b_tg): Likewise.
4931 (RUN_TEST_f_l): Likewise.
4932 (RUN_TEST_LOOP_f_l): Likewise.
4933 (RUN_TEST_f_L): Likewise.
4934 (RUN_TEST_LOOP_f_L): Likewise.
4935 (RUN_TEST_sincos): Likewise.
4936 (RUN_TEST_LOOP_sincos): Likewise.
4937
8269107f
JM
49382013-05-17 Joseph Myers <joseph@codesourcery.com>
4939
bb38759d
JM
4940 [BZ #15480]
4941 [BZ #15485]
4942 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4943 main case of finite arguments, set rounding mode to FE_TONEAREST
4944 and discard exceptions.
4945 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4946 exceptions.
4947 (remainder_tonearest_test_data): New variable.
4948 (remainder_test_tonearest): New function.
4949 (remainder_towardzero_test_data): New variable.
4950 (remainder_test_towardzero): New function.
4951 (remainder_downward_test_data): New variable.
4952 (remainder_test_downward): New function.
4953 (remainder_upward_test_data): New variable.
4954 (remainder_test_upward): New function.
4955 (main): Call the new test functions.
4956
a00bdcf0
JM
4957 * math/libm-test.inc (struct test_f_f1_data): Remove field
4958 extra_init.
4959 (struct test_fF_f1_data): Likewise.
4960 (struct test_ffI_f1_data): Likewise.
4961 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4962 based on value of EXTRA_EXPECTED.
4963 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4964 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4965 EXTRA_VAR based on value of EXTRA_EXPECTED.
4966 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4967 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4968 EXTRA_VAR based on value of EXTRA_EXPECTED.
4969 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4970 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4971 EXTRA_VAR based on value of EXTRA_EXPECTED.
4972 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4973 * math/gen-libm-test.pl (parse_args): Don't output initializers
4974 for extra output values.
4975
de407f79
JM
4976 * math/libm-test.inc (check_int): Expect result to be exactly
4977 equal to expected value and do not handle ulps.
4978 (check_long): Likewise.
4979 (check_longlong): Likewise.
4980
8269107f
JM
4981 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4982 exceptions.
4983 (cimag_test_data): Likewise.
4984 (conj_test_data): Likewise.
4985 (copysign_test_data): Likewise.
4986 (cproj_test_data): Likewise.
4987 (creal_test_data): Likewise.
4988 (fabs_test_data): Likewise.
4989 (fdim_test_data): Likewise.
4990 (finite_test_data): Likewise.
4991 (floor_test_data): Likewise.
4992 (fmax_test_data): Likewise.
4993 (fmin_test_data): Likewise.
4994 (fmod_test_data): Likewise.
4995 (fpclassify_test_data): Likewise.
4996 (frexp_test_data): Likewise.
4997 (ilogb_test_data): Likewise.
4998 (isfinite_test_data): Likewise.
4999 (isgreater_test_data): Likewise.
5000 (isgreaterequal_test_data): Likewise.
5001 (isinf_test_data): Likewise.
5002 (isless_test_data): Likewise.
5003 (islessequal_test_data): Likewise.
5004 (islessgreater_test_data): Likewise.
5005 (isnan_test_data): Likewise.
5006 (isnormal_test_data): Likewise.
5007 (issignaling_test_data): Likewise.
5008 (isunordered_test_data): Likewise.
5009 (ldexp_test_data): Likewise.
5010 (lrint_test_data): Likewise.
5011 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5012 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5013 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5014 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5015 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5016 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5017 test input.
5018 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5019 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5020 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5021 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5022 that test input.
5023 (lrint_downward_test_data): Test for "inexact" exceptions.
5024 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5025 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5026 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5027 test input.
5028 (lrint_upward_test_data): Test for "inexact" exceptions.
5029 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5030 test input.
5031 (llrint_test_data): Test for "inexact" exceptions.
5032 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5033 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5034 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5035 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5036 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5037 (llrint_downward_test_data): Test for "inexact" exceptions.
5038 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5039 (llrint_upward_test_data): Test for "inexact" exceptions.
5040 (logb_test_data): Likewise.
5041 (logb_downward_test_data): Likewise.
5042 (nextafter_test_data): Likewise.
5043 (nexttoward_test_data): Likewise.
5044 (remainder_test_data): Likewise.
5045 (remquo_test_data): Likewise.
5046 (scalbn_test_data): Likewise.
5047 (scalbln_test_data): Likewise.
5048 (signbit_test_data): Likewise.
5049 (sqrt_test_data): Likewise.
5050 (significand_test_data): Likewise.
5051
48a18de1
SP
50522013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5053
5054 [BZ #15424]
5055 * benchtests/bench-modf.c (struct args): Mark arg0 as
5056 volatile.
5057 * scripts/bench.pl: Mark members of struct args as volatile.
5058
13d3b41a
AZ
50592013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5060
68191c1d 5061 [BZ # 15497]
13d3b41a
AZ
5062 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5063 negative infinity on POWER6 or lower.
5064 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5065
2848b105
MR
50662013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5067
5068 [BZ #15442]
5069 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5070 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5071 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5072 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5073 (_FP_SETQNAN): New macro.
5074 (_FP_SETQNAN_SEMIRAW): Likewise.
5075 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5076 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5077 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5078 (FP_EXTEND): Use _FP_FRAC_SNANP.
5079 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5080 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5081 into account.
5082 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5083 New macro.
5084 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5085 Likewise.
5086
323e5cb7
JM
50872013-05-16 Joseph Myers <joseph@codesourcery.com>
5088
c58b274f
JM
5089 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5090 with DIVIDE_BY_ZERO_EXCEPTION.
5091 (gamma_test_data): Likewise.
5092 (lgamma_test_data): Likewise.
5093 (log_test_data): Likewise.
5094 (log10_test_data): Likewise.
5095 (log2_test_data): Likewise.
5096 (tgamma_test_data): Likewise.
5097
0ab34904
JM
5098 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5099 (acos_test_tonearest): Likewise.
5100 (acos_test_towardzero): Likewise.
5101 (acos_test_downward): Likewise.
5102 (acos_test_upward): Likewise.
5103 (acosh_test): Likewise.
5104 (asin_test): Likewise.
5105 (asin_test_tonearest): Likewise.
5106 (asin_test_towardzero): Likewise.
5107 (asin_test_downward): Likewise.
5108 (asin_test_upward): Likewise.
5109 (asinh_test): Likewise.
5110 (atan_test): Likewise.
5111 (atanh_test): Likewise.
5112 (atan2_test): Likewise.
5113 (cabs_test): Likewise.
5114 (cacos_test): Likewise.
5115 (cacosh_test): Likewise.
5116 (casin_test): Likewise.
5117 (casinh_test): Likewise.
5118 (catan_test): Likewise.
5119 (catanh_test): Likewise.
5120 (cbrt_test): Likewise.
5121 (ccos_test): Likewise.
5122 (ccosh_test): Likewise.
5123 (cexp_test): Likewise.
5124 (clog_test): Likewise.
5125 (clog10_test): Likewise.
5126 (cos_test): Likewise.
5127 (cos_test_tonearest): Likewise.
5128 (cos_test_towardzero): Likewise.
5129 (cos_test_downward): Likewise.
5130 (cos_test_upward): Likewise.
5131 (cosh_test): Likewise.
5132 (cosh_test_tonearest): Likewise.
5133 (cosh_test_towardzero): Likewise.
5134 (cosh_test_downward): Likewise.
5135 (cosh_test_upward): Likewise.
5136 (cpow_test): Likewise.
5137 (csin_test): Likewise.
5138 (csinh_test): Likewise.
5139 (csqrt_test): Likewise.
5140 (ctan_test): Likewise.
5141 (ctan_test_tonearest): Likewise.
5142 (ctan_test_towardzero): Likewise.
5143 (ctan_test_downward): Likewise.
5144 (ctan_test_upward): Likewise.
5145 (ctanh_test): Likewise.
5146 (ctanh_test_tonearest): Likewise.
5147 (ctanh_test_towardzero): Likewise.
5148 (ctanh_test_downward): Likewise.
5149 (ctanh_test_upward): Likewise.
5150 (erf_test): Likewise.
5151 (erfc_test): Likewise.
5152 (exp_test): Likewise.
5153 (exp_test_tonearest): Likewise.
5154 (exp_test_towardzero): Likewise.
5155 (exp_test_downward): Likewise.
5156 (exp_test_upward): Likewise.
5157 (exp10_test): Likewise.
5158 (exp2_test): Likewise.
5159 (expm1_test): Likewise.
5160 (fmod_test): Likewise.
5161 (gamma_test): Likewise.
5162 (hypot_test): Likewise.
5163 (j0_test): Likewise.
5164 (j1_test): Likewise.
5165 (jn_test): Likewise.
5166 (lgamma_test): Likewise.
5167 (log_test): Likewise.
5168 (log10_test): Likewise.
5169 (log1p_test): Likewise.
5170 (log2_test): Likewise.
5171 (logb_test_downward): Likewise.
5172 (pow_test): Likewise.
5173 (pow_test_tonearest): Likewise.
5174 (pow_test_towardzero): Likewise.
5175 (pow_test_downward): Likewise.
5176 (pow_test_upward): Likewise.
5177 (remainder_test): Likewise.
5178 (remquo_test): Likewise.
5179 (sin_test): Likewise.
5180 (sin_test_tonearest): Likewise.
5181 (sin_test_towardzero): Likewise.
5182 (sin_test_downward): Likewise.
5183 (sin_test_upward): Likewise.
5184 (sincos_test): Likewise.
5185 (sinh_test): Likewise.
5186 (sinh_test_tonearest): Likewise.
5187 (sinh_test_towardzero): Likewise.
5188 (sinh_test_downward): Likewise.
5189 (sinh_test_upward): Likewise.
5190 (sqrt_test): Likewise.
5191 (tan_test): Likewise.
5192 (tan_test_tonearest): Likewise.
5193 (tan_test_towardzero): Likewise.
5194 (tan_test_downward): Likewise.
5195 (tan_test_upward): Likewise.
5196 (tanh_test): Likewise.
5197 (tgamma_test): Likewise.
5198 (y0_test): Likewise.
5199 (y1_test): Likewise.
5200 (yn_test): Likewise.
5201
323e5cb7
JM
5202 * math/gen-libm-test.pl (adjust_arg): Remove function.
5203 (special_function): Remove argument $in_func. Only handle
5204 generating output for tables of tests, not inside functions.
5205 (parse_args): Likewise.
5206 (generate_testfile): Remove variable $in_func. Update call to
5207 parse_args.
5208 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5209 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5210 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5211 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5212 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5213 (MAX_VALUE_INIT): Rename macro to max_value.
5214 (MIN_VALUE_INIT): Rename macro to min_value.
5215 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5216 (plus_zero): Remove variable.
5217 (minus_zero): Likewise.
5218 (plus_infty): Likewise.
5219 (minus_infty): Likewise.
5220 (qnan_value): Likewise.
5221 (max_value): Likewise.
5222 (min_value): Likewise.
5223 (min_subnorm_value): Likewise.
5224
e054f494
RA
52252013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5226
5227 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5228 uint64_t or uint32_t usage.
5229 * crypt/sha256-block.c: Likewise.
5230 * crypt/sha256-crypt.c: Likewise.
5231 * crypt/sha256.c: Likewise.
5232 * crypt/sha512-block.c: Likewise.
5233 * crypt/sha512-crypt.c: Likewise.
5234 * crypt/sha512.c: Likewise.
5235 * debug/backtrace-tst.c: Likewise.
5236 * debug/pcprofiledump.c: Likewise.
5237 * elf/cache.c: Likewise.
5238 * elf/dl-cache.c: Likewise.
5239 * elf/dl-misc.c: Likewise.
5240 * elf/dl-profile.c: Likewise.
5241 * elf/dl-support.c: Likewise.
5242 * elf/ldconfig.c: Likewise.
5243 * elf/sprof.c: Likewise.
5244 * iconv/dummy-repertoire.c: Likewise.
5245 * iconv/iconv_charmap.c: Likewise.
5246 * iconv/skeleton.c: Likewise.
5247 * iconvdata/8bit-generic.c: Likewise.
5248 * iconvdata/cp737.h: Likewise.
5249 * iconvdata/cp775.h: Likewise.
5250 * iconvdata/ibm1008.h: Likewise.
5251 * iconvdata/ibm1025.h: Likewise.
5252 * iconvdata/ibm1046.h: Likewise.
5253 * iconvdata/ibm1097.h: Likewise.
5254 * iconvdata/ibm1112.h: Likewise.
5255 * iconvdata/ibm1122.h: Likewise.
5256 * iconvdata/ibm1123.h: Likewise.
5257 * iconvdata/ibm1124.h: Likewise.
5258 * iconvdata/ibm1129.h: Likewise.
5259 * iconvdata/ibm1130.h: Likewise.
5260 * iconvdata/ibm1132.h: Likewise.
5261 * iconvdata/ibm1133.h: Likewise.
5262 * iconvdata/ibm1137.h: Likewise.
5263 * iconvdata/ibm1140.h: Likewise.
5264 * iconvdata/ibm1141.h: Likewise.
5265 * iconvdata/ibm1142.h: Likewise.
5266 * iconvdata/ibm1143.h: Likewise.
5267 * iconvdata/ibm1144.h: Likewise.
5268 * iconvdata/ibm1145.h: Likewise.
5269 * iconvdata/ibm1146.h: Likewise.
5270 * iconvdata/ibm1147.h: Likewise.
5271 * iconvdata/ibm1148.h: Likewise.
5272 * iconvdata/ibm1149.h: Likewise.
5273 * iconvdata/ibm1153.h: Likewise.
5274 * iconvdata/ibm1154.h: Likewise.
5275 * iconvdata/ibm1155.h: Likewise.
5276 * iconvdata/ibm1156.h: Likewise.
5277 * iconvdata/ibm1157.h: Likewise.
5278 * iconvdata/ibm1158.h: Likewise.
5279 * iconvdata/ibm1160.h: Likewise.
5280 * iconvdata/ibm1161.h: Likewise.
5281 * iconvdata/ibm1162.h: Likewise.
5282 * iconvdata/ibm1163.h: Likewise.
5283 * iconvdata/ibm1164.h: Likewise.
5284 * iconvdata/ibm1166.h: Likewise.
5285 * iconvdata/ibm1167.h: Likewise.
5286 * iconvdata/ibm12712.h: Likewise.
5287 * iconvdata/ibm1390.h: Likewise.
5288 * iconvdata/ibm1399.h: Likewise.
5289 * iconvdata/ibm16804.h: Likewise.
5290 * iconvdata/ibm4517.h: Likewise.
5291 * iconvdata/ibm4899.h: Likewise.
5292 * iconvdata/ibm4909.h: Likewise.
5293 * iconvdata/ibm4971.h: Likewise.
5294 * iconvdata/ibm5347.h: Likewise.
5295 * iconvdata/ibm803.h: Likewise.
5296 * iconvdata/ibm856.h: Likewise.
5297 * iconvdata/ibm901.h: Likewise.
5298 * iconvdata/ibm902.h: Likewise.
5299 * iconvdata/ibm9030.h: Likewise.
5300 * iconvdata/ibm9066.h: Likewise.
5301 * iconvdata/ibm921.h: Likewise.
5302 * iconvdata/ibm922.h: Likewise.
5303 * iconvdata/ibm9448.h: Likewise.
5304 * iconvdata/isiri-3342.h: Likewise.
5305 * iconvdata/jis0201.h: Likewise.
5306 * include/link.h: Likewise.
5307 * include/netdb.h: Likewise.
5308 * inet/check_native.c: Likewise.
5309 * inet/check_pf.c: Likewise.
5310 * inet/getipv4sourcefilter.c: Likewise.
5311 * inet/getnameinfo.c: Likewise.
5312 * inet/getsourcefilter.c: Likewise.
5313 * inet/htonl.c: Likewise.
5314 * inet/setipv4sourcefilter.c: Likewise.
5315 * inet/setsourcefilter.c: Likewise.
5316 * inet/test-inet6_opt.c: Likewise.
5317 * inet/tst-network.c: Likewise.
5318 * locale/C-collate.c: Likewise.
5319 * locale/C-ctype.c: Likewise.
5320 * locale/C-time.c: Likewise.
5321 * locale/C-translit.h: Likewise.
5322 * locale/loadarchive.c: Likewise.
5323 * locale/programs/3level.h: Likewise.
5324 * locale/programs/charmap.c: Likewise.
5325 * locale/programs/charmap.h: Likewise.
5326 * locale/programs/ld-address.c: Likewise.
5327 * locale/programs/ld-collate.c: Likewise.
5328 * locale/programs/ld-ctype.c: Likewise.
5329 * locale/programs/ld-identification.c: Likewise.
5330 * locale/programs/ld-measurement.c: Likewise.
5331 * locale/programs/ld-messages.c: Likewise.
5332 * locale/programs/ld-monetary.c: Likewise.
5333 * locale/programs/ld-name.c: Likewise.
5334 * locale/programs/ld-numeric.c: Likewise.
5335 * locale/programs/ld-paper.c: Likewise.
5336 * locale/programs/ld-telephone.c: Likewise.
5337 * locale/programs/ld-time.c: Likewise.
5338 * locale/programs/linereader.c: Likewise.
5339 * locale/programs/locale.c: Likewise.
5340 * locale/programs/locarchive.c: Likewise.
5341 * locale/programs/locfile.h: Likewise.
5342 * locale/programs/repertoire.c: Likewise.
5343 * locale/programs/simple-hash.c: Likewise.
5344 * locale/programs/simple-hash.h: Likewise.
5345 * malloc/memusage.c: Likewise.
5346 * malloc/memusagestat.c: Likewise.
5347 * nis/nis_defaults.c: Likewise.
5348 * nis/nis_hash.c: Likewise.
5349 * nis/nis_print.c: Likewise.
5350 * nis/nis_xdr.c: Likewise.
5351 * nscd/connections.c: Likewise.
5352 * nscd/hstcache.c: Likewise.
5353 * nscd/nscd_gethst_r.c: Likewise.
5354 * nscd/nscd_getserv_r.c: Likewise.
5355 * nscd/nscd_helper.c: Likewise.
5356 * nscd/servicescache.c: Likewise.
5357 * nss/makedb.c: Likewise.
5358 * nss/nss_db/db-XXX.c: Likewise.
5359 * nss/nss_db/db-initgroups.c: Likewise.
5360 * nss/nss_db/db-netgrp.c: Likewise.
5361 * nss/nss_files/files-network.c: Likewise.
5362 * nss/nss_files/files-parse.c: Likewise.
5363 * posix/bug-regex5.c: Likewise.
5364 * posix/fnmatch_loop.c: Likewise.
5365 * posix/regcomp.c: Likewise.
5366 * posix/regexec.c: Likewise.
5367 * posix/tst-rfc3484-2.c: Likewise.
5368 * posix/tst-rfc3484-3.c: Likewise.
5369 * posix/tst-rfc3484.c: Likewise.
5370 * resolv/nss_dns/dns-canon.c: Likewise.
5371 * resolv/nss_dns/dns-network.c: Likewise.
5372 * resolv/res_init.c: Likewise.
5373 * resolv/res_mkquery.c: Likewise.
5374 * resolv/tst-aton.c: Likewise.
5375 * stdlib/cxa_atexit.c: Likewise.
5376 * stdlib/cxa_finalize.c: Likewise.
5377 * stdlib/gen-fpioconst.c: Likewise.
5378 * stdlib/strtol_l.c: Likewise.
5379 * string/tst-endian.c: Likewise.
5380 * sunrpc/auth_des.c: Likewise.
5381 * sunrpc/clnt_udp.c: Likewise.
5382 * sunrpc/rtime.c: Likewise.
5383 * sunrpc/svcauth_des.c: Likewise.
5384 * sunrpc/xdr.c: Likewise.
5385 * sunrpc/xdr_intXX_t.c: Likewise.
5386 * sunrpc/xdr_rec.c: Likewise.
5387 * sysdeps/generic/ldconfig.h: Likewise.
5388 * sysdeps/generic/ldsodefs.h: Likewise.
5389 * sysdeps/generic/memusage.h: Likewise.
5390 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5400 * sysdeps/posix/getaddrinfo.c: Likewise.
5401 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5402 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5403 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5404 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5405 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5406 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5407 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5408 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5409 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5410 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5411 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5412 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5413 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5414 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5415 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5416 * sysdeps/x86_64/dl-tls.h: Likewise.
5417 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5418 * time/alt_digit.c: Likewise.
5419 * time/era.c: Likewise.
5420 * wcsmbs/tst-c16c32-1.c: Likewise.
5421
8c75f674
JM
54222013-05-16 Joseph Myers <joseph@codesourcery.com>
5423
5424 * math/libm-test.inc (struct test_sincos_data): New type.
5425 (RUN_TEST_LOOP_sincos): New macro.
5426 (sincos_test_data): New variable.
5427 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5428
e6e49e59
RH
54292013-05-16 Richard Henderson <rth@redhat.com>
5430
5431 * math/atest-exp2.c (LIMB64): New macro.
5432 (CONSTSZ): New macro.
5433 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5434 (hexdig): Move ...
5435 (print_mpn_fp): ... to function scope.
5436 (read_mpn_hex): Remove.
5437 (get_log2): Remove.
5438 (exp2_mpn): Use mp_log2.
5439 (main): Use mp_exp1.
5440
15c7c18d
JM
54412013-05-16 Joseph Myers <joseph@codesourcery.com>
5442
105a07df
JM
5443 * math/libm-test.inc: Remove comment about not testing "inexact"
5444 exceptions.
5445 (INEXACT_EXCEPTION): New macro.
5446 (NO_INEXACT_EXCEPTION): Likewise.
5447 (INVALID_EXCEPTION_OK): Update value.
5448 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5449 (OVERFLOW_EXCEPTION_OK): Likewise.
5450 (UNDERFLOW_EXCEPTION_OK): Likewise.
5451 (IGNORE_ZERO_INF_SIGN): Likewise.
5452 (ERRNO_UNCHANGED): Likewise.
5453 (ERRNO_EDOM): Likewise.
5454 (ERRNO_ERANGE): Likewise.
5455 (test_exceptions): Handle testing "inexact" exceptions.
5456 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5457 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5458 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5459 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5460 INEXACT_EXCEPTION.
5461 (rint_towardzero_test_data): Likewise.
5462 (rint_downward_test_data): Likewise.
5463 (rint_upward_test_data): Likewise.
5464
e9eee333
JM
5465 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5466 with OVERFLOW_EXCEPTION.
5467 (exp10_test_data): Likewise.
5468 (exp2_test_data): Likewise.
5469 (expm1_test_data): Likewise.
5470 (lgamma_test_data): Likewise.
5471 (pow_test_data): Likewise.
5472 (tgamma_test_data): Likewise.
5473 (yn_test_data): Remove duplicate test of overflow.
5474
1c38ff73
JM
5475 * math/libm-test.inc (struct test_cc_c_data): New type.
5476 (RUN_TEST_LOOP_cc_c): New macro.
5477 (cpow_test_data): New variable.
5478 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5479
15c7c18d
JM
5480 * math/libm-test.inc (struct test_f_L_data): New type.
5481 (RUN_TEST_LOOP_f_L): New macro.
5482 (llrint_test_data): New variable.
5483 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5484 (llrint_tonearest_test_data): New variable.
5485 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5486 (llrint_towardzero_test_data): New variable.
5487 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5488 (llrint_downward_test_data): New variable.
5489 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5490 (llrint_upward_test_data): New variable.
5491 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5492 (llround_test_data): New variable.
5493 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5494
f137ff13
PC
54952013-05-13 Peter Collingbourne <pcc@google.com>
5496
5497 * math/atest-exp2.c (get_log2): Remove const attribute.
5498
3608cb24
JM
54992013-05-15 Joseph Myers <joseph@codesourcery.com>
5500
5501 * math/libm-test.inc (struct test_f_l_data): New type.
5502 (RUN_TEST_LOOP_f_l): New macro.
5503 (lrint_test_data): New variable.
5504 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5505 (lrint_tonearest_test_data): New variable.
5506 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5507 (lrint_towardzero_test_data): New variable.
5508 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5509 (lrint_downward_test_data): New variable.
5510 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5511 (lrint_upward_test_data): New variable.
5512 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5513 (lround_test_data): New variable.
5514 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5515
39b1f617
PC
55162013-05-15 Peter Collingbourne <pcc@google.com>
5517
1deff3dc
PC
5518 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5519 (EXTRACT_WORDS64) Use where appropriate.
5520 (INSERT_WORDS64) Likewise.
5521
791f3ba0
PC
5522 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5523 constraints with x constraints.
5524 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5525
39b1f617
PC
5526 * malloc/obstack.c (_obstack_compat): Add initializer.
5527
12fba011
EM
55282013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5529
5530 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5531 si_trapno and add si_addr_lsb to _sifields.sigfault.
5532 (si_trapno): Remove macro.
5533 (si_addr_lsb): Define new macro.
5534 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5535
d369f531
JM
55362013-05-15 Joseph Myers <joseph@codesourcery.com>
5537
b861c6c4
JM
5538 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5539 instead of TEST_f_l.
5540 (llrint_test_tonearest): Likewise.
5541 (llrint_test_towardzero): Likewise.
5542 (llrint_test_downward): Likewise.
5543 (llrint_test_upward): Likewise.
5544 (llround_test): Likewise.
5545
7abeee12
JM
5546 * math/libm-test.inc (struct test_f_i_data): Add comment.
5547 (RUN_TEST_LOOP_f_b): New macro.
5548 (RUN_TEST_LOOP_f_b_tg): Likewise.
5549 (finite_test_data): New variable.
5550 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5551 (isfinite_test_data): New variable.
5552 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5553 (isinf_test_data): New variable.
5554 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5555 (isnan_test_data): New variable.
5556 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5557 (isnormal_test_data): New variable.
5558 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5559 (issignaling_test_data): New variable.
5560 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5561 (signbit_test_data): New variable.
5562 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5563
cbe8c4d3
JM
5564 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5565 with INVALID_EXCEPTION.
5566 (acosh_test_data): Likewise.
5567 (asin_test_data): Likewise.
5568 (atanh_test_data): Likewise.
5569 (fmod_test_data): Likewise.
5570 (log_test_data): Likewise.
5571 (log10_test_data): Likewise.
5572 (log2_test_data): Likewise.
5573 (pow_test_data): Likewise.
5574 (sqrt_test_data): Likewise.
5575 (y0_test_data): Likewise.
5576 (y1_test_data): Likewise.
5577 (yn_test_data): Likewise.
5578
5575c0e5
JM
5579 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5580 function contents.
5581
d369f531
JM
5582 * math/libm-test.inc (struct test_ff_i_data): New type.
5583 (RUN_TEST_LOOP_ff_i_tg): New macro.
5584 (isgreater_test_data): New variable.
5585 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5586 (isgreaterequal_test_data): New variable.
5587 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5588 (isless_test_data): New variable.
5589 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5590 (islessequal_test_data): New variable.
5591 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5592 (islessgreater_test_data): New variable.
5593 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5594 (isunordered_test_data): New variable.
5595 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5596
781fd748
DM
55972013-05-14 David S. Miller <davem@davemloft.net>
5598
5599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5600
87aa21df
JM
56012013-05-14 Joseph Myers <joseph@codesourcery.com>
5602
5e908270
JM
5603 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5604
f71172e5
JM
5605 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5606 extra_test to int.
5607 (struct test_f_i_data): Change type of max_ulp to int.
5608
8cfa635a
JM
5609 * math/libm-test.inc (test_ffI_f1_data): New type.
5610 (RUN_TEST_LOOP_ffI_f1): New macro.
5611 (remquo_test_data): New variable.
5612 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5613
2bcb36b2
JM
5614 * setjmp/tst-setjmp-fp.c: New file.
5615 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5616 (link-libm): New variable.
5617 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5618
acbd839a
JM
5619 * math/libm-test.inc (struct test_f_i_data): New type.
5620 (RUN_TEST_LOOP_f_i): New macro.
5621 (RUN_TEST_LOOP_f_i_tg): Likewise.
5622 (fpclassify_test_data): New variable.
5623 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5624 (ilogb_test_data): New variable.
5625 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5626
e414d745
JM
5627 * math/libm-test.inc (scalbln_test): Correct function name in END
5628 call.
5629
d9c2a0fd
JM
5630 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5631 (RUN_TEST_LOOP_fI_f1): New macro.
5632 (frexp_test_data): New variable.
5633 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5634
9dc9095d
JM
5635 * math/libm-test.inc (struct test_fF_f1_data): New type.
5636 (RUN_TEST_LOOP_fF_f1): New macro.
5637 (modf_test_data): New variable.
5638 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5639
87aa21df
JM
5640 * math/libm-test.inc (struct test_f_f1_data): New type.
5641 (RUN_TEST_LOOP_f_f1): New macro.
5642 (gamma_test_data): New variable.
5643 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5644 (lgamma_test_data): New variable.
5645 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5646
141af660
CD
56472013-05-13 Carlos O'Donell <carlos@redhat.com>
5648
5649 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5650 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5651 (main): Comment "tls" pseudo-hwcap.
5652
6d33265c
JM
56532013-05-13 Joseph Myers <joseph@codesourcery.com>
5654
68fc074c
JM
5655 * math/libm-test.inc (struct test_fl_f_data): New type.
5656 (RUN_TEST_LOOP_fl_f): New variable.
5657 (scalbln_test_data): New variable.
5658 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5659
243216e1
JM
5660 * math/libm-test.inc (struct test_fi_f_data): New type.
5661 (RUN_TEST_LOOP_fi_f): New macro.
5662 (ldexp_test_data): New variable.
5663 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5664 (scalbn_test_data): New variable.
5665 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5666
6a1992e2
JM
5667 * math/libm-test.inc (struct test_c_f_data): New type.
5668 (RUN_TEST_LOOP_c_f): New macro.
5669 (cabs_test_data): New variable.
5670 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5671 (carg_test_data): New variable.
5672 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5673 (cimag_test_data): New variable.
5674 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5675 (creal_test_data): New variable.
5676 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5677
0e400df5
JM
5678 * math/libm-test.inc (struct test_if_f_data): New type.
5679 (RUN_TEST_LOOP_if_f): New macro.
5680 (jn_test_data): New variable.
5681 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5682 (yn_test_data): New variable.
5683 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5684
6d33265c
JM
5685 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5686
f98ece5f
AZ
56872013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5688
5689 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5690 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5691
0f7d347b
SP
56922013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5693
43fe811b
SP
5694 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5695 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5696 (bench-deps): Add bench-timing.h.
5697 * benchtests-bench-skeleton.c: Include bench-timing.h.
5698 (main): Use TIMING_* macros instead of clock_gettime.
5699 * benchtests/bench-timing.h: New file.
5700
0f7d347b
SP
5701 [BZ #14582]
5702 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5703 Renamed from _LIB_VERSION.
5704 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5705
601a3a5f
JM
57062013-05-12 Joseph Myers <joseph@codesourcery.com>
5707
4f184d30
JM
5708 * math/libm-test.inc (struct test_fff_f_data): New type.
5709 (RUN_TEST_LOOP_fff_f): New macro.
5710 (fma_test_data): New variable.
5711 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5712 (fma_towardzero_test_data): New variable.
5713 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5714 (fma_downward_test_data): New variable.
5715 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5716 (fma_upward_test_data): New variable.
5717 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5718
08198877
JM
5719 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5720 (struct test_c_c_data): New type.
5721 (RUN_TEST_LOOP_c_c): New macro.
5722 (cacos_test_data): New variable.
5723 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5724 (cacosh_test_data): New variable.
5725 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5726 (casin_test_data): New variable.
5727 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5728 (casinh_test_data): New variable.
5729 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5730 (catan_test_data): New variable.
5731 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5732 (catanh_test_data): New variable.
5733 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5734 (ccos_test_data): New variable.
5735 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5736 (ccosh_test_data): New variable.
5737 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5738 (cexp_test_data): New variable.
5739 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5740 (clog_test_data): New variable.
5741 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5742 (clog10_test_data): New variable.
5743 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5744 (conj_test_data): New variable.
5745 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5746 (cproj_test_data): New variable.
5747 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5748 (csin_test_data): New variable.
5749 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5750 (csinh_test_data): New variable.
5751 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5752 (csqrt_test_data): New variable.
5753 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5754 (ctan_test_data): New variable.
5755 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5756 (ctan_tonearest_test_data): New variable.
5757 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5758 (ctan_towardzero_test_data): New variable.
5759 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5760 (ctan_downward_test_data): New variable.
5761 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5762 (ctan_upward_test_data): New variable.
5763 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5764 (ctanh_test_data): New variable.
5765 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5766 (ctanh_tonearest_test_data): New variable.
5767 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5768 (ctanh_towardzero_test_data): New variable.
5769 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5770 (ctanh_downward_test_data): New variable.
5771 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5772 (ctanh_upward_test_data): New variable.
5773 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5774 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5775 of BUILD_COMPLEX.
5776
601a3a5f
JM
5777 * math/libm-test.inc (struct test_ff_f_data): New type.
5778 (struct test_ff_f_data_nexttoward): Likewise.
5779 (RUN_TEST_LOOP_2_f): New macro.
5780 (RUN_TEST_LOOP_ff_f): Likewise.
5781 (atan2_test_data): New variable.
5782 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5783 (copysign_test_data): New variable.
5784 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5785 (fdim_test_data): New variable.
5786 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5787 (fmax_test_data): New variable.
5788 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5789 (fmin_test_data): New variable.
5790 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5791 (fmod_test_data): New variable.
5792 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5793 (hypot_test_data): New variable.
5794 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5795 (nextafter_test_data): New variable.
5796 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5797 (nexttoward_test_data): New variable.
5798 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5799 (pow_test_data): New variable.
5800 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5801 (pow_tonearest_test_data): New variable.
5802 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5803 (pow_towardzero_test_data): New variable.
5804 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5805 (pow_downward_test_data): New variable.
5806 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5807 (pow_upward_test_data): New variable.
5808 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5809 (remainder_test_data): New variable.
5810 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5811 (scalb_test_data): New variable.
5812 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5813 * sysdeps/i386/fpu/libm-test-ulps: Update.
5814
74c57478
JM
58152013-05-11 Joseph Myers <joseph@codesourcery.com>
5816
8329e4da
JM
5817 * math/libm-test.inc (fma_test): Use max_value instead of local
5818 variable fltmax.
5819 (nextafter_test): Likewise.
5820
74c57478
JM
5821 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5822 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5823 (acos_downward_test_data): New variable.
5824 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5825 (acos_upward_test_data): New variable.
5826 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5827 (acosh_test_data): New variable.
5828 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5829 (asin_test_data): New variable.
5830 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5831 (asin_tonearest_test_data): New variable.
5832 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5833 (asin_towardzero_test_data): New variable.
5834 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5835 (asin_downward_test_data): New variable.
5836 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5837 (asin_upward_test_data): New variable.
5838 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5839 (asinh_test_data): New variable.
5840 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5841 (atan_test_data): New variable.
5842 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5843 (atanh_test_data): New variable.
5844 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5845 (cbrt_test_data): New variable.
5846 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5847 (ceil_test_data): New variable.
5848 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5849 (cos_test_data): New variable.
5850 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5851 (cos_tonearest_test_data): New variable.
5852 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5853 (cos_towardzero_test_data): New variable.
5854 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5855 (cos_downward_test_data): New variable.
5856 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5857 (cos_upward_test_data): New variable.
5858 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5859 (cosh_test_data): New variable.
5860 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5861 (cosh_tonearest_test_data): New variable.
5862 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5863 (cosh_towardzero_test_data): New variable.
5864 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5865 (cosh_downward_test_data): New variable.
5866 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5867 (cosh_upward_test_data): New variable.
5868 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5869 (erf_test_data): New variable.
5870 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5871 (erfc_test_data): New variable.
5872 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5873 (exp_test_data): New variable.
5874 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5875 (exp_tonearest_test_data): New variable.
5876 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5877 (exp_towardzero_test_data): New variable.
5878 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5879 (exp_downward_test_data): New variable.
5880 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5881 (exp_upward_test_data): New variable.
5882 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5883 (exp10_test_data): New variable.
5884 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5885 (exp2_test_data): New variable.
5886 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5887 (expm1_test_data): New variable.
5888 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5889 (fabs_test_data): New variable.
5890 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5891 (floor_test_data): New variable.
5892 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5893 (j0_test_data): New variable.
5894 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5895 (j1_test_data): New variable.
5896 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5897 (log_test_data): New variable.
5898 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5899 (log10_test_data): New variable.
5900 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5901 (log1p_test_data): New variable.
5902 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5903 (log2_test_data): New variable.
5904 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5905 (logb_test_data): New variable.
5906 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5907 (logb_downward_test_data): New variable.
5908 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5909 (nearbyint_test_data): New variable.
5910 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5911 (rint_test_data): New variable.
5912 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5913 (rint_tonearest_test_data): New variable.
5914 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5915 (rint_towardzero_test_data): New variable.
5916 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5917 (rint_downward_test_data): New variable.
5918 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5919 (rint_upward_test_data): New variable.
5920 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5921 (round_test_data): New variable.
5922 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5923 (sin_test_data): New variable.
5924 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5925 (sin_tonearest_test_data): New variable.
5926 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5927 (sin_towardzero_test_data): New variable.
5928 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5929 (sin_downward_test_data): New variable.
5930 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5931 (sin_upward_test_data): New variable.
5932 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5933 (sinh_test_data): New variable.
5934 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5935 (sinh_tonearest_test_data): New variable.
5936 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5937 (sinh_towardzero_test_data): New variable.
5938 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5939 (sinh_downward_test_data): New variable.
5940 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5941 (sinh_upward_test_data): New variable.
5942 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5943 (sqrt_test_data): New variable.
5944 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5945 (tan_test_data): New variable.
5946 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5947 (tan_tonearest_test_data): New variable.
5948 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5949 (tan_towardzero_test_data): New variable.
5950 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5951 (tan_downward_test_data): New variable.
5952 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5953 (tan_upward_test_data): New variable.
5954 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5955 (tanh_test_data): New variable.
5956 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5957 (tgamma_test_data): New variable.
5958 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5959 (trunc_test_data): New variable.
5960 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5961 (y0_test_data): New variable.
5962 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5963 (y1_test_data): New variable.
5964 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5965 (significand_test_data): New variable.
5966 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5967
7187d844
CG
59682013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5969
5970 [BZ #12387]
5971 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5972
f63fae73
PT
59732013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5974
5975 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5976
8a67a4b3
AJ
59772013-05-10 Andreas Jaeger <aj@suse.de>
5978
5979 [BZ #15448]
5980 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5981 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5982
51df539d
JM
59832013-05-10 Joseph Myers <joseph@codesourcery.com>
5984
5985 * math/gen-libm-test.pl (adjust_arg): New function.
5986 (special_functions): Handle generating output in both functions
5987 and arrays.
5988 (parse_args): Likewise.
5989 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5990 $in_func argument to parse_args.
5991 * math/libm-test.inc (struct test_f_f_data): New type.
5992 (IF_ROUND_INIT_): New macro.
5993 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5994 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5995 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5996 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5997 (ROUND_RESTORE_): Likewise.
5998 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5999 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6000 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6001 (ROUND_RESTORE_FE_UPWARD): Likewise.
6002 (RUN_TEST_LOOP_f_f): New macro.
6003 (acos_test_data): New variable.
6004 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6005 (acos_tonearest_test_data): New variable.
6006 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6007
5c637fe5
SP
60082013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6009
6010 * benchtests/bench-skeleton.c (startup): Fix coding style.
6011
ab2b9461
JM
60122013-05-10 Joseph Myers <joseph@codesourcery.com>
6013
6014 [BZ #6809]
6015 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6016 negative infinity argument.
6017 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6018 negative infinity argument.
6019 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6020 negative infinity argument.
6021 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6022 domain errors.
6023
4c0fe6fe
FW
60242013-05-10 Florian Weimer <fweimer@redhat.com>
6025
6026 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6027 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6028 * iconv/iconv_prog.c (main): Likewise.
6029 * locale/programs/charmap-dir.c (charmap_readdir)
6030 (fopen_uncompressed): Likewise.
6031 * locale/programs/locfile.c (siblings_uncached)
6032 (write_locale_data): Use lstat64 instead of lstat.
6033 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6034 stat.
6035
a3375d29
AJ
60362013-05-10 Andreas Jaeger <aj@suse.de>
6037
6038 [BZ #15395]
6039 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6040 localization.
6041 Include <locale.h>.
6042
36129722
CD
60432013-05-09 Carlos O'Donell <carlos@redhat.com>
6044
6045 * elf/dl-close.c (_dl_close_worker): Add comments.
6046
faa7f811
JM
60472013-05-09 Joseph Myers <joseph@codesourcery.com>
6048
ed41ffef
JM
6049 [BZ #15359]
6050 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6051 high part of pi/2.
6052 (__ieee754_rem_pio2l): Update comments.
6053
d0213cd0
JM
6054 [BZ #15429]
6055 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6056 high part of pi/2.
6057 (__ieee754_rem_pio2l): Update comments.
6058
0d3e777a
JM
6059 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6060 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6061
24f56066
JM
6062 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6063 M_PI_4l.
6064
faa7f811
JM
6065 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6066 (M_PI_34_LOG10El): Likewise.
6067 (M_PI2_LOG10El): Likewise.
6068 (M_PI4_LOG10El): Likewise.
6069 (M_PI_LOG10El): Likewise.
6070
e9a5e0fd
AZ
60712013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6072
6073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6074
d8cd06db
JM
60752013-05-08 Joseph Myers <joseph@codesourcery.com>
6076
a0d9f9d7
JM
6077 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6078 (MINUS_ZERO_INIT): Likewise.
6079 (PLUS_INFTY_INIT): Likewise.
6080 (MINUS_INFTY_INIT): Likewise.
6081 (QNAN_VALUE_INIT): Likewise.
6082 (MAX_VALUE_INIT): Likewise.
6083 (MIN_VALUE_INIT): Likewise.
6084 (MIN_SUBNORM_VALUE_INIT): Likewise.
6085 (plus_zero): Initialize with PLUS_ZERO_INIT.
6086 (minus_zero): Initialize with MINUS_ZERO_INIT.
6087 (plus_infty): Initialize with PLUS_INFTY_INIT.
6088 (minus_infty): Initialize with MINUS_INFTY_INIT.
6089 (qnan_value): Initialize with QNAN_VALUE_INIT.
6090 (max_value): Initialize with MAX_VALUE_INIT.
6091 (min_value): Initialize with MIN_VALUE_INIT.
6092 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6093
ae08db3b
JM
6094 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6095 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6096 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6097 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6098
f44bf14a
JM
6099 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6100 (RUN_TEST_2_f): Likewise.
6101 (RUN_TEST_ff_f): Likewise.
6102 (RUN_TEST_fi_f): Likewise.
6103 (RUN_TEST_fl_f): Likewise.
6104 (RUN_TEST_fff_f): Likewise.
6105 (RUN_TEST_c_f): Likewise.
6106 (RUN_TEST_f_f1): Likewise.
6107 (RUN_TEST_fF_f1): Likewise.
6108 (RUN_TEST_fI_f1): Likewise.
6109 (RUN_TEST_ffI_f1): Likewise.
6110 (RUN_TEST_c_c): Likewise.
6111 (RUN_TEST_cc_c): Likewise.
6112 (RUN_TEST_f_i): Likewise.
6113 (RUN_TEST_f_i_tg): Likewise.
6114 (RUN_TEST_ff_i_tg): Likewise.
6115 (RUN_TEST_f_b): Likewise.
6116 (RUN_TEST_f_b_tg): Likewise.
6117 (RUN_TEST_f_l): Likewise.
6118 (RUN_TEST_f_L): Likewise.
6119 (RUN_TEST_sincos): Likewise.
6120 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6121 whether to show exceptions. Do not include ");\n" in return
6122 value.
6123 (special_functions): Output call to RUN_TEST_sincos instead of
6124 check_float calls. Update calls to new_test.
6125 (parse_args): Output call to single RUN_TEST_* macro instead of
6126 check_* calls and other assignments. Update calls to new_test.
6127
d8cd06db
JM
6128 [BZ #2546]
6129 [BZ #2560]
6130 [BZ #5159]
6131 [BZ #15426]
6132 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6133 input to result for tgamma overflow.
6134 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6135 (gamma_coeff): New variable.
6136 (NCOEFF): New macro.
6137 (gamma_positive): New function.
6138 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6139 underflow here. Use gamma_positive instead of exp (lgamma) for
6140 other arguments.
6141 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6142 (gamma_coeff): New variable.
6143 (NCOEFF): New macro.
6144 (gammaf_positive): New function.
6145 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6146 underflow here. Use gamma_positive instead of exp (lgamma) for
6147 other arguments.
6148 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6149 (gamma_coeff): New variable.
6150 (NCOEFF): New macro.
6151 (gammal_positive): New function.
6152 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6153 underflow here. Use gamma_positive instead of exp (lgamma) for
6154 other arguments.
6155 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6156 (gamma_coeff): New variable.
6157 (NCOEFF): New macro.
6158 (gammal_positive): New function.
6159 (__ieee754_gammal_r): Handle positive infinity, overflow and
6160 underflow here. Handle NaN the same as positive infinity. Remove
6161 check x < 0xffffffff for negative integers. Use gamma_positive
6162 instead of exp (lgamma) for other arguments.
6163 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6164 (gamma_coeff): New variable.
6165 (NCOEFF): New macro.
6166 (gammal_positive): New function.
6167 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6168 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6169 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6171 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6172 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6173 * sysdeps/generic/math_private.h (__gamma_productf): New
6174 prototype.
6175 (__gamma_product): Likewise.
6176 (__gamma_productl): Likewise.
6177 * math/Makefile (libm-calls): Add gamma_product.
6178 * math/libm-test.inc (tgamma_test): Add more tests.
6179 * sysdeps/i386/fpu/libm-test-ulps: Update.
6180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6181
bb7cf681
OB
61822013-05-08 Ondřej Bílka <neleai@seznam.cz>
6183
6184 * benchtests/bench-skeleton.c (main): Preheat CPU.
6185
ba853947
AJ
61862013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6187
6188 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6189
8347c74c
RM
61902013-05-07 Roland McGrath <roland@hack.frob.com>
6191
6192 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6193 and _dl_skip_args_internal.
6194
e8dd4791
CD
61952013-05-07 Carlos O'Donell <carlos@redhat.com>
6196
6197 * manual/message.texi (Message Translation): Talk about users.
6198 Message to key mapping impacts design.
6199
c7405830
RM
62002013-05-06 Roland McGrath <roland@hack.frob.com>
6201
a9173057
RM
6202 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6203
976e2f03
RM
6204 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6205
9723ffc5
RM
6206 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6207 * sysdeps/wordsize-64/glob64.c: ... here.
6208
962e6658
RM
6209 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6210 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6211 New macros.
6212
ee586a6d
RM
6213 * debug/getlogin_r_chk.c: Moved to ...
6214 * login/getlogin_r_chk.c: ... here.
6215 * debug/Makefile (routines): Move getlogin_r_chk to ...
6216 * login/Makefile (routines): ... here.
6217 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6218 * login/Versions (libc: GLIBC_2.4): ... here.
6219
355f9165
RM
6220 * io/poll.c (__poll): Renamed from poll.
6221 Add libc_hidden_def.
6222 (poll): Define as weak alias.
6223
bd9ffde6
RM
6224 * debug/ptsname_r_chk.c: Moved to ...
6225 * login/ptsname_r_chk.c: ... here.
6226 * debug/Makefile (routines): Move ptsname_r_chk to ...
6227 * login/Makefile (routines): ... here.
6228 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6229 * login/Versions (libc: GLIBC_2.4): ... here.
6230
8fb16a04
RM
6231 * posix/getlogin.c: Moved to ...
6232 * login/getlogin.c: ... here.
6233 * posix/getlogin_r.c: Moved to ...
6234 * login/getlogin_r.c: ... here.
6235 * posix/getlogin_r.c: Moved to ...
6236 * login/getlogin_r.c: ... here.
6237 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6238 * login/Makefile (routines): ... here.
6239 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6240 * login/Versions (libc: GLIBC_2.0): ... here.
6241
b99b892f
RM
6242 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6243 (setrlimit): Define as weak alias.
6244
c7405830
RM
6245 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6246 Call __ names for open, ftruncate, and close.
6247 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6248 (truncate): Define as weak alias.
6249
5bf96de5
JM
62502013-05-06 Joseph Myers <joseph@codesourcery.com>
6251
9ea3513c
JM
6252 * math/gen-libm-test.pl (parse_args): Initialize x before each
6253 test of frexp, modf and remquo.
6254
5bf96de5
JM
6255 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6256 test signgam value.
6257
16e616a7
AZ
62582013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6259
6260 [BZ #15418]
6261 [BZ #15419]
6262 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6263 internal tests.
6264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6265
d5e82754
RM
62662013-05-06 Roland McGrath <roland@hack.frob.com>
6267
6268 * elf/dl-writev.h: New file.
6269 * elf/dl-misc.c: Include it.
6270 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6271 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6272
a7548d41
JM
62732013-05-04 Joseph Myers <joseph@codesourcery.com>
6274
b7dab1e4
JM
6275 * math/libm-test.inc (noXFails): Remove variable.
6276 (noXPasses): Likewise.
6277 (BUILD_COMPLEX_INT): Remove macro.
6278 (print_screen): Remove xfail argument.
6279 (print_screen_max_error): Likewise.
6280 (update_stats): Likewise.
6281 (print_max_error): Likewise. Update calls to other affected
6282 functions.
6283 (print_complex_max_error): Likewise.
6284 (test_single_exception): Update calls to print_screen.
6285 (test_single_errno): Likewise.
6286 (check_float_internal): Remove xfail argument. Update calls to
6287 other affected functions.
6288 (check_float): Likewise.
6289 (check_complex): Likewise.
6290 (check_int): Likewise.
6291 (check_long): Likewise.
6292 (check_bool): Likewise.
6293 (check_longlong): Likewise.
6294 (main): Don't print noXFails and noXPasses.
6295 * math/gen-libm-test.pl (top level): Don't mention expected
6296 failure handling in comment.
6297 (new_test): Don't handle expected failures.
6298 (parse_args): Don't mention expected failure handling in comment.
6299 (generate_testfile): Don't handle expected failures.
6300 (parse_ulps): Likewise.
6301 (print_ulps_file): Likewise.
6302 (get_failure): Remove function.
6303 (output_test): Don't handle expected failures.
6304 * make/README.libm-test: Don't mention expected failure handling.
6305
a7548d41
JM
6306 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6307 (minus_zero): Likewise.
6308 (plus_infty): Likewise.
6309 (minus_infty): Likewise.
6310 (qnan_value): Likewise.
6311 (max_value): Likewise.
6312 (min_value): Likewise.
6313 (min_subnorm_value): Likewise.
6314 (initialize): Do not initialize those variables dynamically.
6315
60bfd54c
RM
63162013-05-03 Roland McGrath <roland@hack.frob.com>
6317
cc0e6ed8
RM
6318 * io/open.c (__open_2): Moved to ...
6319 * io/open_2.c: ... this new file.
6320 * io/open64.c (__open64_2): Moved to ...
6321 * io/open64_2.c: ... this new file.
6322 * io/openat.c (__openat_2): Moved to ...
6323 * io/openat_2.c: ... this new file.
6324 * io/openat64.c (__openat64_2): Moved to ...
6325 * io/openat64_2.c: ... this new file.
6326 * io/Makefile (routines): Add them.
6327 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6328 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6329 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6330 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6331 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6332 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6333 (__openat64): Add hidden_ver.
6334 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6335 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6336
60bfd54c
RM
6337 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6338 Separately conditionalize setting of GLRO(dl_sysinfo) so
6339 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6340 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6341
83e7640f
AZ
63422013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6343
6344 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6346 definition.
6347 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6348 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6349 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6350 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6351 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6352
d5dc2af3
JM
63532013-05-03 Joseph Myers <joseph@codesourcery.com>
6354
c31a5b1e
JM
6355 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6356 test signgam value.
6357
d5dc2af3
JM
6358 * math/libm-test.inc (hypot_test): Do not use
6359 IGNORE_ZERO_INF_SIGN.
6360
164fd39d
AJ
63612013-05-03 Andreas Jaeger <aj@suse.de>
6362
6363 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6364 Linux 3.9.
6365 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6366 (PF_MAX): Adjust for VSOCK change.
6367
8237f48c
AZ
63682013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6369
6370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6371
9df02941
CD
63722013-05-02 Carlos O'Donell <carlos@redhat.com>
6373
6374 [BZ #15264]
6375 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6376 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6377 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6378
d422395e
DM
63792013-05-02 David S. Miller <davem@davemloft.net>
6380
6381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6382
a07c5731
OB
63832013-05-01 Ondřej Bílka <neleai@seznam.cz>
6384
6385 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6386
1324e37f
RM
63872013-05-01 Roland McGrath <roland@hack.frob.com>
6388
6389 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6390
0695940b
RS
63912013-05-01 Richard Smith <richard@metafoo.co.uk>
6392
bb5f27ad 6393 [BZ #14952]
0695940b
RS
6394 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6395 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6396 Use __attribute__ ((__gnu_inline__)).
6397 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6398 Don't use __attribute__ ((__gnu_inline__)).
6399
10de07f5
JM
64002013-05-01 Joseph Myers <joseph@codesourcery.com>
6401
6402 [BZ #15423]
6403 * math/s_catan.c (__catan): Handle small real or imaginary part of
6404 input specially to avoid spurious underflow.
6405 * math/s_catanf.c (__catanf): Likewise.
6406 * math/s_catanh.c (__catanh): Likewise.
6407 * math/s_catanhf.c (__catanhf): Likewise.
6408 * math/s_catanhl.c (__catanhl): Likewise.
6409 * math/s_catanl.c (__catanl): Likewise.
6410 * math/libm-test.inc (catan_test): Add more tests.
6411 (catanh_test): Likewise.
6412 * sysdeps/i386/fpu/libm-test-ulps: Update.
6413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6414
cb4d5414
AZ
64152013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6416
6417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6418
caf84319
JM
64192013-04-30 Joseph Myers <joseph@codesourcery.com>
6420
6421 [BZ #15416]
6422 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6423 accurately for denominator in atan2.
6424 * math/s_catanf.c (__catanf): Likewise.
6425 * math/s_catanh.c (__catanh): Likewise.
6426 * math/s_catanhf.c (__catanhf): Likewise.
6427 * math/s_catanhl.c (__catanhl): Likewise.
6428 * math/s_catanl.c (__catanl): Likewise.
6429 * math/libm-test.inc (catan_test): Add more tests.
6430 (catanh_test): Likewise.
6431 * sysdeps/i386/fpu/libm-test-ulps: Update.
6432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6433
d569c6ee
SP
64342013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6435
6dbe713d
SP
6436 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6437
f0ee064b
SP
6438 * benchtests/Makefile (bench): Remove slow benchmarks.
6439 * benchtests/atan-inputs: Add slow benchmark inputs.
6440 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6441 (BENCH_FUNC): Accept variant offset.
6442 (VARIANT): Define.
6443 * benchtests/bench-skeleton.c (main): Run benchmark for each
6444 variant.
6445 * benchtests/cos-inputs: Add slow benchmark inputs.
6446 * benchtests/exp-inputs: Likewise.
6447 * benchtests/pow-inputs: Likewise.
6448 * benchtests/sin-inputs: Likewise.
6449 * benchtests/slowatan-inputs: Remove.
6450 * benchtests/slowatan.c: Remove.
6451 * benchtests/slowcos-inputs: Remove.
6452 * benchtests/slowcos.c: Remove.
6453 * benchtests/slowexp-inputs: Remove.
6454 * benchtests/slowexp.c: Remove.
6455 * benchtests/slowpow-inputs: Remove.
6456 * benchtests/slowpow.c: Remove.
6457 * benchtests/slowsin-inputs: Remove.
6458 * benchtests/slowsin.c: Remove.
6459 * benchtests/slowtan-inputs: Remove.
6460 * benchtests/slowtan.c: Remove.
6461 * benchtests/tan-inputs: Add slow benchmark inputs.
6462 * scripts/bench.pl: Parse comments and directives.
6463
d569c6ee
SP
6464 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6465 in CPPFLAGS.
6466 ($(objpfx)bench-%.c): Remove *-ITER.
6467 * benchtests/bench-modf.c: Remove definition of ITER.
6468 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6469 (main): Loop for DURATION seconds instead of fixed number of
6470 iterations.
6471 * scripts/bench.pl: Don't expect iterations in parameters.
6472
a6a242fe
RM
64732013-04-29 Roland McGrath <roland@hack.frob.com>
6474
6475 * io/fchdir.c (__fchdir): Renamed from fchdir.
6476 (fchdir): Define as weak alias.
6477
f2da7793
JM
64782013-04-29 Joseph Myers <joseph@codesourcery.com>
6479
6480 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6481 (ERRNO_EDOM): Likewise.
6482 (ERRNO_ERANGE): Likewise.
6483 (noErrnoTests): New variable.
6484 (init_max_error): Set errno to 0.
6485 (test_single_errno): New function.
6486 (test_errno): Likewise.
6487 (check_float_internal): Call test_errno. Set errno to 0.
6488 (check_complex): Refer to errno tests in comment.
6489 (check_int): Call test_errno. Set errno to 0.
6490 (check_long): Likewise.
6491 (check_bool): Likewise.
6492 (check_longlong): Likewise.
6493 (cos_test): Use ERRNO_* flags for errno tests instead of
6494 check_int.
6495 (expm1_test): Likewise.
6496 (fmod_test): Likewise.
6497 (ilogb_test): Likewise.
6498 (lgamma_test): Likewise.
6499 (pow_test): Likewise.
6500 (remainder_test): Likewise.
6501 (sin_test): Likewise.
6502 (tan_test): Likewise.
6503 (yn_test): Likewise.
6504 (initialize): Set errno to 0.
6505 (main): Print number of errno tests.
6506 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6507
b1a36ceb
AJ
65082013-04-29 Andreas Jaeger <aj@suse.de>
6509
c3ed8088
AJ
6510 [BZ #15084]
6511 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6512 and RES_USEVC.
6513
f1a24198
AJ
6514 [BZ #15085]
6515 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6516 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6517 unimplemented.
6518
9ce3b2cb
AJ
6519 [BZ #15380]
6520 * stdlib/random.c (__initstate): Return NULL if
6521 __initstate fails.
6522
f1a24198 6523 [BZ #15086]
b1a36ceb
AJ
6524 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6525 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6526 RES_SNGLKUPREOP.
6527
7e7b6f36
AZ
65282013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6529
6530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6531
4d14f449
JM
65322013-04-29 Joseph Myers <joseph@codesourcery.com>
6533
6534 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6535 of individual tests.
6536 (casin_test): Likewise.
6537 (casinh_test): Likewise.
6538
5b4217d7
JM
65392013-04-27 Joseph Myers <joseph@codesourcery.com>
6540
6541 [BZ #15409]
6542 * math/s_catan.c (__catan): Handle arguments with large real or
6543 imaginary part separately without squaring.
6544 * math/s_catanf.c (__catanf): Likewise.
6545 * math/s_catanh.c (__catanh): Likewise.
6546 * math/s_catanhf.c (__catanhf): Likewise.
6547 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6548 and redefine.
6549 (__catanhl): Handle arguments with large real or imaginary part
6550 separately without squaring.
6551 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6552 and redefine.
6553 (__catanl): Handle arguments with large real or imaginary part
6554 separately without squaring.
6555 * math/libm-test.inc (catan_test): Add more tests.
6556 (catanh_test): Likewise.
6557 * sysdeps/i386/fpu/libm-test-ulps: Update.
6558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6559
4220c3ef
AJ
65602013-04-27 Andreas Jaeger <aj@suse.de>
6561
6562 [BZ #15007]
6563 * stdlib/stdlib.h: Update guards for qecvt.
6564 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6565 <stdlib.h>.
6566
4721b2d1
AM
65672013-04-27 Allan McRae <allan@archlinux.org>
6568
6569 * sysdeps/i386/fpu/libm-test-ulps: Update.
6570
f0302940
JM
65712013-04-26 Joseph Myers <joseph@codesourcery.com>
6572
9457fd95
JM
6573 [BZ #15406]
6574 * math/s_catan.c: Include <float.h>.
6575 (__catan): Ensure underflow exception occurs for underflowed
6576 result.
6577 * math/s_catanf.c: Include <float.h>.
6578 (__catanf): Ensure underflow exception occurs for underflowed
6579 result.
6580 * math/s_catanh.c: Include <float.h>.
6581 (__catanh): Ensure underflow exception occurs for underflowed
6582 result.
6583 * math/s_catanhf.c: Include <float.h>.
6584 (__catanhf): Ensure underflow exception occurs for underflowed
6585 result.
6586 * math/s_catanhl.c: Include <float.h>.
6587 (__catanhl): Ensure underflow exception occurs for underflowed
6588 result.
6589 * math/s_catanl.c: Include <float.h>.
6590 (__catanl): Ensure underflow exception occurs for underflowed
6591 result.
6592 * math/libm-test.inc (catan_test): Add more tests.
6593 (catanh_test): Likewise.
6594
f0302940
JM
6595 [BZ #15405]
6596 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6597 underflowed result.
6598 * math/s_ccoshf.c (__ccoshf): Likewise.
6599 * math/s_ccoshl.c (__ccoshl): Likewise.
6600 * math/s_csin.c (__csin): Likewise.
6601 * math/s_csinf.c (__csinf): Likewise.
6602 * math/s_csinh.c (__csinh): Likewise.
6603 * math/s_csinhf.c (__csinhf): Likewise.
6604 * math/s_csinhl.c (__csinhl): Likewise.
6605 * math/s_csinl.c (__csinl): Likewise.
6606 * math/libm-test.inc (ccos_test): Add more tests.
6607 (ccosh_test): Likewise.
6608 (csin_test): Likewise.
6609 (csinh_test): Likewise.
6610
aa630f59
AZ
66112013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6612
6613 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6614 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6615 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6616 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6617 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6618 powerpc/power5+/fpu folders.
6619 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6620
6621
1b835983
MT
66222013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6623
6624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6625
73709b26
JM
66262013-04-25 Joseph Myers <joseph@codesourcery.com>
6627
6628 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6629 additions to variable.
6630 [$(config-machine) = x86_64] (modules-names): Likewise.
6631 ($(objpfx)tst-audit3): Remove dependency.
6632 ($(objpfx)tst-audit3.out): Likewise.
6633 ($(objpfx)tst-audit4): Likewise.
6634 ($(objpfx)tst-audit4.out): Likewise.
6635 ($(objpfx)tst-audit5): Likewise.
6636 ($(objpfx)tst-audit5.out): Likewise.
6637 ($(objpfx)tst-audit6): Likewise.
6638 ($(objpfx)tst-audit6.out): Likewise.
6639 ($(objpfx)tst-audit7): Likewise.
6640 ($(objpfx)tst-audit7.out): Likewise.
6641 (tst-audit3-ENV): Remove variable.
6642 (tst-audit4-ENV): Likewise.
6643 (tst-audit5-ENV): Likewise.
6644 (tst-audit6-ENV): Likewise.
6645 (tst-audit7-ENV): Likewise.
6646 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6647 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6648 addition to variable.
6649 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6650 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6651 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6652 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6653 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6654 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6655 tst-audit3, tst-audit4 and tst-audit5.
6656 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6657 tst-audit6 and tst-audit7.
6658 [$(subdir) = elf] (modules-names): Add audit modules for those
6659 tests.
6660 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6661 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6662 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6663 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6664 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6665 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6666 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6667 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6668 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6669 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6670 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6671 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6672 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6673 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6674 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6675 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6676 Likewise.
6677 [$(subdir) = elf && $(config-cflags-avx) = yes]
6678 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6679 [$(subdir) = elf && $(config-cflags-avx) = yes]
6680 (CFLAGS-tst-auditmod4a.c): Likewise.
6681 [$(subdir) = elf && $(config-cflags-avx) = yes]
6682 (CFLAGS-tst-auditmod4b.c): Likewise.
6683 [$(subdir) = elf && $(config-cflags-avx) = yes]
6684 (CFLAGS-tst-auditmod6b.c): Likewise.
6685 [$(subdir) = elf && $(config-cflags-avx) = yes]
6686 (CFLAGS-tst-auditmod6c.c): Likewise.
6687 [$(subdir) = elf && $(config-cflags-avx) = yes]
6688 (CFLAGS-tst-auditmod7b.c): Likewise.
6689 * elf/tst-audit3.c: Move to ...
6690 * sysdeps/x86_64/tst-audit3.c: ... here.
6691 * elf/tst-audit4.c: Move to ...
6692 * sysdeps/x86_64/tst-audit4.c: ... here.
6693 * elf/tst-audit5.c: Move to ...
6694 * sysdeps/x86_64/tst-audit5.c: ... here.
6695 * elf/tst-audit6.c: Move to ...
6696 * sysdeps/x86_64/tst-audit6.c: ... here.
6697 * elf/tst-audit7.c: Move to ...
6698 * sysdeps/x86_64/tst-audit7.c: ... here.
6699 * elf/tst-auditmod3a.c: Move to ...
6700 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6701 * elf/tst-auditmod3b.c: Move to ...
6702 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6703 * elf/tst-auditmod4a.c: Move to ...
6704 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6705 * elf/tst-auditmod4b.c: Move to ...
6706 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6707 * elf/tst-auditmod5a.c: Move to ...
6708 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6709 * elf/tst-auditmod5b.c: Move to ...
6710 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6711 * elf/tst-auditmod6a.c: Move to ...
6712 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6713 * elf/tst-auditmod6b.c: Move to ...
6714 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6715 * elf/tst-auditmod6c.c: Move to ...
6716 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6717 * elf/tst-auditmod7a.c: Move to ...
6718 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6719 * elf/tst-auditmod7b.c: Move to ...
6720 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6721
1ef74943
PP
67222013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6723
6724 [BZ #15366]
6725 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6726 define unconditionally.
6727 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6728 define unconditionally.
6729 (INT8_C, INT16_C, etc.): Likewise.
6730
93fd48c5
MR
67312013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6732
ae9552cf
MR
6733 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6734 __ehdr_start with hidden visibility.
6735
93fd48c5
MR
6736 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6737
418601aa
CD
67382013-04-24 Carlos O'Donell <carlos@redhat.com>
6739
6740 * math/libm-test.inc (cos_test): Use accurate hex constants.
6741 (sincost_test): Likewise.
6742
2f38fbfe
JM
67432013-04-24 Joseph Myers <joseph@codesourcery.com>
6744
5e221800
JM
6745 * math/libm-test.inc (catan_test): Add more tests.
6746 (catanh_test): Likewise.
6747
77f143fd
JM
6748 * math/s_catanf.c (__catanf): Use suffixed floating-point
6749 constants.
6750 * math/s_catanhf.c (__catanhf): Likewise.
6751 * math/s_catanhl.c (__catanhl): Likewise.
6752 * math/s_catanl.c (__catanl): Likewise.
6753
2f38fbfe
JM
6754 [BZ #15394]
6755 * math/s_catan.c (__catan): Calculate imaginary part of result
6756 with log1p not log unless computing log of number close to 0.
6757 * math/s_catanf.c (__catanf): Likewise.
6758 * math/s_catanl.c (__catanl): Likewise.
6759 * math/s_catanh.c (__catanh): Calculate real part of result with
6760 log1p not log unless computing log of number close to 0.
6761 * math/s_catanhf.c (__catanhf): Likewise.
6762 * math/s_catanhl.c (__catanhl): Likewise.
6763 * math/libm-test.inc (catan_test): Add more tests.
6764 (catanh_test): Likewise.
6765 * sysdeps/i386/fpu/libm-test-ulps: Update.
6766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6767
45d69176
SP
67682013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6769
6770 * benchtests/Makefile: Mention files in which fast and slow
6771 paths of math functions are implemented.
6772
87f51853
RM
67732013-04-23 Roland McGrath <roland@hack.frob.com>
6774
6775 * sysdeps/posix/timespec_get.c: New file.
6776
3c026539
AZ
67772013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6778
6779 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6780 POWER.
6781 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6782 for POWER.
6783 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6784 powerpc/power5/fpu folders.
6785 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6786 * benchtests/Makefile: Add modf testcase.
6787 * benchtests/bench-modf.c: New file: Benchmark test for mo
6788
ff491d14
SP
67892013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6790
6791 [BZ #14888]
6792 * time/Makefile (tests): Add tst-strptime-whitespace.
6793 * time/strptime_l.c (get_number): Use ISSPACE.
6794 (__strptime_internal): Likewise.
6795 * time/tst-strptime-whitespace.c: New test case.
6796
7ed3f4e8
AS
67972013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6798
6799 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6800 member.
6801 (_nss_files_init): Set it here.
6802
5c95f7b6
HC
68032013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6804
6805 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6806 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6807 unsigned.
6808
d34c9158
JBG
68092013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6810
6811 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6812
2169712d
SP
68132013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6814
6815 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6816 size just once.
6817
29c5de99
DM
68182013-04-21 David S. Miller <davem@davemloft.net>
6819
6820 * po/ru.po: Update Russion translation from translation project.
6821
ccdad15d
AC
68222013-04-17 Adam Conrad <adconrad@0c3.net>
6823
6824 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6825 and setfsgid.
6826
0f122b8d
CD
68272013-04-17 Carlos O'Donell <carlos@redhat.com>
6828
5c5b07da 6829 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6830 * configure: Regenerate.
5c5b07da 6831 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6832 Add example to error message.
6833 * sysdeps/i386/configure: Regenerate.
6834
037714dd
SP
68352013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6836
6837 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6838 slowtan.
6839 * benchtests/cos-inputs: New file.
6840 * benchtests/slowcos-inputs: New file.
6841 * benchtests/slowcos.c: New file.
6842 * benchtests/slowtan-inputs: New file.
6843 * benchtests/slowtan.c: New file.
6844 * benchtests/tan-inputs: New file.
6845
e913141d
RM
68462013-04-16 Roland McGrath <roland@hack.frob.com>
6847
6848 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6849 considered kosher.
6850
a2964074
SP
68512013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6852
4856bcd2
SP
6853 * benchtests/Makefile: Include cppflags-iterator.mk to add
6854 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6855
a2964074
SP
6856 * Makefile.in (bench-clean): New target.
6857 * benchtests/Makefile (bench-clean): Likewise.
6858
9fbf9aca
DH
68592013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6860
6861 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6862
207d1e2a
TS
68632013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6864
6865 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6866
306dfba9
AS
68672013-04-15 Andreas Schwab <schwab@suse.de>
6868
6869 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6871 * nscd/pwdcache.c (cache_addpw): Likewise.
6872 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6873 more than recsize.
6874
206a6699
SP
68752013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6876
6877 * benchtests/Makefile (bench): Write all output to
6878 bench-out.tmp together.
6879
0582f6b3
AS
68802013-04-15 Andreas Schwab <schwab@suse.de>
6881
6882 * nscd/nscd.c (main): Don't fork again after closing files.
6883
acb4325f
SP
68842013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6885
5cb26d0a
SP
6886 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6887
acb4325f
SP
6888 * benchtests/Rules (bench-deps): Collect dependencies into a
6889 single variable. Add Makefile to dependencies.
6890 ($(objpfx)bench-%.c): Depend on bench-deps.
6891
47792506
RM
68922013-04-12 Roland McGrath <roland@hack.frob.com>
6893 Xavier Roche <roche+kml2@exalead.com>
6894
6895 [BZ #15361]
6896 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6897 just that it's a file descriptor.
6898 * manual/llio.texi (Synchronizing AIO Operations): Update description
6899 for EBADF error from aio_fsync.
6900
8fc1bee5
SP
69012013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6902
6903 * Rules (bench): Move target definition...
6904 * benchtests/Makefile: ... here.
6905
aba5e333
CD
69062013-04-11 Carlos O'Donell <carlos@redhat.com>
6907
6908 * math/libm-test.inc (cos_test): Fix PI/2 test.
6909 (sincos_test): Likewise.
6910 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6911 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6912
273cdee8
AS
69132013-04-11 Andreas Schwab <schwab@suse.de>
6914
6ecec3b6
AS
6915 [BZ #13988]
6916 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6917 accept exponent character only when digits were seen.
6918 * stdio-common/Makefile (tests): Add bug26.
6919 * stdio-common/bug26.c: New file.
6920
273cdee8
AS
6921 [BZ #14293]
6922 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6923 non-freeable.
6924
8da491f5
SP
69252013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6926
01dc6df9
SP
6927 * Makeconfig (rtld-prefix): Define built linker prefix.
6928 * Rules (run-bench): Use it.
6929 * math/Makefile (run-regen-ulps): Likewise.
6930
8da491f5
SP
6931 * Rules (bench): Remove eval.
6932
abe7f530
SP
69332013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6934 Roland McGrath <roland@hack.frob.com>
6935 Ondrej Bilka <neleai@seznam.cz>
6936
6937 [BZ #15346]
6938 * time/getdate.c: Include ctype.h and alloca.h.
6939 (__getdate_r): Trim leading and trailing spaces of input.
6940 * time/tst-getdate.c (tests): Add tests with leading and
6941 trailing spaces.
6942
61c23e62
RM
69432013-04-08 Roland McGrath <roland@hack.frob.com>
6944
6945 [BZ #14280]
6946 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6947 when computing value.
6948
7208a313
CD
69492013-04-06 Carlos O'Donell <carlos@redhat.com>
6950
085b2d41
CD
6951 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6952 Use testrun.sh to run libm tests.
6953
7208a313
CD
6954 [BZ #15309]
6955 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6956
872c0acd
MM
69572013-04-06 Marko Myllynen <myllynen@redhat.com>
6958
6959 [BZ #15264]
6960 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6961
26510bdd
CD
69622013-04-06 Carlos O'Donell <carlos@redhat.com>
6963
6964 * Makefile.in (regen-ulps): New target.
6965 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6966 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6967 [ifneq (no,$(PERL)] (regen-ulps): New target.
6968 [ifeq (no,$(PERL)] (regen-ulps): New target.
6969 * math/libm-test.inc (ulps_file_name): Define.
6970 (output_dir): New variable.
6971 (options): Add "output-dir" option.
6972 (parse_opt): Handle 'o' case.
6973 (main): If output_dir is non-NULL use it as a prefix
6974 otherwise use "".
6975 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6976
a01f19c8
CD
69772013-04-06 Carlos O'Donell <carlos@redhat.com>
6978
6979 [BZ #10060, #10062]
6980 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6981 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6982 fail configure if __sync_val_compare_and_swap is not inlined.
6983 * sysdeps/i386/configure: Regenerate.
6984 * configure.in: Build for i686 when configured for i386.
6985 * configure: Regenerate.
6986 * README: Remove i386 reference.
6987
b7a329a5
CD
69882013-04-06 Carlos O'Donell <carlos@redhat.com>
6989
6990 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6991 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6992
bf0f50df
TS
69932013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6994
ee091edf
TS
6995 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6996 (lmsnanval): New variables.
6997 (F): Add conversion tests.
6998 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6999 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7000
a8b792d6
TS
7001 * stdio-common/tstdiomisc.c (F): Properly collect individual
7002 tests' results.
7003
a1cbf437
TS
7004 [BZ #14686, #15336]
7005 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7006 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7007 Instead, use input NaN values or generate a qNaN by arithmetic
7008 operation. Also fix bugs to comply with the standard.
7009 * math/libm-test.inc (remainder_test): Add more tests.
7010
8b43a0c9
TS
7011 [BZ #15335, #15342]
7012 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7014 input NaN values or generate a qNaN by arithmetic operation.
7015
d91da4ce
TS
7016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7017 unreachable code.
7018
bf0f50df
TS
7019 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7020 definitions.
7021
05e166c8
JM
70222013-04-03 Joseph Myers <joseph@codesourcery.com>
7023
7024 [BZ #14478]
7025 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7026 underflowed result.
7027 * math/s_cexpf.c (__cexpf): Likewise.
7028 * math/s_cexpl.c (__cexpl): Likewise.
7029 * math/libm-test.inc (cexp_test): Add more tests.
7030
1cef1b19
AS
70312013-04-03 Andreas Schwab <schwab@suse.de>
7032
7033 [BZ #15330]
7034 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7035 order arrays from heap if bigger than alloca cutoff.
7036
74d87055
TS
70372013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7038
7039 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7040 (SNAN_TESTS_double): Refer to GCC PR56831.
7041 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7042 GCC PR56828.
7043
d755bba4
SP
70442013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7045
90d5d5bb
SP
7046 * Rules (bench): Move bench.out after the run is complete.
7047
73e0cd5d
SP
7048 * Rules (bench): Echo currently running benchmark.
7049
64aabd4b
SP
7050 * benchtests/Makefile (bench): Add atan and slowatan.
7051 * benchtests/atan-inputs: New file.
7052 * benchtests/slowatan-inputs: New file.
7053 * benchtests/slowatan.c: New file.
7054
c871eccd
SP
7055 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7056 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7057 its value.
7058
d755bba4
SP
7059 [BZ #15305]
7060 * sysdeps/unix/sysv/linux/kernel-features.h
7061 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7062 __ASSUME_XFS_RESTRICTED_CHOWN.
7063 * sysdeps/unix/sysv/linux/pathconf.c
7064 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7065 Save and restore errno.
7066
52ce4860
JM
70672013-04-02 Joseph Myers <joseph@codesourcery.com>
7068
7069 [BZ #15327]
7070 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7071 arguments using __kernel_casinh.
7072 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7073 arguments using __kernel_casinhf.
7074 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7075 arguments using __kernel_casinhl.
7076 * math/libm-test.inc (cacosh_test): Add more tests.
7077 * sysdeps/i386/fpu/libm-test-ulps: Update.
7078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7079
81f311c2
SP
70802013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7081
e7906a47
SP
7082 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7084
92e3664b
SP
7085 * bench/Makefile (bench): Add sin and slowsin.
7086 * benchtests/sin-inputs: New file.
7087 * benchtests/slowsin-inputs: New file.
7088 * benchtests/slowsin.c: New file.
7089
81f311c2
SP
7090 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7091 (bench): Add slowexp and slowpow.
7092 (exp-ITER): Increase iterations.
7093 (pow-ITER): Likewise.
7094 * benchtests/exp-inputs: Change input.
7095 * benchtests/pow-inputs: Likewise.
7096 * benchtests/slowexp-inputs: New file.
7097 * benchtests/slowexp.c: New file.
7098 * benchtests/slowpow-inputs: New file.
7099 * benchtests/slowpow.c: New file.
7100
ab0f1aa9
AZ
71012013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7102
7103 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7104 instructions.
7105 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7106 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7107 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7108 * benchtests/Makefile: Add rint benchtest.
7109 * benchtests/rint-inputs: Input for rint benchtest.
7110
57267616
TS
71112013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7112
7113 * Versions.def (libm): Add GLIBC_2.18.
7114 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7115 hidden libm prototypes.
7116 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7117 * math/Makefile (libm-calls): Add s_issignaling.
7118 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7119 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7120 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7121 declaration.
7122 * math/math.h [__USE_GNU] (issignaling): New macro.
7123 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7124 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7125 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7126 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7129 * manual/arith.texi (issignaling): New section.
7130 * manual/libm-err-tab.pl (@all_functions): Update comment.
7131 * math/gen-libm-test.pl (parse_args): Apply special handling for
7132 issignaling.
7133 * math/libm-test.inc (print_float, issignaling_test): New
7134 functions.
7135 (check_float_internal): Add issignaling checks.
7136 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7137 default definition.
7138 * sysdeps/powerpc/math-tests.h: New file.
7139 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7140 tests.
7141 * math/test-snan.c (TEST_FUNC): Likewise.
7142
6142896d
DM
71432013-03-30 David S. Miller <davem@davemloft.net>
7144
7145 * po/de.po: Update from translation team.
7146
ccc8cadf
JM
71472013-03-30 Joseph Myers <joseph@codesourcery.com>
7148
7149 [BZ #10357]
7150 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7151 imaginary part less than 1.0 and real part less than 0.5
7152 specially.
7153 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7154 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7155 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7156 (cacos_test): Add more tests.
7157 (casin_test): Likewise.
7158 (casinh_test): Likewise.
7159 * sysdeps/i386/fpu/libm-test-ulps: Update.
7160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7161
0f6a8d4b
SP
71622013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7163
0d1029de
SP
7164 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7165 ONE with its value.
7166
c2d94018
SP
7167 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7168 (__pow_mp): Replace ONE and MONE with their values.
7169 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7171 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7172 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7173 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7174 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7175
27ec37f1
SP
7176 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7177
a64d7e0e
SP
7178 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7179 (__pow_mp): Replace ZERO and MZERO with their values.
7180 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7181 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7182 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7184 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7185 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7186 (__sqr): Likewise.
7187
d26dd3eb
SP
7188 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7189
0f6a8d4b
SP
7190 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7191
e57b0c61
RM
71922013-03-28 Roland McGrath <roland@hack.frob.com>
7193
7194 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7195 Declare with __attribute__ ((weak)).
7196 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7197 Call __call_tls_dtors only if it's not NULL.
7198
356b3480
RM
71992013-03-28 Roland McGrath <roland@hack.frob.com>
7200
288f7d79
RM
7201 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7202 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7203 magic __ehdr_start linker symbol if it's defined.
7204 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7205 them up here if it was already done.
7206
dc0a0263
RM
7207 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7208 (_dl_aux_init): Use const in cast when setting it.
7209 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7210 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7211 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7212
3d3436ae
RM
7213 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7214 Declare them here.
7215 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7216 * csu/libc-tls.c: Nor here.
7217 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7218
356b3480
RM
7219 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7220 (__libc_message): Never call vsyslog.
7221
b0f1246a
AM
72222013-03-28 Alan Modra <amodra@gmail.com>
7223
7224 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7225 Define as empty.
7226 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7227 Likewise.
7228
fbbe2b9a
AZ
72292013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7230
7231 [BZ #15214]
7232 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7233 underflow.
7234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7235
1728ab37
SP
72362013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7237
7a86be6e
SP
7238 [BZ #15304]
7239 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7240 Don't add gid passed as argument.
7241
1728ab37
SP
7242 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7243
3a7182a1
JM
72442013-03-27 Joseph Myers <joseph@codesourcery.com>
7245
7246 [BZ #15307]
7247 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7248 imaginary part between 1.0 and 1.5 and real part less than 0.5
7249 specially.
7250 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7251 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7252 * math/libm-test.inc (cacos_test): Add more tests.
7253 (casin_test): Likewise.
7254 (casinh_test): Likewise.
7255 * sysdeps/i386/fpu/libm-test-ulps: Update.
7256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7257
6f2e90e7
SP
72582013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7259
5739f705
SP
7260 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7261 constants.
7262 (norm): Likewise.
7263 (denorm): Likewise.
7264 (__dbl_mp): Likewise.
7265 (add_magnitudes): Likewise.
7266 (sub_magnitudes): Likewise.
7267 (__add): Likewise.
7268 (__sub): Likewise.
7269 (__mul): Likewise.
7270 (__sqr): Likewise.
7271 (__inv): Likewise.
7272 (__dvd): Likewise.
7273
e375e83d
SP
7274 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7275 commented code.
7276 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7277 (__dubcos): Likewise.
7278 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7279 (__ieee754_acos): Likewise.
7280 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7281 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7282 (__exp1): Likewise.
7283 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7285 (log1): Likewise.
7286 (my_log2): Likewise.
7287 (checkint): Likewise.
7288 * sysdeps/ieee754/dbl-64/e_remainder.c
7289 (__ieee754_remainder): Likewise.
7290 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7292 (bsloww): Likewise.
7293 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7294
6f2e90e7
SP
7295 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7296 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7297 MANTISSA_STORE_T to store computations on mantissa. Use
7298 macros for rounding and division.
7299 (denorm): Likewise.
7300 (__dbl_mp): Likewise.
7301 (add_magnitudes): Likewise.
7302 (sub_magnitudes): Likewise.
7303 (__mul): Likewise.
7304 (__sqr): Likewise.
7305 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7306 powers of two in terms of TWOPOW macro.
7307 (mp_no): Make type of mantissa as MANTISSA_T.
7308 [!RADIXI]: Define RADIXI.
7309 [!TWO52]: Define TWO52.
7310 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7311
fce14d4e
AZ
73122013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7313
7314 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7315 llroundl symbol when building for PPC32.
7316
9ad027fb
MW
73172013-03-24 Mark H Weaver <mhw@netris.org>
7318
7319 * manual/arith.texi (Normalization Functions): Fix prototypes for
7320 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7321
e42a38dd
AZ
73222013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7323
7324 [BZ #13889]
7325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7326 high value to check if expl overflow.
7327 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7328 to check for underflow and overflow.
7329 * math/libm-test.inc: Add exp test.
7330
2e0fb521
DL
73312013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7332
7333 [BZ #11120]
7334 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7335 with NOT_IN_libc.
7336
b5784d95
AZ
73372013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7338
7339 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7340 symbol.
7341
5aa4a1a1
TS
73422013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7343
bdef0be7
TS
7344 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7345 wrap blocks consisting of several statements.
7346
5aa4a1a1
TS
7347 * sysdeps/generic/math-tests.h: New file.
7348 * sysdeps/i386/fpu/math-tests.h: Likewise.
7349 * math/test-snan.c: Include it.
7350 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7351
98c48fe5
JM
73522013-03-21 Joseph Myers <joseph@codesourcery.com>
7353
7354 [BZ #15285]
7355 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7356 (__ieee754_j0l): Do not improve calculations using cos of twice
7357 input for inputs above LDBL_MAX / 2.0L.
7358 (__ieee754_y0l): Likewise.
7359 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7360 (__ieee754_j1l): Do not improve calculations using cos of twice
7361 input for inputs above LDBL_MAX / 2.0L.
7362 (__ieee754_y1l): Likewise.
7363 * math/libm-test.inc (j0_test): Add another test.
7364 (j1_test): Likewise.
7365 (y0_test): Likewise.
7366 (y1_test): Likewise.
7367 * sysdeps/i386/fpu/libm-test-ulps: Update.
7368
3775a8bc
SP
73692013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7370
7371 * Rules ($(objpfx)bench-%.c): Include code from a C source
7372 file.
7373
0a1b2ae6
JM
73742013-03-21 Joseph Myers <joseph@codesourcery.com>
7375
7376 [BZ #15287]
7377 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7378 imaginary part 1.0 and real part less than 0.5 specially.
7379 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7380 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7381 * math/libm-test.inc (cacos_test): Add more tests.
7382 (casin_test): Likewise.
7383 (casinh_test): Likewise.
7384 * sysdeps/i386/fpu/libm-test-ulps: Update.
7385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7386
b33d4ce4
SP
73872013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7388
7389 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7390 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7391
bef0b507
JM
73922013-03-20 Joseph Myers <joseph@codesourcery.com>
7393
7394 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7395 * config.make.in (config-cflags-sse4): Remove variable.
7396 (config-cflags-avx): Likewise.
7397 (config-cflags-sse2avx): Likewise.
7398 (config-cflags-novzeroupper): Likewise.
7399 (config-asflags-i686): Likewise.
7400 (have-mfma4): Likewise.
7401 (have-as-vis3): Likewise.
7402 (MIG): Likewise.
7403 * configure.in (MIG): Do not AC_SUBST.
7404 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7405 (libc_cv_cc_sse4): Do not AC_SUBST.
7406 (libc_cv_cc_avx): Likewise.
7407 (libc_cv_cc_sse2avx): Likewise.
7408 (libc_cv_cc_novzeroupper): Likewise.
7409 (libc_cv_cc_fma4): Likewise.
7410 (libc_cv_as_i686): Likewise.
7411 (libc_cv_sparc_as_vis3): Likewise.
7412 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7413 LIBC_CONFIG_VAR.
7414 (config-asflags-i686): Likewise.
7415 (config-cflags-avx): Likewise.
7416 (config-cflags-sse2avx): Likewise.
7417 (have-mfma4): Likewise.
7418 (config-cflags-novzeroupper): Likewise.
7419 * sysdeps/mach/configure.in (MIG): Likewise.
7420 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7421 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7422 LIBC_CONFIG_VAR.
7423 (config-cflags-avx): Likewise.
7424 (config-cflags-sse2avx): Likewise.
7425 (have-mfma4): Likewise.
7426 (config-cflags-novzeroupper): Likewise.
7427 * configure: Regenerated.
7428 * sysdeps/i386/configure: Likewise.
7429 * sysdeps/mach/configure: Likewise.
7430 * sysdeps/sparc/configure: Likewise.
7431 * sysdeps/x86_64/configure: Likewise.
7432
912cc4b3
RM
74332013-03-20 Roland McGrath <roland@hack.frob.com>
7434
7435 [BZ #14812]
7436 * locale/programs/localedef.c (options): Put N_ translation marker
7437 on argument names, not just descriptions.
7438
04eed2b0
MS
74392013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7440
7441 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7442
a065ceff
OB
74432013-03-20 Ondřej Bílka <neleai@seznam.cz>
7444
9bb2a810 7445 [BZ #14176]
a065ceff
OB
7446 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7447
a600e5ce
RM
74482013-03-19 Roland McGrath <roland@hack.frob.com>
7449
7450 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7451 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7452 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7453 [!BEFORE_ABORT] (before_abort): New function.
7454 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7455 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7456 (writev_for_fatal): New function.
7457 (WRITEV_FOR_FATAL): New macro; call that.
7458 (backtrace_and_maps): New function.
7459 (BEFORE_ABORT): New macro; call that.
7460 (struct str_list): Type removed.
7461 (__libc_message, __libc_fatal): Functions removed.
7462 Include <sysdeps/posix/libc_fatal.c> instead.
7463
6b18bea6
JM
74642013-03-19 Joseph Myers <joseph@codesourcery.com>
7465
7466 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7467 constants.
7468 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7469 double constants.
7470
aaa8cb4b
AS
74712013-03-19 Andreas Schwab <schwab@suse.de>
7472
44673770
AS
7473 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7474 * sysdeps/gnu/configure: Regenerate.
7475
aaa8cb4b
AS
7476 * configure.in: Substitute libc_cv_rtlddir.
7477 * configure: Regenerate.
7478 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7479 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7480 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7481 * elf/Makefile (install-others, CFLAGS-interp.c)
7482 (ldso_install, common-ldd-rewrite): Likewise.
7483 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7484 $(inst_slibdir)/$(rtld-installed-name).
7485 * scripts/rellns-sh: Add -p option.
7486 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7487 for source.
7488
d3cfc668
SP
74892013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7490
7491 * manual/nptl.texi: Renamed to ...
7492 * manual/threads.texi: ... this.
7493 * manual/Makefile (chapters): Update.
7494
0e2b9cdd
RM
74952013-03-18 Roland McGrath <roland@hack.frob.com>
7496
7497 [BZ #14812]
7498 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7499 on argument names, not just descriptions.
0e2b9cdd
RM
7500 * malloc/memusagestat.c (options): Likewise.
7501 * nss/getent.c (options): Likewise.
63270c24
RM
7502
75032013-03-18 Benno Schulenberg <bensberg@justemail.net>
7504
7505 [BZ #14812]
7506 * iconv/iconv_prog.c (options): Put N_ translation marker
7507 on argument names, not just descriptions.
7508 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7509
b2e1393c
OB
75102013-03-18 Ondrej Bilka <neleai@seznam.cz>
7511
7512 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7513 implementation which is faster on all x86_64 architectures.
7514 Tested on AMD, Intel Nehalem, SNB, IVB.
7515 * sysdeps/x86_64/strnlen.S: Likewise.
7516
7517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7518 Remove all multiarch strlen and strnlen versions.
7519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7520 Remove strlen and strnlen related parts.
7521
7522 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7523 Inline strlen part.
7524 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7525
7526 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7527 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7528 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7529 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7530 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7531 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7532
ec4ff04d
CD
75332013-03-17 Carlos O'Donell <carlos@redhat.com>
7534
7535 * manual/memory.texi (Malloc Tunable Parameters):
7536 Sort parameters alphabetically. Add comments for missing entries.
7537
cd18e90a
DM
75382013-03-17 David S. Miller <davem@davemloft.net>
7539
7540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7541
2a185d32
JM
75422013-03-16 Joseph Myers <joseph@codesourcery.com>
7543
d2f9799e
JM
7544 [BZ #15283]
7545 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7546 for arguments at most half maximum finite value.
7547 * math/libm-test.inc (j0_test): Add more tests.
7548 (j1_test): Likewise.
7549 (y0_test): Likewise.
7550 (y1_test): Likewise.
7551 * sysdeps/i386/fpu/libm-test-ulps: Update.
7552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7553
2a185d32
JM
7554 [BZ #14155]
7555 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7556 1 / x and functions P and Q for arguments above 0x1p256L.
7557 (__ieee754_y0l): Likewise.
7558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7559 (__ieee754_y1l): Likewise.
7560 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7561 (j1_test): Likewise.
7562 (y0_test): Likewise.
7563 (y1_test): Likewise.
7564
6cbec759
TS
75652013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7566
7567 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7568 variable.
7569
bc16e260
RM
75702013-03-15 Roland McGrath <roland@hack.frob.com>
7571
aefc9b8c
RM
7572 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7573 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7574 zero since it's initialized to EXEC_PAGESIZE.
7575
bc16e260
RM
7576 * sysdeps/unix/sysv/linux/ldsodefs.h
7577 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7578 * sysdeps/generic/ldsodefs.h: ... here.
7579
a57da955
TS
75802013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7581
af00a34d
TS
7582 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7583
495ded2c
TS
7584 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7585 math/test-snan.c.
7586 * math/test-snan.c: Renamed from
7587 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7588 * math/Makefile (tests): Add test-snan.
7589 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7590 test-powerpc-snan.
7591
777b0332
TS
7592 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7593 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7594 functions.
7595 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7596 __builtin_nan family of functions.
7597 * math/libm-test.inc (initialize): Initialize qnan_value with
7598 __builtin_nan family of functions.
7599 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7600 Remove variables.
7601 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7602 Remove functions.
7603 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7604 storage class. Initialize qNaN_var and sNaN_var with
7605 __builtin_nan and __builtin_nans families of functions,
7606 respectively.
7607
64d063b8
TS
7608 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7609 (sqrt_test): Remove duplicate test with qNaN input.
7610 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7611 (round_test, signbit_test, significand_test): Note missing +/-Inf
7612 as well as qNaN tests.
7613
67e971f1
TS
7614 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7615 qNaN_var. Fix a few strings, too.
7616 * math/libm-test.inc (nan_value): Rename to qnan_value.
7617 * math/gen-libm-test.pl (%beautify): Adjust to that.
7618 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7619 * math/test-misc.c (main): Likewise.
7620 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7621 to __qnan_bytes, and __qnan_union, respectively.
7622 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7623 Likewise.
7624 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7625 and lqnanval, respectively.
7626 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7627 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7628 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7629 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7630
64487e12
TS
7631 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7632 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7633 doubles.
7634
e015e27b
TS
7635 * math/test-misc.c (main): Fix copy'n'pastos.
7636 * misc/tst-efgcvt.c (special): Likewise.
7637
a57da955
TS
7638 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7639 Remove declarations.
7640
1e380345
SP
76412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7642
7643 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7644 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7645 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7646 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7647
ef26eece
AZ
76482013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7649
7650 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7651 macro to return vdso values correctly in IFUNC implementations.
7652 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7653 Optimization by using IFUNC.
7654
8cfdb7e0
SP
76552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7656 Richard Henderson <rth@redhat.com>
7657 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7658
7659 * Makefile.in (bench): New target.
7660 * NEWS: Mention the benchmark framework.
7661 * Rules (bench): Likewise.
7662 (binaries-bench): Generate binaries for functions to
7663 benchmark.
7664 * benchtests/Makefile: New makefile for benchmark tests.
7665 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7666 programs.
7667 * benchtests/exp-inputs: New input file for EXP function.
7668 * benchtests/pow-inputs: New input file for POW function.
7669 * scripts/bench.pl: New script to generate source files for
7670 benchmark programs.
7671
bcda9880
SP
76722013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7673
d22ca8cd
SP
7674 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7675 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7676 computations on mantissa. Use macros for rounding and
7677 division.
7678 (denorm): Likewise.
7679 (__dbl_mp): Likewise.
7680 (add_magnitudes): Likewise.
7681 (sub_magnitudes): Likewise.
7682 (__mul): Likewise.
7683 (__sqr): Likewise.
7684 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7685 powers of two in terms of TWOPOW macro.
7686 (mp_no): Make type of mantissa as MANTISSA_T.
7687 [!RADIXI]: Define RADIXI.
7688 [!TWO52]: Define TWO52.
7689 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7690
bcda9880
SP
7691 * manual/nptl.texi (cindex): Modify threads to pthreads.
7692
06d5adfb
JM
76932013-03-15 Joseph Myers <joseph@codesourcery.com>
7694
7695 * sysdeps/x86_64/preconfigure: Regenerated.
7696
41c7328e
JM
76972013-03-14 Joseph Myers <joseph@codesourcery.com>
7698
7699 [BZ #14155]
7700 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7701 0x1p28 and above.
7702 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7703 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7704 0x1p28 and above.
7705 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7706 * math/libm-test.inc (j0_test): Do not allow one spurious
7707 underflow exception.
7708 (y1_test): Likewise.
7709
e25cfa60
SP
77102013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7711
0409959c
SP
7712 * manual/Makefile (chapters): Add nptl.
7713 * manual/debug.texi (Debugging Support): Add link to Threads
7714 chapter.
7715 * manual/nptl.texi: New file.
7716
e25cfa60
SP
7717 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7718
58a1335e
PB
77192013-03-14 Petr Baudis <pasky@ucw.cz>
7720
7721 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7722 for non-NULL pointer before the memory validity test. Pointed
7723 out by Holger Brunck <holger.brunck@keymile.com>.
7724
9dc7c64f
AS
77252013-03-13 Andreas Schwab <schwab@suse.de>
7726
7727 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7728 instead of .os.
7729
54206aa6
JM
77302013-03-13 Joseph Myers <joseph@codesourcery.com>
7731
7732 * timezone/zic.c: Update from tzcode 2013b.
7733
e98cdb38
CD
77342013-03-12 Carlos O'Donell <carlos@redhat.com>
7735
7736 * manual/install.texi (Configuring and compiling):
7737 Mention i686 and i586.
7738 * INSTALL: Regenerate.
7739
9967e003
RM
77402013-03-12 Roland McGrath <roland@hack.frob.com>
7741
7742 * sysdeps/init_array/elf-init.c: New file.
7743 * csu/elf-init.c
7744 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7745 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7746
7747 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7748 __gmon_start__ as global, but as static with a .preinit_array pointer.
7749 * sysdeps/init_array/gmon-start.c: New file. Use that.
7750 * sysdeps/init_array/crti.S: New file, empty except for comments.
7751 * sysdeps/init_array/crtn.S: Likewise.
7752
e6b5a293 77532013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7754
7755 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7756 definining bcopy.
80f844c9
OB
7757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7758 Remove Prefer_SSE_for_memop.
7759 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7760 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7761 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7763 memset-x86-64.
80f844c9 7764 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7765 Remove bzero, memset ifunc support.
80f844c9
OB
7766 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7767 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7768 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7769 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7770
fb6b0fcb
AS
77712013-03-11 Andreas Schwab <schwab@suse.de>
7772
7773 [BZ #15234]
7774 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7775 by SHLIB_COMPAT.
7776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7777 (GLIBC_2.16): Remove pthread_atfork.
7778
3e6bd4b1
PP
77792013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7780
7781 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7782 (ptestcases.h): Likewise.
7783
222d7f00
RM
77842013-03-08 Roland McGrath <roland@hack.frob.com>
7785
7786 * Makeconfig ($(common-objpfx)config.status): Depend on
7787 sysdeps/*/preconfigure{,.in} too.
7788
1ba4f030
JM
77892013-03-08 Joseph Myers <joseph@codesourcery.com>
7790
a222d91a
JM
7791 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7792 (__free_hook): Use void * instead of __malloc_ptr_t.
7793 (__malloc_hook): Likewise.
7794 (__realloc_hook): Likewise.
7795 (__memalign_hook): Likewise.
7796 (__after_morecore_hook): Likewise.
7797 * malloc/arena.c (save_malloc_hook): Likewise.
7798 (save_free_hook): Likewise.
7799 * malloc/hooks.c (malloc_hook_ini): Likewise.
7800 (realloc_hook_ini): Likewise.
7801 (memalign_hook_ini): Likewise.
7802 * malloc/malloc.c (malloc_hook_ini): Likewise.
7803 (realloc_hook_ini): Likewise.
7804 (memalign_hook_ini): Likewise.
7805 (__free_hook): Likewise.
7806 (__malloc_hook): Likewise.
7807 (__realloc_hook): Likewise.
7808 (__memalign_hook): Likewise.
7809 (__libc_malloc): Likewise.
7810 (__libc_free): Likewise.
7811 (__libc_realloc): Likewise.
7812 (__libc_memalign): Likewise.
7813 (__libc_valloc): Likewise.
7814 (__libc_pvalloc): Likewise.
7815 (__libc_calloc): Likewise.
7816 (__posix_memalign): Likewise.
7817 * malloc/morecore.c (__sbrk): Likewise.
7818 (__default_morecore): Likewise.
7819
5cc45e10
JM
7820 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7821
dd54b864
JM
7822 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7823 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7824 __malloc_ptrdiff_t.
7825
1ba4f030
JM
7826 * malloc/malloc.h (__malloc_size_t): Remove macro.
7827 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7828 __malloc_size_t.
7829 (old_memalign_hook): Likewise.
7830 (old_realloc_hook): Likewise.
7831 (struct hdr): Likewise.
7832 (flood): Likewise.
7833 (mallochook): Likewise.
7834 (memalignhook): Likewise.
7835 (reallochook): Likewise.
7836 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7837 (tr_old_realloc_hook): Likewise.
7838 (tr_old_memalign_hook): Likewise.
7839 (tr_mallochook): Likewise.
7840 (tr_reallochook): Likewise.
7841 (tr_memalignhook): Likewise.
7842
edf66e57
AZ
78432013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7844
7845 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7846 default_ldbl_pack and using as default implementation.
7847 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7848 implementation.
7849 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7850 redundant definition.
7851 (ldbl_insert_mantissa): Likewise.
7852 (ldbl_canonicalize): Likewise.
7853 (ldbl_nearbyint): Likewise.
7854 (ldbl_pack): Rename to ldbl_pack_ppc.
7855 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7856 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7857 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7858
6d9145d8
SP
78592013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7860
7861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7862 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7863 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7864 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7866 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7867 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7868 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7869
4dd4e157
AJ
78702013-03-07 Andreas Jaeger <aj@suse.de>
7871
7872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7873 bits/mman-linux.h.
7874
adbb8027
SP
78752013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7876
ce544b5b
SP
7877 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7878 Include mpa.h and declare __MPEXP.
7879 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7880 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7881 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7882 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7883 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7884 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7885 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7886
4cc149fd
SP
7887 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7888 (__slowpow): Use long double EXPL and LOGL functions to
7889 compute POW.
7890 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7891 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7892 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7894 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7895 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7896
e6ebd4a7
SP
7897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7898 intermediate variable to calculate exponent.
7899 (__sqr): Likewise.
7900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7901 Likewise.
7902 (__sqr): Likewise.
7903
82a9811d
SP
7904 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7905 [!NO__SQR]: Define __sqr.
7906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7907 and NO__SQR. Remove all code except __mul and __sqr. Include
7908 sysdeps/ieee754/dbl-64/mpa.c.
7909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7910
adbb8027
SP
7911 [BZ #12723]
7912 * posix/Makefile (tests): Add tst-pathconf.
7913 * posix/tst-pathconf.c: New test case.
7914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7915 _PC_PIPE_BUF.
7916 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7917
39120df9
PF
79182013-03-06 Patsy Franklin <pfrankli@redhat.com>
7919
7920 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7921
67525cb8
AJ
79222013-03-06 Andreas Jaeger <aj@suse.de>
7923
664a9ce4
AJ
7924 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7925 definition via __MAP_ANONYMOUS.
7926
8e39047d
AJ
7927 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7928 it's not part of Linux headers.
7929
67525cb8
AJ
7930 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7931 (MAP_HUGE_MASK): Define.
7932
7933 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7934 Define.
7935 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7936 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7937 Define.
7938 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7939 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7940 Define.
7941 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7942 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7943 Define.
7944 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7945
7946 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7947 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7948 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7949 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7950 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7951 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7952
7953 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7954 Handle f2fs.
7955
7956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7957 Handle f2fs and efivarfs.
7958
7959 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7960 f2fs.
7961
7962 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7963 (EFIVARFS_MAGIC): Add.
7964 (F2FS_LINK_MAX): Add.
7965
e1b42695
PP
79662013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7967
7968 * stdio-common/vfprintf.c: Replace __builtin_expect with
7969 __glibc_unlikely.
7970
2d67d91a
JM
79712013-03-06 Joseph Myers <joseph@codesourcery.com>
7972
7973 [BZ #13550]
7974 * sysdeps/generic/bp-sym.h: Remove file.
7975 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7976 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7977 <bp-sym.h> and <bp-asm.h>.
7978 (__longjmp): Don't use BP_SYM.
7979 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7980 and <bp-asm.h>.
7981 (memcpy): Don't use BP_SYM.
7982 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7983 <bp-sym.h> and <bp-asm.h>.
7984 (memcpy): Don't use BP_SYM.
7985 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7986 <bp-asm.h>.
7987 (memcpy): Don't use BP_SYM.
7988 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7989 <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/power4/memcmp.S: Don't include
7997 <bp-sym.h> and <bp-asm.h>.
7998 (memcmp): Don't use BP_SYM. Remove comment about bounded
7999 pointers.
8000 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8001 <bp-sym.h> and <bp-asm.h>.
8002 (memcpy): Don't use BP_SYM.
8003 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8004 <bp-sym.h> and <bp-asm.h>.
8005 (memset): Don't use BP_SYM.
8006 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8007 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8008 (__bzero): Don't use BP_SYM.
8009 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8010 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8011 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8012 <bp-sym.h> and <bp-asm.h>.
8013 (strncmp): Don't use BP_SYM. Remove comment about bounded
8014 pointers.
8015 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8016 <bp-sym.h> and <bp-asm.h>.
8017 (memcpy): Don't use BP_SYM.
8018 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8019 <bp-sym.h> and <bp-asm.h>.
8020 (memset): Don't use BP_SYM.
8021 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8022 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8023 (__bzero): Don't use BP_SYM.
8024 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8025 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8027 <bp-sym.h> and <bp-asm.h>.
8028 (__memchr): Don't use BP_SYM.
8029 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8030 <bp-sym.h> and <bp-asm.h>.
8031 (memcmp): Don't use BP_SYM. Remove comment about bounded
8032 pointers.
8033 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8034 <bp-sym.h> and <bp-asm.h>.
8035 (memcpy): Don't use BP_SYM.
8036 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8037 <bp-sym.h> and <bp-asm.h>.
8038 (__mempcpy): Don't use BP_SYM.
8039 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8040 <bp-sym.h> and <bp-asm.h>.
8041 (__memrchr): Don't use BP_SYM.
8042 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8043 <bp-sym.h> and <bp-asm.h>.
8044 (memset): Don't use BP_SYM.
8045 (__bzero): Likewise.
8046 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8047 <bp-sym.h> and <bp-asm.h>.
8048 (__rawmemchr): Don't use BP_SYM.
8049 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8050 <bp-sym.h> and <bp-asm.h>.
8051 (__STRCMP): Don't use BP_SYM.
8052 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8053 <bp-sym.h> and <bp-asm.h>.
8054 (strchr): Don't use BP_SYM.
8055 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8056 <bp-sym.h> and <bp-asm.h>.
8057 (__strchrnul): Don't use BP_SYM.
8058 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8059 <bp-sym.h> and <bp-asm.h>.
8060 (strlen): Don't use BP_SYM.
8061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8062 <bp-sym.h> and <bp-asm.h>.
8063 (strncmp): Don't use BP_SYM. Remove comment about bounded
8064 pointers.
8065 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8066 <bp-sym.h> and <bp-asm.h>.
8067 (__strnlen): Don't use BP_SYM.
8068 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8069 <bp-sym.h> and <bp-asm.h>.
8070 (__GI__setjmp): Don't use BP_SYM.
8071 (_setjmp): Likewise.
8072 (__sigsetjmp): Likewise.
8073 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8074 (L(start_addresses)): Don't use BP_SYM.
8075 (_start): Likewise.
8076 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8077 <bp-asm.h>.
8078 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8079 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8080 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8081 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8082 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8083 <bp-asm.h>.
8084 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8085 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8086 about bounded pointers.
8087 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8088 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8089 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8090 <bp-asm.h>.
8091 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8092 about bounded pointers. Remove GKM FIXME comments.
8093 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8094 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8095 <bp-asm.h>.
8096 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8097 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8098 Remove GKM FIXME comments.
8099 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8100 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8101 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8102 <bp-asm.h>.
8103 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8104 about bounded pointers. Remove GKM FIXME comment.
8105 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8106 and <bp-asm.h>.
8107 (strncmp): Don't use BP_SYM. Remove comment about bounded
8108 pointers.
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8110 <bp-sym.h> and <bp-asm.h>.
8111 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8113 <bp-sym.h> and <bp-asm.h>.
8114 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8115 comment.
8116
cdcf361f
PP
81172013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8118
8119 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8120 call free(NULL).
8121
3c4a2b15
DM
81222013-03-05 David S. Miller <davem@davemloft.net>
8123
8124 * po/es.po: Update from translation team.
8125
cdcf361f 81262013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8127
8128 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8129 <bits/mman-linux.h>.
8130 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8131 is fine.
8132 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8133 <bits/mman-linux.h> to end of file.
8134 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8135 is fine.
8136 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8137 <bits/mman-linux.h> to end of file.
8138 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8139 is fine.
8140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8141 <bits/mman-linux.h> to end of file.
8142
8143 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8144 (MCL_CURRENT, MCL_FUTURE): Define here.
8145
5f67c04f
AK
81462013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8147
8a4473cc 8148 [BZ #15232]
5f67c04f
AK
8149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8150 attribute_hidden.
8151 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8152
c3e94a95
AK
81532013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8154
8155 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8156 fourth parameter needed for rt_sigprocmask syscall.
8157 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8158 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8159 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8160 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8161 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8162 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8163
cfb6382a
JM
81642013-03-04 Joseph Myers <joseph@codesourcery.com>
8165
8166 [BZ #13550]
8167 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8168 comment about bounded pointers.
8169 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8170 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8171
539d8e01
AJ
81722013-03-04 Andreas Jaeger <aj@suse.de>
8173
8174 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8175 common definitions.
8176
8177 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8178 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8179 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8182 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8183
2e167a70 81842013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8185
8186 [BZ #15055]
8187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8188 __ieee754_sqrl instead of __sqrl.
8189
68508633
JM
81902013-03-01 Joseph Myers <joseph@codesourcery.com>
8191
8192 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8193 * sysdeps/powerpc/fpu_control.h: ... here.
8194 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8195 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8196 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8197 * sysdeps/powerpc/bits/mathinline.h: ... here.
8198
7775448e
RM
81992013-03-01 Roland McGrath <roland@hack.frob.com>
8200
8201 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8202 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8203 to just [NEED_DL_SYSINFO_DSO].
8204 * elf/dl-support.c: Likewise.
8205 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8206 * elf/rtld.c (dl_main): Likewise.
8207 * elf/setup-vdso.h (setup_vdso): Likewise.
8208 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8209 * sysdeps/unix/sysv/linux/dl-sysdep.c
8210 (_dl_discover_osversion): Likewise.
8211
4e9b5995
CD
82122013-03-01 Carlos O'Donell <carlos@redhat.com>
8213
8214 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8215 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8216
e23872c8
SP
82172013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8218
e5c74c63
SP
8219 * NEWS: Mention libm performance improvements and non-x86 PI
8220 futex support.
8221
e23872c8
SP
8222 * csu/libc-start.c (__pthread_initialize_minimal): Change
8223 function arguments.
8224 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8225
b5510883
JM
82262013-02-28 Joseph Myers <joseph@codesourcery.com>
8227
8228 [BZ #13550]
8229 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8230 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8231 <bp-sym.h> and <bp-asm.h>.
8232 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8233 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8234 and <bp-asm.h>.
8235 (memcpy): Don't use BP_SYM.
8236 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8237 <bp-asm.h>.
8238 (__mpn_add_n): Don't use BP_SYM.
8239 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8240 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8241 and <bp-asm.h>.
8242 (__mpn_addmul_1): Don't use BP_SYM.
8243 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8244 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8245 <bp-sym.h>.
8246 (_setjmp): Don't use BP_SYM.
8247 (__novmx_setjmp): Likewise.
8248 (__GI__setjmp): Likewise.
8249 (__vmx_setjmp): Likewise.
8250 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8251 <bp-sym.h>.
8252 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8253 (__bzero): Don't use BP_SYM.
8254 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8255 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8256 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8257 <bp-sym.h> and <bp-asm.h>.
8258 (memcpy): Don't use BP_SYM.
8259 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8260 <bp-sym.h> and <bp-asm.h>.
8261 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8262 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8263 <bp-sym.h> and <bp-asm.h>.
8264 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8265 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8266 <bp-asm.h>.
8267 (__mpn_lshift): Don't use BP_SYM.
8268 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8269 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8270 <bp-asm.h>.
8271 (memset): Don't use BP_SYM.
8272 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8273 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8274 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8275 <bp-asm.h>.
8276 (__mpn_mul_1): Don't use BP_SYM.
8277 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8279 <bp-sym.h> and <bp-asm.h>.
8280 (memcmp): Don't use BP_SYM.
8281 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8282 <bp-sym.h> and <bp-asm.h>.
8283 (memcpy): Don't use BP_SYM.
8284 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8285 <bp-sym.h> and <bp-asm.h>.
8286 (memset): Don't use BP_SYM.
8287 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8288 <bp-sym.h> and <bp-asm.h>.
8289 (strncmp): Don't use BP_SYM.
8290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8291 <bp-sym.h> and <bp-asm.h>.
8292 (memcpy): Don't use BP_SYM.
8293 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8294 <bp-sym.h> and <bp-asm.h>.
8295 (memset): Don't use BP_SYM.
8296 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8297 <bp-sym.h> and <bp-asm.h>.
8298 (__memchr): Don't use BP_SYM.
8299 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8300 <bp-sym.h> and <bp-asm.h>.
8301 (memcmp): Don't use BP_SYM.
8302 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8303 <bp-sym.h> and <bp-asm.h>.
8304 (memcpy): Don't use BP_SYM.
8305 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8306 <bp-sym.h> and <bp-asm.h>.
8307 (__mempcpy): Don't use BP_SYM.
8308 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8309 <bp-sym.h> and <bp-asm.h>.
8310 (__memrchr): Don't use BP_SYM.
8311 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8312 <bp-sym.h> and <bp-asm.h>.
8313 (memset): Don't use BP_SYM.
8314 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8315 <bp-sym.h> and <bp-asm.h>.
8316 (__rawmemchr): Don't use BP_SYM.
8317 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8318 <bp-sym.h> and <bp-asm.h>.
8319 (__STRCMP): Don't use BP_SYM.
8320 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8321 <bp-sym.h> and <bp-asm.h>.
8322 (strchr): Don't use BP_SYM.
8323 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8324 <bp-sym.h> and <bp-asm.h>.
8325 (__strchrnul): Don't use BP_SYM.
8326 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8327 <bp-sym.h> and <bp-asm.h>.
8328 (strlen): Don't use BP_SYM.
8329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8330 <bp-sym.h> and <bp-asm.h>.
8331 (strncmp): Don't use BP_SYM.
8332 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8333 <bp-sym.h> and <bp-asm.h>.
8334 (__strnlen): Don't use BP_SYM.
8335 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8336 <bp-asm.h>.
8337 (__mpn_rshift): Don't use BP_SYM.
8338 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8339 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8340 <bp-sym.h> and <bp-asm.h>.
8341 (__sigsetjmp): Don't use BP_SYM.
8342 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8343 (L(start_addresses)): Don't use BP_SYM.
8344 (_start): Likewise.
8345 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8346 <bp-asm.h>.
8347 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8348 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8349 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8350 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8351 <bp-asm.h>.
8352 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8353 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8354 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8355 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8356 <bp-asm.h>.
8357 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8358 comments.
8359 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8360 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8361 <bp-asm.h>.
8362 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8363 FIXME comments.
8364 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8365 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8366 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8367 <bp-asm.h>.
8368 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8369 comment.
8370 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8371 and <bp-asm.h>.
8372 (strncmp): Don't use BP_SYM,
8373 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8374 <bp-asm.h>.
8375 (__mpn_sub_n): Don't use BP_SYM.
8376 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8377 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8378 and <bp-asm.h>.
8379 (__mpn_submul_1): Don't use BP_SYM.
8380 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8382 <bp-sym.h> and <bp-asm.h>.
8383 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8385 <bp-sym.h> and <bp-asm.h>.
8386 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8387 comment.
8388
8d19fe64
SP
83892013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8390
8391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8392 Use ZK to minimize writes to Z.
8393 (sub_magnitudes): Simplify code a bit.
8394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8395 Use ZK to minimize writes to Z.
8396 (sub_magnitudes): Simplify code a bit.
8397
85bd816a
RM
83982013-02-27 Roland McGrath <roland@hack.frob.com>
8399
8400 * csu/gmon-start.c: Add special exception to license text.
8401
b5977bf2
RH
84022013-02-27 Richard Henderson <rth@redhat.com>
8403
8404 * scripts/config.guess: Update from config.git.
8405 * scripts/config.sub: Likewise.
8406
11d6e2f2
SP
84072013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8408
09c14ed2
SP
8409 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8410
a688864e
SP
8411 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8412
6295157a
SP
8413 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8414
b8de2202
SP
8415 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8416
11d6e2f2
SP
8417 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8418
7e80ddb8
RM
84192013-02-26 Roland McGrath <roland@hack.frob.com>
8420
8421 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8422 [$(build-shared = yes].
7e80ddb8 8423
7da6d9ed
SP
84242013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8425
45f05884
SP
8426 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8427 (__mul): Reduce iterations for calculating mantissa.
8428
2236d359
SP
8429 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8430 MPTWO.
8431 (__mpranred): Likewise.
8432
7da6d9ed
SP
8433 [BZ #15160]
8434 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8435 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8436
b7688c42
PE
84372013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8438
8439 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8440 Define __attribute__.
8441
53a5c423
SP
84422013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8443
8444 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8445 unused.
8446 * posix/regex_internal.h (__attribute): Remove.
8447 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8448 (re_string_context_at): Likewise.
8449 (bitset_not): Use __attribute__ and mark function as possibly
8450 unused.
8451 (bitset_merge): Likewise.
8452 (bitset_mask): Likewise.
8453 (re_string_char_size_at): Likewise.
8454 (re_string_wchar_at): Likewise.
8455 (re_string_elem_size_at): Likewise.
8456
60f5a8b5
SP
84572013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8458
2a983a2e
SP
8459 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8460 code.
8461 (cc32): Likewise.
8462
e69804d1
SP
8463 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8464 (__acr): Likewise.
8465 (__cpy): Likewise.
8466 (norm): Likewise.
8467 (denorm): Likewise.
8468 (__dbl_mp): Likewise.
8469 (add_magnitudes): Likewise.
8470 (sub_magnitudes): Likewise.
8471 (__mul): Likewise.
8472 (__inv): Likewise.
8473
2f22a1e8
SP
8474 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8475 style.
8476
8930ddc7
SP
8477 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8478 style.
8479
dc60cb11
SP
8480 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8481 code.
8482
60f5a8b5
SP
8483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8484 up changes with default code.
8485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8486 Likewise.
8487
b4d1fd33
AM
84882013-02-24 Allan McRae <allan@archlinux.org>
8489
faf6f8bc
AM
8490 * manual/socket.texi (The Internet Namespace): Order menu items
8491 to match that in the file.
8492
b4d1fd33
AM
8493 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8494 node listing of the info page menu.
8495
2366713d
JM
84962013-02-21 Joseph Myers <joseph@codesourcery.com>
8497
8498 [BZ #13550]
8499 * sysdeps/i386/bp-asm.h: Remove file.
8500 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8501 (PARMS): Do not use macros from bp-asm.h.
8502 (S1): Likewise.
8503 (S2): Likewise.
8504 (SIZE): Likewise.
8505 (__mpn_add_n): Do not use BP_SYM
8506 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8507 "bp-asm.h".
8508 (PARMS): Do not use macros from bp-asm.h.
8509 (S1): Likewise.
8510 (SIZE): Likewise.
8511 (__mpn_addmul_1): Do not use BP_SYM
8512 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8513 "bp-asm.h".
8514 (PARMS): Do not use macros from bp-asm.h.
8515 (SIGMSK): Likewise.
8516 (_setjmp): Likewise. Do not use BP_SYM.
8517 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8518 "bp-asm.h".
8519 (PARMS): Do not use macros from bp-asm.h.
8520 (SIGMSK): Likewise.
8521 (setjmp): Likewise. Do not use BP_SYM.
8522 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8523 "bp-asm.h".
8524 (PARMS): Do not use macros from bp-asm.h.
8525 (__frexp): Do not use BP_SYM.
8526 (frexp): Likewise.
8527 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8528 "bp-asm.h".
8529 (PARMS): Do not use macros from bp-asm.h.
8530 (__frexpf): Do not use BP_SYM.
8531 (frexpf): Likewise.
8532 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8533 "bp-asm.h".
8534 (PARMS): Do not use macros from bp-asm.h.
8535 (__frexpl): Do not use BP_SYM.
8536 (frexpl): Likewise.
8537 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8538 "bp-asm.h".
8539 (PARMS): Do not use macros from bp-asm.h.
8540 (__remquo): Do not use BP_SYM.
8541 (remquo): Likewise.
8542 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8543 "bp-asm.h".
8544 (PARMS): Do not use macros from bp-asm.h.
8545 (__remquof): Do not use BP_SYM.
8546 (remquof): Likewise.
8547 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8548 "bp-asm.h".
8549 (PARMS): Do not use macros from bp-asm.h.
8550 (__remquol): Do not use BP_SYM.
8551 (remquol): Likewise.
8552 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8553 "bp-asm.h".
8554 (PARMS): Do not use macros from bp-asm.h.
8555 (DEST): Likewise.
8556 (SRC): Likewise.
8557 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8558 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8559 "bp-asm.h".
8560 (PARMS): Do not use macros from bp-asm.h.
8561 (strlen): Do not use BP_SYM.
8562 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8563 "bp-asm.h".
8564 (PARMS): Do not use macros from bp-asm.h.
8565 (S1): Likewise.
8566 (S2): Likewise.
8567 (SIZE): Likewise.
8568 (__mpn_add_n): Do not use BP_SYM.
8569 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8570 "bp-asm.h".
8571 (PARMS): Do not use macros from bp-asm.h.
8572 (S1): Likewise.
8573 (SIZE): Likewise.
8574 (__mpn_addmul_1): Do not use BP_SYM.
8575 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8576 weak_alias.
8577 (bzero): Likewise.
8578 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8579 "bp-asm.h".
8580 (PARMS): Do not use macros from bp-asm.h.
8581 (S): Likewise.
8582 (SIZE): Likewise.
8583 (__mpn_lshift): Do not use BP_SYM.
8584 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8585 "bp-asm.h".
8586 (PARMS): Do not use macros from bp-asm.h.
8587 (DEST): Likewise.
8588 (SRC): Likewise.
8589 (LEN): Likewise.
8590 (memcpy): Likewise. Do not use BP_SYM.
8591 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8592 libc_hidden_def and weak_alias.
8593 (mempcpy): Do not use BP_SYM in weak_alias.
8594 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8595 "bp-asm.h".
8596 (PARMS): Do not use macros from bp-asm.h.
8597 (DEST): Likewise.
8598 (LEN): Likewise.
8599 [!BZERO_P] (CHR): Likewise.
8600 (memset): Likewise. Do not use BP_SYM.
8601 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8602 "bp-asm.h".
8603 (PARMS): Do not use macros from bp-asm.h.
8604 (S1): Likewise.
8605 (SIZE): Likewise.
8606 (__mpn_mul_1): Do not use BP_SYM.
8607 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8608 "bp-asm.h".
8609 (PARMS): Do not use macros from bp-asm.h.
8610 (S): Likewise.
8611 (SIZE): Likewise.
8612 (__mpn_rshift): Do not use BP_SYM.
8613 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8614 "bp-asm.h".
8615 (PARMS): Do not use macros from bp-asm.h.
8616 (STR): Likewise.
8617 (CHR): Likewise.
8618 (strchr): Likewise. Do not use BP_SYM.
8619 (index): Do not use BP_SYM in weak_alias.
8620 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8621 "bp-asm.h".
8622 (PARMS): Do not use macros from bp-asm.h.
8623 (DEST): Likewise.
8624 (SRC): Likewise.
8625 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8626 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8627 "bp-asm.h".
8628 (PARMS): Do not use macros from bp-asm.h.
8629 (strlen): Do not use BP_SYM.
8630 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8631 "bp-asm.h".
8632 (PARMS): Do not use macros from bp-asm.h.
8633 (S1): Likewise.
8634 (S2): Likewise.
8635 (SIZE): Likewise.
8636 (__mpn_sub_n): Do not use BP_SYM.
8637 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8638 "bp-asm.h".
8639 (PARMS): Do not use macros from bp-asm.h.
8640 (S1): Likewise.
8641 (SIZE): Likewise.
8642 (__mpn_submul_1): Do not use BP_SYM.
8643 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8644 "bp-asm.h".
8645 (PARMS): Do not use macros from bp-asm.h.
8646 (S1): Likewise.
8647 (S2): Likewise.
8648 (SIZE): Likewise.
8649 (__mpn_add_n): Do not use BP_SYM.
8650 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8651 weak_alias.
8652 (bzero): Likewise.
8653 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8654 "bp-asm.h".
8655 (PARMS): Do not use macros from bp-asm.h.
8656 (BLK2): Likewise.
8657 (LEN): Likewise.
8658 (memcmp): Do not use BP_SYM.
8659 (bcmp): Do not use BP_SYM in weak_alias.
8660 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8661 "bp-asm.h".
8662 (PARMS): Do not use macros from bp-asm.h.
8663 (DEST): Likewise.
8664 (SRC): Likewise.
8665 (LEN): Likewise.
8666 (memcpy): Likewise. Do not use BP_SYM.
8667 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8668 "bp-asm.h".
8669 (PARMS): Do not use macros from bp-asm.h.
8670 (DEST): Likewise.
8671 (SRC): Likewise.
8672 (LEN): Likewise.
8673 (memmove): Likewise. Do not use BP_SYM.
8674 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8675 "bp-asm.h".
8676 (PARMS): Do not use macros from bp-asm.h.
8677 (DEST): Likewise.
8678 (SRC): Likewise.
8679 (LEN): Likewise.
8680 (__mempcpy): Likewise. Do not use BP_SYM.
8681 (mempcpy): Do not use BP_SYM in weak_alias.
8682 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8683 "bp-asm.h".
8684 (PARMS): Do not use macros from bp-asm.h.
8685 (DEST): Likewise.
8686 (LEN): Likewise.
8687 [!BZERO_P] (CHR): Likewise.
8688 (memset): Likewise. Do not use BP_SYM.
8689 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8690 "bp-asm.h".
8691 (PARMS): Do not use macros from bp-asm.h.
8692 (STR2): Likewise.
8693 (strcmp): Do not use BP_SYM.
8694 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8695 "bp-asm.h".
8696 (PARMS): Do not use macros from bp-asm.h.
8697 (STR): Likewise.
8698 (DELIM): Likewise.
8699 [USE_AS_STRTOK_R] (SAVE): Likewise.
8700 (FUNCTION): Likewise. Do not use BP_SYM.
8701 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8702 aliases.
8703 (strtok_r): Likewise.
8704 (__GI___strtok_r): Likewise.
8705 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8706 (PARMS): Do not use macros from bp-asm.h.
8707 (S): Likewise.
8708 (SIZE): Likewise.
8709 (__mpn_lshift): Do not use BP_SYM.
8710 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8711 (PARMS): Do not use macros from bp-asm.h.
8712 (STR): Likewise.
8713 (CHR): Likewise.
8714 (__memchr): Do not use BP_SYM.
8715 (memchr): Do not use BP_SYM in weak_alias.
8716 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8717 (PARMS): Do not use macros from bp-asm.h.
8718 (BLK2): Likewise.
8719 (LEN): Likewise.
8720 (memcmp): Do not use BP_SYM.
8721 (bcmp): Do not use BP_SYM in weak_alias.
8722 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8723 (PARMS): Do not use macros from bp-asm.h.
8724 (S1): Likewise.
8725 (SIZE): Likewise.
8726 (__mpn_mul_1): Do not use BP_SYM.
8727 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8728 "bp-asm.h".
8729 (PARMS): Do not use macros from bp-asm.h.
8730 (STR): Likewise.
8731 (CHR): Likewise.
8732 (__rawmemchr): Do not use BP_SYM.
8733 (rawmemchr): Do not use BP_SYM in weak_alias.
8734 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8735 (PARMS): Do not use macros from bp-asm.h.
8736 (S): Likewise.
8737 (SIZE): Likewise.
8738 (__mpn_rshift): Do not use BP_SYM.
8739 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8740 (PARMS): Do not use macros from bp-asm.h.
8741 (SIGMSK): Likewise.
8742 (__sigsetjmp): Likewise. Do not use BP_SYM.
8743 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8744 (_start): Do not use BP_SYM.
8745 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8746 (PARMS): Do not use macros from bp-asm.h.
8747 (DEST): Likewise.
8748 (SRC): Likewise.
8749 (__stpcpy): Likewise. Do not use BP_SYM.
8750 (stpcpy): Do not use BP_SYM in weak_alias.
8751 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8752 "bp-asm.h".
8753 (PARMS): Do not use macros from bp-asm.h.
8754 (DEST): Likewise.
8755 (SRC): Likewise.
8756 (LEN): Likewise.
8757 (__stpncpy): Likewise. Do not use BP_SYM.
8758 (stpncpy): Do not use BP_SYM in weak_alias.
8759 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8760 (PARMS): Do not use macros from bp-asm.h.
8761 (STR): Likewise.
8762 (CHR): Likewise.
8763 (strchr): Likewise. Do not use BP_SYM.
8764 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8765 "bp-asm.h".
8766 (PARMS): Do not use macros from bp-asm.h.
8767 (STR): Likewise.
8768 (CHR): Likewise.
8769 (__strchrnul): Likewise. Do not use BP_SYM.
8770 (strchrnul): Do not use BP_SYM in weak_alias.
8771 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8772 "bp-asm.h".
8773 (PARMS): Do not use macros from bp-asm.h.
8774 (STOP): Likewise.
8775 (strcspn): Do not use BP_SYM.
8776 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8777 "bp-asm.h".
8778 (PARMS): Do not use macros from bp-asm.h.
8779 (STR): Likewise.
8780 (STOP): Likewise.
8781 (strpbrk): Likewise. Do not use BP_SYM.
8782 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8783 "bp-asm.h".
8784 (PARMS): Do not use macros from bp-asm.h.
8785 (STR): Likewise.
8786 (CHR): Likewise.
8787 (strrchr): Likewise. Do not use BP_SYM.
8788 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8789 (PARMS): Do not use macros from bp-asm.h.
8790 (SKIP): Likewise.
8791 (strspn): Do not use BP_SYM.
8792 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8793 (PARMS): Do not use macros from bp-asm.h.
8794 (STR): Likewise.
8795 (DELIM): Likewise.
8796 (SAVE): Likewise.
8797 (FUNCTION): Likewise. Do not use BP_SYM.
8798 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8799 aliases.
8800 (strtok_r): Likewise.
8801 (__GI___strtok_r): Likewise.
8802 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8803 (PARMS): Do not use macros from bp-asm.h.
8804 (S1): Likewise.
8805 (S2): Likewise.
8806 (SIZE): Likewise.
8807 (__mpn_sub_n): Do not use BP_SYM.
8808 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8809 "bp-asm.h".
8810 (PARMS): Do not use macros from bp-asm.h.
8811 (S1): Likewise.
8812 (SIZE): Likewise.
8813 (__mpn_submul_1): Do not use BP_SYM.
8814 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8815 <bp-sym.h>.
8816 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8817 and <bp-asm.h>.
8818 (PARMS): Do not use macros from bp-asm.h.
8819 (FLAGS): Likewise.
8820 (PTID): Likewise.
8821 (TLS): Likewise.
8822 (CTID): Likewise.
8823 (__clone): Do not use BP_SYM.
8824 (clone): Do not use BP_SYM in weak_alias.
8825 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8826 and <bp-asm.h>.
8827 (PARMS): Do not use macros from bp-asm.h.
8828 (LEN): Likewise.
8829 (__mmap64): Do not use BP_SYM.
8830 (mmap64): Do not use BP_SYM in weak_alias.
8831 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8832 <bp-sym.h> and <bp-asm.h>.
8833 (PARMS): Do not use macros from bp-asm.h.
8834 (__posix_fadvise64_l64): Do not use BP_SYM.
8835 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8836 (PARMS): Do not use macros from bp-asm.h.
8837 (NSOPS): Likewise.
8838 (semtimedop): Do not use BP_SYM.
8839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8840 and <bp-asm.h>.
8841
582a3cff
AM
88422013-02-21 Allan McRae <allan@archlinux.org>
8843
8844 * manual/message.texi (Charset conversion in gettext):
8845 Move @end statement to beginning of line.
8846
bab8a695
SP
88472013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8848
80945231
SP
8849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8850 static.
8851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8852 Likewise.
8853
bab8a695
SP
8854 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8855 (denorm): Likewise.
8856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8858
e21d7aa7
AK
88592013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8860
8861 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8862 tail-call to the resolved function if pltexit isn't needed.
8863
4c7a4263
SP
88642013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8865
8866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8867 or Y being zero as being unlikely.
8868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8869 Likewise.
8870
41f49342
CD
88712013-02-20 Carlos O'Donell <carlos@redhat.com>
8872
8873 * manual/nss.texi (System Databases and Name Service Switch):
8874 Remove frobnicate @pxref.
8875
50022a93
TS
88762013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8877
8878 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8879 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8880
08cbd996
PM
88812013-02-20 Petr Machata <pmachata@redhat.com>
8882
8883 * elf/elf.h (R_ARM_TARGET1): New macro.
8884 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8885 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8886 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8887 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8888 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8889 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8890 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8891 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8892 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8893 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8894 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8895 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8896 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8897 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8898 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8899 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8900 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8901 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8902 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8903 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8904 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8905 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8906 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8907 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8908 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8909 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8910 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8911 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8912 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8913 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8914 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8915 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8916 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8917 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8918 (R_ARM_THM_GOT_BREL12): Likewise.
8919 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8920 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8921 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8922 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8923 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8924 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8925 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8926 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8927 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8928
c7b275d6
TS
89292013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8930
8931 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8932 __attribute_used__ to __attribute__ ((unused)).
8933
20cd7fb3
SP
89342013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8935
8936 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8937 powerpc mpa.c.
8938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8939 comment formatting.
8940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8941
92945b52
JM
89422013-02-19 Joseph Myers <joseph@codesourcery.com>
8943
8944 [BZ #13550]
8945 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8946 Remove macro.
8947 (ENTER): Remove both macro definitions.
8948 (LEAVE): Likewise.
8949 (CHECK_BOUNDS_LOW): Likewise.
8950 (CHECK_BOUNDS_HIGH): Likewise.
8951 (CHECK_BOUNDS_BOTH): Likewise.
8952 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8953 (RETURN_BOUNDED_POINTER): Likewise.
8954 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8955 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8956 (POP_ERRNO_LOCATION_RETURN): Likewise.
8957 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8958 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8959 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8960 macros.
8961 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8962 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8963 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8964 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8965 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8966 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8967 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8968 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8969 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8970 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8971 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8972 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8973 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8974 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8975 removed macros.
8976 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8977 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8978 macros.
8979 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8980 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8981 * sysdeps/i386/i586/memset.S (memset): Likewise.
8982 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8983 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8984 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8985 macros.
8986 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8987 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8988 Change uses of L(2) to L(out).
8989 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8990 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8991 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8992 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8993 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8994 removed macros.
8995 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8996 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8997 macros.
8998 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8999 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9000 (RETURN): Do not use macro LEAVE.
9001 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9002 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9003 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9004 * sysdeps/i386/i686/memset.S (memset): Likewise.
9005 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9006 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9007 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9008 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9009 Likewise.
9010 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9011 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9012 L(1_2) and L(1_3) into L(1).
9013 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9014 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9015 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9016 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9017 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9018 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9019 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9020 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9021 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9022 macros.
9023 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9024 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9025 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9026 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9027 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9028 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9029 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9030 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9031 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9032 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9033 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9034 * sysdeps/i386/strspn.S (strspn): Likewise.
9035 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9036 conditional code.
9037 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9038 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9039 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9040 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9041 L(1_3) into L(1_1).
9042 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9043 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9044 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9045 macros.
9046 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9047
2389741a
JJ
90482013-02-19 Jakub Jelinek <jakub@redhat.com>
9049
9050 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9051 macro.
9052
2016b3cd
SP
90532013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9054
e4f22324
SP
9055 * math/atest-exp.c (exp_mpn): Remove ROUND.
9056 * math/atest-exp2.c (exp_mpn): Likewise.
9057 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9058
2016b3cd
SP
9059 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9060 * stdlib/tst-tls-atexit-lib.c: Likewise.
9061 * stdlib/tst-tls-atexit.c: Likewise.
9062
4be9b544
MF
90632013-02-18 Mike Frysinger <vapier@gentoo.org>
9064
9065 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9066 and __attribute_alloc_size__.
9067
2f62b9ee
MF
90682013-02-18 Mike Frysinger <vapier@gentoo.org>
9069
9070 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9071 __attribute_alloc_size__.
9072 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9073 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9074
6ff444c4
MF
90752013-02-18 Mike Frysinger <vapier@gentoo.org>
9076
9077 * include/programs/xmalloc.h: New file.
9078 * catgets/gencat.c: Include it.
9079 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9080 * elf/pldd.c: Likewise.
9081 * iconv/iconv_charmap.c: Likewise.
9082 * iconv/iconvconfig.c: Likewise.
9083 * iconv/strtab.c: Likewise.
9084 * locale/programs/locale.c: Likewise.
9085 * locale/programs/localedef.h: Likewise.
9086 * locale/programs/simple-hash.c: Likewise.
9087 * nscd/nscd.h: Likewise.
9088 * nss/makedb.c: Likewise.
9089 * sysdeps/generic/ldconfig.h: Likewise.
9090
be179c8a
SP
90912013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9092
ba384f6e
SP
9093 * Versions.def: Add GLIBC_2.18.
9094 * include/link.h (struct link_map): New member l_tls_dtor_count.
9095 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9096 (__call_tls_dtors): Likewise.
9097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9098 __cxa_thread_atexit_impl.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9100 Likewise.
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9102 Likewise.
9103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9104 Likewise.
9105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9106 Likewise.
9107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9109 Likewise.
9110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9111 Likewise.
9112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9114 Likewise.
9115 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9116 (tests): Add test case tst-tls-atexit.
9117 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9118 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9119 (GLIBC_PRIVATE): Add __call_tls_dtors.
9120 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9121 for libstdc++.
9122 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9123 * stdlib/tst-tls-atexit.c: New test case.
9124 * stdlib/tst-tls-atexit-lib.c: New test case.
9125
ffaa74cf 9126 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9127
be179c8a
SP
9128 * elf/Versions (ld): Add _dl_find_dso_for_object.
9129 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9130 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9131 (dl_open_worker): Use _dl_find_dso_for_object.
9132 * elf/dl-sym.c (do_sym): Likewise.
9133 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9134
f78b5caa
AK
91352013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9136
9137 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9138 Syntactic changes only.
9139 (_dl_runtime_profile): Do a tail-call to the resolved function.
9140
29691210
JM
91412013-02-17 Joseph Myers <joseph@codesourcery.com>
9142
9143 [BZ #13550]
9144 * sysdeps/x86_64/bp-asm.h: Remove file.
9145 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9146 <bp-sym.h> and <bp-asm.h>.
9147 (__clone): Do not use BP_SYM.
9148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9149 <bp-sym.h> and <bp-asm.h>.
9150 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9151 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9152 "bp-asm.h".
9153 (_setjmp): Do not use BP_SYM.
9154 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9155 "bp-asm.h".
9156 (setjmp): Do not use BP_SYM.
9157 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9158 libc_hidden_def.
9159 (mempcpy): Do not use BP_SYM in weak_alias.
9160 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9161 "bp-asm.h".
9162 (strchr): Do not use BP_SYM.
9163 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9164 "bp-asm.h".
9165 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9166 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9167 (_start): Do not use BP_SYM.
9168 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9169 "bp-asm.h".
9170 (strcat): Do not use BP_SYM.
9171 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9172 "bp-asm.h".
9173 (STRCMP): Do not use BP_SYM.
9174 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9175 "bp-asm.h".
9176 (STRCPY): Do not use BP_SYM.
9177 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9178 "bp-asm.h".
9179 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9180 "bp-asm.h".
9181 (FUNCTION): Do not use BP_SYM.
9182 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9183 weak_alias.
9184 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9185
f238fd19
AJ
91862013-02-17 Andreas Jaeger <aj@suse.de>
9187
9188 * time/Versions: Sort entries.
9189 * string/Versions: Likewise.
9190 * resolv/Versions: Likewise.
9191 * posix/Versions: Likewise.
9192 * iconv/Versions: Likewise.
9193 * elf/Versions: Likewise.
9194 * wcsmbs/Versions: Likewise.
9195
bd07f23c 91962013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9197
22af19f9
SP
9198 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9199 loop termination condition.
9200
4709fe76
SP
9201 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9202 variable to calculate EZ.
9203 (__sqr): Likewise.
2d0e0f29
SP
9204
9205 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9206 the lower precision input.
9207
daaa7713
JM
92082013-02-15 Joseph Myers <joseph@codesourcery.com>
9209
9210 [BZ #13550]
9211 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9212 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9213 (run-via-rtld-prefix): Do not handle %-bp tests.
9214 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9215 (all-object-suffixes): Remove .ob.
9216 (bppfx): Remove variable.
9217 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9218 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9219 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9220 [$(build-bounded) = yes] (libtype.ob): Likewise.
9221 * Makerules (elide-routines.ob): Remove variable.
9222 (do-tests-clean): Do not handle *-bp.out.
9223 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9224 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9225 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9226 (tests): Do not include $(tests-bp.out).
9227 (xtests): Do not include $(xtests-bp.out).
9228 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9229 [$(build-bounded) = yes] ($(addprefix
9230 $(objpfx),$(binaries-bounded))): Remove rule.
9231 ($(objpfx)%-bp.out): Remove rule.
9232 * config.make.in (build-bounded): Remove variable.
9233 * crypt/Makefile [$(build-bounded) = yes]
9234 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9235 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9236 append to variable.
9237 [$(build-bounded) = yes] (install-lib): Likewise.
9238 [$(build-bounded) = yes] (generated): Likewise.
9239 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9240 Remove rule.
9241 * intl/Makefile [$(build-bounded) = yes]
9242 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9243 * math/Makefile [$(build-bounded) = yes]
9244 ($(tests:%=$(objpfx)%-bp): Likewise.
9245 * misc/Makefile [$(build-bounded) = yes]
9246 ($(objpfx)tst-tsearch-bp): Likewise.
9247 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9248 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9249 Remove dependency.
9250 * string/Makefile (o-objects.ob): Remove variable.
9251 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9252 (CFLAGS-.ob): Remove variable.
9253 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9254 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9255 both definitions of variable.
9256 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9257 (ASFLAGS-.ob): Remove variable.
9258
e97ed6dd
JM
92592013-02-14 Joseph Myers <joseph@codesourcery.com>
9260
2bdd4ca6
JM
9261 [BZ #13550]
9262 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9263 Remove __BOUNDED_POINTERS__ from condition.
9264 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9265 * string/bits/string2.h [!__NO_STRING_INLINES &&
9266 !__BOUNDED_POINTERS__]: Likewise.
9267 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9268 Likewise.
9269 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9270 Remove conditional code.
9271 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9272 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9273 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9274 condition.
9275
e97ed6dd
JM
9276 [BZ #13550]
9277 * csu/libc-start.c: Do not include <bp-sym.h>.
9278 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9279 * elf/dl-open.c: Do not include <bp-sym.h>.
9280 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9281 * math/fegetenv.c: Do not include <bp-sym.h>.
9282 (fegetenv): Do not use BP_SYM in versioned symbols.
9283 * nptl/sysdeps/pthread/bits/libc-lockP.h
9284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9285 <bp-sym.h>.
9286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9287 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9289 (__pthread_mutex_destroy): Likewise.
9290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9291 (__pthread_mutex_lock): Likewise.
9292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9293 (__pthread_mutex_trylock): Likewise.
9294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9295 (__pthread_mutex_unlock): Likewise.
9296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9297 (__pthread_mutexattr_init): Likewise.
9298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9299 (__pthread_mutexattr_destroy): Likewise.
9300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9301 (__pthread_mutexattr_settype): Likewise.
9302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9303 (__pthread_rwlock_init): Likewise.
9304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9305 (__pthread_rwlock_destroy): Likewise.
9306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9307 (__pthread_rwlock_rdlock): Likewise.
9308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9309 (__pthread_rwlock_tryrdlock): Likewise.
9310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9311 (__pthread_rwlock_wrlock): Likewise.
9312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9313 (__pthread_rwlock_trywrlock): Likewise.
9314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9315 (__pthread_rwlock_unlock): Likewise.
9316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9317 (__pthread_key_create): Likewise.
9318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9319 (__pthread_setspecific): Likewise.
9320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9321 (__pthread_getspecific): Likewise.
9322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9323 Likewise.
9324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9325 (_pthread_cleanup_push_defer): Likewise.
9326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9327 (_pthread_cleanup_pop_restore): Likewise.
9328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9329 (pthread_setcancelstate): Likewise.
9330 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9331 <bp-sym.h>.
9332 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9333 (memchr): Do not use BP_SYM in weak_alias.
9334 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9335 (fegetenv): Do not use BP_SYM in versioned symbols.
9336 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9337 (fesetenv): Do not use BP_SYM in versioned symbols.
9338 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9339 (feupdateenv): Do not use BP_SYM in versioned symbols.
9340 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9341 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9342 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9343 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9344 (open64): Do not use BP_SYM in weak_alias.
9345 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9346 (fegetenv): Do not use BP_SYM in versioned symbols.
9347 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9348 (fesetenv): Do not use BP_SYM in versioned symbols.
9349 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9350 (feupdateenv): Do not use BP_SYM in versioned symbols.
9351 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9352 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9353 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9354 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9355 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9356 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9357 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9358 <bp-sym.h>.
9359 (__libc_start_main): Do not use BP_SYM.
9360
d6752ccd
SP
93612013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9362
cb57ce60
SP
9363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9364 redundant return line.
9365 (norm): Likewise.
9366 (denorm): Likewise.
9367 (dbl_mp): Likewise.
9368 (sub_magnitudes): Likewise.
9369 (__add): Likewise.
9370 (__sub): Likewise.
9371 (__mul): Likewise.
9372 (__inv): Likewise.
9373 (__dvd): Likewise.
9374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9375 (norm): Likewise.
9376 (denorm): Likewise.
9377 (dbl_mp): Likewise.
9378 (sub_magnitudes): Likewise.
9379 (__add): Likewise.
9380 (__sub): Likewise.
9381 (__mul): Likewise.
9382 (__inv): Likewise.
9383 (__dvd): Likewise.
9384
f414520d
SP
9385 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9386 instead of __mul.
9387 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9388 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9389 (cc32): Likewise.
9390
d6752ccd
SP
9391 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9392 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9394 of __mul for squares.
9395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9396 function
9397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9398 Likewise.
9399 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9400 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9401
70d9946a
JM
94022013-02-13 Joseph Myers <joseph@codesourcery.com>
9403
9404 [BZ #13550]
9405 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9406 code.
9407 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9408 prototype or function definition. Rename ubp_* variables and
9409 parameters. Remove argv definitions conditional on
9410 [__BOUNDED_POINTERS__].
9411 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9412 * elf/dl-runtime.c (_dl_fixup): Likewise.
9413 * include/set-hooks.h (RUN_HOOK): Likewise.
9414 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9415 definition.
9416 * string/strcpy.c (strcpy): Do not use __unbounded.
9417 * sysdeps/generic/frame.h (struct layout): Likewise.
9418 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9419 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9420 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9421 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9422 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9423 (__backtrace): Likewise.
9424 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9425 use __ptrvalue.
9426 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9427 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9428 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9429 Likewise.
9430 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9431 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9432 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9433 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9434 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9435 Do not use __unbounded.
9436 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9437 Rename __unboundedrlimits parameter to rlimits in prototype.
9438 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9439 Do not use __unbounded.
9440 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9441 not use __ptrvalue.
9442 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9443 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9444 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9445 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9446 __ptrvalue or __unbounded.
9447 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9448 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9449 use __unbounded.
9450 (__new_msgctl): Do not use __ptrvalue.
9451 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9452 __unbounded.
9453 (__libc_msgrcv): Do not use __ptrvalue.
9454 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9455 startup_info): Do not use __unbounded.
9456 (__libc_start_main): Likewise. Rename ubp_* variables and
9457 parameters. Remove argv definitions conditional on
9458 [__BOUNDED_POINTERS__].
9459 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9460 __ptrvalue.
9461 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9462 use __unbounded.
9463 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9464 or __ptrvalue.
9465 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9466 use __unbounded.
9467 (__new_shmctl): Do not use __ptrvalue.
9468 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9469 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9470 Likewise.
9471 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9473 (__libc_sigaction): Likewise.
9474 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9475 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9476 Likewise.
9477 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9478
cc7834d6
OB
94792013-02-13 Ondřej Bílka <neleai@seznam.cz>
9480
ffb1ec7b 9481 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9482
9483 * string/mempcpy.c: Implement by calling memcpy.
9484
bdf02814
SP
94852013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9486
c2af38aa
SP
9487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9488
4e92d59e
SP
9489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9490 evaluation.
9491
909279a5
SP
9492 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9493 values in the mantissa.
9494
bdf02814
SP
9495 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9496 minimize writes to Z.
9497 (sub_magnitudes): Simplify code a bit.
9498
cd525923
RM
94992013-02-12 Roland McGrath <roland@hack.frob.com>
9500
9501 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9502 from the message. The linker prefixes all warnings with that already.
9503
7e2f0d2d
AS
95042013-02-12 Andreas Schwab <schwab@suse.de>
9505
a445af0b
AS
9506 [BZ #15078]
9507 * posix/regexec.c (extend_buffers): Add parameter min_len.
9508 (check_matching): Pass minimum needed length.
9509 (clean_state_log_if_needed): Likewise.
9510 (get_subexp): Likewise.
9511 * posix/Makefile (tests): Add bug-regex34.
9512 (bug-regex34-ENV): Define.
9513 * posix/bug-regex34.c: New file.
9514
7e2f0d2d
AS
9515 [BZ #11561]
9516 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9517 elements compare against the byte sequence of it, not its name.
9518 * posix/Makefile (tests): Add bug-regex35.
9519 (bug-regex35-ENV): Define.
9520 * posix/bug-regex35.c: New file.
9521
a175b684
TV
95222013-02-11 Tom de Vries <tom@codesourcery.com>
9523
9524 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9525 comment.
9526 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9527 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9528 (CHECK_EOL): Add undef.
9529
310998fe 95302013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9531
9532 * bits/stdlib-bsearch.h: New file.
9533 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9534 * stdlib/stdlib.h: Likewise.
41eda41d 9535
8ded91fb
RM
95362013-02-11 Roland McGrath <roland@hack.frob.com>
9537
9538 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9539 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9540 declaration.
9541 * manual/search.texi (Array Search Function): Add missing const in
9542 lfind prototype.
9543 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9544 declaration to use rlim_t.
9545 (Basic Scheduling Functions): Remove erroneous const from
9546 sched_getparam prototype. Remove erroneous * from
9547 sched_get_priority_max and sched_get_priority_min prototypes.
9548 (Resource Usage): Fix summary @comment on vtimes to refer to
9549 sys/vtimes.h rather than vtimes.h.
9550 Add missing *s in vtimes prototype.
9551 (Limits on Resources): Fix ulimit prototype to return long int.
9552 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9553 prototypes to use long int rather than double.
9554 (BSD Random): Fix initstate and setstate to use char *, not void *.
9555 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9556 prototype to make second argument 'struct aiocb64 *const[]'.
9557 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9558 (Status of AIO Operations): Remove erroneous const in aio_return and
9559 aio_return64 prototypes.
9560 (Synchronizing I/O): Fix sync prototype to return void.
9561 * manual/startup.texi (Suboptions): Remove an erroneous const in
9562 getsubopt prototype.
9563 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9564 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9565 use size_t rather than int.
9566 (Scanning All Users): Likewise for getpwent_r.
9567 (Setting Groups): Add missing const to setgroups prototype.
9568 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9569 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9570 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9571 'const void *' rather than 'const char *'.
9572 (Host Address Functions): Likewise for inet_ntop.
9573 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9574 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9575 ssize_t for return value.
9576 (Sending Data): Likewise for send, sendto, sendmsg.
9577 (Socket Option Functions): Add a missing const in setsockopt prototype.
9578 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9579 use wchar_t for the argument.
9580 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9581 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9582 take no arguments.
9583 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9584 double/float/long double for second argument.
9585 Fix return types of significand, significandf, significandl.
9586 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9587 argument in fchmod prototype.
9588 (File Owner): Use uid_t and gid_t in fchown prototype.
9589 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9590 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9591 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9592 use 'const struct dirent **' as argument types to CMP function pointer
9593 argument.
9594 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9595 (File Times): Fix summary magic @comment for struct utimbuf and utime
9596 to refer to utime.h, not time.h.
9597 * manual/string.texi (Argz Functions): Add missing const in
9598 argz_extract and argz_next prototypes.
9599 (Finding Tokens in a String): Likewise for basename.
9600 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9601 (Copying and Concatenation): Fix typo in wmemmove prototype.
9602 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9603 (Signal Stack): Remove erroneous const in sigstack prototype.
9604 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9605 prototype.
9606 (Simple Calendar Time): Likewise for stime.
9607 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9608 prototype.
9609 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9610 say sys/sysctl.h instead.
9611 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9612 and vsyslog prototypes.
9613
fe77fe6d
TV
96142013-02-11 Tom de Vries <tom@codesourcery.com>
9615
9616 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9617 Remove.
9618
3a09b620
RM
96192013-02-11 Roland McGrath <roland@hack.frob.com>
9620
9621 * misc/sys/mman.h: Fix typo in mremap comment.
9622
550a0b89
RM
96232013-02-08 Roland McGrath <roland@hack.frob.com>
9624
9625 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9626 the '\0' terminator.
9627
a2da1673
JM
96282013-02-08 Joseph Myers <joseph@codesourcery.com>
9629
9630 [BZ #13550]
9631 * debug/segfault.c: Don't include <bp-checks.h>.
9632 * sysdeps/generic/bp-checks.h: Remove file.
9633 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9634 (__GETDENTS): Don't use CHECK_N.
9635 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9636 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9637 (__getgroups): Don't use CHECK_N.
9638 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9639 (setgroups): Don't use CHECK_N.
9640 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9641 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9642 (__libc_msgrcv): Don't use CHECK_N.
9643 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9644 (__libc_msgsnd): Don't use CHECK_N.
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9646 <bp-checks.h>.
9647 (__libc_pread): Don't use CHECK_N.
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9649 include <bp-checks.h>.
9650 (__libc_pread64): Don't use CHECK_N.
9651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9652 include <bp-checks.h>.
9653 (__libc_pwrite): Don't use CHECK_N.
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9655 include <bp-checks.h>.
9656 (__libc_pwrite64): Don't use CHECK_N.
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9658 <bp-checks.h>.
9659 (__libc_pread): Don't use CHECK_N.
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9661 include <bp-checks.h>.
9662 (__libc_pread64): Don't use CHECK_N.
9663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9664 include <bp-checks.h>.
9665 (__libc_pwrite): Don't use CHECK_N.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9667 include <bp-checks.h>.
9668 (__libc_pwrite64): Don't use CHECK_N.
9669 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9670 (do_pread): Don't use CHECK_N.
9671 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9672 (do_pread64): Don't use CHECK_N.
9673 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9674 (do_pwrite): Don't use CHECK_N.
9675 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9676 (do_pwrite64): Don't use CHECK_N.
9677 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9678 (__libc_readv): Don't use CHECK_N.
9679 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9680 (semop): Don't use CHECK_N.
9681 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9682 <bp-checks.h>.
9683 (semtimedop): Don't use CHECK_N.
9684 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9685 (__libc_pread): Don't use CHECK_N.
9686 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9687 <bp-checks.h>.
9688 (__libc_pread64): Don't use CHECK_N.
9689 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9690 <bp-checks.h>.
9691 (__libc_pwrite): Don't use CHECK_N.
9692 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9693 <bp-checks.h>.
9694 (__libc_pwrite64): Don't use CHECK_N.
9695 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9696 <bp-checks.h>.
9697 (__libc_msgrcv): Don't use CHECK_N.
9698 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9699 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9700 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9701 (__libc_writev): Don't use CHECK_N.
9702
b84660a8
RM
97032013-02-08 Roland McGrath <roland@hack.frob.com>
9704
7f3e75f8
RM
9705 * string/strcpy.c: Removed unused variable.
9706
b84660a8
RM
9707 * Makeconfig (+sysdep-includes): Define with := rather than =.
9708 Use an existing include/ subdir of each sysdeps dir before it.
9709
471514d3
CD
97102013-02-08 Carlos O'Donell <carlos@redhat.com>
9711
9712 * nscd/connection.c (register_traced_file): Comment function.
9713 [HAVE_INOTIFY] (union __inev): Define.
9714 [HAVE_INOTIFY] (inotify_check_files): New function.
9715 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9716 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9717 clear_db_cache.
9718 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9719
b2d3c3be
CD
97202013-02-08 Carlos O'Donell <carlos@redhat.com>
9721
9722 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9723 loaded if not already and that a failure is permanent.
9724
b39949d2
CD
97252013-02-08 Carlos O'Donell <carlos@redhat.com>
9726
ddacd1db 9727 [BZ #15006]
b39949d2
CD
9728 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9729 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9730
b2c9eff4
JM
97312013-02-08 Joseph Myers <joseph@codesourcery.com>
9732
f3aae3f3
JM
9733 [BZ #13550]
9734 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9735 (CHECK_1_NULL_OK): Likewise.
9736 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9737 (__fxstat): Do not use CHECK_1.
9738 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9739 <bp-checks.h>.
9740 (___fxstat64): Do not use CHECK_1.
9741 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9742 <bp-checks.h>.
9743 (__fxstatat): Do not use CHECK_1.
9744 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9745 <bp-checks.h>.
9746 (__fxstatat64): Do not use CHECK_1.
9747 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9748 <bp-checks.h>.
9749 (__fxstat): Do not use CHECK_1.
9750 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9751 <bp-checks.h>.
9752 (__fxstatat): Do not use CHECK_1.
9753 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9754 <bp-checks.h>.
9755 (__getresgid): Do not use CHECK_1.
9756 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9757 <bp-checks.h>.
9758 (__getresuid): Do not use CHECK_1.
9759 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9760 <bp-checks.h>.
9761 (__lxstat): Do not use CHECK_1.
9762 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9763 <bp-checks.h>.
9764 (__old_msgctl): Do not use CHECK_1.
9765 (__new_msgctl): Likewise.
9766 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9767 <bp-checks.h>.
9768 (__new_setrlimit): Do not use CHECK_1.
9769 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9770 <bp-checks.h>.
9771 (__old_shmctl): Do not use CHECK_1.
9772 (__new_shmctl): Likewise.
9773 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9774 <bp-checks.h>.
9775 (__xstat): Do not use CHECK_1.
9776 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9777 (__lxstat): Do not use CHECK_1.
9778 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9779 <bp-checks.h>.
9780 (___lxstat64): Do not use CHECK_1.
9781 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9782 (__old_msgctl): Do not use CHECK_1.
9783 (__new_msgctl): Likewise.
9784 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9785 <bp-checks.h>.
9786 (__gettimeofday): Do not use CHECK_1.
9787 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9788 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9789 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9790 <bp-checks.h>.
9791 (__gettimeofday): Do not use CHECK_1.
9792 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9793 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9794 (__new_shmctl): Do not use CHECK_1.
9795 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9796 <bp-checks.h>.
9797 (do_sigtimedwait): Do not use CHECK_1.
9798 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9799 <bp-checks.h>.
9800 (do_sigwaitinfo): Do not use CHECK_1.
9801 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9802 <bp-checks.h>.
9803 (msgctl): Do not use CHECK_1.
9804 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9805 <bp-checks.h>.
9806 (shmctl): Do not use CHECK_1.
9807 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9808 (ustat): Do not use CHECK_1.
9809 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9810 <bp-checks.h>.
9811 (__fxstat): Do not use CHECK_1.
9812 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9813 <bp-checks.h>.
9814 (__fxstatat): Do not use CHECK_1.
9815 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9816 <bp-checks.h>.
9817 (__lxstat): Do not use CHECK_1.
9818 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9819 <bp-checks.h>.
9820 (__xstat): Do not use CHECK_1.
9821 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9822 (__xstat): Do not use CHECK_1.
9823 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9824 (___xstat64): Do not use CHECK_1.
9825
b2c9eff4
JM
9826 [BZ #13550]
9827 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9828 definitions.
9829 (CHECK_BOUNDS_HIGH): Likewise.
9830 * string/strcpy.c: Do not include <bp-checks.h>.
9831 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9832
f1d70dad
RM
98332013-02-07 Roland McGrath <roland@hack.frob.com>
9834
9835 * nscd/nscd-client.h (__nscd_drop_map_ref):
9836 Add __attribute__ ((unused)).
9837 * nis/nss-nisplus.h (niserr2nss): Likewise.
9838
9839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9840 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9841
9842 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9843 Remove inline keyword.
9844 * include/rounding-mode.h (round_away): Likewise.
9845 * libio/wfileops.c (adjust_wide_data): Likewise.
9846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9847 (__m128i_strloadu_tolower): Likewise.
9848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9849 (__m128i_strloadu_tolower): Likewise.
9850 * time/mktime.c (ydhms_diff): Likewise.
9851 * locale/elem-hash.h (elem_hash): Likewise.
9852 * locale/setlocale.c (setdata): Likewise.
9853 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9854 (re_string_wchar_at): Likewise.
9855 (bitset_not, bitset_merge, bitset_mask): Likewise.
9856 [!(__GNUC__ > 3)] (inline): Remove macro.
9857 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9858 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9859 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9860 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9861 * string/memcmp.c (memcmp_bytes): Likewise.
9862 * locale/programs/locarchive.c (compute_hashval): Likewise.
9863 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9864 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9865 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9866 * nss/getent.c (print_rpc, print_protocols): Likewise.
9867 (print_passwd, print_group, print_aliases): Likewise.
9868 * nis/nss-nisplus.h (niserr2nss): Likewise.
9869 * nscd/connections.c (restart_p): Likewise.
9870 Change return type to bool.
9871
eab55bfb
RM
98722013-02-05 Roland McGrath <roland@hack.frob.com>
9873
7bd642f5
RM
9874 * Makeconfig (all-Depend-files): Add existing
9875 $(sorted-subdirs:=/Depend) files.
9876 (all-subdirs): Remove nss.
9877 * sysdeps/unix/inet/Subdirs: Add it here instead.
9878 * hesiod/Depend: New file.
9879
573c29b2
RM
9880 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9881 instead of calling alloca.
9882
b2e25af0
RM
9883 * io/lseek.c (__lseek): Rename to __libc_lseek.
9884 Define __lseek as an alias.
9885
eab55bfb
RM
9886 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9887
9a0d1941
CD
98882013-02-04 Carlos O'Donell <carlos@redhat.com>
9889
9890 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9891 else clause and remove check for non-standard endianness.
9892
b83bbec4
DM
98932013-02-04 David S. Miller <davem@davemloft.net>
9894
9895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9896
6277fdab
JM
98972013-02-04 Joseph Myers <joseph@codesourcery.com>
9898
9899 [BZ #13550]
9900 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9901 (__ubp_memchr): Remove prototype.
9902 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9903 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9904 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9905 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9906 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9907 Remove alias.
9908 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9909 (__ubp_memchr): Likewise.
9910 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9911 (__ubp_memchr): Likewise.
9912 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9913 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9914 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9915 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9916 CHECK_STRING.
9917 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9918 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9919 (__getcwd): Do not use CHECK_STRING.
9920 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9921 <bp-checks.h>.
9922 (__real_chown): Do not use CHECK_STRING.
9923 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9924 <bp-checks.h>.
9925 (fchownat): Do not use CHECK_STRING.
9926 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9927 CHECK_STRING.
9928 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9929 <bp-checks.h>.
9930 (__lchown): Do not use CHECK_STRING.
9931 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9932 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9933 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9934 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9936 include <bp-checks.h>.
9937 (truncate64): Do not use CHECK_STRING.
9938 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9939 <bp-checks.h>.
9940 (__real_chown): Do not use CHECK_STRING.
9941 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9942 <bp-checks.h>.
9943 (__lchown): Do not use CHECK_STRING.
9944 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9945 <bp-checks.h>.
9946 (__chown): Do not use CHECK_STRING.
9947 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9948 <bp-checks.h>.
9949 (truncate64): Do not use CHECK_STRING.
9950 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9951 Likewise.
9952 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9953 (__xmknod): Do not use CHECK_STRING.
9954 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9955 <bp-checks.h>.
9956 (__xmknodat): Do not use CHECK_STRING.
9957 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9958 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9959
903ae060
AS
99602013-02-04 Andreas Schwab <schwab@suse.de>
9961
9962 [BZ #14142]
9963 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9964 * include/netdb.h: Likewise for h_errno.
9965 * elf/tst-stackguard1.c: Include <tls.h>.
9966
542f9466
JK
99672013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9968
9969 * elf/link.h (struct link_map): Extend the l_addr comment.
9970 * include/link.h (struct link_map): Likewise.
9971
e782a927
JM
99722013-02-01 Joseph Myers <joseph@codesourcery.com>
9973
9974 [BZ #13550]
9975 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9976 (BOUNDED_1): Remove macro.
9977 * debug/backtrace.c: Don't include <bp-checks.h>.
9978 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9979 (__backtrace): Likewise.
9980 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9981 <bp-checks.h>.
9982 (__backtrace): Don't use BOUNDED_1.
9983 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9984 <bp-checks.h>.
9985 (__backtrace): Don't use BOUNDED_1.
9986 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9987 (__backtrace): Don't use BOUNDED_1.
9988 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9989 (shmat): Don't use BOUNDED_N.
9990
8cf28c5e
JM
99912013-01-31 Joseph Myers <joseph@codesourcery.com>
9992
3a7ac8a0
JM
9993 [BZ #13550]
9994 * sysdeps/generic/bp-start.h: Remove file.
9995 * csu/libc-start.c: Don't include <bp-start.h>.
9996 (LIBC_START_MAIN): Set up __environ directly instead of using
9997 INIT_ARGV_and_ENVIRON.
9998 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9999 <bp-start.h>.
10000
f3499f95
JM
10001 [BZ #13550]
10002 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10003 definitions.
10004 (CHECK_FCNTL): Likewise.
10005 (CHECK_N_PAGES): Likewise.
10006
32a45bea
JM
10007 [BZ #13550]
10008 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10009 definitions.
10010 (CHECK_SIGSET_NULL_OK): Likewise.
10011 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10012 <bp-checks.h>.
10013 (sigpending): Don't use CHECK_SIGSET.
10014 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10015 <bp-checks.h>.
10016 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10017 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10018 <bp-checks.h>.
10019 (do_sigsuspend): Don't use CHECK_SIGSET.
10020 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10021 use CHECK_SIGSET.
10022 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10023 (do_sigwait): Don't use CHECK_SIGSET.
10024 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10025 use CHECK_SIGSET.
10026 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10027 include <bp-checks.h>.
10028 (sigpending): Don't use CHECK_SIGSET.
10029 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10030 include <bp-checks.h>.
10031 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10032 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10033 <bp-checks.h>.
10034 (sigpending): Don't use CHECK_SIGSET.
10035 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10036 <bp-checks.h>.
10037 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10038
2e8a5c8c
JM
10039 [BZ #13550]
10040 * sysdeps/generic/bp-semctl.h: Remove file.
10041 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10042 <bp-checks.h> and <bp-semctl.h>.
10043 (__old_semctl): Don't use CHECK_SEMCTL.
10044 (__new_semctl): Likewise.
10045 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10046 and <bp-semctl.h>.
10047 (__old_semctl): Don't use CHECK_SEMCTL.
10048 (__new_semctl): Likewise.
10049 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10050 <bp-checks.h> and <bp-semctl.h>.
10051 (__old_semctl): Don't use CHECK_SEMCTL.
10052 (__new_semctl): Likewise.
10053 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10054 <bp-checks.h> and <bp-semctl.h>.
10055 (semctl): Don't use CHECK_SEMCTL.
10056
c2d54929
JM
10057 [BZ #13550]
10058 * Makerules (elide-bp-thunks): Remove variable.
10059 (elide-routines.oS): Don't use $(elide-bp-thunks).
10060 (elide-routines.os): Likewise.
10061 (elide-routines.o): Likewise.
10062 (elide-routines.op): Likewise.
10063 (elide-routines.og): Likewise.
10064 (objects): Don't use $(bp-thunks).
10065 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10066 include.
10067 (common-generated): Do not add s-proto-bp.d.
10068 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10069 (int): Likewise.
10070 (typ): Likewise.
10071 Do not generate makefile rules for bounded-pointer thunks.
10072 * sysdeps/generic/bp-thunks.h: Remove file.
10073 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10074 * sysdeps/unix/s-proto-bp.S: Likewise.
10075
8cf28c5e
JM
10076 [BZ #15062]
10077 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10078 parts of result separately when argument is not close to line from
10079 -i to i and one part of argument is small.
10080 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10081 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10082 * math/libm-test.inc (cacos_test): Add more tests.
10083 (casin_test): Likewise.
10084 (casinh_test): Likewise.
10085 * sysdeps/i386/fpu/libm-test-ulps: Update.
10086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10087
c4e33b8d
DM
100882013-01-31 David S. Miller <davem@davemloft.net>
10089
10090 * po/de.po: Update from translation team.
10091
3b60b421
MK
100922013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10093
10094 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10095
bb931195
TS
100962013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10097
b5a5da23
TS
10098 * configure.in (_AC_PROG_CC_C89): New definition.
10099 * configure: Regenerate.
10100
bb931195
TS
10101 * configure.in (AC_PROG_CPP): New definition.
10102 * configure: Regenerate.
10103
8c53a12c
JM
101042013-01-23 Joseph Myers <joseph@codesourcery.com>
10105
10106 * debug/tst-backtrace.h: New file.
10107 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10108 (ret): Remove variable.
10109 (x): Likewise.
10110 (FAIL): Remove macro.
10111 (NO_INLINE): Likewise.
10112 (fn1): Use match function instead of strstr.
10113 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10114 (ret): Remove variable.
10115 (x): Likewise.
10116 (FAIL): Remove macro.
10117 (NO_INLINE): Likewise.
10118 (fn): Use match function instead of strstr.
10119 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10120 (ret): Remove variable.
10121 (x): Likewise.
10122 (FAIL): Remove macro.
10123 (NO_INLINE): Likewise.
10124 (handle_signal): Use match function instead of strstr.
10125 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10126 (ret): Remove variable.
10127 (x): Likewise.
10128 (FAIL): Remove macro.
10129 (NO_INLINE): Likewise.
10130 (handle_signal): Use match function instead of strstr.
10131
4858fa2a
RM
101322013-01-23 Roland McGrath <roland@hack.frob.com>
10133
10134 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10135
bae8e7f5
DM
101362013-01-23 David S. Miller <davem@davemloft.net>
10137
10138 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10139 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10140 argument of CAS if possible.
10141 * sysdeps/sparc/sparc64/bits/atomic.h
10142 (__arch_compare_and_exchange_val_32_acq): Likewise.
10143 (__arch_compare_and_exchange_val_64_acq): Likewise.
10144
9cbbc4ae
PT
101452013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10146
10147 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10148 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10149 Include <limits.h>.
67b3f58c 10150 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10151
5655a0b5
AC
101522013-01-23 Adam Conrad <adconrad@0c3.net>
10153
10154 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10155 (LDFLAGS-tst-array5): Likewise.
10156
052aff95
JM
101572013-01-23 Joseph Myers <joseph@codesourcery.com>
10158
10159 [BZ #15036]
10160 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10161 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10162 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10163 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10164
7c1e01aa
DM
101652013-01-21 David S. Miller <davem@davemloft.net>
10166
10167 * sysdeps/sparc/backtrace.c: New file.
10168 * sysdeps/sparc/sparc32/backtrace.h: New file.
10169 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10170 * sysdeps/sparc/sparc64/backtrace.h: New file.
10171 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10172 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10173 -funwind-tables.
10174
ab087e0a
AS
101752013-01-21 Andreas Schwab <schwab@suse.de>
10176
10177 [BZ #15020]
10178 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10179 closed its stdout.
10180
ed689c2f
AS
101812013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10182
10183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10184 "mpa2.h".
10185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10186
31d470ac
JM
101872013-01-18 Joseph Myers <joseph@codesourcery.com>
10188 Mark Mitchell <mark@codesourcery.com>
10189 Tom de Vries <tom@codesourcery.com>
10190 Paul Pluzhnikov <ppluzhnikov@google.com>
10191
10192 * debug/tst-backtrace2.c: New file.
10193 * debug/tst-backtrace3.c: Likewise.
10194 * debug/tst-backtrace4.c: Likewise.
10195 * debug/tst-backtrace5.c: Likewise.
10196 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10197 (CFLAGS-tst-backtrace3.c): Likewise.
10198 (CFLAGS-tst-backtrace4.c): Likewise.
10199 (CFLAGS-tst-backtrace5.c): Likewise.
10200 (LDFLAGS-tst-backtrace2): Likewise.
10201 (LDFLAGS-tst-backtrace3): Likewise.
10202 (LDFLAGS-tst-backtrace4): Likewise.
10203 (LDFLAGS-tst-backtrace5): Likewise.
10204 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10205 tst-backtrace4 and tst-backtrace5.
10206
90567f30 102072013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10208 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10209
10210 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10211 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10212 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10213 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10215 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10216 "+r" and remove output regs list as redundant. Add explicit inline
10217 asm to specify register of return val to work around compiler codegen
10218 bug. Remove (int) cast on return value. Add return type parameter to
10219 use in macro so that this macro does not truncate return value for
10220 64-bit values.
10221 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10222 pass to INTERNAL_VSYSCALL_NCS.
10223 (INLINE_VSYSCALL): Add 'long int' as return type to
10224 INTERNAL_VSYSCALL_NCS macro invocation.
10225 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10226 INTERNAL_VSYSCALL_NCS macro invocation.
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10228
d3b9ea61
SP
102292013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10230
0b57daeb
SP
10231 [BZ #14496]
10232 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10233 Fix application of SIMD FP exception mask.
10234
caa99d06
SP
10235 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10236 mp_no from a power of two.
10237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10238 __mpexp_twomm1. Use __pow_mp.
10239
d3b9ea61
SP
10240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10241 multiplication.
10242
1dbaee3c
DM
102432013-01-17 David S. Miller <davem@davemloft.net>
10244
10245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10246
728d7b43
JM
102472013-01-17 Joseph Myers <joseph@codesourcery.com>
10248
10249 [BZ #15023]
10250 * include/complex.h: Condition contents on [!_COMPLEX_H].
10251 (__kernel_casinhf): New prototype.
10252 (__kernel_casinh): Likewise.
10253 (__kernel_casinhl): Likewise.
10254 * math/Makefile (libm_calls): Add k_casinh.
10255 * math/k_casinh.c: New file.
10256 * math/k_casinhf.c: Likewise.
10257 * math/k_casinhl.c: Likewise.
10258 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10259 finite nonzero arguments.
10260 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10261 finite nonzero arguments.
10262 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10263 finite nonzero arguments.
10264 * math/s_casinh.c: Do not include <float.h>.
10265 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10266 * math/s_casinhf.c: Do not include <float.h>.
10267 (__casinhf): Move code for finite nonzero arguments to
10268 k_casinhf.c.
10269 * math/s_casinhl.c: Do not include <float.h>.
10270 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10271 redefine.
10272 (__casinhl): Move code for finite nonzero arguments to
10273 k_casinhl.c.
10274 * math/libm-test.inc (cacos_test): Add more tests.
10275 * sysdeps/i386/fpu/libm-test-ulps: Update.
10276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10277
2a26ef3a
PT
102782013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10279
10280 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10281 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10282 [!HAVE_MREMAP]: Remove [defined linux] case.
10283 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10284
a897655d
SP
102852013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10286
10287 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10288
881ebe89 102892013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10290
10291 * elf/elf.h (R_386_SIZE32): New relocation.
10292 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10293 R_386_SIZE32.
10294 (elf_machine_rela): Likewise.
10295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10296 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10297
59981e9b
JM
102982013-01-17 Joseph Myers <joseph@codesourcery.com>
10299
10300 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10301 (FP_FAST_FMA): Do not define.
10302 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10303 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10304 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10305 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10306 !_SOFT_FLOAT]: Likewise.
10307 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10308 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10309 value.
10310 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10311 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10312 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10313 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10314 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10315 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10316 file.
10317
cfa8054f
AS
103182013-01-16 Andreas Schwab <schwab@suse.de>
10319
10320 [BZ #14327]
10321 * include/stdlib.h (__mktemp): Add declaration.
10322 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10323 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10324
dd930cc5
SP
103252013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10326
881ebe89
SP
10327 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10328 definitions.
10329 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10330 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10331 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10332 definitions here.
10333 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10334 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10335 definitions.
10336 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10337 and ONE.
10338 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10339 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10340 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10341 definitions.
10342 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10343 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10344 definitions.
10345 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10346
dd930cc5
SP
10347 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10348
c19a9f89
DM
103492013-01-15 David S. Miller <davem@davemloft.net>
10350
1aa61767
DM
10351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10352 trunc{,f} to libm-sysdep_routes.
10353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10355 file.
10356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10358 file.
10359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10360 file.
10361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10363 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10364 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10365 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10366 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10367 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10368 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10369
c42d5e98
DM
10370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10371 nearbyint{,f} to libm-sysdep_routes.
10372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10374 New file.
10375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10376 file.
10377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10378 New file.
10379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10380 file.
10381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10383 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10384 file.
10385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10386 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10387 file.
10388 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10389 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10390 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10391
c19a9f89
DM
10392 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10393 libc_feholdexcept and libc_fesetenv.
10394
357679d2
MF
103952013-01-15 Mike Frysinger <vapier@gentoo.org>
10396
10397 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10398
65a82e3d
DM
103992013-01-14 David S. Miller <davem@davemloft.net>
10400
8b954ab9
DM
10401 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10402 (SPARC_ASM_VIS2_IFUNC): Likewise.
10403 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10405 use of 'siam' instruction.
10406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10407 Likewise.
10408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10409 Likewise.
10410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10411 Likewise.
10412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10417 file.
10418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10419 file.
10420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10421 file.
10422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10423 file.
10424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10429 new VIS2 routines.
10430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10433 Likewise.
10434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10439 routines to libm-sysdep_routines.
10440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10441
65a82e3d
DM
10442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10443 fdim/fdimf to libm-sysdep_routines.
10444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10445 file.
10446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10448 file.
10449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10452 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10453 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10454 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10455 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10456
e34ab705
SP
104572013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10458
2a91b573
SP
10459 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10460 to optimize copies.
10461
1066a534
SP
10462 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10465
e34ab705
SP
10466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10467 local variable MPTWO.
10468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10469 Likewise.
10470
aba5e596
MF
104712013-01-13 Mike Frysinger <vapier@gentoo.org>
10472
10473 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10474 GLOB_NOESCAPE.
10475
e557e9e5
MF
104762013-01-13 Mike Frysinger <vapier@gentoo.org>
10477
10478 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10479
0428cec9
MF
104802013-01-13 Mike Frysinger <vapier@gentoo.org>
10481
10482 * manual/pattern.texi (glob_t): Document gl_flags.
10483 (glob64_t): Likewise.
10484
8794a964
DM
104852013-01-11 David S. Miller <davem@davemloft.net>
10486
66438c3f
RM
10487 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10488 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10489 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10490 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10491 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10492 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10493 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10494 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10495 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10496 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10497 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10498 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10499 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10500
4ae4244d
DM
10501 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10502 sparc V9 rather than using V8 code.
10503 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10504 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10505
8794a964
DM
10506 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10507 Move to...
10508 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10509 Here.
10510
6270516e
RM
105112013-01-11 Roland McGrath <roland@hack.frob.com>
10512
10513 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10514 not in the main loop.
10515 * configure: Regenerated.
10516
6a57d931
JM
105172013-01-11 Joseph Myers <joseph@codesourcery.com>
10518
10519 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10520 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10521 to just #else.
10522 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10523 [!__GLIBC_HAVE_LONG_LONG] case.
10524 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10525 condition to just #else.
10526 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10527 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10528 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10529 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10530 unconditional.
10531 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10532 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10533 #elif condition to just #else.
10534 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10535 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10536 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10537 #elif condition to just #else.
10538
0e8529e9
SE
105392013-01-11 Steve Ellcey <sellcey@mips.com>
10540
10541 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10542 (EF_MIPS_ARCH_64): Fix value.
10543 (EF_MIPS_ARCH_32R2): New.
10544 (EF_MIPS_ARCH_64R2): New.
10545
740b3dbe
L
105462013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10547
10548 * Makeconfig (+link-pie-before-libc): New.
10549 (+link-pie-after-libc): Likewise.
10550 (+link-pie-tests): Likewise.
10551 (+link-pie): Rewritten.
10552 (link-before-libc): Remove $(config-LDFLAGS).
10553 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10554 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10555 (config-LDFLAGS): Renamed to ...
10556 (rtld-LDFLAGS): This.
10557 (rtld-tests-LDFLAGS): New macro.
10558 (link-libc-rpath-link): Likewise.
10559 (link-libc-tests-rpath-link): Likewise.
10560 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10561 (link-libc): Prepand $(link-libc-rpath-link).
10562 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10563 (test-program-prefix): New macro.
10564 (test-via-rtld-prefix): Likewise.
10565 (test-program-cmd): Likewise.
10566 (host-test-program-cmd): Likewise.
10567 * Makefile ($(common-objpfx)testrun.sh): Replace
10568 $(run-program-prefix) with $(test-program-prefix).
10569 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10570 $(rtld-LDFLAGS).
10571 ($(common-objpfx)shlib.lds): Likewise.
10572 (build-module-helper): Likewise.
10573 ($(common-objpfx)format.lds): Likewise.
10574 * Rules (binaries-pie-tests): New.
10575 (binaries-pie-notests): Likewise.
10576 (binaries-pie): Rewritten.
10577 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10578 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10579 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10580 (make-test-out): Replace $(host-built-program-cmd) with
10581 $(host-test-program-cmd).
10582 * config.make.in (build-hardcoded-path-in-tests): New variable.
10583 * configure.in (--enable-hardcoded-path-in-tests): New configure
10584 option.
10585 (hardcoded_path_in_tests): New AC_SUBST.
10586 * configure: Regenerated.
10587 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10588 $(built-program-cmd) with $(test-program-cmd).
10589 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10590 (test_program_cmd): This.
10591 * elf/Makefile ($(objpfx)order.out): Run test with
10592 $(test-program-prefix).
10593 ($(objpfx)order2.out): Likewise.
10594 ($(objpfx)tst-initorder.out): Likewise.
10595 ($(objpfx)tst-initorder2.out): Likewise.
10596 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10597 $(test-program-cmd).
10598 ($(objpfx)tst-array1-static.out): Likewise.
10599 ($(objpfx)tst-array2.out): Likewise.
10600 ($(objpfx)tst-array3.out): Likewise.
10601 ($(objpfx)tst-array4.out): Likewise.
10602 ($(objpfx)tst-array5.out): Likewise.
10603 ($(objpfx)tst-array5-static.out): Likewise.
10604 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10605 $(test-program-cmd).
10606 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10607 $(run-program-prefix) with $(test-program-prefix).
10608 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10609 (test_program_prefix): This.
10610 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10611 $(run-program-prefix) with $(test-program-prefix).
10612 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10613 (test_program_prefix): This.
10614 * iconvdata/tst-tables.sh: Likewise.
10615 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10616 $(run-program-prefix) with $(test-program-prefix).
10617 ($(objpfx)tst-translit.out): Likewise.
10618 ($(objpfx)tst-gettext2.out): Likewise.
10619 ($(objpfx)tst-gettext4.out): Likewise.
10620 ($(objpfx)tst-gettext6.out): Likewise.
10621 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10622 (test_program_prefix): This.
10623 * intl/tst-gettext2.sh: Likewise.
10624 * intl/tst-gettext4.sh Likewise.
10625 * intl/tst-gettext6.sh: Likewise.
10626 * intl/tst-translit.sh: Likewise.
10627 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10628 with $(test-program-cmd).
10629 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10630 $(run-program-prefix) with $(test-program-prefix).
10631 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10632 (test_program_prefix): This.
10633 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10634 $(run-program-prefix) with $(test-program-prefix).
10635 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10636 (test_program_prefix): This.
10637 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10638 * posix/Makefile ($(objpfx)globtest.out): Replace
10639 $(run-via-rtld-prefix) and $(test-wrapper) with
10640 $(test-program-prefix) and $(test-via-rtld-prefix).
10641 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10642 $(test-program-prefix).
10643 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10644 $(host-test-program-cmd).
10645 (tst-spawn-ARGS): Likewise.
10646 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10647 $(test-program-prefix).
10648 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10649 (test_via_rtld_prefix): This.
10650 (test_wrapper): Renamed to ...
10651 (test_program_prefix): This.
10652 (run_program_prefix): Replaced by test_program_prefix.
10653 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10654 (test_program_prefix): This.
10655 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10656 with $(host-test-program-cmd).
10657 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10658 $(run-program-prefix) with $(test-program-prefix).
10659 ($(objpfx)tst-printf.out): Likewise.
10660 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10661 $(test-program-cmd).
10662 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10663 (test_program_prefix): This.
10664 * stdio-common/tst-unbputc.sh: Likewise.
10665 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10666 $(run-program-prefix) with $(test-program-prefix).
10667 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10668 (test_program_prefix): This.
10669 * string/Makefile ($(objpfx)tst-svc.out): Replace
10670 $(built-program-cmd) with $(test-program-cmd).
10671
c6fe55cf
AJ
106722013-01-11 Andreas Jaeger <aj@suse.de>
10673
10674 [BZ #15003]
10675 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10676 value. Sync with Linux 3.7.
10677
9e6919c8
DM
106782013-01-10 David S. Miller <davem@davemloft.net>
10679
10680 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10681 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10682 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10683
1c9f1a02
RM
106842013-01-10 Roland McGrath <roland@hack.frob.com>
10685
10686 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10687 never set.
10688 * configure: Regenerated.
10689
b9de2dde
DM
106902013-01-10 David S. Miller <davem@davemloft.net>
10691
10692 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10693 sparc V9 rather than using V8 code.
10694 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10695 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10696
e7f68ef4
RM
106972013-01-10 Roland McGrath <roland@hack.frob.com>
10698
10699 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10700 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10701 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10702 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10703 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10704 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10705 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10706 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10707 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10708 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10709 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10710 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10711 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10712 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10713 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10714 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10715 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10716 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10717 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10718 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10719 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10720 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10721 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10722 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10723 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10724 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10725 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10726
5a47cc9c
DM
107272013-01-10 David S. Miller <davem@davemloft.net>
10728
10729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10730
4cf8f209
L
107312013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10732
10733 * posix/Makefile (tests-static): New variable.
10734 (tests): Add $(tests-static).
10735 (tst-exec-static-ARGS): New variable.
10736 (tst-spawn-static-ARGS): Likewise.
10737 * posix/tst-exec-static.c: New file.
10738 * posix/tst-spawn-static.c: Likewise.
10739 * posix/tst-exec.c: Support run directly.
10740 * posix/tst-spawn.c: Likewise.
10741
fed0faa1
JM
107422013-01-10 Joseph Myers <joseph@codesourcery.com>
10743
828beb13
JM
10744 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10745 long.
10746 * math/bits/mathcalls.h (llrint): Likewise.
10747 (llround): Likewise.
10748 * stdlib/stdlib.h (struct drand48_data): Likewise.
10749 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10750 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10751 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10752 Likewise.
10753 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10754 Likewise.
10755 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10756 (elf_greg_t): Likewise.
10757 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10758 (__jmp_buf): Likewise.
10759 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10760 definitions.
10761 (llrint): Likewise, for all definitions.
10762 (llrintl): Likewise.
10763
fed0faa1
JM
10764 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10765 Remove [__GNUC__] condition.
10766 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10767 condition to just [__USE_ISOC99].
10768 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10769
1a20cb20
L
107702013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10771
10772 [BZ #14200]
10773 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10774 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10775 defined.
10776 (_POSIX_V6_ILP32_OFF32): Likewise.
10777 (_XBS5_ILP32_OFF32): Likewise.
10778 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10779 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10780
751b85f7
SP
107812013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10782
7490eb81
SP
10783 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10784
751b85f7
SP
10785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10786 doubles __mpexp_twomm1. Adjust usage.
10787 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10788 Remove.
10789
988197f0
AS
107902013-01-10 Andreas Schwab <schwab@suse.de>
10791
10792 [BZ #14964]
10793 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10794 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10795
e83d7298
DM
107962013-01-09 David S. Miller <davem@davemloft.net>
10797
034ed64b 10798 [BZ #15003]
e83d7298
DM
10799 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10800 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10801 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10802 TCP_FASTOPEN): Define.
10803 (tcp_repair_opt): New structure.
10804 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10805 enum values.
10806 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10807 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10808 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10809 (tcp_cookie_transactions): New structure.
10810
d5e0b9bd
AB
108112013-01-09 Anton Blanchard <anton@samba.org>
10812
10813 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10814 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10815 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10816 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10817
0c07e3ea
JM
108182013-01-09 Joseph Myers <joseph@codesourcery.com>
10819
10820 * include/features.h (__USE_ANSI): Remove.
10821
232f7002
RM
108222013-01-09 Roland McGrath <roland@hack.frob.com>
10823
ad98e30c
RM
10824 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10825
232f7002
RM
10826 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10827
950c99ca
SP
108282013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10829
b5792741
SP
10830 * sysdeps/s390/fpu/libm-test-ulps: Update.
10831
47cf2278
SP
10832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10833
950c99ca
SP
10834 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10835 (__acr): Likewise.
10836 (__cpy): Likewise.
10837 (norm): Likewise.
10838 (denorm): Likewise.
10839 (__mp_dbl): Likewise.
10840 (__dbl_mp): Likewise.
10841 (add_magnitudes): Likewise.
10842 (sub_magnitudes): Likewise.
10843 (__add): Likewise.
10844 (__sub): Likewise.
10845 (__mul): Likewise.
10846 (__inv): Likewise.
10847 (__dvd): Likewise.
10848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10849 (__acr): Likewise.
10850 (__cpy): Likewise.
10851 (norm): Likewise.
10852 (denorm): Likewise.
10853 (__mp_dbl): Likewise.
10854 (__dbl_mp): Likewise.
10855 (add_magnitudes): Likewise.
10856 (sub_magnitudes): Likewise.
10857 (__add): Likewise.
10858 (__sub): Likewise.
10859 (__mul): Likewise.
10860 (__inv): Likewise.
10861 (__dvd): Likewise.
10862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10863 (__acr): Likewise.
10864 (__cpy): Likewise.
10865 (norm): Likewise.
10866 (denorm): Likewise.
10867 (__mp_dbl): Likewise.
10868 (__dbl_mp): Likewise.
10869 (add_magnitudes): Likewise.
10870 (sub_magnitudes): Likewise.
10871 (__add): Likewise.
10872 (__sub): Likewise.
10873 (__mul): Likewise.
10874 (__inv): Likewise.
10875 (__dvd): Likewise.
10876
eede9df9
JM
108772013-01-08 Joseph Myers <joseph@codesourcery.com>
10878
10879 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10880 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10881 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10882 2 && __USE_EXTERN_INLINES]: Likewise.
10883
c40ea3d9
AJ
108842013-01-08 Andreas Jaeger <aj@suse.de>
10885
10886 [BZ# 14985]
10887 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10888 Remove.
10889 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10890 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10891
2ccdea26
AB
108922013-01-07 Anton Blanchard <anton@samba.org>
10893
10894 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10895 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10896 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10897 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10898 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10899 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10900 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10901 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10903 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10904 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10905 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10906 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10907 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10908 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10909 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10910 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10911 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10912 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10913 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10914 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10915 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10916 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10917 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10918 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10919 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10920 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10921 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10922 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10923 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10924 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10926 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10927 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10928 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10929 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10930 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10931 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10932 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10933 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10934 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10935 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10936 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10937
a9708fed
JM
109382013-01-07 Joseph Myers <joseph@codesourcery.com>
10939
375607b9
JM
10940 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10941 (__MALLOC_PMT): Likewise.
10942 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10943 [__GNUC__], only on [_LIBC].
10944 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10945 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10946 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10947 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10948 forward declaration.
10949 (realloc_hook_ini): Likewise.
10950 (memalign_hook_ini): Likewise.
10951 (__libc_memalign): Do not use __MALLOC_PMT in variable
10952 declaration.
10953 (__libc_valloc): Likewise.
10954 (__libc_pvalloc): Likewise.
10955 (__libc_calloc): Likewise.
10956 (__posix_memalign): Likewise.
10957
a9708fed
JM
10958 [BZ #14996]
10959 * math/s_casinh.c: Include <float.h>.
10960 (__casinh): Do not do computation with squaring and square root
10961 for large arguments.
10962 * math/s_casinhf.c: Include <float.h>.
10963 (__casinhf): Do not do computation with squaring and square root
10964 for large arguments.
10965 * math/s_casinhl.c: Include <float.h>.
10966 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10967 (__casinhl): Do not do computation with squaring and square root
10968 for large arguments.
10969 * math/libm-test.inc (casin_test): Add more tests.
10970 (casinh_test): Likewise.
10971 * sysdeps/i386/fpu/libm-test-ulps: Update.
10972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10973
afec409a
L
109742013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10975
10976 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10977 (__x86_64_raw_data_cache_size): Likewise.
10978 (__x86_64_data_cache_size_half): Likewise.
10979 (__x86_64_raw_data_cache_size_half): Likewise.
10980 (__x86_64_shared_cache_size): Likewise.
10981 (__x86_64_raw_shared_cache_size): Likewise.
10982 (__x86_64_shared_cache_size_half): Likewise.
10983 (__x86_64_raw_shared_cache_size_half): Likewise.
10984 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10985 to ...
10986 (__x86_data_cache_size): This.
10987 (__x86_64_raw_data_cache_size): Renamed to ...
10988 (__x86_raw_data_cache_size): This.
10989 (__x86_64_data_cache_size_half): Renamed to ...
10990 (__x86_data_cache_size_half): This.
10991 (__x86_64_raw_data_cache_size_half): Renamed to ...
10992 (__x86_raw_data_cache_size_half): This.
10993 (__x86_64_shared_cache_size): Renamed to ...
10994 (__x86_shared_cache_size): This.
10995 (__x86_64_raw_shared_cache_size): Renamed to ...
10996 (__x86_raw_shared_cache_size): This.
10997 (__x86_64_shared_cache_size_half): Renamed to ...
10998 (__x86_shared_cache_size_half): This.
10999 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11000 (__x86_raw_shared_cache_size_half): This.
11001 * sysdeps/x86_64/memcpy.S: Updated.
11002 * sysdeps/x86_64/memset.S: Likewise.
11003 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11005 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11006
0b3986d0
DM
110072013-01-04 David S. Miller <davem@davemloft.net>
11008
11009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11010
e47686e9
AS
110112013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11012
d643bac1
AS
11013 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11014 1 to avoid redefinition warning.
11015 (__USE_GNU): Don't define.
11016 (init_signaling_nan): Protoize.
11017
e47686e9
AS
11018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11019
b18decba
SP
110202013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11021
fffb407f
SP
11022 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11024 (__cpymn): Likewise.
11025 (norm): Remove commented code.
11026 (denorm): Likewise.
11027 (__mp_dbl): Likewise.
11028 (__inv): Likewise.
11029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11030 (__cpymn): Likewise.
11031 (norm): Remove commented code.
11032 (denorm): Likewise.
11033 (__mp_dbl): Likewise.
11034 (__inv): Likewise.
11035
b18decba
SP
11036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11037 mp_no value for 1.0 and 2.0.
11038 (norm): Use RADIXI instead of radixi.d.
11039 (denorm): Likewise.
11040 (__mul): Use 0.0 instead of zero.d.
11041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11042 mp_no value for 1.0 and 2.0.
11043 (norm): Use RADIXI instead of radixi.d.
11044 (denorm): Likewise.
11045 (__mul): Use 0.0 instead of zero.d.
11046
cdc1c96f
JM
110472013-01-04 Joseph Myers <joseph@codesourcery.com>
11048
11049 [BZ #14994]
11050 * math/s_casinh.c (__casinh): Reduce finite argument to first
11051 quadrant then set signs of results at the end.
11052 * math/s_casinhf.c (__casinhf): Likewise.
11053 * math/s_casinhl.c (__casinhl): Likewise.
11054 * math/libm-test.inc (casin_test): Add more tests.
11055 (casinh_test): Likewise.
11056 * sysdeps/i386/fpu/libm-test-ulps: Update.
11057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11058
302913e1
SP
110592013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11060
6420d207
SP
11061 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11062
a9e48ab4
SP
11063 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11064
b7837264
SP
11065 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11066 declarations.
11067 (denorm): Likewise.
11068 (__mp_dbl): Likewise.
11069 (__inv): Likewise.
11070
f8af25d2
SP
11071 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11072 and adjust the header comment.
11073
302913e1
SP
11074 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11075 variable name from declaration.
11076
5d7dd1ca
L
110772013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11078
11079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11080 Initialize COMMON_CPUID_INDEX_7 element.
11081 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11082 (CPUID_RTM): Likewise.
11083 (HAS_RTM): Likewise.
11084 (COMMON_CPUID_INDEX_7): New enum.
11085
2f5f40f4
AS
110862013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11087
11088 [BZ #14981]
11089 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11090 size is zero, record memory as freed.
11091
4056f4a0
AJ
110922013-01-03 Andreas Jaeger <aj@suse.de>
11093
11094 * po/ia.po: Add new Interlingua translation.
11095
ab15736f 110962012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11097
11098 * locale/programs/localedef.c: Fix description of '--posix' flag.
11099
568035b7
JM
111002013-01-02 Joseph Myers <joseph@codesourcery.com>
11101
e6898b8d
JM
11102 * NEWS: Update dates in second copyright notice.
11103 * README: Update copyright dates in example.
11104 * manual/libc.texinfo: Update copyright dates.
11105 * scripts/test-installation.pl: Update copyright date in --version
11106 output.
11107
0e2f9562
JM
11108 * hurd/ctty-input.c: Fix copyright notice formatting.
11109 * hurd/ctty-output.c: Likewise.
11110 * hurd/dtable.c: Likewise.
11111 * hurd/hurd-raise.c: Likewise.
11112 * hurd/hurdprio.c: Likewise.
11113 * hurd/msgportdemux.c: Likewise.
11114 * misc/sys/file.h: Likewise.
11115 * misc/sys/ioctl.h: Likewise.
11116 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11117 * sysdeps/mach/hurd/chdir.c: Likewise.
11118 * sysdeps/mach/hurd/fchdir.c: Likewise.
11119 * sysdeps/mach/hurd/rename.c: Likewise.
11120 * sysdeps/mach/hurd/rmdir.c: Likewise.
11121 * sysdeps/mach/hurd/seekdir.c: Likewise.
11122 * sysdeps/mach/hurd/setsid.c: Likewise.
11123 * sysdeps/posix/wait3.c: Likewise.
11124
568035b7
JM
11125 * All files with FSF copyright notices: Update copyright dates
11126 using scripts/update-copyrights.
11127 * intl/plural.c: Regenerated.
11128 * locale/programs/charmap-kw.h: Likewise.
11129 * locale/programs/locfile-kw.h: Likewise.
11130
da08f647
SP
111312013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11132
0f5477af
SP
11133 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11134 four values.
11135
44e0d4c2
SP
11136 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11137 calculation loop and add branch prediction.
11138
4d55b4e5
SP
11139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11140 check access beyond bounds of m1np.
11141
da08f647
SP
11142 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11143 MPTWO.
11144 (__inv): Remove local variable MPTWO to use the global
11145 constant.
11146 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11148 variable MPTWO.
11149 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11150 MP3HALFS static const.
11151
8e051029
DM
111522013-01-01 David S. Miller <davem@davemloft.net>
11153
11154 * po/ca.po: Update from translation team.
11155
f4cf5f2d
JM
111562013-01-01 Joseph Myers <joseph@codesourcery.com>
11157
11158 * scripts/update-copyrights: New file.
11159 * Makeconfig: Reformat copyright notice.
11160 * ctype/ctype.h: Likewise.
11161 * debug/swprintf_chk.c: Likewise.
11162 * elf/dl-cache.c: Likewise.
11163 * elf/dl-debug.c: Likewise.
11164 * elf/dl-object.c: Likewise.
11165 * grp/initgroups.c: Likewise.
11166 * hurd/Makefile: Likewise.
11167 * hurd/hurd/signal.h: Likewise.
11168 * hurd/hurdfault.c: Likewise.
11169 * hurd/hurdioctl.c: Likewise.
11170 * hurd/hurdlookup.c: Likewise.
11171 * hurd/intr-msg.c: Likewise.
11172 * iconv/gconv_open.c: Likewise.
11173 * libio/swprintf.c: Likewise.
11174 * locale/lc-ctype.c: Likewise.
11175 * locale/nl_langinfo.c: Likewise.
11176 * mach/Machrules: Likewise.
11177 * mach/Makefile: Likewise.
11178 * malloc/obstack.h: Likewise.
11179 * manual/Makefile: Likewise.
11180 * manual/tsort.awk: Likewise.
11181 * misc/bits/stab.def: Likewise.
11182 * nis/nis_print_group_entry.c: Likewise.
11183 * nis/nis_table.c: Likewise.
11184 * nis/nss_compat/compat-pwd.c: Likewise.
11185 * nis/nss_compat/compat-spwd.c: Likewise.
11186 * po/Makefile: Likewise.
11187 * posix/fnmatch.c: Likewise.
11188 * posix/regex.h: Likewise.
11189 * resolv/Makefile: Likewise.
11190 * resolv/nss_dns/dns-network.c: Likewise.
11191 * resolv/res_hconf.c: Likewise.
11192 * scripts/gen-sorted.awk: Likewise.
11193 * soft-fp/soft-fp.h: Likewise.
11194 * stdio-common/printf.h: Likewise.
11195 * stdlib/monetary.h: Likewise.
11196 * stdlib/random.c: Likewise.
11197 * stdlib/random_r.c: Likewise.
11198 * sysdeps/generic/Makefile: Likewise.
11199 * sysdeps/gnu/Makefile: Likewise.
11200 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11204 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11207 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11208 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11210 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11211 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11212 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11213 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11214 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11217 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11220 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11221 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11222 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11223 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11224 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11228 * sysdeps/mach/hurd/errnos.awk: Likewise.
11229 * sysdeps/mach/hurd/fork.c: Likewise.
11230 * sysdeps/mach/hurd/getcwd.c: Likewise.
11231 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11232 * sysdeps/mach/hurd/mmap.c: Likewise.
11233 * sysdeps/mach/hurd/utimes.c: Likewise.
11234 * sysdeps/mach/hurd/xmknod.c: Likewise.
11235 * sysdeps/posix/profil.c: Likewise.
11236 * sysdeps/posix/readdir_r.c: Likewise.
11237 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11238 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11239 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11240 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11242 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11243 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11244 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11246 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11247 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11248 * sysdeps/pthread/lio_listio.c: Likewise.
11249 * sysdeps/sparc/dl-procinfo.h: Likewise.
11250 * sysdeps/unix/i386/sysdep.S: Likewise.
11251 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11252 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11253 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11254 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11256 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11257 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11258 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11259 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11260 * sysdeps/wordsize-32/divdi3.c: Likewise.
11261 * time/sys/time.h: Likewise.
11262 * wcsmbs/Makefile: Likewise.
11263
0549fbba
DM
112642013-01-01 David S. Miller <davem@davemloft.net>
11265
a141f1a7
DM
11266 * po/fr.po: Update from translation team.
11267
0549fbba
DM
11268 * catgets/gencat.c: Update copyright year.
11269 * csu/version.c: Likewise.
11270 * debug/catchsegv.sh: Likewise.
11271 * debug/pcprofiledump.c: Likewise.
11272 * debug/xtrace.sh: Likewise.
11273 * elf/ldconfig.c: Likewise.
11274 * elf/ldd.bash.in: Likewise.
11275 * elf/pldd.c: Likewise.
11276 * elf/sotruss.ksh: Likewise.
11277 * elf/sprof.c: Likewise.
11278 * iconv/iconv_prog.c: Likewise.
11279 * iconv/iconvconfig.c: Likewise.
11280 * locale/programs/locale.c: Likewise.
11281 * locale/programs/localedef.c: Likewise.
11282 * login/programs/pt_chown.c: Likewise.
11283 * malloc/memusage.sh: Likewise.
11284 * malloc/memusagestat.c: Likewise.
11285 * malloc/mtrace.pl: Likewise.
11286 * nscd/nscd.c: Likewise.
11287 * nss/getent.c: Likewise.
11288 * nss/makedb.c: Likewise.
11289 * posix/getconf.c: Likewise.
11290
18ea052c
SP
112912012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11292
11293 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11294 numbers.
11295
9c89fca6
MF
112962012-12-30 Mike Frysinger <vapier@gentoo.org>
11297
11298 * math/bits/mathcalls.h (modf): Use __nonnull.
11299
085ec079
SP
113002012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11301
11302 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11303 (split): Use macro CN instead of the bare value.
11304 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11305 could be used.
11306 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11307 instead of the bare value.
11308 (power1): Likewise.
11309
6d9f97e1
SP
113102012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11311
d63f73be
SP
11312 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11313 __ATAN_TWOM.
11314 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11315
6d9f97e1
SP
11316 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11317 their values.
11318 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11319 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11320 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11321 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11322
4c4febf5
AJ
113232012-12-28 Andreas Jaeger <aj@suse.de>
11324
af5843ef
AJ
11325 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11326 values are from Linux 3.7.
11327
4c4febf5
AJ
11328 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11329 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11330
99136f82
SP
113312012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11332
2f216c3c 11333 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11334 TRUE case.
11335
99136f82
SP
11336 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11337 (norm): Likewise.
11338 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11339 variables with preprocessor constants.
11340 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11341 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11342 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11343
7fffbdff
BH
113442012-12-27 Bruno Haible <bruno@clisp.org>
11345
11346 [BZ #14317]
11347 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11348 only if needed.
11349
b76eb5f0
SP
113502012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11351
31a7fe5c
SP
11352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11353 and use variable directly.
11354 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11355
b76eb5f0
SP
11356 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11357 MPONE.
11358 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11359 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11360 variable MPONE.
11361 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11363 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11364 include directive. Remove local variable MPONE.
11365 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11366 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11367 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11368
2c8bfe7d
DM
113692012-12-25 David S. Miller <davem@davemloft.net>
11370
11371 * version.h (RELEASE): Set to "development".
11372 (VERSION): Set to "2.17.90".
11373 * NEWS: Add 2.18 section.
11374
147d03b0
DM
113752012-12-21 David S. Miller <davem@davemloft.net>
11376
11377 * po/hr.po: Update from translation team.
11378
a8ebb2b9
AK
113792012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11380
11381 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11382
95b4f1b6
SE
113832012-12-19 Steve Ellcey <sellcey@mips.com>
11384
b2d94007 11385 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11386
cedb2a90
MS
113872012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11388
11389 * manual/contrib.texi (Contributors): Spelling correction.
11390
bbf527d6
DM
113912012-12-15 David S. Miller <davem@davemloft.net>
11392
11393 * po/ru.po: Update from translation team.
11394
bc38c906
DM
113952012-12-13 David S. Miller <davem@davemloft.net>
11396
85429b1a
DM
11397 * NEWS: Mention IFUNC testsuite enhancements.
11398
d283e353
DM
11399 * po/pl.po: Update from translation team.
11400 * po/bg.po: Likewise.
11401
bc38c906
DM
11402 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11403 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11404
a181b0d7
DM
114052012-12-11 David S. Miller <davem@davemloft.net>
11406
4641d57e
DM
11407 * po/sv.po: Update from translation team.
11408
f7bc6495
DM
11409 * po/vi.po: Update from translation team.
11410
6fc9048f
DM
11411 * po/cs.po: Update from translation team.
11412
a181b0d7
DM
11413 * po/de.po: Update from translation team.
11414 * po/eo.po: Likewise.
11415 * po/nl.po: Likewise.
11416
f70bfe80
SP
114172012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11418
3c8b4190
SP
11419 [BZ #14246]
11420 * manual/argp.texi (Argp Helper Functions): Move node to follow
11421 Argp Parsing State.
11422
f70bfe80
SP
11423 [BZ #14872]
11424 * manual/conf.texi (Limits on File System Capacity): Mention if
11425 terminating null is included in the max size.
11426
188f0adf
AJ
114272012-12-10 Andreas Jaeger <aj@suse.de>
11428
11429 * po/cs.po: Update from translation team.
11430
56e7d3ad
SP
114312012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11432
11433 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11434 void pointer and cast to uintptr_t.
11435 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11436 path.
11437 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11438 * sysdeps/s390/s390-64/memset.S: Likewise.
11439
76f2d2ea 114402012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11441
11442 [BZ #14833]
11443 * menual/message.texi (Message Translation): Fix typos.
11444 (Helper programs for gettext): Likewise.
11445
67cbf9a2
AS
114462012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11447
11448 [BZ #14898]
11449 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11450 Change to -1.
11451
682d0e9a
DM
114522012-12-07 David S. Miller <davem@davemloft.net>
11453
11454 * po/libc.pot: Update.
11455
573cd484
RH
114562012-12-07 Richard Henderson <rth@redhat.com>
11457
7e9da188 11458 [BZ #10114]
573cd484
RH
11459 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11460 normal/normal case to before the switch.
11461 (_FP_DIV): Likewise.
11462
e933a943
MF
114632012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11464 Mike Frysinger <vapier@gentoo.org>
11465
11466 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11467 check for __NR_fadvise64_64.
11468
82123268
CM
114692012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11470
11471 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11472 0, not just to plain "0" as a statement.
11473 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11474 with cw.
11475
d9814526
JM
114762012-12-06 Joseph Myers <joseph@codesourcery.com>
11477
11478 * NEWS: Use sourceware.org in Bugzilla URL.
11479
7728c574
SP
114802012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11481
f16946dd
SP
11482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11483 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11484
5704bbcb
SP
11485 * stdio-common/tst-put-error.c (do_test): Add newline to the
11486 padded test to ensure flush.
11487
17aa0516
JL
114882012-12-05 Jeff Law <law@redhat.com>
11489
11490 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11491
363313b5
JM
114922012-12-05 Joseph Myers <joseph@codesourcery.com>
11493
effbd42a
JM
11494 * README: Don't refer to ports add-on as distributed separately.
11495 Mention AArch64 in list of systems supported in the ports add-on.
11496
87600365
JM
11497 * LICENSES: Add more non-FSF copyright and license notices.
11498
a0d7066a
JM
11499 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11500 ((unused)).
11501
66ca5a5b
JM
11502 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11503
363313b5
JM
11504 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11505 10000 as width of padded output.
11506
b37984ad
JM
115072012-12-04 Joseph Myers <joseph@codesourcery.com>
11508
9003570a
JM
11509 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11510
b37984ad
JM
11511 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11512 variable LX with __attribute__ ((unused)).
11513 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11514 Likewise.
11515 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11516 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11517 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11518 with __attribute__ ((unused)).
11519
c8df52ec
DM
115202012-12-04 David S. Miller <davem@abraco.davemloft.net>
11521
11522 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11523
b3b099af
JM
115242012-12-04 Joseph Myers <joseph@codesourcery.com>
11525
c33aa6e3
JM
11526 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11527 (CFLAGS-nldbl-acos.c): New variable.
11528 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11529 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11530 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11531 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11532 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11533 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11534 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11535 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11536 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11537 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11538 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11539 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11540 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11541 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11542 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11543 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11544 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11545 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11546 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11547 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11548 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11549 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11550 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11551 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11552 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11553 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11554 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11555 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11556 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11557 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11558 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11559 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11560 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11561 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11562 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11563 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11564 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11565 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11566 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11567 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11568 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11569 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11570 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11571 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11572 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11573 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11574 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11575 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11576 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11577 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11578 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11579 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11580 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11581 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11582 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11583 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11584 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11585 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11586 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11587 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11588 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11589 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11590 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11591 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11592 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11593 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11594 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11595 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11596 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11597 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11598 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11599 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11600 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11601 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11602 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11603 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11604 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11605 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11606 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11607 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11608 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11609 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11610 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11611 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11612 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11613 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11614 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11615 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11616 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11617 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11618 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11619 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11620 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11621 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11622 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11623 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11624 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11625
20f0018d
JM
11626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11627 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11628
b3b099af
JM
11629 [BZ #14914]
11630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11631 whole low double instead of just low 47 bits when splitting values
11632 into two parts.
11633
029264d1
AM
116342012-12-03 Allan McRae <allan@archlinux.org>
11635
11636 * manual/stdio.texi (Predefined Printf Handlers): Remove
11637 @hsep and @vsep usage.
11638
c9d6789e
MF
116392012-12-03 Mike Frysinger <vapier@gentoo.org>
11640
11641 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11642 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11643
4b7634a5
JL
116442012-12-03 Jeff Law <law@redhat.com>
11645
11646 * time/sys/time.h (settimeofday): Do not mark TV argument
11647 as __nonnull.
11648
eb6cbd24
MF
116492012-12-01 Mike Frysinger <vapier@gentoo.org>
11650
11651 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11652 when currently writing and seek to current position when not.
11653 * libio/Makefile (tests): Remove bug-fclose1.
11654 * libio/bug-fclose1.c: Delete.
11655
f638872a
JM
116562012-12-01 Joseph Myers <joseph@codesourcery.com>
11657
11658 * manual/arith.texi (feenableexcept): Fix typo.
11659 (fedisableexcept): Likewise.
11660
48085d14
RM
116612012-11-30 Roland McGrath <roland@hack.frob.com>
11662
11663 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11664 second, differently-typed declaration, rather than a cast.
11665
1a538b9f
SP
116662012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11667
11668 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11669 * include/rpc/svc.h: ... here.
11670
d07f2ff1 116712012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11672
11673 [BZ #13013]
11674 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11675 depending n and resplen2 to catch cases where answer
11676 equals answerp2.
11677
c93ec1f0
CD
116782012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11679
11680 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11681 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11682
37db69de
MF
116832012-11-29 Mike Frysinger <vapier@gentoo.org>
11684
11685 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11686
e10c4e4f
RM
116872012-11-29 Roland McGrath <roland@hack.frob.com>
11688
11689 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11690
2af1b328
JL
116912012-11-28 Jeff Law <law@redhat.com>
11692
11693 [BZ #13761]
11694 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11695 dataset_temporary. Track alloca usage into alloca_used.
11696 If dataset is large allocate and release it via malloc/free.
11697
111db5b1
FW
116982012-06-04 Florian Weimer <fweimer@redhat.com>
11699
f06cc227 11700 [BZ #14197]
111db5b1
FW
11701 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11702
dd694abd
DM
117032012-11-28 David S. Miller <davem@davemloft.net>
11704
11705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11706
9984dd01
JM
117072012-11-28 Joseph Myers <joseph@codesourcery.com>
11708
11709 [BZ #14803]
11710 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11711 of pi/2 rounded to nearest to 64 bits.
11712 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11713 nearest to 64 bits.
11714 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11715 bits.
11716
14bc93a9
JL
117172012-11-28 Jeff Law <law@redhat.com>
11718 Martin Osvald <mosvald@redhat.com>
11719
11720 [BZ #14889]
11721 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11722 * sunrpc/svc.c: Include time.h.
11723 (__svc_accept_failed): New function.
11724 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11725 any reason other than EINTR, call __svc_accept_failed.
11726 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11727 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11728
e3c6aa3a
AS
117292012-11-28 Andreas Schwab <schwab@suse.de>
11730
11731 * scripts/abilist.awk: Also handle indirect functions in .opd
11732 section.
11733
1bead169
JM
117342012-11-28 Joseph Myers <joseph@codesourcery.com>
11735
11736 [BZ #13881]
11737 * sysdeps/x86/fpu/powl_helper.c: New file.
11738 * sysdeps/x86/fpu/Makefile: Likewise.
11739 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11740 (p3): New object.
11741 (__ieee754_powl): Use __powl_helper for finite arguments except
11742 integer exponents below 8.
11743 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11744 (p3): New object.
11745 (__ieee754_powl): Use __powl_helper for finite arguments except
11746 integer exponents below 8.
11747 * math/libm-test.inc (pow_test): Add more tests and enable some
11748 previously disabled tests.
11749 * sysdeps/i386/fpu/libm-test-ulps: Update.
11750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11751
0817d63d
SP
117522012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11753 Carlos O'Donell <carlos_odonell@mentor.com>
11754
11755 * nss/makedb.c (is_prime): Assert that input is odd and greater
11756 than 4. Note that fact in a comment too.
11757 (next_prime): Add 4 to input.
11758
de2fd463
SP
117592012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11760
11761 [BZ #11741]
11762 * libio/Makefile (tests): Add test case tst-fwrite-error.
11763 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11764 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11765 * libio/tst-fwrite-error.c: New test case.
11766
c515fb51
L
117672012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11768
11769 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11770 before casting to void *.
11771 * include/libc-internal.h (__pointer_type): New macro.
11772 (__integer_if_pointer_type_sub): Likewise.
11773 (__integer_if_pointer_type): Likewise.
11774 (cast_to_integer): Likewise.
11775 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11776 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11777 before casting to atomic64_t.
11778 (atomic_exchange_acq): Likewise.
11779 (__arch_exchange_and_add_body): Likewise.
11780 (__arch_add_body): Likewise.
11781 (atomic_add_negative): Likewise.
11782 (atomic_add_zero): Likewise.
11783
4cf77aa9
JM
117842012-11-26 Joseph Myers <joseph@codesourcery.com>
11785
11786 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11787 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11788 (add_fdes): Likewise.
11789 (linear_search_fdes): Likewise.
11790 (binary_search_unencoded_fdes): Likewise.
11791
d260b3b4
AS
117922012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11793
11794 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11795
67060746
AC
117962012-11-24 Adam Conrad <adconrad@0c3.net>
11797
11798 * configure.in: Autodetect C++ header directories.
11799 * configure: Regenerated.
11800
800938a1
MF
118012012-11-23 Mike Frysinger <vapier@gentoo.org>
11802
11803 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11804
4e6e34e6
AS
118052012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11806
11807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11808
7c7feb47
JM
118092012-11-22 Joseph Myers <joseph@codesourcery.com>
11810
7184dcdf
JM
11811 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11812 LDBL_MANT_DIG == 106]: Disable some tests.
11813 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11814 Likewise.
11815 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11816 Likewise.
11817
0a42601f
JM
11818 [BZ #14871]
11819 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11820 input for small inputs. Return +/- pi/2 for large inputs.
11821 * math/libm-test.inc (atan_test): Add more tests.
11822
79c9b9fe
JM
11823 * sysdeps/generic/unwind-dw2-fde-glibc.c
11824 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11825 __attribute__ ((unused)).
11826
c60d3bf2
JM
11827 [BZ #14645]
11828 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11829 x * y if x and y are nonzero and z is zero.
11830
ef1e0867
JM
11831 [BZ #14811]
11832 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11833 nonzero exponents with absolute value below 0x1p-117 to +/-
11834 0x1p-117.
11835
1468ded3
JM
11836 [BZ #14869]
11837 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11838 up arguments below 2**-450, not just those below 2**-500.
11839 * math/libm-test.inc (hypot_test): Add another test.
11840
8e27e3cc
JM
11841 [BZ #14868]
11842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11843 Return a+b for ratio over 2**120, not 2**60.
11844 * math/libm-test.inc (hypot_test): Add another test.
11845
c9c0279b
JM
11846 * math/libm-test.inc (clog_test): Use
11847 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11848 (clog10_test): Likewise.
11849
7c7feb47
JM
11850 [BZ #6778]
11851 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11852
fff1530e
AS
118532012-11-22 Andreas Schwab <schwab@suse.de>
11854
11855 * sysdeps/i386/fpu/libm-test-ulps: Update.
11856
94558d30
PT
118572012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11858
11859 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11860 printf output with newline.
11861
7e1be741
L
118622012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11863
6bfea974
L
11864 [BZ #14865]
11865 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11866 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11867 -z nodlopen, -z initfirst and -z execstack support.
11868 * configure: Regenerated.
11869
7e1be741
L
11870 * elf/elf.h (DF_1_NODIRECT): New macro.
11871 (DF_1_IGNMULDEF): Likewise.
11872 (DF_1_NOKSYMS): Likewise.
11873 (DF_1_NOHDR): Likewise.
11874 (DF_1_EDITED): Likewise.
11875 (DF_1_NORELOC): Likewise.
11876 (DF_1_SYMINTPOSE): Likewise.
11877 (DF_1_GLOBAUDIT): Likewise.
11878 (DF_1_SINGLETON): Likewise.
11879 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11880 DT_1_SUPPORTED_MASK bits.
11881 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11882
105ce2ce
CD
118832012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11884
11885 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11886
123be9de
TS
118872012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11888
d072f3f7
TS
11889 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11890 macro.
11891
123be9de
TS
11892 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11893 (sendmmsg): Move declarations...
11894 * socket/sys/socket.h: ... here.
11895 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11896 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11897 include it from...
11898 * socket/recvmmsg.c: ... this new file.
11899 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11900 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11901 definition of __sendmmsg hidden.
11902 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11903 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11904 Move ENOSYS stub into and include it from...
11905 * socket/sendmmsg.c: ... this new file.
11906 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11907 (sysdep_routines): Move recvmmsg and sendmmsg...
11908 * socket/Makefile (routines): ... here.
11909 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11910 (GLIBC_PRIVATE): Add __sendmmsg.
11911 * include/sys/socket.h (__sendmmsg): Add declarations.
11912 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11913 sendmmsg.
11914
cf9a5d18
JM
119152012-11-20 Joseph Myers <joseph@codesourcery.com>
11916
11917 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11918 variable I1 with __attribute__ ((unused)).
11919 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11920
ecd4caf9
JM
119212012-11-19 Joseph Myers <joseph@codesourcery.com>
11922
be14d48f
JM
11923 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11924 DUMMY variables with __attribute__ ((unused)).
11925
ecd4caf9
JM
11926 * bits/byteswap.h: Include <bits/types.h>.
11927 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11928
986cab95
PT
119292012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11930
11931 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11932 string_t. Do not manually set errno.
11933 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11934 length with __strnlen. Make sure to both set errno and return it on
11935 failure.
11936
6d33cc9d
DM
119372012-11-19 David S. Miller <davem@davemloft.net>
11938
11939 With help from Joseph Myers.
11940 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11941 very large arguments properly.
11942 * math/libm-test.inc (atan_test): New tests.
11943 (atan2_test): New tests.
11944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11946
ee663277
JM
119472012-11-19 Joseph Myers <joseph@codesourcery.com>
11948
877f2d8e
JM
11949 [BZ #14856]
11950 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11951 Define to 3.
11952
116fc08a
JM
11953 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11954 [POSIX] (EADDRNOTAVAIL): Likewise.
11955 [POSIX] (EAFNOSUPPORT): Likewise.
11956 [POSIX] (EALREADY): Likewise.
11957 [POSIX] (ECONNABORTED): Likewise.
11958 [POSIX] (ECONNREFUSED): Likewise.
11959 [POSIX] (ECONNRESET): Likewise.
11960 [POSIX] (EDESTADDRREQ): Likewise.
11961 [POSIX] (EDQUOT): Likewise.
11962 [POSIX] (EHOSTUNREACH): Likewise.
11963 [POSIX] (EIDRM): Likewise.
11964 [POSIX] (EISCONN): Likewise.
11965 [POSIX] (ELOOP): Likewise.
11966 [POSIX] (EMULTIHOP): Likewise.
11967 [POSIX] (ENETDOWN): Likewise.
11968 [POSIX] (ENETUNREACH): Likewise.
11969 [POSIX] (ENOBUFS): Likewise.
11970 [POSIX] (ENODATA): Likewise.
11971 [POSIX] (ENOLINK): Likewise.
11972 [POSIX] (ENOMSG): Likewise.
11973 [POSIX] (ENOPROTOOPT): Likewise.
11974 [POSIX] (ENOSR): Likewise.
11975 [POSIX] (ENOSTR): Likewise.
11976 [POSIX] (ENOTCONN): Likewise.
11977 [POSIX] (ENOTSOCK): Likewise.
11978 [POSIX] (EOPNOTSUPP): Likewise.
11979 [POSIX] (EOVERFLOW): Likewise.
11980 [POSIX] (EPROTO): Likewise.
11981 [POSIX] (EPROTONOSUPPORT): Likewise.
11982 [POSIX] (EPROTOTYPE): Likewise.
11983 [POSIX] (ESTALE): Likewise.
11984 [POSIX] (ETIME): Likewise.
11985 [POSIX] (ETXTBSY): Likewise.
11986 [POSIX] (EWOULDBLOCK): Likewise.
11987 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11988 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11989 [POSIX] (SEEK_CUR): Likewise.
11990 [POSIX] (SEEK_END): Likewise.
11991 [POSIX || UNIX98] (mode_t): Do not require.
11992 [POSIX] (off_t): Likewise.
11993 [POSIX] (pid_t): Likewise.
11994 [POSIX] (sys/stat.h): Do not allow header.
11995 [POSIX] (unistd.h): Likewise.
11996 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11997 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11998 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11999 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12000 require.
12001 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12002 sigevent): Specify elements.
12003 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12004 entry.
12005 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12006 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12007
a483863f
JM
12008 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12009 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12010 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12011 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12012 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12013 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12014 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12015 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12016 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12017 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12018 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12019 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12020 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12021 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12022 Likewise.
12023 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12024 Likewise.
12025 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12026 Likewise.
12027 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12028 Likewise.
12029 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12030 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12031 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12032 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12033 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12034 Specify lower bound on value.
12035 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12036 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12037 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12038 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12039 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12040 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12041 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12042 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12043 value.
12044 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12045 as optional.
12046 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12047 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12048 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12049 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12050 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12051 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12052 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12053 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12054 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12055 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12056 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12057 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12058 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12059 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12060 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12061 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12062 entry.
12063 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12064 optional.
12065 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12066 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12067 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12068 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12069 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12070 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12071 Likewise.
12072 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12073 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12074 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12075 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12076 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12077 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12078 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12079 as optional.
12080 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12081 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12082 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12083 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12084 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12085 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12086 specify as optional.
12087 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12088 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12089 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12090 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12091 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12092 [XPG3] (NL_LANGMAX): Likewise.
12093 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12094 [POSIX || XPG3] (NL_NMAX): Likewise.
12095 [POSIX || XPG3] (NL_SETMAX): Likewise.
12096 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12097 [XPG3] (NZERO): Likewise.
12098 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12099 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12100 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12101 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12102 (REG_ERANGE): Expect.
12103 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12104 optional-constant.
12105 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12106 Use (void) in prototype.
12107 [POSIX] (*_t): Allow.
12108 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12109 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12110 (WRDE_BADVAL): Expect.
12111
5ba924e3
JM
12112 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12113 expect.
12114 [XPG3 || XPG4] (O_RSYNC): Likewise.
12115 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12116 Likewise.
12117 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12118 [XPG3 || XPG4] (sigqueue): Likewise.
12119 [XPG3 || XPG4] (sigtimedwait): Likewise.
12120 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12121 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12122 [XPG3 || XPG4] (vsnprintf): Likewise.
12123 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12124 Likewise.
12125 [XPG3 || XPG4] (blksize_t): Likewise.
12126 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12127 Likewise.
12128 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12129 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12130 [XPG3 || XPG4] (struct itimerspec): Likewise.
12131 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12132 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12133 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12134 [XPG3 || XPG4] (clockid_t): Likewise.
12135 [XPG3 || XPG4] (timer_t): Likewise.
12136 [XPG3 || XPG4] (clock_getres): Likewise.
12137 [XPG3 || XPG4] (clock_gettime): Likewise.
12138 [XPG3 || XPG4] (clock_settime): Likewise.
12139 [XPG3 || XPG4] (nanosleep): Likewise.
12140 [XPG3 || XPG4] (timer_create): Likewise.
12141 [XPG3 || XPG4] (timer_delete): Likewise.
12142 [XPG3 || XPG4] (timer_gettime): Likewise.
12143 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12144 [XPG3 || XPG4] (timer_settime): Likewise.
12145 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12146 [XPG3 || XPG4] (getlogin_r): Likewise.
12147 [XPG3 || XPG4] (pread): Likewise.
12148 [XPG3 || XPG4] (pthread_atfork): Likewise.
12149 [XPG3 || XPG4] (pwrite): Likewise.
12150
ee663277
JM
12151 [BZ #14835]
12152 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12153 <bits/siginfo.h>.
12154
942caa16
PT
121552012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12156
e19af380
PT
12157 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12158 finalizing MALLSTREAM.
12159
942caa16
PT
12160 * sysdeps/mach/hurd/syncfs.c: New file.
12161
cfde9b46
SP
121622012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12163
12164 [BZ #14719]
12165 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12166 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12167 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12168 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12169 (_nss_dns_gethostbyname4_r): Likewise.
12170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12171 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12172
f6da27e5
PH
121732012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12174
12175 [BZ #13763]
12176 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12177
6665d4a2
SM
121782012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12179
1f51ee92
SM
12180 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12181 * elf/cache.c (print_entry): Print ",AArch64" for
12182 FLAG_AARCH64_LIB64
12183
6665d4a2
SM
12184 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12185 * elf/cache.c (print_entry): Print ",hard-float" for
12186 FLAG_ARM_LIBHF.
12187
05b227bd
DM
121882012-11-18 David S. Miller <davem@davemloft.net>
12189
12190 With help from Joseph Myers.
12191 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12192 cutoff to 2**-13.
12193 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12194 cutoff to 2**-25.
12195 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12196 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12197 small.
12198 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12199 * math/libm-test.inc (y0_test): New tests.
12200 (y1_test): New tests.
12201 * sysdeps/i386/fpu/libm-test-ulps: Update.
12202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12204
786b0b67
AS
122052012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12206
12207 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12208 64-bit targets.
12209 * configure: Regenerated.
12210
8e18b86d
DM
122112012-11-17 David S. Miller <davem@davemloft.net>
12212
12213 [BZ #14811]
12214 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12215 nonzero exponents with absolute value below 0x1p-128 to +/-
12216 0x1p-128.
12217
531f1ae0
JM
122182012-11-17 Joseph Myers <joseph@codesourcery.com>
12219
12df29e2
JM
12220 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12221
150dc1a0
JM
12222 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12223
531f1ae0
JM
12224 * posix/getconf-speclist.c: New file.
12225 * posix/posix-envs.def: Likewise.
12226 * posix/confstr.c (START_ENV_GROUP): New macro.
12227 (END_ENV_GROUP): Likewise.
12228 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12229 (KNOWN_PRESENT_ENV_STRING): Likewise.
12230 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12231 (UNKNOWN_ENVIRONMENT): Likewise.
12232 (confstr): Include posix-envs.def instead of handling
12233 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12234 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12235 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12236 (END_ENV_GROUP): Likewise.
12237 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12238 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12239 (UNKNOWN_ENVIRONMENT): Likewise.
12240 (__sysconf): Include posix-envs.def instead of handling associated
12241 cases directly here.
12242 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12243 preprocessing getconf-speclist.c rather than running getconf or
12244 generating empty file.
12245
a93f9cbc
PT
122462012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12247
12248 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12249
d64d9f87
AL
122502012-11-16 Andrej Lajovic <natrij@gmail.com>
12251
12252 [BZ #14672]
12253 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12254
447885eb
DM
122552012-11-16 David S. Miller <davem@davemloft.net>
12256
12257 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12258 smaller than LDBL_EPSILON/2.0L, just return xm1.
12259
bcbf9830
L
122602012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12261
12262 * elf/tst-array1.c (init): Set constructor priority to 1000.
12263 (fini): Set destructor priority to 1000.
12264 * elf/tst-array2dep.c: Likewise.
12265
2b766585
SP
122662012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12267
12268 [BZ #11741]
12269 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12270 (_IO_new_file_xsputn): Also return EOF if none of the input
12271 data was written when overflow failed.
12272 * libio/iopadn.c (_IO_padn): Likewise.
12273 * libio/iowpadn.c (_IO_wpadn): Likewise.
12274 * stdio-common/tst-put-error.c: Add copyright notice.
12275 (do_test): Add case for printing padded string.
12276 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12277 _IO_padn returned error.
12278 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12279 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12280 return EOF.
12281
b1848fde
SP
122822012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12283
12284 * libio/libioP.h: Add comment note that the references to C++
12285 bits are now obsolete.
12286
2fd89785
MS
122872012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12288
12289 * math/libm-test.inc (check_complex): Use asprintf.
12290
e3ea5409
JM
122912012-11-14 Joseph Myers <joseph@codesourcery.com>
12292
12293 * debug/pcprofiledump.c (print_version): Update copyright year.
12294 * malloc/memusagestat.c (print_version): Likewise.
12295
2e64d265
L
122962012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12297
12298 [BZ #14831]
12299 * elf/Makefile (tests): Add tst-audit8.
12300 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12301 ($(objpfx)tst-audit8.out): New target.
12302 (tst-audit8-ENV): New variable.
12303 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12304 audit if l_reloc_result is NULL.
12305 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12306 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12307 * elf/tst-audit8.c: New file.
12308
c485e4d2
MS
123092012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12310
12311 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12312 * misc/Makefile (CFLAGS-select.c): Define.
12313 * posix/Makefile (CFLAGS-pause.c): Define.
12314
3a0d900a
DM
123152012-11-13 David S. Miller <davem@davemloft.net>
12316
12317 * crypt/Makefile: Move test targets after toplevel Rules
12318 inclusion. Grab any necessary sysdep routines when linking.
12319 * crypt/md5.c (md5_process_block): Remove define, we will always
12320 name it __md5_process_block.
12321 (md5_finish_ctx): Update md5_process_block call.
12322 (md5_stream): Likewise.
12323 (md5_process_bytes): Likewise.
12324 (md5_process_block): Rename to __md5_process_block and move to ...
12325 * crypt/md5-block.c: ... here.
12326 * crypt/sha256.c (sha256_process_block): Move to ...
12327 * crypt/sha256-block.c: ... here.
12328 * crypt/sha512.c (sha512_process_block): Move to ...
12329 * crypt/sha512-block.c: ... here.
12330 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12331 path.
12332 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12333 * sysdeps/sparc/sparc64/multiarch/Makefile
12334 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12335 crypt subdir.
12336 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12337 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12338 multiarch changes.
12339 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12340 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12341 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12342 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12343 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12344 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12345 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12346 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12347 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12348 file.
12349 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12350 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12351 file.
12352 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12353
8ca89318
JM
123542012-11-13 Joseph Myers <joseph@codesourcery.com>
12355
e27d476a
JM
12356 * timezone/tzselect.ksh: Update from tzcode git revision
12357 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12358 * timezone/zdump.c: Likewise.
12359 * timezone/zic.c: Likewise.
12360 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12361 in TZVERSION setting, not $(PKGVERSION).
12362 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12363 REPORT_BUGS_TO settings.
12364
8ca89318
JM
12365 [BZ #14838]
12366 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12367 macro.
12368
47594329
MS
123692012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12370
12371 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12372 detection to immediately after _FP_ROUND().
12373 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12374 bits are 0.
12375
640ac3f1
DM
123762012-11-11 David S. Miller <davem@davemloft.net>
12377
12378 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12379 inttypes.h
12380 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12381 __close rather than their public counterparts.
12382
3d2577bb
JM
123832012-11-10 Joseph Myers <joseph@codesourcery.com>
12384
12385 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12386 file.
12387 [UNIX98] (sem_timedwait): Do not expect.
12388 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12389 [XPG4 || UNIX98] (sockatmark): Do not expect.
12390 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12391 (clock_getcpuclockid): Do not expect.
12392 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12393 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12394 Do not expect.
12395 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12396 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12397 [UNIX98] (vwscanf): Likewise.
12398 [UNIX98] (vswscanf): Likewise.
12399
fb1ae1ee
JM
124002012-11-09 Joseph Myers <joseph@codesourcery.com>
12401
9ec6f8bd
JM
12402 * timezone/version.h: Remove file.
12403 * timezone/README: Do not refer to version.h.
12404 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12405 $(objpfx)version.h.
12406 ($(objpfx)zdump.o): Likewise.
c3f81911 12407 ($(objpfx)version.h): New target.
9ec6f8bd 12408
0aa8f8a1
JM
12409 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12410 2012i.
12411 * timezone/README: Don't mention modification to tzselect.ksh.
12412 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12413 work on unmodified tzselect.ksh. Substitute version numbers in
12414 tzselect.ksh.
12415
4e87147f
JM
12416 * Makefile (format-me): Remove.
12417 (INSTALL): Adjust indentation. Use commands directly instead of
12418 using $(format-me).
12419
8b748aed
JM
12420 * aclocal.m4 (ACX_PKGVERSION): New macro.
12421 (ACX_BUGURL): Likewise.
12422 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12423 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12424 (REPORT_BUGS_TO): Likewise.
12425 * configure: Regenerated.
12426 * config.h.in (PKGVERSION): New macro.
12427 (REPORT_BUGS_TO): Likewise.
12428 * config.make.in (PKGVERSION): New variable.
12429 (PKGVERSION_TEXI): Likewise.
12430 (REPORT_BUGS_TO): Likewise.
12431 (REPORT_BUGS_TEXI): Likewise.
12432 * Makefile (format-me): Use -I$(common-objpfx)manual.
12433 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12434 ($(common-objpfx)manual/%): New target.
12435 (manual/%): Remove target.
12436 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12437 (print_version): Use PKGVERSION.
12438 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12439 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12440 and REPORT_BUGS_TO.
12441 ($(objpfx)xtrace): Likewise.
12442 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12443 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12444 (print_version): Use PKGVERSION.
12445 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12446 (do_version): Use PKGVERSION.
12447 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12448 REPORT_BUGS_TO.
12449 (common-ldd-rewrite): Likewise.
12450 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12451 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12452 (print_version): Use PKGVERSION.
12453 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12454 * elf/pldd.c (argp_program_bug_address): Remove variable.
12455 (more_help): New function.
12456 (argp): Use more_help.
12457 (print_version): Use PKGVERSION.
12458 * elf/sln.c (main): Use PKGVERSION.
12459 (usage): Use REPORT_BUGS_TO.
12460 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12461 (top level): Use PKGVERSION.
12462 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12463 (print_version): Use PKGVERSION.
12464 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12465 (print_version): Use PKGVERSION.
12466 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12467 (print_version): Use PKGVERSION.
12468 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12469 (print_version): Use PKGVERSION.
12470 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12471 (print_version): Use PKGVERSION.
12472 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12473 (print_version): Use PKGVERSION.
12474 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12475 and BUGURL.
12476 ($(objpfx)memusage): Likewise.
12477 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12478 (do_version): Use PKGVERSION.
12479 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12480 (print_version): Use PKGVERSION.
12481 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12482 ($PKGVERSION): New variable.
12483 ($REPORT_BUGS_TO): Likewise.
12484 (usage): Use $REPORT_BUGS_TO.
12485 (top level): Use $PKGVERSION.
12486 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12487 ($(objpfx)pkgvers.texi): New rule.
12488 ($(objpfx)stamp-pkgvers): Likewise.
12489 * manual/install.texi: Include pkgvers.texi.
12490 (--with-pkgversion): Document new configure option.
12491 (--with-bugurl): Likewise.
12492 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12493 than necessarily for this particular distribution. Use
12494 REPORT_BUGS_TO for where to report bugs.
12495 * INSTALL: Regenerated.
12496 * manual/libc.texinfo: Include pkgvers.texi.
12497 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12498 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12499 (print_version): Use PKGVERSION.
12500 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12501 (print_version): Use PKGVERSION.
12502 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12503 (print_version): Use PKGVERSION.
12504 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12505 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12506 macro.
12507 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12508 (print_version): Use PKGVERSION.
12509 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12510 (print_version): Use PKGVERSION.
12511 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12512 and PKGVERSION.
12513
92e4b6a9
JM
12514 * timezone/checktab.awk: Update from tzcode 2012i.
12515 * timezone/ialloc.c: Likewise.
12516 * timezone/private.h: Likewise.
12517 * timezone/scheck.c: Likewise.
12518 * timezone/tzfile.h: Likewise.
12519 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12520 (TZVERSION): Hardcode tzcode version number.
12521 * timezone/zdump.c: Update from tzcode 2012i.
12522 * timezone/zic.c: Likewise.
12523 * timezone/version.h: New file.
12524 * timezone/README: Describe version.h. Update upstream location.
12525
9bde902c
JM
12526 [BZ #14824]
12527 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12528 (mktemp): Enable declaration.
12529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12533 Likewise.
12534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12535 Likewise.
12536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12537 Likewise.
12538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12539 Likewise.
12540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12541 Likewise.
12542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12543 Likewise.
12544
fb1ae1ee
JM
12545 [BZ #14821]
12546 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12547 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12548 for copies of such integer values.
12549 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12550 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12551
2c1adbcb
AJ
125522012-11-09 Andreas Jaeger <aj@suse.de>
12553
12554 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12555 definitions and declarations that are provided by
12556 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12557
d0f8457e
AK
125582012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12559
3a235abb 12560 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12561 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12562 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12563 definition.
12564
57241e26
MS
125652012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12566
12567 * elf/elf.h: Update comment before AArch64 relocations.
12568
60e8270d
DM
125692012-11-07 David S. Miller <davem@davemloft.net>
12570
12571 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12572 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12573 (__start_context): Declare.
12574 (__makecontext_ret): Delete.
12575 (__makecontext): Hook up __start_context instead of
12576 __makecontext_ret.
12577 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12578 (sysdep_routines): Add __start_context when in stdlib.
12579
0fbb0fbc
JM
125802012-11-07 Joseph Myers <joseph@codesourcery.com>
12581
12582 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12583 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12584 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12585 hardcoded "nm".
12586 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12587 (READELF): New variable. Use it instead of hardcoded "readelf".
12588
eb48db7e
L
125892012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12590
12591 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12592 * sysdeps/x86/Makefile: Here.
12593 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12594 * sysdeps/x86/tst-xmmymm.sh: This.
12595
05bcf62a
JM
125962012-11-07 Joseph Myers <joseph@codesourcery.com>
12597
c4b6cf53
JM
12598 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12599 expectations.
12600 [UNIX98] (pthread_barrier_t): Do not expect.
12601 [UNIX98] (pthread_barrierattr_t): Likewise.
12602 [UNIX98] (pthread_spinlock_t): Likewise.
12603 [UNIX98] (pthread_barrier_destroy): Likewise.
12604 [UNIX98] (pthread_barrier_init): Likewise.
12605 [UNIX98] (pthread_barrier_wait): Likewise.
12606 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12607 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12608 [UNIX98] (pthread_barrierattr_init): Likewise.
12609 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12610 [UNIX98] (pthread_getcpuclockid): Likewise.
12611 [UNIX98] (pthread_mutex_timedlock): Likewise.
12612 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12613 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12614 [UNIX98] (pthread_sigmask): Likewise.
12615 [UNIX98] (pthread_spin_destroy): Likewise.
12616 [UNIX98] (pthread_spin_init): Likewise.
12617 [UNIX98] (pthread_spin_lock): Likewise.
12618 [UNIX98] (pthread_spin_trylock): Likewise.
12619 [UNIX98] (pthread_spin_unlock): Likewise.
12620 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12621 Do not expect.
12622 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12623 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12624 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12625 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12626 [XPG3 || XPG4] (pthread_key_t): Likewise.
12627 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12628 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12629 [XPG3 || XPG4] (pthread_once_t): Likewise.
12630 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12631 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12632 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12633 [XPG3 || XPG4] (pthread_t): Likewise.
12634
cbe6e120
JM
12635 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12636 not expect.
12637 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12638
1b126443
JM
12639 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12640 Change function return type to int.
12641
b961a573
JM
12642 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12643 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12644 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12645 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12646 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12647 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12648 [!POSIX] (posix_madvise): Likewise.
12649 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12650 && !UNIX98].
12651 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12652 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12653 (mode_t): Likewise.
12654 (posix_mem_offset): Likewise.
12655 (posix_typed_mem_get_info): Likewise.
12656 (posix_typed_mem_open): Likewise.
12657
9e188909
JM
12658 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12659 Change condition to [XOPEN2K8].
12660
05bcf62a
JM
12661 * conform/conformtest.pl: Preprocess allow-header data with -x c
12662 instead of from stdin.
12663 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12664 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12665 [C99-based standards] (cerfc): Likewise.
12666 [C99-based standards] (cexp2): Likewise.
12667 [C99-based standards] (cexpm1): Likewise.
12668 [C99-based standards] (clog10): Likewise.
12669 [C99-based standards] (clog1p): Likewise.
12670 [C99-based standards] (clog2): Likewise.
12671 [C99-based standards] (clgamma): Likewise.
12672 [C99-based standards] (ctgamma): Likewise.
12673 [C99-based standards] (cerff): Likewise.
12674 [C99-based standards] (cerfcf): Likewise.
12675 [C99-based standards] (cexp2f): Likewise.
12676 [C99-based standards] (cexpm1f): Likewise.
12677 [C99-based standards] (clog10f): Likewise.
12678 [C99-based standards] (clog1pf): Likewise.
12679 [C99-based standards] (clog2f): Likewise.
12680 [C99-based standards] (clgammaf): Likewise.
12681 [C99-based standards] (ctgammaf): Likewise.
12682 [C99-based standards] (cerfl): Likewise.
12683 [C99-based standards] (cerfcl): Likewise.
12684 [C99-based standards] (cexp2l): Likewise.
12685 [C99-based standards] (cexpm1l): Likewise.
12686 [C99-based standards] (clog10l): Likewise.
12687 [C99-based standards] (clog1pl): Likewise.
12688 [C99-based standards] (clog2l): Likewise.
12689 [C99-based standards] (clgammal): Likewise.
12690 [C99-based standards] (ctgammal): Likewise.
12691 * conform/data/inttypes.h-data [C99-based standards]: Include
12692 stdint.h-data. Remove all expectations for stdint.h contents.
12693 [C99-based standards] (PRI*): Do not allow.
12694 [C99-based standards] (SCN*): Likewise.
12695 [C99-based standards] (*_t): Likewise.
12696 [C99-based-standards] (PRId8): Expect macro.
12697 [C99-based-standards] (PRIi8): Likewise.
12698 [C99-based-standards] (PRIo8): Likewise.
12699 [C99-based-standards] (PRIu8): Likewise.
12700 [C99-based-standards] (PRIx8): Likewise.
12701 [C99-based-standards] (PRIX8): Likewise.
12702 [C99-based-standards] (SCNd8): Likewise.
12703 [C99-based-standards] (SCNi8): Likewise.
12704 [C99-based-standards] (SCNo8): Likewise.
12705 [C99-based-standards] (SCNu8): Likewise.
12706 [C99-based-standards] (SCNx8): Likewise.
12707 [C99-based-standards] (PRIdLEAST8): Likewise.
12708 [C99-based-standards] (PRIiLEAST8): Likewise.
12709 [C99-based-standards] (PRIoLEAST8): Likewise.
12710 [C99-based-standards] (PRIuLEAST8): Likewise.
12711 [C99-based-standards] (PRIxLEAST8): Likewise.
12712 [C99-based-standards] (PRIXLEAST8): Likewise.
12713 [C99-based-standards] (SCNdLEAST8): Likewise.
12714 [C99-based-standards] (SCNiLEAST8): Likewise.
12715 [C99-based-standards] (SCNoLEAST8): Likewise.
12716 [C99-based-standards] (SCNuLEAST8): Likewise.
12717 [C99-based-standards] (SCNxLEAST8): Likewise.
12718 [C99-based-standards] (PRIdFAST8): Likewise.
12719 [C99-based-standards] (PRIiFAST8): Likewise.
12720 [C99-based-standards] (PRIoFAST8): Likewise.
12721 [C99-based-standards] (PRIuFAST8): Likewise.
12722 [C99-based-standards] (PRIxFAST8): Likewise.
12723 [C99-based-standards] (PRIXFAST8): Likewise.
12724 [C99-based-standards] (SCNdFAST8): Likewise.
12725 [C99-based-standards] (SCNiFAST8): Likewise.
12726 [C99-based-standards] (SCNoFAST8): Likewise.
12727 [C99-based-standards] (SCNuFAST8): Likewise.
12728 [C99-based-standards] (SCNxFAST8): Likewise.
12729 [C99-based-standards] (PRId16): Likewise.
12730 [C99-based-standards] (PRIi16): Likewise.
12731 [C99-based-standards] (PRIo16): Likewise.
12732 [C99-based-standards] (PRIu16): Likewise.
12733 [C99-based-standards] (PRIx16): Likewise.
12734 [C99-based-standards] (PRIX16): Likewise.
12735 [C99-based-standards] (SCNd16): Likewise.
12736 [C99-based-standards] (SCNi16): Likewise.
12737 [C99-based-standards] (SCNo16): Likewise.
12738 [C99-based-standards] (SCNu16): Likewise.
12739 [C99-based-standards] (SCNx16): Likewise.
12740 [C99-based-standards] (PRIdLEAST16): Likewise.
12741 [C99-based-standards] (PRIiLEAST16): Likewise.
12742 [C99-based-standards] (PRIoLEAST16): Likewise.
12743 [C99-based-standards] (PRIuLEAST16): Likewise.
12744 [C99-based-standards] (PRIxLEAST16): Likewise.
12745 [C99-based-standards] (PRIXLEAST16): Likewise.
12746 [C99-based-standards] (SCNdLEAST16): Likewise.
12747 [C99-based-standards] (SCNiLEAST16): Likewise.
12748 [C99-based-standards] (SCNoLEAST16): Likewise.
12749 [C99-based-standards] (SCNuLEAST16): Likewise.
12750 [C99-based-standards] (SCNxLEAST16): Likewise.
12751 [C99-based-standards] (PRIdFAST16): Likewise.
12752 [C99-based-standards] (PRIiFAST16): Likewise.
12753 [C99-based-standards] (PRIoFAST16): Likewise.
12754 [C99-based-standards] (PRIuFAST16): Likewise.
12755 [C99-based-standards] (PRIxFAST16): Likewise.
12756 [C99-based-standards] (PRIXFAST16): Likewise.
12757 [C99-based-standards] (SCNdFAST16): Likewise.
12758 [C99-based-standards] (SCNiFAST16): Likewise.
12759 [C99-based-standards] (SCNoFAST16): Likewise.
12760 [C99-based-standards] (SCNuFAST16): Likewise.
12761 [C99-based-standards] (SCNxFAST16): Likewise.
12762 [C99-based-standards] (PRId32): Likewise.
12763 [C99-based-standards] (PRIi32): Likewise.
12764 [C99-based-standards] (PRIo32): Likewise.
12765 [C99-based-standards] (PRIu32): Likewise.
12766 [C99-based-standards] (PRIx32): Likewise.
12767 [C99-based-standards] (PRIX32): Likewise.
12768 [C99-based-standards] (SCNd32): Likewise.
12769 [C99-based-standards] (SCNi32): Likewise.
12770 [C99-based-standards] (SCNo32): Likewise.
12771 [C99-based-standards] (SCNu32): Likewise.
12772 [C99-based-standards] (SCNx32): Likewise.
12773 [C99-based-standards] (PRIdLEAST32): Likewise.
12774 [C99-based-standards] (PRIiLEAST32): Likewise.
12775 [C99-based-standards] (PRIoLEAST32): Likewise.
12776 [C99-based-standards] (PRIuLEAST32): Likewise.
12777 [C99-based-standards] (PRIxLEAST32): Likewise.
12778 [C99-based-standards] (PRIXLEAST32): Likewise.
12779 [C99-based-standards] (SCNdLEAST32): Likewise.
12780 [C99-based-standards] (SCNiLEAST32): Likewise.
12781 [C99-based-standards] (SCNoLEAST32): Likewise.
12782 [C99-based-standards] (SCNuLEAST32): Likewise.
12783 [C99-based-standards] (SCNxLEAST32): Likewise.
12784 [C99-based-standards] (PRIdFAST32): Likewise.
12785 [C99-based-standards] (PRIiFAST32): Likewise.
12786 [C99-based-standards] (PRIoFAST32): Likewise.
12787 [C99-based-standards] (PRIuFAST32): Likewise.
12788 [C99-based-standards] (PRIxFAST32): Likewise.
12789 [C99-based-standards] (PRIXFAST32): Likewise.
12790 [C99-based-standards] (SCNdFAST32): Likewise.
12791 [C99-based-standards] (SCNiFAST32): Likewise.
12792 [C99-based-standards] (SCNoFAST32): Likewise.
12793 [C99-based-standards] (SCNuFAST32): Likewise.
12794 [C99-based-standards] (SCNxFAST32): Likewise.
12795 [C99-based-standards] (PRId64): Likewise.
12796 [C99-based-standards] (PRIi64): Likewise.
12797 [C99-based-standards] (PRIo64): Likewise.
12798 [C99-based-standards] (PRIu64): Likewise.
12799 [C99-based-standards] (PRIx64): Likewise.
12800 [C99-based-standards] (PRIX64): Likewise.
12801 [C99-based-standards] (SCNd64): Likewise.
12802 [C99-based-standards] (SCNi64): Likewise.
12803 [C99-based-standards] (SCNo64): Likewise.
12804 [C99-based-standards] (SCNu64): Likewise.
12805 [C99-based-standards] (SCNx64): Likewise.
12806 [C99-based-standards] (PRIdLEAST64): Likewise.
12807 [C99-based-standards] (PRIiLEAST64): Likewise.
12808 [C99-based-standards] (PRIoLEAST64): Likewise.
12809 [C99-based-standards] (PRIuLEAST64): Likewise.
12810 [C99-based-standards] (PRIxLEAST64): Likewise.
12811 [C99-based-standards] (PRIXLEAST64): Likewise.
12812 [C99-based-standards] (SCNdLEAST64): Likewise.
12813 [C99-based-standards] (SCNiLEAST64): Likewise.
12814 [C99-based-standards] (SCNoLEAST64): Likewise.
12815 [C99-based-standards] (SCNuLEAST64): Likewise.
12816 [C99-based-standards] (SCNxLEAST64): Likewise.
12817 [C99-based-standards] (PRIdFAST64): Likewise.
12818 [C99-based-standards] (PRIiFAST64): Likewise.
12819 [C99-based-standards] (PRIoFAST64): Likewise.
12820 [C99-based-standards] (PRIuFAST64): Likewise.
12821 [C99-based-standards] (PRIxFAST64): Likewise.
12822 [C99-based-standards] (PRIXFAST64): Likewise.
12823 [C99-based-standards] (SCNdFAST64): Likewise.
12824 [C99-based-standards] (SCNiFAST64): Likewise.
12825 [C99-based-standards] (SCNoFAST64): Likewise.
12826 [C99-based-standards] (SCNuFAST64): Likewise.
12827 [C99-based-standards] (SCNxFAST64): Likewise.
12828 [C99-based-standards] (PRIdMAX): Likewise.
12829 [C99-based-standards] (PRIiMAX): Likewise.
12830 [C99-based-standards] (PRIoMAX): Likewise.
12831 [C99-based-standards] (PRIuMAX): Likewise.
12832 [C99-based-standards] (PRIxMAX): Likewise.
12833 [C99-based-standards] (PRIXMAX): Likewise.
12834 [C99-based-standards] (SCNdMAX): Likewise.
12835 [C99-based-standards] (SCNiMAX): Likewise.
12836 [C99-based-standards] (SCNoMAX): Likewise.
12837 [C99-based-standards] (SCNuMAX): Likewise.
12838 [C99-based-standards] (SCNxMAX): Likewise.
12839 [C99-based-standards] (PRIdPTR): Likewise.
12840 [C99-based-standards] (PRIiPTR): Likewise.
12841 [C99-based-standards] (PRIoPTR): Likewise.
12842 [C99-based-standards] (PRIuPTR): Likewise.
12843 [C99-based-standards] (PRIxPTR): Likewise.
12844 [C99-based-standards] (PRIXPTR): Likewise.
12845 [C99-based-standards] (SCNdPTR): Likewise.
12846 [C99-based-standards] (SCNiPTR): Likewise.
12847 [C99-based-standards] (SCNoPTR): Likewise.
12848 [C99-based-standards] (SCNuPTR): Likewise.
12849 [C99-based-standards] (SCNxPTR): Likewise.
12850 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12851 allow.
12852 * conform/data/stdint.h-data: Update comments to clarify
12853 requirements.
12854 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12855 type.
12856 [C99-based standards] (INT8_MAX): Likewise.
12857 [C99-based standards] (INT16_MIN): Likewise.
12858 [C99-based standards] (INT16_MAX): Likewise.
12859 [C99-based standards] (INT32_MIN): Likewise.
12860 [C99-based standards] (INT32_MAX): Likewise.
12861 [C99-based standards] (INT64_MIN): Likewise.
12862 [C99-based standards] (INT64_MAX): Likewise.
12863 [C99-based standards] (UINT8_MAX): Likewise.
12864 [C99-based standards] (UINT16_MAX): Likewise.
12865 [C99-based standards] (UINT32_MAX): Likewise.
12866 [C99-based standards] (UINT64_MAX): Likewise.
12867 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12868 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12869 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12870 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12871 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12872 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12873 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12874 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12875 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12876 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12877 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12878 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12879 [C99-based standards] (INT_FAST8_MIN): Likewise.
12880 [C99-based standards] (INT_FAST8_MAX): Likewise.
12881 [C99-based standards] (INT_FAST16_MIN): Likewise.
12882 [C99-based standards] (INT_FAST16_MAX): Likewise.
12883 [C99-based standards] (INT_FAST32_MIN): Likewise.
12884 [C99-based standards] (INT_FAST32_MAX): Likewise.
12885 [C99-based standards] (INT_FAST64_MIN): Likewise.
12886 [C99-based standards] (INT_FAST64_MAX): Likewise.
12887 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12888 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12889 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12890 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12891 [C99-based standards] (INTPTR_MIN): Likewise.
12892 [C99-based standards] (INTPTR_MAX): Likewise.
12893 [C99-based standards] (UINTPTR_MAX): Likewise.
12894 [C99-based standards] (INTMAX_MIN): Likewise.
12895 [C99-based standards] (INTMAX_MAX): Likewise.
12896 [C99-based standards] (UINTMAX_MAX): Likewise.
12897 [C99-based standards] (PTRDIFF_MIN): Likewise.
12898 [C99-based standards] (PTRDIFF_MAX): Likewise.
12899 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12900 [C99-based standards] (SIZE_MAX): Likewise.
12901 [C99-based standards] (WCHAR_MAX): Likewise.
12902 [C99-based standards] (WINT_MAX): Likewise.
12903 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12904 constraint on value.
12905 [C99-based standards] (WCHAR_MIN): Likewise.
12906 [C99-based standards] (WINT_MIN): Likewise.
12907 [C99-based standards] (*_t): Allow.
12908 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12909 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12910 Include math.h-data and complex.h-data. Remove all expectations
12911 of math.h and complex.h contents.
12912 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12913 at end of line.
12914 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12915 (struct tm): Expect tag.
12916 [C99-based-standards] (wcstof): Expect function.
12917 [C99-based-standards] (wcstold): Likewise.
12918 [C99-based-standards] (wcstoll): Likewise.
12919 [C99-based-standards] (wcstoull): Likewise.
12920 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12921 macro-int-constant. Specify type.
12922 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12923 constraint on value.
12924 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12925 Specify type.
12926 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12927 Specify value.
12928 [ISO C standards]: Do not allow headers.
12929 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12930 wcs[abcdefghijklmnopqrstuvwxyz]*.
12931 [ISO C standards] (*_t): Do not allow.
12932 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12933 Expect function.
12934 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12935 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12936 Specify type.
12937 [ISO C standards]: Do not allow headers.
12938 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12939 is[abcdefghijklmnopqrstuvwxyz]*.
12940 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12941 to[abcdefghijklmnopqrstuvwxyz]*.
12942 [ISO C standards] (*_t): Do not allow.
12943 * conform/data/stdalign.h-data: New file.
12944 * conform/data/stdbool.h-data: Likewise.
12945 * conform/data/stdnoreturn.h-data: Likewise.
12946
7514feb8
RM
129472012-11-07 Roland McGrath <roland@hack.frob.com>
12948
12949 [BZ #14815]
12950 * manual/filesys.texi (Directory Entries): Typo fix.
12951 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12952
19b2ecfc
MS
129532012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12954
12955 * elf/elf.h (EM_AARCH64): New macro.
12956 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12957 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12958 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12959 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12960 (R_AARCH64_TLSDESC): Likewise.
12961 (NT_ARM_TLS): Likewise.
12962 (NT_ARM_HW_BREAK): Likewise.
12963 (NT_ARM_HW_WATCH): Likewise.
12964
60e235ee
JM
129652012-11-07 Joseph Myers <joseph@codesourcery.com>
12966
12967 [BZ #14811]
12968 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12969 (__ieee754_powl): Saturate nonzero exponents with absolute value
12970 below 0x1p-79 to +/- 0x1p-79.
12971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12972 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12973 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12974 nonzero exponents with absolute value below 0x1p-32 to +/-
12975 0x1p-32.
12976 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12977 (__ieee754_powl): Saturate nonzero exponents with absolute value
12978 below 0x1p-79 to +/- 0x1p-79.
12979 * math/libm-test.inc (pow_test): Add more tests.
12980
0ab234b7
AK
129812012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12982
12983 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12984 _dl_s390_cap_flags with kernel. Increase string length.
12985 (_dl_s390_platforms): Add z196 and zEC12.
12986
45832f74
JM
129872012-11-07 Joseph Myers <joseph@codesourcery.com>
12988
12989 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12990 Change XOPEN21K to XOPEN2K.
12991
19218757
MK
129922012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12993
12994 * string/memmove.c: Use memcpy when possible.
12995
c5f45721
AJ
129962012-11-06 Andreas Jaeger <aj@suse.de>
12997
12998 * po/eo.po: Update from translation team.
12999
82477c28
JM
130002012-11-06 Joseph Myers <joseph@codesourcery.com>
13001
13002 [BZ #14793]
13003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13004 exponent and small x and y exponents, scale x or y up. Increase
13005 by 2 the exponent used in scaling up.
13006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13008 * math/libm-test.inc (fma_test): Add more tests.
13009 (fma_test_towardzero): Likewise.
13010 (fma_test_downward): Likewise.
13011 (fma_test_upward): Likewise.
13012
99252c8c
JM
130132012-11-05 Joseph Myers <joseph@codesourcery.com>
13014
acfa885f
JM
13015 [BZ #14805]
13016 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13017 fenv_t *.
13018
99252c8c
JM
13019 [BZ #14801]
13020 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13021 namespace for names of struct fields.
13022 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13023 fenv_t fields.
13024 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13025 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13026
d6d98dea
ST
130272012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13028
13029 [BZ #3665]
13030 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13031
e10bb107
TS
130322012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13033
13034 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13035 PTR_DEMANGLE.
13036
13037 [BZ #5246]
13038 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13039 PTR_DEMANGLE.
13040
a0c2940d
JM
130412012-11-04 Joseph Myers <joseph@codesourcery.com>
13042
13043 [BZ #14797]
13044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13045 definitely overflow as x * y not x * y + z.
13046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13048 * math/libm-test.inc (fma_test): Add more tests.
13049 (fma_test_towardzero): Likewise.
13050 (fma_test_downward): Likewise.
13051 (fma_test_upward): Likewise.
13052
b830319d
TS
130532012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13054
13055 [BZ #157]
13056
13057 * include/stub-tag.h: Remove file.
13058 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13059 '#include' of it.
13060 * manual/maint.texi (Porting): Don't reference it.
13061 * Makerules ($(objpfx)stubs): Likewise.
13062 * dirent/closedir.c: Don't include <stub-tag.h>.
13063 * dirent/dirfd.c: Likewise.
13064 * dirent/fdopendir.c: Likewise.
13065 * dirent/getdents.c: Likewise.
13066 * dirent/getdents64.c: Likewise.
13067 * dirent/opendir.c: Likewise.
13068 * dirent/readdir.c: Likewise.
13069 * dirent/readdir64.c: Likewise.
13070 * dirent/readdir64_r.c: Likewise.
13071 * dirent/readdir_r.c: Likewise.
13072 * dirent/rewinddir.c: Likewise.
13073 * dirent/seekdir.c: Likewise.
13074 * dirent/telldir.c: Likewise.
13075 * gmon/profil.c: Likewise.
13076 * grp/setgroups.c: Likewise.
13077 * inet/if_index.c: Likewise.
13078 * io/access.c: Likewise.
13079 * io/chdir.c: Likewise.
13080 * io/chmod.c: Likewise.
13081 * io/chown.c: Likewise.
13082 * io/close.c: Likewise.
13083 * io/dup.c: Likewise.
13084 * io/dup2.c: Likewise.
13085 * io/dup3.c: Likewise.
13086 * io/euidaccess.c: Likewise.
13087 * io/faccessat.c: Likewise.
13088 * io/fchdir.c: Likewise.
13089 * io/fchmod.c: Likewise.
13090 * io/fchmodat.c: Likewise.
13091 * io/fchown.c: Likewise.
13092 * io/fchownat.c: Likewise.
13093 * io/fcntl.c: Likewise.
13094 * io/flock.c: Likewise.
13095 * io/fstatfs.c: Likewise.
13096 * io/fstatfs64.c: Likewise.
13097 * io/fstatvfs.c: Likewise.
13098 * io/fstatvfs64.c: Likewise.
13099 * io/futimens.c: Likewise.
13100 * io/fxstat.c: Likewise.
13101 * io/fxstat64.c: Likewise.
13102 * io/fxstatat.c: Likewise.
13103 * io/fxstatat64.c: Likewise.
13104 * io/getcwd.c: Likewise.
13105 * io/isatty.c: Likewise.
13106 * io/lchmod.c: Likewise.
13107 * io/lchown.c: Likewise.
13108 * io/link.c: Likewise.
13109 * io/linkat.c: Likewise.
13110 * io/lseek.c: Likewise.
13111 * io/lseek64.c: Likewise.
13112 * io/lxstat64.c: Likewise.
13113 * io/mkdir.c: Likewise.
13114 * io/mkdirat.c: Likewise.
13115 * io/mkfifo.c: Likewise.
13116 * io/mkfifoat.c: Likewise.
13117 * io/open.c: Likewise.
13118 * io/open64.c: Likewise.
13119 * io/openat.c: Likewise.
13120 * io/openat64.c: Likewise.
13121 * io/pipe.c: Likewise.
13122 * io/pipe2.c: Likewise.
13123 * io/poll.c: Likewise.
13124 * io/posix_fadvise.c: Likewise.
13125 * io/posix_fadvise64.c: Likewise.
13126 * io/posix_fallocate.c: Likewise.
13127 * io/posix_fallocate64.c: Likewise.
13128 * io/read.c: Likewise.
13129 * io/readlink.c: Likewise.
13130 * io/readlinkat.c: Likewise.
13131 * io/rmdir.c: Likewise.
13132 * io/sendfile.c: Likewise.
13133 * io/sendfile64.c: Likewise.
13134 * io/statfs.c: Likewise.
13135 * io/statfs64.c: Likewise.
13136 * io/statvfs.c: Likewise.
13137 * io/statvfs64.c: Likewise.
13138 * io/symlink.c: Likewise.
13139 * io/symlinkat.c: Likewise.
13140 * io/ttyname.c: Likewise.
13141 * io/ttyname_r.c: Likewise.
13142 * io/umask.c: Likewise.
13143 * io/unlink.c: Likewise.
13144 * io/unlinkat.c: Likewise.
13145 * io/utime.c: Likewise.
13146 * io/utimensat.c: Likewise.
13147 * io/write.c: Likewise.
13148 * io/xmknod.c: Likewise.
13149 * io/xmknodat.c: Likewise.
13150 * io/xstat.c: Likewise.
13151 * io/xstat64.c: Likewise.
13152 * login/getpt.c: Likewise.
13153 * login/grantpt.c: Likewise.
13154 * login/unlockpt.c: Likewise.
13155 * math/e_acoshl.c: Likewise.
13156 * math/e_acosl.c: Likewise.
13157 * math/e_asinl.c: Likewise.
13158 * math/e_atan2l.c: Likewise.
13159 * math/e_atanhl.c: Likewise.
13160 * math/e_coshl.c: Likewise.
13161 * math/e_expl.c: Likewise.
13162 * math/e_fmodl.c: Likewise.
13163 * math/e_gammal_r.c: Likewise.
13164 * math/e_hypotl.c: Likewise.
13165 * math/e_j0l.c: Likewise.
13166 * math/e_j1l.c: Likewise.
13167 * math/e_jnl.c: Likewise.
13168 * math/e_lgammal_r.c: Likewise.
13169 * math/e_log10l.c: Likewise.
13170 * math/e_log2l.c: Likewise.
13171 * math/e_logl.c: Likewise.
13172 * math/e_powl.c: Likewise.
13173 * math/e_rem_pio2l.c: Likewise.
13174 * math/e_sinhl.c: Likewise.
13175 * math/e_sqrtl.c: Likewise.
13176 * math/fclrexcpt.c: Likewise.
13177 * math/fedisblxcpt.c: Likewise.
13178 * math/feenablxcpt.c: Likewise.
13179 * math/fegetenv.c: Likewise.
13180 * math/fegetexcept.c: Likewise.
13181 * math/fegetround.c: Likewise.
13182 * math/feholdexcpt.c: Likewise.
13183 * math/fesetenv.c: Likewise.
13184 * math/fesetround.c: Likewise.
13185 * math/feupdateenv.c: Likewise.
13186 * math/fgetexcptflg.c: Likewise.
13187 * math/fraiseexcpt.c: Likewise.
13188 * math/fsetexcptflg.c: Likewise.
13189 * math/ftestexcept.c: Likewise.
13190 * math/k_cosl.c: Likewise.
13191 * math/k_rem_pio2l.c: Likewise.
13192 * math/k_sinl.c: Likewise.
13193 * math/k_tanl.c: Likewise.
13194 * math/s_asinhl.c: Likewise.
13195 * math/s_atanl.c: Likewise.
13196 * math/s_cbrtl.c: Likewise.
13197 * math/s_erfl.c: Likewise.
13198 * math/s_expm1l.c: Likewise.
13199 * math/s_log1pl.c: Likewise.
13200 * math/s_tanhl.c: Likewise.
13201 * misc/acct.c: Likewise.
13202 * misc/brk.c: Likewise.
13203 * misc/chflags.c: Likewise.
13204 * misc/chroot.c: Likewise.
13205 * misc/fchflags.c: Likewise.
13206 * misc/fgetxattr.c: Likewise.
13207 * misc/flistxattr.c: Likewise.
13208 * misc/fremovexattr.c: Likewise.
13209 * misc/fsetxattr.c: Likewise.
13210 * misc/fsync.c: Likewise.
13211 * misc/ftruncate.c: Likewise.
13212 * misc/futimes.c: Likewise.
13213 * misc/futimesat.c: Likewise.
13214 * misc/getdomain.c: Likewise.
13215 * misc/getdtsz.c: Likewise.
13216 * misc/gethostid.c: Likewise.
13217 * misc/gethostname.c: Likewise.
13218 * misc/getloadavg.c: Likewise.
13219 * misc/getpagesize.c: Likewise.
13220 * misc/getsysstats.c: Likewise.
13221 * misc/getxattr.c: Likewise.
13222 * misc/gtty.c: Likewise.
13223 * misc/ioctl.c: Likewise.
13224 * misc/lgetxattr.c: Likewise.
13225 * misc/listxattr.c: Likewise.
13226 * misc/llistxattr.c: Likewise.
13227 * misc/lremovexattr.c: Likewise.
13228 * misc/lsetxattr.c: Likewise.
13229 * misc/lutimes.c: Likewise.
13230 * misc/madvise.c: Likewise.
13231 * misc/mincore.c: Likewise.
13232 * misc/mlock.c: Likewise.
13233 * misc/mlockall.c: Likewise.
13234 * misc/mmap.c: Likewise.
13235 * misc/mprotect.c: Likewise.
13236 * misc/msync.c: Likewise.
13237 * misc/munlock.c: Likewise.
13238 * misc/munlockall.c: Likewise.
13239 * misc/munmap.c: Likewise.
13240 * misc/preadv.c: Likewise.
13241 * misc/preadv64.c: Likewise.
13242 * misc/ptrace.c: Likewise.
13243 * misc/pwritev.c: Likewise.
13244 * misc/pwritev64.c: Likewise.
13245 * misc/readv.c: Likewise.
13246 * misc/reboot.c: Likewise.
13247 * misc/remap_file_pages.c: Likewise.
13248 * misc/removexattr.c: Likewise.
13249 * misc/revoke.c: Likewise.
13250 * misc/select.c: Likewise.
13251 * misc/setdomain.c: Likewise.
13252 * misc/setegid.c: Likewise.
13253 * misc/seteuid.c: Likewise.
13254 * misc/sethostid.c: Likewise.
13255 * misc/sethostname.c: Likewise.
13256 * misc/setregid.c: Likewise.
13257 * misc/setreuid.c: Likewise.
13258 * misc/setxattr.c: Likewise.
13259 * misc/sstk.c: Likewise.
13260 * misc/stty.c: Likewise.
13261 * misc/swapoff.c: Likewise.
13262 * misc/swapon.c: Likewise.
13263 * misc/sync.c: Likewise.
13264 * misc/syncfs.c: Likewise.
13265 * misc/syscall.c: Likewise.
13266 * misc/truncate.c: Likewise.
13267 * misc/ualarm.c: Likewise.
13268 * misc/usleep.c: Likewise.
13269 * misc/ustat.c: Likewise.
13270 * misc/utimes.c: Likewise.
13271 * misc/vhangup.c: Likewise.
13272 * misc/writev.c: Likewise.
13273 * posix/_exit.c: Likewise.
13274 * posix/alarm.c: Likewise.
13275 * posix/execve.c: Likewise.
13276 * posix/fexecve.c: Likewise.
13277 * posix/fork.c: Likewise.
13278 * posix/fpathconf.c: Likewise.
13279 * posix/getaddrinfo.c: Likewise.
13280 * posix/getegid.c: Likewise.
13281 * posix/geteuid.c: Likewise.
13282 * posix/getgid.c: Likewise.
13283 * posix/getgroups.c: Likewise.
13284 * posix/getlogin.c: Likewise.
13285 * posix/getlogin_r.c: Likewise.
13286 * posix/getpgid.c: Likewise.
13287 * posix/getpid.c: Likewise.
13288 * posix/getppid.c: Likewise.
13289 * posix/getresgid.c: Likewise.
13290 * posix/getresuid.c: Likewise.
13291 * posix/getsid.c: Likewise.
13292 * posix/getuid.c: Likewise.
13293 * posix/glob64.c: Likewise.
13294 * posix/nanosleep.c: Likewise.
13295 * posix/pathconf.c: Likewise.
13296 * posix/pause.c: Likewise.
13297 * posix/posix_madvise.c: Likewise.
13298 * posix/pread.c: Likewise.
13299 * posix/pread64.c: Likewise.
13300 * posix/pwrite.c: Likewise.
13301 * posix/pwrite64.c: Likewise.
13302 * posix/sched_getaffinity.c: Likewise.
13303 * posix/sched_getp.c: Likewise.
13304 * posix/sched_gets.c: Likewise.
13305 * posix/sched_primax.c: Likewise.
13306 * posix/sched_primin.c: Likewise.
13307 * posix/sched_rr_gi.c: Likewise.
13308 * posix/sched_setaffinity.c: Likewise.
13309 * posix/sched_setp.c: Likewise.
13310 * posix/sched_sets.c: Likewise.
13311 * posix/sched_yield.c: Likewise.
13312 * posix/setgid.c: Likewise.
13313 * posix/setlogin.c: Likewise.
13314 * posix/setpgid.c: Likewise.
13315 * posix/setresgid.c: Likewise.
13316 * posix/setresuid.c: Likewise.
13317 * posix/setsid.c: Likewise.
13318 * posix/setuid.c: Likewise.
13319 * posix/sleep.c: Likewise.
13320 * posix/spawni.c: Likewise.
13321 * posix/sysconf.c: Likewise.
13322 * posix/times.c: Likewise.
13323 * posix/wait.c: Likewise.
13324 * posix/wait3.c: Likewise.
13325 * posix/wait4.c: Likewise.
13326 * posix/waitpid.c: Likewise.
13327 * resolv/gai_sigqueue.c: Likewise.
13328 * resource/getpriority.c: Likewise.
13329 * resource/getrlimit.c: Likewise.
13330 * resource/getrusage.c: Likewise.
13331 * resource/nice.c: Likewise.
13332 * resource/setpriority.c: Likewise.
13333 * resource/setrlimit.c: Likewise.
13334 * resource/ulimit.c: Likewise.
13335 * rt/aio_cancel.c: Likewise.
13336 * rt/aio_fsync.c: Likewise.
13337 * rt/aio_read.c: Likewise.
13338 * rt/aio_sigqueue.c: Likewise.
13339 * rt/aio_suspend.c: Likewise.
13340 * rt/aio_write.c: Likewise.
13341 * rt/clock_getres.c: Likewise.
13342 * rt/clock_gettime.c: Likewise.
13343 * rt/clock_nanosleep.c: Likewise.
13344 * rt/clock_settime.c: Likewise.
13345 * rt/lio_listio.c: Likewise.
13346 * rt/mq_close.c: Likewise.
13347 * rt/mq_getattr.c: Likewise.
13348 * rt/mq_notify.c: Likewise.
13349 * rt/mq_open.c: Likewise.
13350 * rt/mq_receive.c: Likewise.
13351 * rt/mq_send.c: Likewise.
13352 * rt/mq_setattr.c: Likewise.
13353 * rt/mq_timedreceive.c: Likewise.
13354 * rt/mq_timedsend.c: Likewise.
13355 * rt/mq_unlink.c: Likewise.
13356 * rt/shm_open.c: Likewise.
13357 * rt/shm_unlink.c: Likewise.
13358 * rt/timer_create.c: Likewise.
13359 * rt/timer_delete.c: Likewise.
13360 * rt/timer_getoverr.c: Likewise.
13361 * rt/timer_gettime.c: Likewise.
13362 * rt/timer_settime.c: Likewise.
13363 * setjmp/__longjmp.c: Likewise.
13364 * setjmp/setjmp.c: Likewise.
13365 * signal/kill.c: Likewise.
13366 * signal/killpg.c: Likewise.
13367 * signal/raise.c: Likewise.
13368 * signal/sigaction.c: Likewise.
13369 * signal/sigaltstack.c: Likewise.
13370 * signal/sigblock.c: Likewise.
13371 * signal/sigignore.c: Likewise.
13372 * signal/sigintr.c: Likewise.
13373 * signal/signal.c: Likewise.
13374 * signal/sigpause.c: Likewise.
13375 * signal/sigpending.c: Likewise.
13376 * signal/sigqueue.c: Likewise.
13377 * signal/sigreturn.c: Likewise.
13378 * signal/sigset.c: Likewise.
13379 * signal/sigsetmask.c: Likewise.
13380 * signal/sigstack.c: Likewise.
13381 * signal/sigsuspend.c: Likewise.
13382 * signal/sigtimedwait.c: Likewise.
13383 * signal/sigvec.c: Likewise.
13384 * signal/sigwait.c: Likewise.
13385 * signal/sigwaitinfo.c: Likewise.
13386 * signal/sysv_signal.c: Likewise.
13387 * socket/accept.c: Likewise.
13388 * socket/accept4.c: Likewise.
13389 * socket/bind.c: Likewise.
13390 * socket/connect.c: Likewise.
13391 * socket/getpeername.c: Likewise.
13392 * socket/getsockname.c: Likewise.
13393 * socket/getsockopt.c: Likewise.
13394 * socket/isfdtype.c: Likewise.
13395 * socket/listen.c: Likewise.
13396 * socket/recv.c: Likewise.
13397 * socket/recvfrom.c: Likewise.
13398 * socket/recvmsg.c: Likewise.
13399 * socket/send.c: Likewise.
13400 * socket/sendmsg.c: Likewise.
13401 * socket/sendto.c: Likewise.
13402 * socket/setsockopt.c: Likewise.
13403 * socket/shutdown.c: Likewise.
13404 * socket/sockatmark.c: Likewise.
13405 * socket/socket.c: Likewise.
13406 * socket/socketpair.c: Likewise.
13407 * stdio-common/ctermid.c: Likewise.
13408 * stdio-common/cuserid.c: Likewise.
13409 * stdio-common/remove.c: Likewise.
13410 * stdio-common/rename.c: Likewise.
13411 * stdio-common/renameat.c: Likewise.
13412 * stdio-common/tempname.c: Likewise.
13413 * stdlib/getcontext.c: Likewise.
13414 * stdlib/makecontext.c: Likewise.
13415 * stdlib/setcontext.c: Likewise.
13416 * stdlib/swapcontext.c: Likewise.
13417 * stdlib/system.c: Likewise.
13418 * streams/fattach.c: Likewise.
13419 * streams/fdetach.c: Likewise.
13420 * streams/getmsg.c: Likewise.
13421 * streams/getpmsg.c: Likewise.
13422 * streams/putmsg.c: Likewise.
13423 * streams/putpmsg.c: Likewise.
13424 * sysdeps/unix/bsd/getpt.c: Likewise.
13425 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13426 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13427 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13429 Likewise.
13430 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13431 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13432 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13433 * sysvipc/msgctl.c: Likewise.
13434 * sysvipc/msgget.c: Likewise.
13435 * sysvipc/msgrcv.c: Likewise.
13436 * sysvipc/msgsnd.c: Likewise.
13437 * sysvipc/semctl.c: Likewise.
13438 * sysvipc/semget.c: Likewise.
13439 * sysvipc/semop.c: Likewise.
13440 * sysvipc/semtimedop.c: Likewise.
13441 * sysvipc/shmat.c: Likewise.
13442 * sysvipc/shmctl.c: Likewise.
13443 * sysvipc/shmdt.c: Likewise.
13444 * sysvipc/shmget.c: Likewise.
13445 * termios/tcdrain.c: Likewise.
13446 * termios/tcflow.c: Likewise.
13447 * termios/tcflush.c: Likewise.
13448 * termios/tcgetattr.c: Likewise.
13449 * termios/tcgetpgrp.c: Likewise.
13450 * termios/tcsendbrk.c: Likewise.
13451 * termios/tcsetattr.c: Likewise.
13452 * termios/tcsetpgrp.c: Likewise.
13453 * time/adjtime.c: Likewise.
13454 * time/clock.c: Likewise.
13455 * time/getitimer.c: Likewise.
13456 * time/gettimeofday.c: Likewise.
13457 * time/setitimer.c: Likewise.
13458 * time/settimeofday.c: Likewise.
13459 * time/stime.c: Likewise.
13460 * time/time.c: Likewise.
13461
134622012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13463
a20492cf
PT
13464 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13465 /usr/old/bin.
13466
72e182e3
PT
13467 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13468 instead of spaces.
13469 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13470
fbeafede
JM
134712012-11-03 Joseph Myers <joseph@codesourcery.com>
13472
5b5b04d6
JM
13473 [BZ #14796]
13474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13475 FE_TONEAREST before applying Dekker multiplication and Knuth
13476 addition. Clear inexact exceptions and check for exact zero
13477 results afterwards.
13478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13479 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13480 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13481 * math/libm-test.inc (fma_test): Add more tests.
13482 (fma_test_towardzero): Likewise.
13483 (fma_test_downward): Likewise.
13484 (fma_test_upward): Likewise.
13485 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13486 function.
13487 (libc_fesetround): New macro.
13488 (libc_fesetroundf): Likewise.
13489 (libc_fesetroundl): Likewise.
13490 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13491 function.
13492 (libc_fesetround_387): Likewise.
13493 (libc_fesetroundf): New macro.
13494 (libc_fesetround): Likewise.
13495 (libc_fesetroundl): Likewise.
13496 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13497 function.
13498 (libc_fesetroundf): New macro.
13499 (libc_fesetround): Likewise.
13500 (libc_fesetroundl): Likewise.
13501 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13502 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13503 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13504 libm_hidden_ver.
13505 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13506 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13507 libm_hidden_def.
13508 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13509 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13510 libm_hidden_ver.
13511 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13512 libm_hidden_def.
13513
fbeafede
JM
13514 [BZ #3439]
13515 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13516 integer constant usable in #if and use that to give value to enum
13517 constant.
13518 (FE_DIVBYZERO): Likewise.
13519 (FE_UNDERFLOW): Likewise.
13520 (FE_OVERFLOW): Likewise.
13521 (FE_INVALID): Likewise.
13522 (FE_INVALID_SNAN): Likewise.
13523 (FE_INVALID_ISI): Likewise.
13524 (FE_INVALID_IDI): Likewise.
13525 (FE_INVALID_ZDZ): Likewise.
13526 (FE_INVALID_IMZ): Likewise.
13527 (FE_INVALID_COMPARE): Likewise.
13528 (FE_INVALID_SOFTWARE): Likewise.
13529 (FE_INVALID_SQRT): Likewise.
13530 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13531 (FE_TONEAREST): Likewise.
13532 (FE_TOWARDZERO): Likewise.
13533 (FE_UPWARD): Likewise.
13534 (FE_DOWNWARD): Likewise.
13535 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13536 (FE_DIVBYZERO): Likewise.
13537 (FE_OVERFLOW): Likewise.
13538 (FE_UNDERFLOW): Likewise.
13539 (FE_INEXACT): Likewise.
13540 (FE_TONEAREST): Likewise.
13541 (FE_DOWNWARD): Likewise.
13542 (FE_UPWARD): Likewise.
13543 (FE_TOWARDZERO): Likewise.
13544 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13545 (FE_UNDERFLOW): Likewise.
13546 (FE_OVERFLOW): Likewise.
13547 (FE_DIVBYZERO): Likewise.
13548 (FE_INVALID): Likewise.
13549 (FE_TONEAREST): Likewise.
13550 (FE_TOWARDZERO): Likewise.
13551 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13552 (FE_OVERFLOW): Likewise.
13553 (FE_UNDERFLOW): Likewise.
13554 (FE_DIVBYZERO): Likewise.
13555 (FE_INEXACT): Likewise.
13556 (FE_TONEAREST): Likewise.
13557 (FE_TOWARDZERO): Likewise.
13558 (FE_UPWARD): Likewise.
13559 (FE_DOWNWARD): Likewise.
13560 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13561 (FE_DIVBYZERO): Likewise.
13562 (FE_OVERFLOW): Likewise.
13563 (FE_UNDERFLOW): Likewise.
13564 (FE_INEXACT): Likewise.
13565 (FE_TONEAREST): Likewise.
13566 (FE_DOWNWARD): Likewise.
13567 (FE_UPWARD): Likewise.
13568 (FE_TOWARDZERO): Likewise.
13569
105ca950
CM
135702012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13571
13572 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13573
a542b389
AS
135742012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13575
13576 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13577 commands. Quote $PWD.
13578 (blacklist_exports): Don't use remove_newlines. Replace "declare
13579 -x" by "export".
13580 (remove_newlines): Remove.
13581
f62c8abc
L
135822012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13583
13584 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13585 * stdlib/stdlib.h (atof): Moved to ...
13586 * include/bits/stdlib-float.h: Here. New file.
13587 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13588 * stdlib/bits/stdlib-float.h: New file.
13589 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13590 -mno-sse -mno-mmx.
13591 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13592 <xmmintrin.h>.
13593
0155d5b2
JM
135942012-11-02 Joseph Myers <joseph@codesourcery.com>
13595
a68d0680
JM
13596 * conform/conformtest.pl (@headers): Add fenv.h.
13597 * conform/data/fenv.h-data: New file.
13598 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13599 include of <math/fenv.h>.
13600
caf7f573
JM
13601 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13602 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13603 && !UNIX98]. Enables tests for XOPEN2K8.
13604 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13605 POSIX2008]: Likewise.
13606
6c073ad6
JM
13607 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13608 (struct rusage): Do not expect type or its members.
13609
0155d5b2
JM
13610 [BZ #3439]
13611 * math/math.h (FP_NAN): Define macro to integer constant usable in
13612 #if and use that to give value to enum constant.
13613 (FP_INFINITE): Likewise.
13614 (FP_ZERO): Likewise.
13615 (FP_SUBNORMAL): Likewise.
13616 (FP_NORMAL): Likewise.
13617
b5dcacb4
AS
136182012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13619
13620 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13621 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13622 arguments.
13623
f7934be8
RM
136242012-11-02 Roland McGrath <roland@hack.frob.com>
13625
13626 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13627 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13628 autoconf-time if not.
13629 * configure.in: Remove AC_PREREQ.
13630
d7d08bde
TMQMF
136312012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13632
13633 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13634 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13635 of the internal implementation.
13636
dcdae19a
JM
136372012-11-02 Joseph Myers <joseph@codesourcery.com>
13638
13639 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13640 except include of <misc/sys/syslog.h>.
13641
d6cffd3e
AS
136422012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13643
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13645 function returns with a NULL context exit with zero.
13646
b3563932
TMQMF
136472012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13648
13649 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13650
b288a93d
L
136512012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13652
13653 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13654 (run_program_cmd): This.
13655 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13656 (tst_langinfo): New variable. Use it.
13657
a2421a68
SAS
136582012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13659
13660 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13661 floating point opcodes.
13662
6f796e1b
TS
136632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13664
7402596b
TS
13665 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13666 variable.
13667
d0d4f868
TS
13668 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13669
6f796e1b
TS
13670 * sysdeps/mach/hurd/powerpc: Remove directory.
13671 * sysdeps/mach/powerpc: Likewise.
13672
4da224a2
AS
136732012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13674
13675 * scripts/check-local-headers.sh: Ignore c++ headers.
13676
341dd673
TS
136772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13678
13679 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13680 __libc_cleanup_region_start argument.
13681
473611b2
JM
136822012-11-01 Joseph Myers <joseph@codesourcery.com>
13683
13684 [BZ #14784]
13685 [BZ #14785]
13686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13687 x * y using scaling, not as x * y + z.
13688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13689 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13690 * math/libm-test.inc (fma_test): Add more tests.
13691 (fma_test_towardzero): Likewise.
13692 (fma_test_downward): Likewise.
13693 (fma_test_upward): Likewise.
13694
4078da3d
TS
136952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13696
13697 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13698
903252aa
JM
136992012-10-31 Joseph Myers <joseph@codesourcery.com>
13700
13701 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13702 New variable.
13703
cbc818d0
TS
137042012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13705
13706 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13707
5a03cb1e
AS
137082012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13709
13710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13711 Fix sort order.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13713 Likewise.
13714
90aff2ff
TMQMF
137152012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13716
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13718 Fix the order of the list for glibc 2.17.
13719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13720 Likewise.
13721
1818fcb7
AS
137222012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13723
13724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13725
ef82f4da
JM
137262012-10-31 Joseph Myers <joseph@codesourcery.com>
13727
16a0e2ec
JM
13728 [BZ #14610]
13729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13730 for low part of x being zero before using __atanl (y).
13731 * math/libm-test.inc (atan2_test): Add another test.
13732
0eb69512
JM
13733 * manual/install.texi (Configuring and compiling): Document
13734 general use of test-wrapper and test-wrapper-env.
13735 * INSTALL: Regenerated.
13736
ef82f4da
JM
13737 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13738 (__fma): Do not extract and scale down low bits on after-rounding
13739 systems when result rounded to normal precision would have normal
13740 exponent.
13741 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13742 (__fmal): Do not extract and scale down low bits on after-rounding
13743 systems when result rounded to normal precision would have normal
13744 exponent.
13745 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13746 (__fmal): Do not extract and scale down low bits on after-rounding
13747 systems when result rounded to normal precision would have normal
13748 exponent.
13749 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13750 macro.
13751 (fma_test): Add more tests.
13752 (fma_test_towardzero): Likewise.
13753 (fma_test_downward): Likewise.
13754 (fma_test_upward): Likewise.
13755
954ef0d9
L
137562012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13757
13758 * sysdeps/i386/tininess.h: Renamed to ...
13759 * sysdeps/x86/tininess.h: This.
13760 * sysdeps/x86_64/tininess.h: Removed.
13761
df61ffb2
JM
137622012-10-30 Joseph Myers <joseph@codesourcery.com>
13763
13764 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13765 input. Use $(build-program-cmd).
13766 ($(objpfx)tst-array1-static.out): Likewise.
13767 ($(objpfx)tst-array2.out): Likewise.
13768 ($(objpfx)tst-array3.out): Likewise.
13769 ($(objpfx)tst-array4.out): Likewise.
13770 ($(objpfx)tst-array5.out): Likewise.
13771 ($(objpfx)tst-array5-static.out): Likewise.
13772
01767843
CM
137732012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13774
47cc1490
CM
13775 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13776 if defined.
13777
01767843
CM
13778 * nss/nsswitch.h (nss_interface_function): Provide new
13779 macro for use with NSS functions.
13780 * grp/initgroups.c: Use new macro.
13781 * nss/getXXbyYY.c: Likewise.
13782 * nss/getXXbyYY_r.c: Likewise.
13783 * nss/getXXent.c: Likewise.
13784 * nss/getXXent_r.c: Likewise.
13785 * sysdeps/posix/getaddrinfo.c: Likewise.
13786
8321aa97
AJ
137872012-10-30 Andreas Jaeger <aj@suse.de>
13788
13789 * po/ru.po: Update Russion translation from translation project.
13790
2a27fd6d
JM
137912012-10-30 Joseph Myers <joseph@codesourcery.com>
13792
8627a232
JM
13793 [BZ #14152]
13794 [BZ #14783]
13795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13796 result and shift together with sticky bit instead of replicating
13797 round-to-nearest rounding.
13798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13800 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13801 missing underflow exceptions.
13802 (fma_test_towardzero): Add more tests.
13803 (fma_test_downward): Likewise.
13804 (fma_test_upward): Likewise.
13805
2a27fd6d
JM
13806 [BZ #14047]
13807 * sysdeps/generic/tininess.h: New file.
13808 * sysdeps/i386/tininess.h: Likewise.
13809 * sysdeps/sh/tininess.h: Likewise.
13810 * sysdeps/x86_64/tininess.h: Likewise.
13811 * stdlib/tst-strtod-underflow.c: Likewise.
13812 * stdlib/tst-tininess.c: Likewise.
13813 * stdlib/strtod_l.c: Include <tininess.h>.
13814 (round_and_return): Do not set errno for exact underflow cases.
13815 Force an underflow exception when setting errno for underflow.
13816 Determine underflow based on rounding to normal precision if
13817 TININESS_AFTER_ROUNDING.
13818 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13819 ERANGE for exact underflow cases.
13820 * stdlib/Makefile (tests): Add tst-tininess and
13821 tst-strtod-underflow.
13822 ($(objpfx)tst-tininess): Use $(link-libm).
13823 ($(objpfx)tst-strtod-underflow): Likewise.
13824
e7170363
AJ
138252012-10-30 Andreas Jaeger <aj@suse.de>
13826
e5088dc6
AJ
13827 [BZ#14767]
13828 * elf/Makefile (tests): Remove conditional for have-initfini-array
13829 since this is now always required and the variable does not exist
13830 anymore.
13831 (tests-static): Likewise.
13832 (modules-names): Likewise.
13833
e7170363 13834 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13835
13836 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13837 merged with constructor/destructor.
13838 (init_array): Likewise.
13839 * elf/tst-array2dep.c (fini_array): Likewise.
13840 (init_array): Likewise.
13841
60457d8a
MF
138422012-10-29 Mike Frysinger <vapier@gentoo.org>
13843
13844 * manual/message.texi: Delete @cartouche tags.
13845
8bece752
PT
138462012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13847
94ce799f
PT
13848 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13849 EOPNOTSUPP.
13850 * sysdeps/mach/hurd/fsync.c: Likewise.
13851
8bece752
PT
13852 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13853 [_POSIX_REALTIME_SIGNALS]: Change condition to
13854 [_POSIX_REALTIME_SIGNALS > 0].
13855
86ebe6b1
AJ
138562012-10-27 Andreas Jaeger <aj@suse.de>
13857
13858 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13859 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13861 [__WORDSIZE != 64]: Likewise.
13862
54399c08
L
138632012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13864
13865 * iconvdata/tst-table.sh: Remove ${SHELL}.
13866 * iconvdata/tst-tables.sh: Likewise.
13867
e2211bed
DM
138682012-10-25 David S. Miller <davem@davemloft.net>
13869
13870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13871 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13872 of strtoull.
13873
f303f97c
DM
13874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13875 ifunc-impl-list.c
13876 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13877 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13878 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13879 file.
13880
1e9d84cd
RM
138812012-10-25 Roland McGrath <roland@hack.frob.com>
13882
13883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13884 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13885 __getdirentries.
13886
df381762
JM
138872012-10-25 Joseph Myers <joseph@codesourcery.com>
13888 Jim Blandy <jimb@codesourcery.com>
13889
13890 * scripts/cross-test-ssh.sh: New file.
13891 * manual/install.texi (Configuring and compiling): Document use of
13892 cross-test-ssh.sh.
13893 * INSTALL: Regenerated.
13894
bff64913
PT
138952012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13896
13897 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13898 EOPNOTSUPP.
13899
25fe8932
JM
139002012-10-25 Joseph Myers <joseph@codesourcery.com>
13901
13902 * Makeconfig (run-program-prefix): Fix comment.
13903
cc1290d0
JM
139042012-10-24 Joseph Myers <joseph@codesourcery.com>
13905 Jim Blandy <jimb@codesourcery.com>
13906
13907 * Makeconfig (test-wrapper): New variable,
13908 (test-wrapper-env): Likewise.
13909 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13910 (run-built-tests): Define to yes.
13911 (run-program-prefix): Use $(test-wrapper).
13912 (built-program-cmd): Likewise.
13913 * Rules (make-test-out): Use $(test-wrapper-env) and
13914 $(host-built-program-cmd).
13915 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13916 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13917 tst-pathopt.sh.
13918 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13919 $(test-wrapper-env) to tst-rtld-load-self.sh.
13920 ($(objpfx)order2.out): Use $(test-wrapper).
13921 ($(objpfx)tst-initorder.out): Likewise.
13922 ($(objpfx)tst-initorder2.out): Likewise.
13923 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13924 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13925 (test_wrapper_env): New variable. Use it to run ld.so.
13926 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13927 Use it to run ld.so.
13928 (test_wrapper_env): Likewise.
13929 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13930 $(test-wrapper) to run-iconv-test.sh.
13931 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13932 (ICONV): Use $test_wrapper.
13933 * posix/Makefile ($(objpfx)globtest.out): Pass
13934 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13935 globtest.sh, not $(run-program-prefix).
13936 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13937 (test_wrapper): Likewise.
13938 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13939 set together with run_via_rtld_prefix.
13940 (run_program_prefix): Define in terms of test_wrapper and
13941 run_via_rtld_prefix.
13942
6e6249d0
RM
139432012-10-24 Roland McGrath <roland@hack.frob.com>
13944
13945 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13946 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13947 Targets removed.
13948
13949 [BZ #14743]
13950 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13951 Declare __clock_getres, __clock_gettime, __clock_settime,
13952 __clock_nanosleep, and __clock_getcpuclockid.
13953 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13954 Remove librt_hidden_def (clock_gettime).
13955 * sysdeps/unix/clock_gettime.c: Likewise.
13956 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13957 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13958 * rt/clock_getres.c: Define __clock_getres as an alias.
13959 * sysdeps/posix/clock_getres.c: Likewise.
13960 * rt/clock_settime.c: Define __clock_settime as an alias.
13961 * sysdeps/unix/clock_settime.c: Likewise.
13962 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13963 * sysdeps/unix/clock_nanosleep.c: Likewise.
13964 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13965 * rt/clock-compat.c: New file.
13966 * rt/Makefile (librt-routines): Add clock-compat and move
13967 $(clock-routines) to ...
13968 (routines): ... here, new variable.
13969 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13970 Don't add get_clockfreq here.
13971 * rt/Versions (libc: GLIBC_2.17): New version set.
13972 Add clock_* symbols here.
13973 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13974 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13975 (GLIBC_2.17): Add clock_* symbols.
13976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13980 Likewise.
13981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13982 Likewise.
13983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13987 * NEWS: Mention the move.
13988
13989 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13990 Use __open, __read, __close rather than their public counterparts.
13991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13992 (__get_clockfreq_via_cpuinfo): Likewise.
13993 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13994 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13995
13996 * config.h.in (HAVE_IFUNC): New #undef.
13997 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13998 was successful.
13999 * configure: Regenerated.
14000
0cae3f4b
MF
140012012-10-24 Mike Frysinger <vapier@gentoo.org>
14002
14003 * configure.in: Move READELF check to start of file.
14004 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14005 libc_cv_asm_gnu_indirect_function in the process.
14006 * configure: Regenerated.
14007
8175a253
MF
140082012-10-24 Mike Frysinger <vapier@gentoo.org>
14009
14010 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14011 send the output to /dev/null.
14012 (libc_cv_cc_with_libunwind): Likewise.
14013 (libc_cv_as_noexecstack): Likewise.
14014 * configure: Regenerate.
14015
0708a7d1
JM
140162012-10-24 Joseph Myers <joseph@codesourcery.com>
14017
10b40d85
JM
14018 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14019
0708a7d1
JM
14020 * posix/globtest.sh (TMPDIR): Do not set.
14021 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14022 (testout): Likewise.
14023
9fddec1a
AJ
140242012-10-24 Andreas Jaeger <aj@suse.de>
14025
3a8db22f
AJ
14026 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14027 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14028 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14029 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14030 posix_fadvise64, posix_fallocate64.
14031
9fddec1a
AJ
14032 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14033 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14034 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14035 Likewise.
14036 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14037 Likewise.
14038 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14039
14040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14041 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14042 <bits/fcntl-linux.h>.
14043 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14044
14045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14046 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14047 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14048 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14049 [__WORDSIZE != 64]: Likewise.
14050
ebfd1bbd
JM
140512012-10-23 Joseph Myers <joseph@codesourcery.com>
14052
03ac099f
JM
14053 * Makeconfig (run-built-tests): New variable.
14054 * Rules [$(cross-compiling) = yes]: Change condition to
14055 [$(run-built-tests) = no].
14056 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14057 to [$(run-built-tests) = yes].
14058 * elf/Makefile [$(cross-compiling) = no]: Likewise
14059 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14060 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14061 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14062 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14063 * io/Makefile [$(cross-compiling) = no]: Likewise.
14064 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14065 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14066 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14067 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14068 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14069 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14070 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14071 * string/Makefile [$(cross-compiling) = no]: Likewise.
14072
ebfd1bbd
JM
14073 * posix/Makefile ($(objpfx)globtest.out): Pass
14074 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14075 $(rtld-installed-name).
14076 * posix/globtest.sh (elf_objpfx): Remove variable.
14077 (rtld_installed_name): Likewise.
14078 (library_path): Likewise.
14079 (run_program_prefix): New variable. Use for running globtest
14080 binary.
14081
166bca24
JB
140822012-10-23 Jim Blandy <jimb@codesourcery.com>
14083 Joseph Myers <joseph@codesourcery.com>
14084
14085 * Makeconfig (host-built-program-cmd): New variable.
14086 * elf/Makefile (tst-stackguard1-ARGS): Use
14087 $(host-built-program-cmd).
14088 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14089 (tst-spawn-ARGS): Likewise.
14090 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14091
88866099
JM
140922012-10-23 Joseph Myers <joseph@codesourcery.com>
14093 Jim Blandy <jimb@codesourcery.com>
14094
14095 * Makeconfig (run-via-rtld-prefix): New variable.
14096 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14097 (built-program-cmd): Likewise.
14098
b4b4c296
AJ
140992012-10-22 Andreas Jaeger <aj@suse.de>
14100
14101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14102 __O_RSYNC if it exists, otherwise to O_SYNC.
14103
6fb54a22
JB
141042012-10-22 Jim Blandy <jimb@codesourcery.com>
14105 Joseph Myers <joseph@codesourcery.com>
14106
14107 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14108 /dev/null.
14109 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14110 from /dev/null
14111 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14112 /dev/null.
14113
481b90b9
AJ
141142012-10-22 Andreas Jaeger <aj@suse.de>
14115
2a0e2669
AJ
14116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14117 Define always.
14118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14119
76e38f9a
AJ
14120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14121 bits/fcntl-linux.h.
14122
7cd37b43
AJ
14123 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14124 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14125
481b90b9
AJ
14126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14127 to __O_LARGEFILE.
14128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14129 to __O_LARGEFILE.
14130
aba75984
JB
141312012-10-21 Jim Blandy <jimb@codesourcery.com>
14132 Joseph Myers <joseph@codesourcery.com>
14133
14134 * config.make.in (NM): New variable.
14135
88d4247f
AJ
141362012-10-21 Andreas Jaeger <aj@suse.de>
14137
14138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14139 definitions and declarations that are provided by
14140 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14141
f2eed205
L
141422012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14143
14144 [BZ #14683]
14145 * elf/Makefile (tests-static): Add tst-leaks1-static.
14146 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14147 ($(objpfx)tst-leaks1-static): New rule.
14148 ($(objpfx)tst-leaks1-static-mem): Likewise.
14149 (tst-leaks1-static-ENV): New macro.
14150 * elf/dl-open.c (dl_open_worker): Check the main application
14151 only if SHARED is defined.
14152 * elf/tst-leaks1-static.c: New file.
14153
335e6931
AJ
141542012-10-20 Andreas Jaeger <aj@suse.de>
14155
14156 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14157 generic values for Linux.
14158 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14159 and declarations that are provided by <bits/fcntl-linux.h> and
14160 include <bits/fcntl-linux.h>.
14161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14163
ac5c94d3
RM
141642012-10-20 Roland McGrath <roland@hack.frob.com>
14165
14166 * io/fcntl.h: Move include of <bits/types.h> to the top and
14167 include it unconditionally.
14168
de54b33a
L
141692012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14170
228cfb01
L
14171 * wcsmbs/Makefile (tests-ifunc): New variable.
14172 (tests): Add $(tests-ifunc).
14173 * wcsmbs/test-wcschr-ifunc.c: New file.
14174 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14175 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14176 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14177 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14178 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14179
69f07e5f
L
14180 * string/Makefile (tests-ifunc): New variable.
14181 (tests): Add $(tests-ifunc).
14182 * string/test-memccpy.c (TEST_NAME): New macro.
14183 * string/test-memchr.c (TEST_NAME): Likewise.
14184 * string/test-memcmp.c (TEST_NAME): Likewise.
14185 * string/test-memcpy.c (TEST_NAME): Likewise.
14186 * string/test-memmem.c (TEST_NAME): Likewise.
14187 * string/test-memmove.c (TEST_NAME): Likewise.
14188 * string/test-memset.c (TEST_NAME): Likewise.
14189 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14190 * string/test-stpcpy.c (TEST_NAME): Likewise.
14191 * string/test-stpncpy.c (TEST_NAME): Likewise.
14192 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14193 * string/test-strcasestr.c (TEST_NAME): Likewise.
14194 * string/test-strcat.c (TEST_NAME): Likewise.
14195 * string/test-strchr.c (TEST_NAME): Likewise.
14196 * string/test-strcmp.c(TEST_NAME): Likewise.
14197 * string/test-strcpy.c (TEST_NAME): Likewise.
14198 * string/test-strcspn.c (TEST_NAME): Likewise.
14199 * string/test-strlen.c (TEST_NAME): Likewise.
14200 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14201 * string/test-strncmp.c (TEST_NAME): Likewise.
14202 * string/test-strncpy.c (TEST_NAME): Likewise.
14203 * string/test-strnlen.c (TEST_NAME): Likewise.
14204 * string/test-strpbrk.c (TEST_NAME): Likewise.
14205 * string/test-strrchr.c (TEST_NAME): Likewise.
14206 * string/test-strspn.c (TEST_NAME): Likewise.
14207 * string/test-strstr.c (TEST_NAME): Likewise.
14208 * string/test-bcopy-ifunc.c: New file.
14209 * string/test-bzero-ifunc.c: Likewise.
14210 * string/test-memccpy-ifunc.c: Likewise.
14211 * string/test-memchr-ifunc.c: Likewise.
14212 * string/test-memcmp-ifunc.c: Likewise.
14213 * string/test-memcpy-ifunc.c: Likewise.
14214 * string/test-memmem-ifunc.c: Likewise.
14215 * string/test-memmove-ifunc.c: Likewise.
14216 * string/test-mempcpy-ifunc.c: Likewise.
14217 * string/test-memset-ifunc.c: Likewise.
14218 * string/test-rawmemchr-ifunc.c: Likewise.
14219 * string/test-stpcpy-ifunc.c: Likewise.
14220 * string/test-stpncpy-ifunc.c: Likewise.
14221 * string/test-strcasecmp-ifunc.c: Likewise.
14222 * string/test-strcasestr-ifunc.c: Likewise.
14223 * string/test-strcat-ifunc.c: Likewise.
14224 * string/test-strchr-ifunc.c: Likewise.
14225 * string/test-strchrnul-ifunc.c: Likewise.
14226 * string/test-strcmp-ifunc.c: Likewise.
14227 * string/test-strcpy-ifunc.c: Likewise.
14228 * string/test-strcspn-ifunc.c: Likewise.
14229 * string/test-strlen-ifunc.c: Likewise.
14230 * string/test-strncasecmp-ifunc.c: Likewise.
14231 * string/test-strncat-ifunc.c: Likewise.
14232 * string/test-strncmp-ifunc.c: Likewise.
14233 * string/test-strncpy-ifunc.c: Likewise.
14234 * string/test-strnlen-ifunc.c: Likewise.
14235 * string/test-strpbrk-ifunc.c: Likewise.
14236 * string/test-strrchr-ifunc.c: Likewise.
14237 * string/test-strspn-ifunc.c: Likewise.
14238 * string/test-strstr-ifunc.c: Likewise.
14239
de54b33a
L
14240 * debug/Makefile (tests-ifunc): New variable.
14241 (tests): Add $(tests-ifunc).
14242 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14243 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14244 * debug/test-stpcpy_chk-ifunc.c: New file.
14245 * debug/test-strcpy_chk-ifunc.c: Likewise.
14246
88481c16
SP
142472012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14248
14249 [BZ #13601]
14250 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14251 header is not read in.
14252
135948bd
JM
142532012-10-19 Joseph Myers <joseph@codesourcery.com>
14254
89f1c388
JM
14255 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14256 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14257 directly. Pass built executable to script as
14258 $(built-program-cmd).
14259 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14260 $testprogram without using LD_LIBRARY_PATH and $ldso.
14261
e40a0d21
JM
14262 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14263 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14264 $(rtld-installed-name).
14265 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14266 (rtld_installed_name): Likewise.
14267 (library_path): Likewise.
14268 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14269 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14270 $(run-program-prefix) to tst-tables.sh.
14271 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14272 it to run tst-table-from and tst-table-to.
14273 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14274 Pass it to tst-table.sh.
14275 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14276 $(run-program-prefix) to tst-gettext.sh.
14277 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14278 tst-translit.sh.
14279 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14280 tst-gettext2.sh.
14281 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14282 to run tst-gettext.
14283 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14284 to run tst-gettext2.
14285 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14286 to run tst-translit.
14287 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14288 $(run-program-prefix) to tst-mtrace.sh.
14289 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14290 to run tst-mtrace.
14291 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14292 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14293 $(rtld-installed-name).
14294 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14295 (rtld_installed_name): Likewise.
14296 (run_program_prefix): New variable. Use it to run wordexp-test.
14297
728e272a
JM
14298 * Makeconfig (ARCH): Remove all definitions.
14299 (machine): Likewise.
14300 [ARCH]: Remove conditional code.
14301 [!objdir]: Give error.
14302 [!objdir] (objpfx): Remove.
14303 [!objdir] (common-objpfx): Likewise.
14304 [!objdir] (common-objdir): Likewise.
14305 * configure.in (config_makefile): Remove. Hardcode Makefile in
14306 AC_CONFIG_FILES call.
14307 * configure: Regenerated.
14308
d528cdcf
JM
14309 [BZ #13888]
14310 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14311 or TMPDIR.
14312 (testout): Likewise.
14313
135948bd
JM
14314 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14315 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14316 $(rtld-installed-name).
14317 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14318 (rtld_installed_name): Likwise.
14319 (runit): Remove function.
14320 (run_getconf): New variable, Use it for running getconf binary.
14321
38c78296
L
143222012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14323
14324 [BZ #14716]
14325 * string/test-memmem.c (check_result): New function.
14326 (do_one_test): Use it.
14327 (check1): New function.
14328 (test_main): Use it.
14329
d077f65f
MT
143302012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14331
14332 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14333
ced52c71
JM
143342012-10-18 Joseph Myers <joseph@codesourcery.com>
14335
14336 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14337 (_G_LSEEK64): Likewise.
14338 (_G_MMAP64): Likewise.
14339 (_G_FSTAT64): Likewise.
14340 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14341 (_G_LSEEK64): Likewise.
14342 (_G_MMAP64): Likewise.
14343 (_G_FSTAT64): Likewise.
14344 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14345 unconditional. Call __mmap64 directly.
14346 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14347 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14348 __lseek64 directly.
14349 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14350 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14351 __mmap64 directly.
14352 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14353 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14354 __lseek64 directly.
14355 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14356 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14357 __lseek64 directly.
14358 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14359 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14360 __lseek64 directly.
14361 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14362 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14363 __fxstat64 directly.
14364 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14365 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14366 unconditional.
14367 (freopen64) [!_G_OPEN64]: Remove conditional code.
14368 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14369 unconditional.
14370 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14371 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14372 unconditional.
14373 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14374 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14375 unconditional.
14376 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14377 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14378 unconditional.
14379 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14380 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14381 unconditional.
14382 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14383 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14384 unconditional.
14385 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14386 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14387 unconditional.
14388 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14389
b741de23
SP
143902012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14391
14392 [BZ #12140]
14393 * manual/memory.texi (Malloc Tunable Parameters): Add note
14394 about free list pointers overwriting some perturb bytes.
14395 Wording suggested by Roland McGrath.
14396
f9b9d9c9
JM
143972012-10-17 Joseph Myers <joseph@codesourcery.com>
14398
14399 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14400 (lgamma_test): Likewise.
14401 (tgamma_test): Likewise.
14402
172a631a
FW
144032012-10-16 Florian Weimer <fweimer@redhat.com>
14404
14405 [BZ #14700]
14406 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14407 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14408
e9f37252
MK
144092012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14410
14411 * NEWS: Mention BZ #14716.
14412 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14413 when removing AVAILABLE1_USES_J macro.
14414
d394eb74
L
144152012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14416
14417 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14418 (__bswap_64): __uint64_t for unsigned 64-bit int.
14419
ca38dc17
AS
144202012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14421
14422 * include/string.h (memmem): Declare libc hidden alias.
14423 * string/memmem.c (memmem): Define libc hidden alias.
14424 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14425 __read, __close instead of open, read, close.
14426
9a387d1f
L
144272012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14428
ac49ecaf
L
14429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14430 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14431 global and hidden.
14432 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14433 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14434 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14435 Likewise.
14436 (__rawmemchr_sse2): Likewise.
14437 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14438 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14439 (__strchr_sse2): Likewise.
14440 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14441 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14442 (__strcasecmp_sse2): Likewise.
14443 (__strncasecmp_sse2): Likewise.
14444 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14445 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14446 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14447 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14448 (__strrchr_sse2): Likewise.
14449 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14450 ifunc-impl-list.c.
14451 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14452 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14453 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14454 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14455 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14456 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14457 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14458 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14459 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14460 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14461 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14462 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14463 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14464 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14465 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14466 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14467 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14468 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14469 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14470 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14471 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14472 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14473 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14474 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14475 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14476 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14477 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14478 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14479 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14480 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14481
b090e8ea
L
14482 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14483 global and hidden.
14484 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14485 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14486 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14487 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14488 Likewise.
14489 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14490 Likewise.
14491 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14492 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14493 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14494 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14495 ifunc-impl-list.c.
14496 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14497 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14498 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14499 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14500 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14501 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14502 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14503 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14504 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14505 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14506 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14507 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14508 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14509 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14510 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14511 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14512 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14513 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14514 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14515 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14516 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14517 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14518 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14519 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14520 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14521 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14522 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14523 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14524 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14525 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14526 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14527 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14528 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14529 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14530 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14531 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14532 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14533 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14534 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14535 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14536 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14537
11dd4af6
L
14538 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14539 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14540 * include/ifunc-impl-list.h: New file.
14541 * misc/ifunc-impl-list.c: Likewise.
14542 * misc/Makefile (routines): Add ifunc-impl-list.
14543 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14544 * string/test-string.h: Include <ifunc-impl-list.h>.
14545 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14546 impl_array): New variables.
14547 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14548 are defined.
14549 (test_init): Call __libc_ifunc_impl_list to initialize
14550 func_list if TEST_IFUNC and TEST_NAME are defined.
14551
9a387d1f
L
14552 * string/Makefile (strop-tests): Add bcopy and bzero.
14553 * string/test-bcopy.c: New file.
14554 * string/test-bzero.c: Likewise.
14555 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14556 defined.
14557 * string/test-memset.c: Support bzero test if TEST_BZERO is
14558 defined.
14559 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14560 __libc_memmove.
14561 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14562 __libc_memset.
14563 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14564 of memset.
14565
472371b9
JM
145662012-10-10 Joseph Myers <joseph@codesourcery.com>
14567
1e4a9536
JM
14568 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14569 * configure: Regenerated.
14570
d173d12e
JM
14571 * Makeconfig (+link-static-before-libc): Don't include
14572 $(link-static-libc).
14573
472371b9
JM
14574 * libio/libio.h (_IO_pos_t): Remove.
14575
89a3ad0b
AO
145762012-10-10 Alexandre Oliva <aoliva@redhat.com>
14577
14578 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14579 McGrath.
14580
e7451425
AO
145812012-10-10 Alexandre Oliva <aoliva@redhat.com>
14582
14583 * crypt/crypt-entry.c: Include fips-private.h.
14584 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14585 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14586 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14587 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14588
4ba74a35
AO
145892012-10-10 Alexandre Oliva <aoliva@redhat.com>
14590
14591 * crypt/crypt-private.h: Include stdbool.h.
14592 (_ufc_setup_salt_r): Return bool.
14593 * crypt/crypt-entry.c: Include errno.h.
14594 (__crypt_r): Return NULL with EINVAL for bad salt.
14595 * crypt/crypt_util.c (bad_for_salt): New.
14596 (_ufc_setup_salt_r): Check that salt is long enough and within
14597 the specified alphabet.
14598 * crypt/badsalttest.c: New file.
14599 * crypt/Makefile (tests): Add it.
14600 ($(objpfx)badsalttest): New.
14601
f96f1242
MK
146022012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14603
14604 * NEWS: Add entry for BZ #14602.
14605
0e8e0c1c
JM
146062012-10-09 Joseph Myers <joseph@codesourcery.com>
14607
14608 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14609 type-generic.
14610 * math/libm-test.inc: Update comment listing what functions and
14611 macros are tested.
14612 (isgreater_test): New function.
14613 (isgreaterequal_test): Likewise.
14614 (isless_test): Likewise.
14615 (islessequal_test): Likewise.
14616 (islessgreater_test): Likewise.
14617 (isunordered_test): Likewise.
14618 (main): Call the new functions.
14619
273edc5e
RM
146202012-10-09 Roland McGrath <roland@hack.frob.com>
14621
b8493de0
RM
14622 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14623 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14624 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14625 * sysdeps/i386/configure: Regenerated.
14626 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14627 * sysdeps/mach/configure: Regenerated.
14628 * sysdeps/mach/hurd/configure: Regenerated.
14629 * sysdeps/powerpc/configure: Regenerated.
14630 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14631 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14632 * sysdeps/s390/s390-32/configure: Regenerated.
14633 * sysdeps/s390/s390-64/configure: Regenerated.
14634 * sysdeps/sh/configure: Regenerated.
14635 * sysdeps/sparc/configure: Regenerated.
14636 * sysdeps/unix/sysv/linux/configure: Regenerated.
14637 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14638 * sysdeps/x86_64/configure: Regenerated.
14639
273edc5e
RM
14640 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14641 defined. Don't check if MAP is NULL.
14642
c8450f70
JM
146432012-10-09 Joseph Myers <joseph@codesourcery.com>
14644
14645 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14646 (_G_stat64): Likewise.
14647 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14648 (_G_stat64): Likewise.
14649 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14650 instead of struct _G_stat64.
14651 * libio/fileops.c (mmap_remap_check): Likewise.
14652 (decide_maybe_mmap): Likewise.
14653 (_IO_new_file_seekoff): Likewise.
14654 (_IO_file_stat): Likewise.
14655 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14656 _G_off64_t.
14657 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14658 instead of struct _G_stat64.
14659 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14660
57e605ba
MK
146612012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14662
14663 [BZ #14602]
14664 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14665 Replace with ...
14666 (CHECK_EOL): New macro.
14667 (two_way_short_needle): Check beginning of haystack for EOL. Use
14668 CHECK_EOL.
14669 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14670 Replace with CHECK_EOL.
14671 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14672 Replace with CHECK_EOL.
14673
ef1bb361
JM
146742012-10-08 Joseph Myers <joseph@codesourcery.com>
14675
14676 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14677 type-generic.
14678 * math/libm-test.inc: Update comment listing what functions and
14679 macros are tested.
14680 (finite_test): New function.
14681 (isinf_test): Likewise.
14682 (isnan_test): Likewise.
14683 (fpclassify_test): Test subnormal input.
14684 (isfinite_test): Likewise.
14685 (isnormal_test): Likewise.
14686 (main): Call the new functions.
14687
55f11534
JN
146882012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14689
14690 [BZ #14660]
14691 * Makerules (%.dynsym): Force C locale when running
14692 $(OBJDUMP) --dynamic-syms.
14693
1ab29350
AS
146942012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14695
14696 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14697 <stdint.h>.
14698
f1ecb7ef
DM
146992012-10-06 David S. Miller <davem@davemloft.net>
14700
14701 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14702 upper 32-bits of the length value in %o2 since we use branch-on-register
14703 tests which consider the entire 64-bit register.
14704
5d41d91a
L
147052012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14706
14707 * string/test-strstr.c (check2): Add a test for page boundary.
14708
3baddb72
DM
147092012-10-05 David S. Miller <davem@davemloft.net>
14710
14711 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14712 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14713 file.
14714 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14715 sysdep_routines.
14716 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14717 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14718 and bzero when HWCAP_SPARC_CRYPTO is present.
14719
9cee5585
L
147202012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14721
d7e0dab9
L
14722 [BZ #14602]
14723 * string/test-strstr.c (check2): New function.
14724 (test_main): Call check2.
14725
03759f47
L
14726 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14727 and bug-strchr1.
14728 * string/bug-strcasestr1.c (do_test): Moved to ...
14729 * string/test-strcasestr.c (check1): Here. New function.
14730 (do_one_test): Break out result checking code into ...
14731 (check_result): This. New function.
14732 (do_one_test): Call check_result.
14733 (test_main): Call check1.
14734 * string/bug-strchr1.c (do_test): Moved to ...
14735 * string/test-strchr.c (check1): Here. New function.
14736 (do_one_test): Break out result checking code into ...
14737 (check_result): This. New function.
14738 (do_one_test): Call check_result.
14739 (test_main): Call check1.
14740 * string/bug-strstr1.c (main): Moved to ...
046f153e 14741 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14742 (do_one_test): Break out result checking code into ...
14743 (check_result): This. New function.
14744 (do_one_test): Call check_result.
14745 (test_main): Call check1.
14746 * string/bug-strcasestr1.c: Removed.
14747 * string/bug-strchr1.c: Likewise.
14748 * string/bug-strstr1.c: Likewise.
14749
53cea63e
L
14750 * elf/Makefile (dl-routines): Add hwcaps.
14751 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14752 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14753 (_dl_important_hwcaps): Moved to ...
14754 * elf/dl-hwcaps.c: Here. New file.
14755 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14756
9cee5585 14757 [BZ #14557]
bb859b06
L
14758 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14759 if IS_IN_rtld isn't defined.
14760
9cee5585
L
14761 * elf/dl-support.c (_dl_sysinfo_map): New.
14762 Include "get-dynamic-info.h" and "setup-vdso.h".
14763 (_dl_non_dynamic_init): Call setup_vdso.
14764 * elf/dynamic-link.h: Don't include <assert.h>.
14765 (elf_get_dynamic_info): Moved to ...
14766 * elf/get-dynamic-info.h: Here. New file.
14767 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14768 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14769 * elf/setup-vdso.h: Here. New file.
14770 * elf/rtld.c: Include "setup-vdso.h".
14771 (dl_main): Call setup_vdso.
14772
23c31b76
JM
147732012-10-05 Joseph Myers <joseph@codesourcery.com>
14774
28234b07
JM
14775 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14776 creal in comment listing functions tested. List finite, isinf,
14777 isnan, isless, islessequal, isgreater, isgreaterequal,
14778 islessgreater, isunordered, lgamma_r and pow10 as functions and
14779 macros not tested. Mention which functions not tested are aliases
14780 for other functions. Fix typo. Note that signs of NaNs are not
14781 tested.
14782
23c31b76
JM
14783 * scripts/config.guess: Update from config.git.
14784 * scripts/config.sub: Likewise.
14785
9043e228
RM
147862012-10-04 Roland McGrath <roland@hack.frob.com>
14787
14788 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14789 * misc/madvise.c (madvise): Renamed to __madvise.
14790 Make madvise a weak alias.
14791 * include/sys/mman.h: Declare __madvise.
14792 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14793 * sysdeps/unix/syscalls.list
14794 (madvise): Make __madvise the strong name, and madvise a weak alias.
14795 * sysdeps/unix/sysv/linux/syscalls.list
14796 (madvise, mmap): Remove redundant entries.
14797 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14798 * malloc/malloc.c (mtrim): Likewise.
14799 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14800
f57f8055
RM
148012012-10-03 Roland McGrath <roland@hack.frob.com>
14802
14803 * sysdeps/mach/hurd/dl-cache.c: File removed.
14804 * config.h.in (USE_LDCONFIG): New #undef.
14805 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14806 * configure: Regenerated.
14807 * elf/Makefile (dl-routines): Add dl-cache only under
14808 [$(use-ldconfig) = yes].
14809 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14810 cache on [USE_LDCONFIG].
14811 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14812 [USE_LDCONFIG].
14813 * elf/rtld.c (dl_main): Likewise.
14814
5bb0c10a
PT
148152012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14816
14817 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14818 _SC_LEVEL4_CACHE_LINESIZE.
14819
010188c6
RM
148202012-10-03 Roland McGrath <roland@hack.frob.com>
14821
14822 * sysdeps/unix/bsd/confstr.h: File removed.
14823
b6c5ec07
AO
148242012-10-02 Alexandre Oliva <aoliva@redhat.com>
14825
14826 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14827 sys/sdt-config.h.
14828
408223d4
RM
148292012-10-02 Roland McGrath <roland@hack.frob.com>
14830
14831 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14832 Make 'mapoff' field ElfW(Off) rather than off_t.
14833
bb9510dc
DL
148342012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14835
fc997c6e
DL
14836 * nscd/Makefile: Remove nscd-cflags and all its users.
14837 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14838 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14839
bb9510dc
DL
14840 [BZ #10631]
14841 * malloc.c (malloc_printerr): Clarify error message.
14842
05699367
L
148432012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14844
14845 [BZ #14648]
14846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14847 Set bit_FMA_Usable if FMA is supported.
14848 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14849 macro.
14850 (bit_FMA4_Usable): Updated.
14851 (index_FMA_Usable): New macro.
14852 (CPUID_FMA): Likewise
14853 (HAS_FMA): Defined with bit_FMA_Usable.
14854
51367701
RM
148552012-10-01 Roland McGrath <roland@hack.frob.com>
14856
14857 * bits/types.h (__swblk_t): Type removed.
14858 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14859 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14861 (__SWBLK_T_TYPE): Likewise.
14862 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14863 (__SWBLK_T_TYPE): Likewise.
14864 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14865 (__SWBLK_T_TYPE): Likewise.
14866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14867 (__SWBLK_T_TYPE): Likewise.
14868
4d57bf63 148692012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14870 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14871
14872 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14873 (xdr_mapname): Use YPMAXMAP as maxsize.
14874 (xdr_peername): Use YPMAXPEER as maxsize.
14875 (xdr_keydat): Use YPAXRECORD as maxsize.
14876 (xdr_valdat): Use YPMAXRECORD as maxsize.
14877
93c65d43
RM
148782012-10-01 Roland McGrath <roland@hack.frob.com>
14879
497a03d6
RM
14880 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14881
93c65d43
RM
14882 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14883 * csu/init-first.c: ... here.
14884 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14885 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14886 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14887 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14888 * sysdeps/i386/init-first.c: File removed.
14889 * sysdeps/sh/init-first.c: File removed.
14890
bec749fd
JM
148912012-10-01 Joseph Myers <joseph@codesourcery.com>
14892
14893 [BZ #14645]
14894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14895 if x * y might underflow to zero and z is zero.
14896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14897 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14898 * math/libm-test.inc (min_subnorm_value): New variable.
14899 (fma_test): Add more tests.
14900 (fma_test_towardzero): Likewise.
14901 (fma_test_downward): Likewise
14902 (fma_test_upward): Likewise.
14903 (initialize): Set min_subnorm_value.
14904
8ec5b013
JM
149052012-09-29 Joseph Myers <joseph@codesourcery.com>
14906
14907 [BZ #14638]
14908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14909 0 + 0.
14910 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14911 mode for addition resulting in exact zero.
14912 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14913 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14914 exact 0 + 0.
14915 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14916 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14917 * math/libm-test.inc (fma_test): Add more tests.
14918 (fma_test_towardzero): New function.
14919 (fma_test_downward): Likewise.
14920 (fma_test_upward): Likewise.
14921 (main): Call the new functions.
14922
b1fa802e
DM
149232012-09-28 David S. Miller <davem@davemloft.net>
14924
14925 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14926
d3b9fd9e
RM
149272012-09-28 Roland McGrath <roland@hack.frob.com>
14928
ea4d37b3
RM
14929 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14930 instead of SIGALRM.
14931
ac51c949
RM
14932 * sysdeps/gnu/_G_config.h: Moved to ...
14933 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14934 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14935 * sysdeps/generic/_G_config.h: ... here.
14936
28c195f7
RM
14937 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14938
848917f9
RM
14939 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14940
6bacf05b
RM
14941 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14942 Conditionalize target on [libnss_test1.so-version].
14943
91363dbb
RM
14944 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14945
cc87f7d8
RM
14946 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14947 (elfobjdir): Move out of conditionals.
14948
b1c608fe
RM
14949 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14950 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14951 (__nss_lookup_function): Conditionalize label remove_from_tree on
14952 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14953
1d9a6d96
DM
149542012-09-28 David S. Miller <davem@davemloft.net>
14955
14956 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14957 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14958 file.
14959 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14960 sysdep_routines.
14961 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14962 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14963 when HWCAP_SPARC_CRYPTO is present.
14964
72581615
PT
149652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14966
14967 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14968
715a900c
JL
149692012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14970
14971 [BZ #6530]
14972 * stdio-common/vfprintf.c (process_string_arg): Revert
14973 2000-07-22 change.
14974
149752011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14976
14977 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14978 for testcase.
14979 * stdio-common/tst-sprintf.c: Include <locale.h>
14980 (main): Test sprintf's handling of incomplete multibyte
14981 characters.
14982
9bac1d86
L
149832012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14984
14985 * elf/dl-runtime.c (VERSYMIDX): Removed.
14986 * elf/dl-version.c (VERSYMIDX): Likewise.
14987 * elf/do-rel.h (VERSYMIDX): Likewise.
14988 (VALIDX): Likewise.
14989 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14990 * elf/rtld.c (VALIDX): Likewise.
14991 (ADDRIDX): Likewise.
9bac1d86
L
14992 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14993 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14994 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
14995 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14996 (VALIDX): Likewise.
14997 (ADDRIDX): Likewise.
9bac1d86 14998
b31606c0
PT
149992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15000
15001 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15002
11541177
JL
150032012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15004
15005 [BZ #11438]
15006 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15007 to global scope.
15008 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15009 addresses are in the same scope as 192.0.2/24.
15010 * posix/gai.conf: Document new scope table defaults.
15011
adb26fae
SP
150122012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15013
15014 [BZ #5298]
15015 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15016 for ftell. Compute offsets from write pointers instead.
15017 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15018
4573c6b0
SP
150192012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15020
15021 [BZ #14543]
15022 * libio/Makefile (tests): New test case tst-fseek.
15023 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15024 combination works in wide mode.
15025 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15026 state when the external buffer state changes.
15027
aa9bbfe6
DM
150282012-09-27 David S. Miller <davem@davemloft.net>
15029
15030 [BZ #14376]
15031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15032 pass reloc->r_addend in as the 'high' argument to
15033 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15034
784421e7
DM
15035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15036
c39bc8b8
PT
150372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15038
15039 * rt/tst-aio2.c: Include <pthread.h>.
15040 * rt/tst-aio3.c: Likewise.
15041
1ccc2399
SE
150422012-09-27 Steve Ellcey <sellcey@mips.com>
15043
15044 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15045
31ed4153
L
150462012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15047
25f5f885
L
15048 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15049 contents on [SHARED].
31ed4153 15050
b7bfe116
MP
150512012-09-26 Marek Polacek <polacek@redhat.com>
15052
15053 [BZ #14530]
15054 [BZ #13741]
15055 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15056 for C++ and GCC <4.3 as well as for non GCC compilers.
15057
43c4edba
MT
150582012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15059
15060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15061
6a1bf82f
RM
150622012-09-25 Roland McGrath <roland@hack.frob.com>
15063
15064 * Makefile.in (all, install): Declare with .PHONY.
15065 Reported by Michael Hope <michael.hope@linaro.org>.
15066
8ad11b9a
TMQMF
150672012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15068
15069 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15070 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15071 system header.
15072 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15073 Likewise.
15074 (sydep_routines): Add the new and the internal functions.
15075 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15076 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15078 (GLIBC_2.17): Add the new function.
15079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15080 (GLIBC_2.17): Likewise.
15081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15082 (GLIBC_2.17): Likewise.
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15084 (GLIBC_2.17): Likewise.
15085 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15086
7e2fca8d
AM
150872012-09-25 Alan Modra <amodra@gmail.com>
15088
15089 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15090 Add release barrier before setting once_control to say
15091 initialisation is done. Add hints on lwarx. Use macro in
15092 place of isync.
15093 (clear_once_control): Add release barrier.
15094
b87c4b24
JM
150952012-09-25 Joseph Myers <joseph@codesourcery.com>
15096
d032e0d2
JM
15097 [BZ #13629]
15098 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15099 specially.
15100 * math/s_clog10.c (__clog10): Likewise.
15101 * math/s_clog10f.c (__clog10f): Likewise.
15102 * math/s_clog10l.c (__clog10l): Likewise.
15103 * math/s_clogf.c (__clogf): Likewise.
15104 * math/s_clogl.c (__clogl): Likewise.
15105 * math/Makefile (libm-calls): Add x2y2m1.
15106 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15107 (__x2y2m1): Likewise.
15108 (__x2y2m1l): Likewise.
15109 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15110 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15111 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15112 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15113 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15114 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15115 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15116 * sysdeps/i386/fpu/libm-test-ulps: Update.
15117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15118
b87c4b24
JM
15119 [BZ #14621]
15120 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15121 int as type of variable DEPTH.
15122 (glob): Use size_t instead of int as type of variables NEWCOUNT
15123 and OLD_PATHC.
15124
6d3bf199
LD
151252012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15126
22bf5c17
LD
15127 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15128 Add s_sincosf-sse2.
15129 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15130 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15131 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15132 macros for using routine as __sincosf_ia32.
15133 Use macro for function declaration and weak_alias.
15134 * sysdeps/i386/fpu/libm-test-ulps: Update.
15135
15136 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15138
15139 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15140 subnormal argument.
15141 * math/s_cexpf.c (__cexpf): Likewise.
15142 * math/s_csinf.c (__csinf): Likewise.
15143 * math/s_csinhf.c (__csinhf): Likewise.
15144 * math/s_ctanf.c (__ctanf): Likewise.
15145 * math/s_ctanhf.c (__ctanhf): Likewise.
15146 * math/s_ccosh.c (__ccoshf): Likewise.
15147 * math/s_cexp.c (__cexpl): Likewise.
15148 * math/s_csin.c (__csin): Likewise.
15149 * math/s_csinh.c (__csinh): Likewise.
15150 * math/s_ctan.c (__ctan): Likewise.
15151 * math/s_ctanh.c (ctanh): Likewise.
15152 * math/s_ccoshl.c (__ccoshl): Likewise.
15153 * math/s_cexpl.c (__cexpl): Likewise.
15154 * math/s_csinl.c (__csinl): Likewise.
15155 * math/s_csinhl.c (__csinhl): Likewise.
15156 * math/s_ctanl.c (__ctanl): Likewise.
15157 * math/s_ctanhl.c (__ctanhl): Likewise.
15158
203e5603
JM
151592012-09-25 Joseph Myers <joseph@codesourcery.com>
15160
15161 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15162 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15163 (_IO_off_t): Define to __off_t, not _G_off_t.
15164 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15165 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15166 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15167 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15168 type of __dummy and __dummy2 fields.
15169 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15170 (_G_ssize_t): Likewise.
15171 (_G_off_t): Likewise.
15172 (_G_pid_t): Likewise.
15173 (_G_uid_t): Likewise.
15174 (_G_wchar_t): Likewise.
15175 (_G_wint_t): Likewise.
15176 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15177 (_G_ssize_t): Likewise.
15178 (_G_off_t): Likewise.
15179 (_G_pid_t): Likewise.
15180 (_G_uid_t): Likewise.
15181 (_G_wchar_t): Likewise.
15182 (_G_wint_t): Likewise.
15183 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15184 (_G_ssize_t): Likewise.
15185 (_G_off_t): Likewise.
15186 (_G_pid_t): Likewise.
15187 (_G_uid_t): Likewise.
15188 (_G_wchar_t): Likewise.
15189 (_G_wint_t): Likewise.
15190
9fab36eb
SP
151912012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15192
15193 * malloc/arena.c: Include malloc-sysdep.h.
15194 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15195 is sufficient to shrink the heap or an unmap is needed.
15196 * sysdeps/generic/malloc-sysdep.h: New file. Define
15197 new function check_may_shrink_heap.
15198 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15199 new function check_may_shrink_heap.
15200
2b4f00d1
SP
152012012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15202
15203 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15204 comments.
15205
9a9028b1
DL
152062012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15207
57c69bef
DL
15208 * catgets/test-gencat.sh: Add "set -e".
15209 * elf/tst-pathopt.sh: Likewise.
15210 * grp/tst_fgetgrent.sh: Likewise.
15211 * iconvdata/run-iconv-test.sh: Likewise.
15212 * intl/tst-gettext.sh: Likewise.
15213 * intl/tst-gettext2.sh: Likewise.
15214 * intl/tst-gettext4.sh: Likewise.
15215 * intl/tst-gettext6.sh: Likewise.
15216 * intl/tst-translit.sh: Likewise.
15217 * io/ftwtest-sh: Likewise.
15218 * libio/test-freopen.sh: Likewise.
15219 * malloc/tst-mtrace.sh: Likewise.
15220 * posix/globtest.sh: Likewise.
15221 * posix/tst-getconf.sh: Likewise.
15222 * posix/wordexp-tst.sh: Likewise.
15223 * stdio-common/tst-printf.sh: Likewise.
15224 * stdio-common/tst-unbputc.sh: Likewise.
15225 * stdlib/tst-fmtmsg.sh: Likewise.
15226 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15227 * catgets/Makefile: Do not specify -e option when running
15228 testsuite shell scripts.
15229 * elf/Makefile: Likewise.
15230 * grp/Makefile: Likewise.
15231 * iconvdata/Makefile: Likewise.
15232 * intl/Makefile: Likewise.
15233 * io/Makefile: Likewise.
15234 * libio/Makefile: Likewise.
15235 * malloc/Makefile: Likewise.
15236 * posix/Makefile: Likewise.
15237 * stdio-common/Makefile: Likewise.
15238 * stdlib/Makefile: Likewise.
15239 * sysdeps/x86_64/Makefile: Likewise.
15240
9a9028b1
DL
15241 * io/ftwtest-sh: Add copyright header.
15242 * posix/globtest.sh: Likewise.
15243 * posix/tst-getconf.sh: Likewise.
15244 * posix/wordexp-tst.sh: Likewise.
15245 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15246
ced6f16e
L
152472012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15248
94b32c39
L
15249 [BZ #13679]
15250 * Makeconfig (+link): Defined as $(+link-static) if
15251 $(build-shared) isn't yes.
15252 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15253 isn't yes.
15254 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15255
189e935b
L
15256 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15257
ced6f16e
L
15258 [BZ #14562]
15259 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15260 new chunk size with MALLOC_ALIGN_MASK.
15261
a9f8e53a
JM
152622012-09-24 Joseph Myers <joseph@codesourcery.com>
15263
15264 [BZ #5044]
15265 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15266 <rounding-mode.h>.
15267 (__printf_fphex): Determine rounding using get_rounding_mode and
15268 round_away.
15269 * stdio-common/tst-printf-round.c (struct hex_test): New
15270 structure.
15271 (hex_tests): New variable.
15272 (test_hex_in_one_mode): New function.
15273 (do_test): Also run tests for hex float output.
15274
43153109
JM
152752012-09-21 Joseph Myers <joseph@codesourcery.com>
15276
15277 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15278 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15279 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15280 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15281 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15282 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15283 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15284 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15285
8a26625d
JM
152862012-09-20 Joseph Myers <joseph@codesourcery.com>
15287
15288 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15289 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15290 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15291 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15292
f3fd569c
DL
152932012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15294
15295 [BZ #14579]
15296 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15297 mode only.
15298 * elf/tst-rtld-load-self.sh: New test.
15299 * elf/Makefile: Run it.
15300
63bbedd4
JM
153012012-09-18 Joseph Myers <joseph@codesourcery.com>
15302
15303 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15304 (tst-writev-ENV): Remove.
15305 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15306
626f8b6a
CM
153072012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15308
15309 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15310
b7aaa4d6
JM
153112012-09-17 Joseph Myers <joseph@codesourcery.com>
15312
15313 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15314 unconditional.
15315 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15316 Likewise.
15317 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15318 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15319 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15320 Likewise.
15321
65513990
L
153222012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15323
15324 [BZ #14587]
15325 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15326 * config.make.in (have-cpp-asm-debuginfo): Removed.
15327 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15328 * configure: Regenerated.
15329
784761be
JM
153302012-09-14 Joseph Myers <joseph@codesourcery.com>
15331
15332 [BZ #5044]
15333 * stdio-common/printf_fp.c: Include <stdbool.h> and
15334 <rounding-mode.h>.
15335 (___printf_fp): Determine rounding using get_rounding_mode and
15336 round_away.
15337 * stdio-common/tst-printf-round.c: New file.
15338 * stdio-common/Makefile (tests): Add tst-printf-round.
15339 (link-libm): New variable.
15340 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15341
9503345f
L
153422012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15343
15344 [BZ #14576]
15345 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15346 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15347 Likewise.
15348 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15349 Likewise.
15350
ad35fc00
JM
153512012-09-13 Joseph Myers <joseph@codesourcery.com>
15352
15353 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15354 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15355 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15356 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15357
6c9b0f68
JM
153582012-09-12 Joseph Myers <joseph@codesourcery.com>
15359
15360 [BZ #14518]
15361 * include/rounding-mode.h: New file.
15362 * sysdeps/generic/get-rounding-mode.h: Likewise.
15363 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15364 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15365 (MAX_VALUE): New macro.
15366 (MIN_VALUE): Likewise.
15367 (overflow_value): New function.
15368 (underflow_value): Likewise.
15369 (round_and_return): Use overflow_value and underflow_value to
15370 determine return values in overflow and underflow cases. Use
15371 round_away to determine rounding depending on rounding mode.
15372 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15373 determine return values in overflow and underflow cases.
15374 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15375 (struct test_results): New structure.
15376 (struct test): Use struct test_results to store expected results
15377 for all rounding modes.
15378 (TEST): Include expected results for all rounding modes.
15379 (test_in_one_mode): New function.
15380 (do_test): Use test_in_one_mode to compute and check results.
15381 Check results for all rounding modes.
15382 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15383 $(link-libm).
15384
19fcedd5
AM
153852012-12-09 Allan McRae <allan@archlinux.org>
15386
1e9d84cd 15387 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15388
8bbfd2f1
JM
153892012-09-11 Joseph Myers <joseph@codesourcery.com>
15390
15391 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15392 (_G_int32_t): Likewise.
15393 (_G_uint16_t): Likewise.
15394 (_G_uint32_t): Likewise.
15395 (_G_HAVE_BOOL): Likewise.
15396 (_G_HAVE_ATEXIT): Likewise.
15397 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15398 (_G_HAVE_IO_FILE_OPEN): Likewise.
15399 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15400 (_G_int32_t): Likewise.
15401 (_G_uint16_t): Likewise.
15402 (_G_uint32_t): Likewise.
15403 (_G_HAVE_BOOL): Likewise.
15404 (_G_HAVE_ATEXIT): Likewise.
15405 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15406 (_G_HAVE_IO_FILE_OPEN): Likewise.
15407 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15408 (_G_int32_t): Likewise.
15409 (_G_uint16_t): Likewise.
15410 (_G_uint32_t): Likewise.
15411 (_G_HAVE_BOOL): Likewise.
15412 (_G_HAVE_ATEXIT): Likewise.
15413 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15414 (_G_HAVE_IO_FILE_OPEN): Likewise.
15415
b1dc5912
L
154162012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15417
15418 * csu/libc-tls.c: Update copyright years.
15419
0e886ef9
JM
154202012-09-10 Joseph Myers <joseph@codesourcery.com>
15421
28361c5e
JM
15422 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15423 [!_G_USING_THUNKS]: Remove conditional code.
15424 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15425 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15426
0e886ef9
JM
15427 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15428 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15429 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15430 (_G_VTABLE_LABEL_PREFIX): Likewise.
15431 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15432 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15433 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15434 (_G_VTABLE_LABEL_PREFIX): Likewise.
15435 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15436 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15437 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15438 (_G_VTABLE_LABEL_PREFIX): Likewise.
15439 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15440
bcba7aa2
L
154412012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15442
15443 * libio/Makefile: Include ../Makeconfig before tests.
15444 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15445 only if $(build-shared) is yes.
15446
06585ee8
L
15447 * iconv/gconv_db.c: Update copyright years.
15448
80ccd52c
LD
154492012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15450
15451 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15452 unwind info if defined PIC. Fix special cases description.
15453 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15454
15455 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15456 DP_HI_MASK entry.
15457 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15458
691bc9c1
L
154592012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15460
3d9b46b3
L
15461 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15462
de2139a9
L
15463 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15464 is NULL.
15465
5ca78dd0
L
15466 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15467 (LDLIBS-tst-chk4): This.
15468 (LDFLAGS-tst-chk5): Renamed to ...
15469 (LDLIBS-tst-chk5): This.
15470 (LDFLAGS-tst-chk6): Renamed to ...
15471 (LDLIBS-tst-chk6): This.
15472 (LDFLAGS-tst-lfschk4): Renamed to ...
15473 (LDLIBS-tst-lfschk4): This.
15474 (LDFLAGS-tst-lfschk5): Renamed to ...
15475 (LDLIBS-tst-lfschk5): This.
15476 (LDFLAGS-tst-lfschk6): Renamed to ...
15477 (LDLIBS-tst-lfschk6): This.
15478
691bc9c1
L
15479 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15480 on $(common-objpfx)soversions.mk.
15481
65cafb1c
JM
154822012-09-07 Joseph Myers <joseph@codesourcery.com>
15483
15484 [BZ #10014]
15485 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15486 example host name.
15487
c78ab094
SP
154882012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15489
15490 * malloc/arena.c (arena_get_retry): New function that gets
15491 another arena for the caller to try its request on.
15492 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15493 current arena cannot fulfill the request.
15494 (__libc_memalign): Likewise.
15495 (__libc_memalign): Likewise.
15496 (__libc_pvalloc): Likewise.
15497 (__libc_calloc): Likewise.
15498
01f49f59
JT
154992012-09-05 John Tobey <john.tobey@gmail.com>
15500
15501 [BZ #13542]
15502 * manual/arith.texi (Operations on Complex): Fix description
15503 of carg branch cut.
15504
4c23fed5
JM
155052012-09-06 Joseph Myers <joseph@codesourcery.com>
15506
1d3c8572
JM
15507 [BZ #10014]
15508 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15509 host name.
15510
4c23fed5
JM
15511 [BZ #10038]
15512 * manual/memory.texi (Memory): Make order of menu items match
15513 order of sections.
15514
04570aaa
L
155152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15516
15517 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15518 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15519 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15520
b80af2f4
L
155212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15522
15523 * csu/libc-tls.c (static_dtv): Renamed to ...
15524 (_dl_static_dtv): This. Make it global.
15525 (_dl_initial_dtv): Removed.
15526 (__libc_setup_tls): Updated.
15527 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15528 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15529 DL_INITIAL_DTV.
15530
2abe9f15
PM
155312012-09-06 Petr Machata <pmachata@redhat.com>
15532
15533 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15534 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15535 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15536 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15537
0948c3af
L
155382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15539
15540 [BZ #14545]
15541 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15542 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15543 freeing dtv[-1].
15544
a5055ad1
L
155452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15546
15547 [BZ #14544]
15548 * Makeconfig (link-static-before-libc): Replace $(+prector)
15549 with $(+prectorT).
15550 (link-static-after-libc): Replace $(+postctor) with
15551 $(+postctorT).
15552 (link-bounded): Replace $(+prector)/$(+postctor) with
15553 $(+prectorT)/$(+postctorT).
15554 (+prectorT): New macro.
15555 (+postctorT): Likewise.
15556
ed8c2ecd
JM
155572012-09-06 Joseph Myers <joseph@codesourcery.com>
15558
15559 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15560 (round_str): Handle values above the maximum for IBM long double
15561 as inexact.
15562 * stdlib/tst-strtod-round.c (tests): Regenerated.
15563
14c996c8
AK
155642012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15565
15566 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15567 assembler flag.
15568 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15569 zarch_nohighgprs around the zarch optimized routines.
15570 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15571 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15572 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15573 for zarch.
15574
430d6ce6
DM
155752012-09-05 David S. Miller <davem@davemloft.net>
15576
15577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15578
ff04dda4
DM
15579 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15580 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15581 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15582 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15583 entries.
15584
24d4e01b
AO
155852012-09-05 Alexandre Oliva <aoliva@redhat.com>
15586
15587 * malloc/arena.c: Fold copyright years.
15588 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15589
61d58174
AO
155902012-09-05 Alexandre Oliva <aoliva@redhat.com>
15591
15592 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15593
20196a5e
AO
155942012-09-05 Alexandre Oliva <aoliva@redhat.com>
15595
15596 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15597
5c447383
AO
155982012-09-05 Alexandre Oliva <aoliva@redhat.com>
15599
15600 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15601 change internal state upon failure.
15602
fad64255
AO
156032012-09-05 Alexandre Oliva <aoliva@redhat.com>
15604
15605 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15606 * malloc/memusage.c (mmap): Likewise.
15607 (mmap64, mremap): Likewise. Adjust name in comment.
15608
1ffb8c90
SP
156092012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15610
15611 * libio/fileops.c: Fix typos in comments.
15612 * libio/oldfileops.c: Likewise.
15613 * libio/wfileops.c: Likewise.
15614
6ef9cc37
SP
156152012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15616
15617 [BZ #1349]
15618 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15619 (tst-malloc-usable-ENV): Set environment for test case.
15620 * malloc/hooks.c (malloc_check_get_size): New function to get
15621 requested size.
15622 * malloc/malloc.c (musable): Use malloc_check_get_size.
15623 * malloc/tst-malloc-usable.c: New test case.
15624
4d038ae3
AS
156252012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15626
15627 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15628
c4e85184
AM
156292012-09-05 Allan McRae <allan@archlinux.org>
15630
b9dafc56 15631 [BZ #13966]
c4e85184
AM
15632 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15633 determine header location.
15634 * configure: Regenerated.
15635
e1343020
AS
156362012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15637
15638 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15639 float format.
15640 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15641 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15642 format.
e1343020
AS
15643 (test): Regenerate.
15644
0a9f1987
DM
156452012-09-04 David S. Miller <davem@davemloft.net>
15646
15647 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15648 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15649 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15650
29237804
FW
156512012-09-04 Florian Weimer <fweimer@redhat.com>
15652
15653 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15654 failures.
15655
edb3cb88
FW
15656 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15657
60160d83
JM
156582012-09-04 Joseph Myers <joseph@codesourcery.com>
15659
15660 [BZ #9914]
15661 * libio/iogetdelim.c: Include <limits.h>.
15662 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15663 + len + 1 would overflow.
15664
bcd6c8dc
AJ
156652012-09-03 Andreas Jaeger <aj@suse.de>
15666
15667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15668 * sysdeps/i386/fpu/libm-test-ulps: Update.
15669
4ffffbd2
LD
156702012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15671
15672 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15673 Add s_sinf-sse2, s_conf-sse2.
15674
15675 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15676 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15677 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15678 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15679
15680 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15681 for using routine as __sinf_ia32.
15682 Use macro for function declaration and weak_alias.
15683 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15684 for using routine as __cosf_ia32.
15685 Use macro for function declaration and weak_alias.
15686
15687 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15688 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15689
15690 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15691 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15693
15694 * math/libm-test.inc (cos_test): Add more test cases.
15695 (sin_test): Likewise.
15696 (sincos_test): Likewise.
15697
511fa286
AK
156982012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15699
15700 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15701 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15702 hidden.
15703 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15704
5f30cfec
L
157052012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15706
15707 [BZ #14538]
15708 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15709 first element of the GOT.
15710 (elf_machine_load_address): Return the difference between
15711 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15712
0786794f
AM
157132012-09-01 Allan McRae <allan@archlinux.org>
15714
5f30cfec
L
15715 [BZ #13412]
15716 * configure.in (AWK): Require gawk version 3.0 or later.
15717 * configure: Regenerated.
0786794f 15718
26889eac
JM
157192012-09-01 Joseph Myers <joseph@codesourcery.com>
15720
15721 * sysdeps/unix/sysv/linux/kernel-features.h
15722 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15723 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15724 [__NR_clock_getres]: Make code unconditional.
15725 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15726 (clock_getcpuclockid): Remove code left unreachable by removal of
15727 conditionals.
15728 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15729 code unconditional.
15730 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15731 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15732 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15733 Make code unconditional.
15734 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15735 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15736 * sysdeps/unix/sysv/linux/clock_settime.c
15737 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15738 conditional code.
15739 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15740 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15741
d22e28b0
L
157422012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15743
15744 [BZ #14476]
15745 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15746 scripts/test-installation.pl.
15747
15748 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15749 and $ld_so_version if it is set.
15750
050af9c4
SP
157512012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15752
15753 [BZ #14516]
15754 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15755 failure if reading from procfs failed.
15756 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15757
ad845c0b
JM
157582012-08-27 Joseph Myers <joseph@codesourcery.com>
15759
15760 * sysdeps/unix/sysv/linux/kernel-features.h
15761 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15762 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15763 Remove conditional code.
15764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15765 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15766 Remove conditional code.
15767 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15768 * sysdeps/unix/sysv/linux/i386/fxstat.c
15769 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15771 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15772 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15773 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15774 * sysdeps/unix/sysv/linux/i386/lxstat.c
15775 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15776 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15777 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15778 Remove conditional code.
15779 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15780 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15781 Remove conditional code.
15782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15783 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15784 <kernel-features.h>.
15785 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15786 Remove.
15787 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15788 Remove conditional code.
15789 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15790 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15791 Remove conditional.
15792
5dbf56af
MF
157932012-08-27 Mike Frysinger <vapier@gentoo.org>
15794
15795 [BZ #5400]
15796 * NEWS: Add fixed bug number.
15797
d6e70f43
JM
157982012-08-27 Joseph Myers <joseph@codesourcery.com>
15799
7efb4737
JM
15800 [BZ #14519]
15801 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15802 underflowing exponent in case of negative sign.
15803 * stdlib/tst-strtod-round-data: Add more tests.
15804 * stdlib/tst-strtod-round.c (tests): Regenerated.
15805
af92131a
JM
15806 [BZ #3479]
15807 * stdlib/strtod_l.c (NDIG): Remove.
15808 (HEXNDIG): Likewise.
15809 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15810 smallest representable value.
15811 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15812 lie within an exact representation of 1/2 ulp of the result.
15813 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15814 unconditionally.
15815 (TENS_P9_IDX): Define unconditionally.
15816 (TENS_P9_SIZE): Likewise.
15817 (TENS_P10_IDX): Likewise.
15818 (TENS_P10_SIZE): Likewise.
15819 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15820 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15821 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15822 entries for 10^2^13 and 10^2^14.
15823 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15824 (TENS_P13_IDX): Define.
15825 (TENS_P13_SIZE): Likewise.
15826 (TENS_P14_IDX): Likewise.
15827 (TENS_P14_SIZE): Likewise.
15828 (_fpioconst_pow10): Change array size to
15829 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15830 unconditional.
15831 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15832 1024]: Add entries for 10^2^13 and 10^2^14.
15833 [LAST_POW10 > _LAST_POW10]: Remove #error.
15834 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15835 (_fpioconst_pow10): Change array size to
15836 FPIOCONST_POW10_ARRAY_SIZE.
15837 * stdlib/gen-fpioconst.c: New file.
15838 * stdlib/gen-tst-strtod-round.c: Likewise.
15839 * stdlib/tst-strtod-round-data: Likewise.
15840 * stdlib/tst-strtod-round.c: Likewise.
15841 * stdlib/Makefile (tests): Add tst-strtod-round.
15842
d6e70f43
JM
15843 [BZ #14459]
15844 * stdlib/strtod_l.c: Include <stdint.h>.
15845 (NDEBUG): Do not define.
15846 (round_and_return): Change EXPONENT parameter to type intmax_t.
15847 Rearrange calculations to avoid internal overflow possibilities.
15848 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15849 Rearrange calculations to avoid internal overflow possibilities.
15850 Assert that number fits inside MPNSIZE limbs.
15851 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15852 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15853 calculations and add assertions to avoid internal overflow
15854 possibilities. Add casts to avoid signed/unsigned operations.
15855 * stdlib/tst-strtod-overflow.c: New file.
15856 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15857
1f529f7d
MP
158582012-08-25 Marek Polacek <polacek@redhat.com>
15859
15860 * time/time.h: Fix some typos in comments.
15861
59a629f1
RM
158622012-08-23 Roland McGrath <roland@hack.frob.com>
15863
15864 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15865 * posix/tst-rfc3484-2.c: Likewise.
15866 * posix/tst-rfc3484-3.c: Likewise.
15867
d3bafbc9
SM
158682012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15869
15870 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15871 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15872
4efcc022
JM
158732012-08-23 Joseph Myers <joseph@codesourcery.com>
15874
15875 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15876 #include of fxstatat64.c.
15877
3cc3ef96
RM
158782012-08-22 Roland McGrath <roland@hack.frob.com>
15879
f04e2132
RM
15880 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15881 * shadow/getspent_r.c: Likewise.
15882 * shadow/getspnam.c: Likewise.
15883 * shadow/getspnam_r.c: Likewise.
15884 * gshadow/getsgent.c: Likewise.
15885 * gshadow/getsgent_r.c: Likewise.
15886 * gshadow/getsgnam.c: Likewise.
15887 * gshadow/getsgnam_r.c: Likewise.
15888 * inet/getnetbyad.c: Likewise.
15889 * inet/getnetbyad_r.c: Likewise.
15890 * inet/getnetbynm.c: Likewise.
15891 * inet/getnetbynm_r.c: Likewise.
15892 * inet/getnetent.c: Likewise.
15893 * inet/getnetent_r.c: Likewise.
15894 * inet/getproto.c: Likewise.
15895 * inet/getproto_r.c: Likewise.
15896 * inet/getprtent.c: Likewise.
15897 * inet/getprtent_r.c: Likewise.
15898 * inet/getprtname.c: Likewise.
15899 * inet/getprtname_r.c: Likewise.
15900 * inet/getrpcbyname.c: Likewise.
15901 * inet/getrpcbyname_r.c: Likewise.
15902 * inet/getrpcbynumber.c: Likewise.
15903 * inet/getrpcbynumber_r.c: Likewise.
15904 * inet/getrpcent.c: Likewise.
15905 * inet/getrpcent_r.c: Likewise.
15906 * inet/getaliasent.c: Likewise.
15907 * inet/getaliasent_r.c: Likewise.
15908 * inet/getaliasname.c: Likewise.
15909 * inet/getaliasname_r.c: Likewise.
15910 * nscd/getgrgid_r.c: Likewise.
15911 * nscd/getgrnam_r.c: Likewise.
15912 * nscd/gethstbyad_r.c: Likewise.
15913 * nscd/gethstbynm3_r.c: Likewise.
15914 * nscd/getpwnam_r.c: Likewise.
15915 * nscd/getpwuid_r.c: Likewise.
15916 * nscd/getsrvbynm_r.c: Likewise.
15917 * nscd/getsrvbypt_r.c: Likewise.
15918 * nscd/gai.c: Likewise.
15919
c53d909c
RM
15920 * configure.in (build_nscd): New substituted variable, set
15921 by --disable-build-nscd and defaults to $use_nscd.
15922 * configure: Regenerated.
15923 * config.make.in (build-nscd): New substituted variable.
15924 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15925 Change conditional to require [$(build-nscd) = yes] as well.
15926 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15927
3cc3ef96
RM
15928 [BZ# 13696]
15929 * configure.in (use_nscd): New substituted variable, set by
15930 --disable-nscd. If enabled, define USE_NSCD.
15931 * configure: Regenerated.
15932 * config.h.in: Add USE_NSCD.
15933 * config.make.in (use-nscd): New substituted variable.
15934 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15935 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15936 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15937 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15938 (CFLAGS-getgrnam_r.c): Likewise.
15939 (CFLAGS-initgroups.c): Likewise.
15940 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15941 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15942 Variables removed.
15943 * inet/getnetgrent_r.c
15944 (nscd_setnetgrent): New function, broken out of ...
15945 (setnetgrent): ... here. Call it.
15946 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15947 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15948 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15949 * nscd/Makefile (routines, aux): Move definitions after include of
15950 Makeconfig. Conditionalize on [$(use-nscd) != no].
15951 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15952 Conditionalize on [USE_NSCD].
15953 (is_nscd, nscd_init_cb): Likewise.
15954 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15955 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15956 * nss/nss_db/db-init.c: Likewise.
15957 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15958 [USE_NSCD].
15959 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15960 (make_request): Use it.
15961 (cache_valid_p): New function.
15962 (__check_pf): Use it.
15963 * NEWS: Add item for --disable-nscd.
15964
07e51550
DL
159652012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15966
15967 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15968 to support sed >= 4.2.1-20-ga9bf076.
15969 * configure: Regenerated.
15970
35a5b08b
RM
159712012-08-22 Roland McGrath <roland@hack.frob.com>
15972
15973 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15974 Conditionalize whole body on [IREL].
15975
8479f23a
JL
159762012-08-22 Jeff Law <law@redhat.com>
15977
15978 [BZ #14505]
15979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15980 if the family is PF_UNSPEC.
15981
48da0b21
MF
159822012-08-22 Mike Frysinger <vapier@gentoo.org>
15983
15984 * Makerules (lib-version): Rename from V.
15985 (install-lib-nosubdir): Change V to lib-version.
15986
15d0da8c
WS
159872012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15988
15989 [BZ #14252]
15990 * powerpc32/power6/wcschr.c: New file.
15991 * powerpc32/power6/wcscpy.c: New file.
15992 * powerpc32/power6/wcsrchr.c: New file.
15993 * powerpc64/power6/wcschr.c: New file.
15994 * powerpc64/power6/wcscpy.c: New file.
15995 * powerpc64/power6/wcsrchr.c: New file.
15996
bcca0895
MK
159972012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15998
15999 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16000 (two_way_short_needle): Use it.
5a4aaa33
RM
16001 * string/strstr.c (AVAILABLE1_USES_J): Define.
16002 * string/strcasestr.c: Likewise.
99677e57
MK
16003
16004 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16005 array references.
16006 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16007
400726de
MK
16008 [BZ #11607]
16009 * NEWS: Add an entry.
16010 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16011 define their defaults.
16012 (two_way_short_needle): Detect end-of-string on-the-fly.
16013 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16014 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16015 * string/bug-strcasestr1.c: New test.
16016 * string/Makefile: Run it.
16017
20a71f2c
MK
160182012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16019
16020 [BZ #11607]
16021 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16022 the first character.
16023
21ad0558
RM
160242012-08-21 Roland McGrath <roland@hack.frob.com>
16025
16026 * csu/elf-init.c (__libc_csu_irel): Function removed.
16027 * csu/libc-start.c (apply_irel): New function.
16028 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16029
0e1d9911
JM
160302012-08-21 Joseph Myers <joseph@codesourcery.com>
16031
16032 * sysdeps/unix/sysv/linux/kernel-features.h
16033 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16034 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16035 <kernel-features.h>.
16036 [__NR_fadvise64_64]: Make code unconditional.
16037 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16038 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16039 !__NR_fadvise64_64)]: Likewise.
16040 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16041 !__NR_fadvise64_64))]: Likewise.
16042 [__NR_fadvise64]: Make code unconditional.
16043 [!__NR_fadvise64]: Remove conditional code.
16044 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16045 <kernel-features.h>.
16046 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16047 unconditional.
16048 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16049 conditional code.
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16051 not include <kernel-features.h>.
16052 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16053 unconditional.
16054 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16055 conditional code.
16056 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16057 include <kernel-features.h>.
16058 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16059 unconditional.
16060 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16061 conditional code.
16062
14a50c9d
WS
160632012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16064
16065 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16066 slight instruction rearrangements per scrollpipe analysis.
16067 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16068
c0f4faf0
RM
160692012-08-20 Roland McGrath <roland@hack.frob.com>
16070
696da859
RM
16071 * manual/syslog.texi (syslog; vsyslog, closelog):
16072 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16073 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16074
c0f4faf0
RM
16075 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16076 DSOCAPS to match condition on defining it.
16077
348363b2
JM
160782012-08-20 Joseph Myers <joseph@codesourcery.com>
16079
a35cbf28
JM
16080 * sysdeps/unix/sysv/linux/kernel-features.h
16081 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16083 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16084 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16086 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16087 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16089 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16090 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16091
445f7ecd
JM
16092 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16093 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16094
348363b2
JM
16095 * sysdeps/unix/sysv/linux/kernel-features.h
16096 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16097 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16098 unconditional.
16099 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16100 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16101 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16102 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16103 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16104 Make code unconditional.
16105 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16106 (__mmap64) [!__NR_mmap2]: Likewise.
16107 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16108 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16109 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16110 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16111 [__NR_mmap2]: Make code unconditional.
16112 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16113 (__mmap64) [!__NR_mmap2]: Likewise.
16114
bc5bc0e5
AK
161152012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16116
16117 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16118
88d506de
AJ
161192012-08-18 Andreas Jaeger <aj@suse.de>
16120
16121 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16122
493387d2
MF
161232012-08-18 Mike Frysinger <vapier@gentoo.org>
16124
16125 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16126 * include/unistd.h (__have_sock_cloexec): Likewise.
16127 (__have_pipe2): Likewise.
16128 (__have_dup3): Likewise.
16129
a277af22
MF
161302012-08-18 Mike Frysinger <vapier@gentoo.org>
16131
16132 [BZ #9685]
16133 * include/unistd.h (__have_pipe2): Change define into an extern int.
16134 (__have_dup3): Likewise.
16135 * socket/have_sock_cloexec.c: Include fcntl.h.
16136 (__have_pipe2): New variable.
16137 (__have_dup3): Likewise.
16138
fdab8fd3
MF
161392012-08-17 Mike Frysinger <vapier@gentoo.org>
16140
16141 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16142
31035e80
MP
161432012-08-17 Marek Polacek <polacek@redhat.com>
16144
16145 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16146 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16147
3bd9e993
RM
161482012-08-17 Roland McGrath <roland@hack.frob.com>
16149
c91c505f
RM
16150 * configure.in: Add AC_SUBST for sysheaders.
16151 * configure: Regenerated.
16152 * config.make.in (sysheaders): New substituted variable.
16153
7c6f9d53
RM
16154 * sysdeps/unix/mkfifo.c: Moved ...
16155 * sysdeps/posix/mkfifo.c: ... here.
16156 * sysdeps/unix/mkfifoat.c: Moved ...
16157 * sysdeps/posix/mkfifoat.c: ... here.
16158
16159 * sysdeps/unix/utime.c: Moved ...
16160 * sysdeps/posix/utime.c: ... here.
16161
16162 * sysdeps/unix/time.c: Moved ...
16163 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16164 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16165 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16166
16167 * sysdeps/unix/nice.c: Moved ...
16168 * sysdeps/posix/nice.c: ... here.
16169
16170 * sysdeps/unix/alarm.c: Moved ...
16171 * sysdeps/posix/alarm.c: ... here.
16172
3bd9e993
RM
16173 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16174
d1f09384
JL
161752012-08-17 Jeff Law <law@redhat.com>
16176
16177 * intl/Makefile (codeset_mo): New variable.
16178 ($(codeset_mo)): New target.
16179 (tst-codeset.out): Depend on that. Remove explicit rule.
16180 (tst-gettext3.out, tst-gettext5.out): Likewise.
16181 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16182 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16183 * intl/tst-codeset.sh: Remove.
16184 * intl/tst-gettext3.sh: Likewise.
16185 * intl/tst-gettext5.sh: Likewise.
16186
2ae1ae5c
RM
161872012-08-17 Roland McGrath <roland@hack.frob.com>
16188
c31fdb83
RM
16189 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16190 * sysdeps/unix/syscalls.list: ... here.
16191
a0844057
RM
16192 * sysdeps/posix/getaddrinfo.c
16193 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16194 (gaiconf_init, gaiconf_reload): Use them.
16195 [!_STATBUF_ST_NSEC]
16196 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16197 Define using time_t rather than struct timespec.
16198
750c1f2a
RM
16199 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16200 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16201 Macros removed.
16202 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16203 [!NO_THREADS].
16204 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16205 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16206 Likewise.
16207
2ae1ae5c
RM
16208 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16209 __libc_cleanup_push argument.
16210
e66a42f5
RM
16211 * bits/param.h: New file.
16212 * misc/sys/param.h: New file.
16213 * include/sys/param.h: New file.
16214 * misc/Makefile (headers): Add bits/param.h.
16215 * sysdeps/generic/sys/param.h: File removed.
16216 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16217 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16218 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16219 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16220
b7c08a66
RM
16221 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16222 last change.
16223
b2e1c562
RM
16224 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16225 [_IO_MTSAFE_IO].
16226 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16227 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16228 New macros.
16229
c75ccd4c
RM
16230 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16231 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16232 rather than -D_IO_MTSAFE_IO conditionally.
16233 * stdio-common/Makefile (CPPFLAGS): Likewise.
16234 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16235 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16236 Use $(libio-mtsafe).
16237 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16238 of -D_IO_MTSAFE_IO.
16239 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16240 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16241 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16242 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16243 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16244 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16245 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16246 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16247 (CFLAGS-fread_u_chk.c): Likewise.
16248 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16249 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16250 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16251 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16252 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16253 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16254 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16255 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16256 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16257
16258 * libio/Makefile: Test [$(libc-reentrant) = yes]
16259 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16260
16261 * Makeconfig
16262 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16263 * sysdeps/pthread/configure: File removed.
16264 * sysdeps/pthread/Makeconfig: New file.
16265 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16266 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16267
d9195db8
GB
162682012-08-16 Gary Benson <gbenson@redhat.com>
16269
16270 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16271 unmapping the first object in a namespace.
16272
86466cd9
RM
162732012-08-16 Roland McGrath <roland@hack.frob.com>
16274
16275 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16276 (__internal_setnetgrent): ... this. Add internal_function to
16277 definition. Add libc_hidden_def.
16278 (setnetgrent): Update caller.
16279 (internal_endnetgrent): Renamed to ...
16280 (__internal_endnetgrent): ... this. Add internal_function to
16281 definition. Add libc_hidden_def.
16282 (endnetgrent): Update caller.
16283 (internal_getnetgrent_r): Renamed to ...
16284 (__internal_getnetgrent_r): ... this. Add internal_function to
16285 definition. Add libc_hidden_def.
16286 (__getnetgrent_r): Update caller.
16287 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16288
c3c8283c
JM
162892012-08-16 Joseph Myers <joseph@codesourcery.com>
16290
16291 * stdlib/longlong.h: Update from GCC.
16292
db1ee0a8
RM
162932012-08-16 Roland McGrath <roland@hack.frob.com>
16294
16295 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16296 on _QL, which is set by umul_ppmm but never used.
16297 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16298 variables, which are set by GMP macros but never used.
16299 * stdio-common/_itowa.c (_itowa): Likewise.
16300 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16301 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16302
30f69637
CD
163032012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16304
16305 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16306 struct La_sh_regs is not constant.
16307 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16308 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16309 and struct La_sparc64_regs are not constant.
16310
93a78ac4
JM
163112012-08-16 Joseph Myers <joseph@codesourcery.com>
16312
16313 * sysdeps/unix/sysv/linux/kernel-features.h
16314 (__ASSUME_POSIX_TIMERS): Remove.
16315 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16316 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16317 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16318 Make code unconditional.
16319 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16320 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16321 Make code unconditional.
16322 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16323 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16324 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16325 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16326 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16327 Make code unconditional.
16328 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16329 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16330 (__libc_missing_posix_timers): Remove.
16331
dd924cd7
RM
163322012-08-15 Roland McGrath <roland@hack.frob.com>
16333
4b4f2771
RM
16334 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16335 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16336
601c888b
RM
16337 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16338
176790a7
RM
16339 * elf/dl-sym.c: Include <stdlib.h>.
16340
329bc018
RM
16341 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16342 constants, which avoids warnings in 32-bit builds.
16343
e04e272d
RM
16344 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16345 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16346
952bf94a
RM
16347 * misc/lseek.c: File moved to ...
16348 * io/lseek.c: ... here.
16349
7c99b50a
RM
16350 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16351
dd924cd7
RM
16352 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16353 shifting LEN more than 31 bits at once.
16354
b3f479a8
LD
163552012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16356
16357 [BZ #14195]
8c4ae0d4
RM
16358 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16359 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16360 * string/test-strncasecmp.c (check1): Renamed to...
16361 (bz12205): ...this.
16362 (bz14195): Add new testcase for two empty input strings and N > 0.
16363 (test_main): Call new testcase, adapt for renamed function.
16364
9c55864e
AJ
163652012-08-15 Andreas Jaeger <aj@suse.de>
16366
16367 [BZ #14090]
16368 * crypt/md5test2.c: New test, based on test supplied by Serge
16369 Belyshev <belyshev@depni.sinp.msu.ru>.
16370 * crypt/Makefile (xtests): Add md5test-giant..
16371 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16372
02dcb6c5
PE
163732012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16374
16375 [BZ #14090]
16376 * crypt/md5.c (md5_process_block): Don't assume the buffer
16377 length is less than 2**32.
16378 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16379 length is less than 2**64.
16380
a3f95dcc
RM
163812012-08-15 Roland McGrath <roland@hack.frob.com>
16382
be75d758
RM
16383 * string/str-two-way.h: Include <sys/param.h>.
16384 (MAX): Macro removed.
16385
7312ca90
RM
16386 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16387 Move #define and #undef of memmove to just before and after
16388 including <string.h>.
16389
9a0a5486
RM
16390 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16391 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16392 and after including <string.h>. Move declarations of
16393 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16394 to before #include "string/memmove.c".
16395
67cc348d
RM
16396 * include/dirent.h: Declare __getdirentries.
16397
a3f95dcc
RM
16398 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16399 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16400
ca98e171
MF
164012012-08-14 Mike Frysinger <vapier@gentoo.org>
16402
16403 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16404 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16405 * sysdeps/i386/configure: Regenerated.
16406 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16407 STABS_CURRENT_FILE, and STABS_FUN.
16408 (END): Remove call to STABS_FUN_END.
16409 (STABS_CURRENT_FILE1): Delete.
16410 (STABS_CURRENT_FILE): Likewise.
16411 (STABS_FUN): Likewise.
16412 (STABS_FUN_END): Likewise.
16413 (STABS_FUN2): Likewise.
16414 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16415 * sysdeps/x86_64/configure: Regenerated.
16416
5908bf46
RM
164172012-08-14 Roland McGrath <roland@hack.frob.com>
16418
16419 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16420 * elf/dl-lookup.c: Likewise.
5908bf46 16421
f2c05b9e
JM
164222012-08-14 Joseph Myers <joseph@codesourcery.com>
16423
16424 * sysdeps/unix/sysv/linux/kernel-features.h
16425 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16426 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16427 unconditionally.
16428 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16429 unconditionally.
16430 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16431 condition on __ASSUME_CLONE_THREAD_FLAGS.
16432
e11f5155
AJ
164332012-08-14 Andreas Jaeger <aj@suse.de>
16434
16435 * sysdeps/i386/fpu/libm-test-ulps: Update.
16436
51a9ba86
MK
164372012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16438
2fdd4f78
AJ
16439 * include/atomic.h (atomic_exchange_and_add): Split into ...
16440 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16441 New atomic macros.
51a9ba86 16442
ba6cba9e
MT
164432012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16444
16445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16446
42443a47
JL
164472012-08-13 Jeff Law <law@redhat.com>
16448
16449 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16450 null byte in the output string.
16451
121dce05
JM
164522012-08-10 Joseph Myers <joseph@codesourcery.com>
16453
16454 * sysdeps/unix/sysv/linux/kernel-features.h
16455 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16456 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16457 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16458 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16459 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16460 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16461 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16462
bf51f568
JL
164632012-08-09 Jeff Law <law@redhat.com>
16464
16465 [BZ #13939]
16466 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16467 When avoid_arena is set, don't retry in the that arena. Pick the
16468 next one, whatever it might be.
16469 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16470 (arena_lock): Pass in new parameter to arena_get2.
16471 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16472 arena_get2.
16473 (__libc_malloc): Unify retrying after main arena failure with
16474 __libc_memalign version.
16475 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16476
f85fa270
L
164772012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16478
16479 [BZ #14166]
16480 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16481 to __redirect_strstr.
16482 (__strstr_sse42): Use typeof __redirect_strstr.
16483 (__strstr_ia32): Likewise.
16484 (__libc_strstr): New prototype.
16485 (strstr): Renamed to ...
16486 (__libc_strstr): This.
16487 (strstr): New strong alias of __libc_strstr.
16488 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16489 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16490 __redirect_time.
16491 Include <time.h>.
16492 (__libc_time): New prototype.
16493 (time_ifunc): Replace time with __libc_time.
16494 (time): New strong alias and hidden definition of __libc_time.
16495 (__GI_time): Remove strong alias.
16496 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16497 Include <stddef.h>.
16498 (memmove): Redefined to __redirect_memmove.
16499 (__memmove_sse2): Use typeof __redirect_memmove.
16500 (__memmove_ssse3): Likewise.
16501 (__memmove_ssse3_back): Likewise.
16502 (__libc_memmove): New prototype.
16503 (memmove): Renamed to ...
16504 (__libc_memmove): This.
16505 (memmove): New strong alias of __libc_memmove.
16506
33b4a91e
MS
165072012-08-08 Mark Salter <msalter@redhat.com>
16508
16509 * elf/elf.h
16510 (R_MN10300_TLS_GD): Define.
16511 (R_MN10300_TLS_LD): Likewise.
16512 (R_MN10300_TLS_LDO): Likewise.
16513 (R_MN10300_TLS_GOTIE): Likewise.
16514 (R_MN10300_TLS_IE): Likewise.
16515 (R_MN10300_TLS_LE): Likewise.
16516 (R_MN10300_TLS_DTPMOD): Likewise.
16517 (R_MN10300_TLS_DTPOFF): Likewise.
16518 (R_MN10300_TLS_TPOFF): Likewise.
16519 (R_MN10300_SYM_DIFF): Likewise.
16520 (R_MN10300_ALIGN): Likewise.
16521 (R_MN10300_NUM): Update.
16522
b36137f1
JM
165232012-08-08 Joseph Myers <joseph@codesourcery.com>
16524
16525 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16526 Remove.
16527
cdd915fd
RM
165282012-08-08 Roland McGrath <roland@hack.frob.com>
16529
a2433aac
RM
16530 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16531
cdd915fd
RM
16532 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16533 sysdeps/unix -> sysdeps/posix move.
16534 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16535
bf9b740a
AM
165362012-08-07 Allan McRae <allan@archlinux.org>
16537
16538 [BZ #14303]
16539 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16540 (SUNOS_CPP): Likewise.
16541 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16542 not found.
16543 (open_input): Call CPP using execvp.
16544
93df14ee
JM
165452012-08-07 Joseph Myers <joseph@codesourcery.com>
16546
16547 * sysdeps/unix/sysv/linux/kernel-features.h
16548 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16549 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16550 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16551 (__ASSUME_WAITID_SYSCALL): Likewise.
16552 * sysdeps/unix/sysv/linux/dl-execstack.c
16553 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16554 code unconditional.
16555 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16556 conditional code.
16557 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16558 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16559 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16560 code.
16561 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16562 unconditional.
16563 [__ASSUME_WAITID_SYSCALL]: Likewise.
16564 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16565
d34689de
RM
165662012-08-07 Roland McGrath <roland@hack.frob.com>
16567
a281decc
RM
16568 * sysdeps/unix/closedir.c: Renamed to ...
16569 * sysdeps/posix/closedir.c: ... here.
16570 * sysdeps/unix/dirfd.c: Renamed to ...
16571 * sysdeps/posix/dirfd.c: ... here.
16572 * sysdeps/unix/dirstream.h: Renamed to ...
16573 * sysdeps/posix/dirstream.h: ... here.
16574 * sysdeps/unix/fdopendir.c: Renamed to ...
16575 * sysdeps/posix/fdopendir.c: ... here.
16576 * sysdeps/unix/opendir.c: Renamed to ...
16577 * sysdeps/posix/opendir.c: ... here.
16578 * sysdeps/unix/readdir.c: Renamed to ...
16579 * sysdeps/posix/readdir.c: ... here.
16580 * sysdeps/unix/readdir_r.c: Renamed to ...
16581 * sysdeps/posix/readdir_r.c: ... here.
16582 * sysdeps/unix/rewinddir.c: Renamed to ...
16583 * sysdeps/posix/rewinddir.c: ... here.
16584 * sysdeps/unix/seekdir.c: Renamed to ...
16585 * sysdeps/posix/seekdir.c: ... here.
16586 * sysdeps/unix/telldir.c: Renamed to ...
16587 * sysdeps/posix/telldir.c: ... here.
16588 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16589 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16590 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16591 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16592
22895b47
RM
16593 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16594 * bits/fcntl.h: ... here.
16595
707a53b6
RM
16596 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16597 not 0.
16598 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16599 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16600 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16601 (struct flock): Move l_start, l_len to the beginning.
16602 Use __pid_t for l_pid.
16603 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16604 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16605 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16606 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16607 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16608 [__USE_LARGEFILE64] (struct flock64): New type.
16609 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16610
f0bd3e25
RM
16611 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16612 * bits/dirent.h: ... here.
16613
d34689de
RM
16614 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16615 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16616
6dad2c06
JM
166172012-08-07 Joseph Myers <joseph@codesourcery.com>
16618
16619 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16620 Change from 2.6.0 to 2.6.16.
16621 * sysdeps/unix/sysv/linux/configure: Regenerated.
16622 * sysdeps/unix/sysv/linux/kernel-features.h
16623 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16624 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16625 version.
16626 (__ASSUME_UTIMES): Likewise.
16627 (__ASSUME_CLONE_STOPPED): Remove.
16628 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16629 architectures, not kernel version.
16630 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16631 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16632 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16633 (__ASSUME_WAITID_SYSCALL): Likewise.
16634 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16635 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16636 * README: State 2.6.16 as minimum Linux kernel version. Do not
16637 refer to older versions.
16638
03af9520
RM
166392012-08-06 Roland McGrath <roland@hack.frob.com>
16640
8e49df1d
RM
16641 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16642 Define alphasort64 as an alias.
16643 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16644 Define versionsort64 as an alias.
16645 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16646 Define scandir64 as an alias.
16647 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16648 Define scandirat64 as an alias.
16649 * dirent/alphasort64.c (alphasort64):
16650 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16651 * dirent/versionsort64.c: Likewise.
16652 * dirent/scandir64.c: Likewise.
16653 * dirent/scandirat64.c: Likewise.
16654 * sysdeps/wordsize-64/alphasort.c: File removed.
16655 * sysdeps/wordsize-64/alphasort64.c: File removed.
16656 * sysdeps/wordsize-64/scandir.c: File removed.
16657 * sysdeps/wordsize-64/scandir64.c: File removed.
16658 * sysdeps/wordsize-64/scandirat.c: File removed.
16659 * sysdeps/wordsize-64/scandirat64.c: File removed.
16660 * sysdeps/wordsize-64/versionsort.c: File removed.
16661 * sysdeps/wordsize-64/versionsort64.c: File removed.
16662 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16663 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16664 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16665 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16666 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16667 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16668 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16669 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16670
16671 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16673 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16675 [defined __arch64__ || defined __sparcv9]
16676 (__INO_T_MATCHES_INO64_T): New macro.
16677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16678 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16679 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16680 * sysdeps/unix/sysv/linux/bits/dirent.h
16681 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16682 (_DIRENT_MATCHES_DIRENT64): New macro.
16683
03af9520
RM
16684 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16685 Define lockf64 as an alias.
16686 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16687 Define fseeko64 as an alias.
16688 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16689 Define ftello64 as an alias.
16690 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16691 Define _IO_fgetpos64 and fgetpos64 as aliases.
16692 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16693 Define _IO_fsetpos64 and fsetpos64 as aliases.
16694 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16695 Conditionalize body on this.
16696 * libio/fseeko64.c: Likewise.
16697 * libio/ftello64.c: Likewise.
16698 * libio/iofgetpos64.c: Likewise.
16699 * libio/iofsetpos64.c: Likewise.
16700 * sysdeps/wordsize-64/lockf.c: File removed.
16701 * sysdeps/wordsize-64/lockf64.c: File removed.
16702 * sysdeps/wordsize-64/fseeko.c: File removed.
16703 * sysdeps/wordsize-64/fseeko64.c: File removed.
16704 * sysdeps/wordsize-64/ftello.c: File removed.
16705 * sysdeps/wordsize-64/ftello64.c: File removed.
16706 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16707 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16708 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16709 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16710 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16711 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16712 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16714 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16716 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16717 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16718 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16719 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16720
16721 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16723 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16725 [defined __arch64__ || defined __sparcv9]
16726 (__OFF_T_MATCHES_OFF64_T): New macro.
16727 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16728 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16730 (__OFF_T_MATCHES_OFF64_T): New macro.
16731
c5757acd
L
167322012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16733
16734 * stdlib/secure-getenv.c (__secure_getenv): Replace
16735 GLIBC_2_16 with GLIBC_2_17.
16736
3a31811e
L
167372012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16738
16739 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16740 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16741
faa2bccb
DM
167422012-08-03 David S. Miller <davem@davemloft.net>
16743
16744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16745
85fe1997
JM
167462012-08-03 Joseph Myers <joseph@codesourcery.com>
16747
16748 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16749 Remove.
16750 (__ASSUME_CORRECT_SI_PID): Likewise.
16751 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16752 (__ASSUME_TMPFS_NAME): Likewise.
16753 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16754 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16755 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16756 (HAVE_AUX_SECURE): Make definition unconditional.
16757 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16758 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16759
4f75b7a0
RM
167602012-08-03 Roland McGrath <roland@hack.frob.com>
16761
16762 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16763 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16764 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16765 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16766 __eloop_threshold instead of SYMLOOP_MAX.
16767
16768 * sysdeps/generic/eloop-threshold.h: New file.
16769 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16770 of MAXSYMLINKS.
16771 * elf/chroot_canon.c (chroot_canon): Likewise.
16772
7aab07e4
JM
167732012-08-03 Joseph Myers <joseph@codesourcery.com>
16774
16775 [BZ #13717]
16776 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16777 Change to 2.6.0 everywhere.
16778 * sysdeps/unix/sysv/linux/configure: Regenerated.
16779 * sysdeps/unix/sysv/linux/kernel-features.h
16780 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16781 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16782 kernel versions.
16783 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16784 (__ASSUME_FUTEX_REQUEUE): Remove.
16785 (__ASSUME_STATFS64): Define unconditionally.
16786 (__ASSUME_AT_SECURE): Likewise.
16787 (__ASSUME_CORRECT_SI_PID): Likewise.
16788 (__ASSUME_TGKILL): Define without depending on kernel version for
16789 i386.
16790 (__ASSUME_UTIMES): Likewise.
16791 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16792 kernel version.
16793 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16794 (__ASSUME_TMPFS_NAME): Likewise.
16795 * README: Update reference to Linux kernel versions.
16796
b67e9372
MP
167972012-08-02 Marek Polacek <polacek@redhat.com>
16798
1f529f7d 16799 [BZ# 14150]
b67e9372
MP
16800 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16801 libc_cv_asm_type_prefix with %.
16802 * configure: Regenerated.
d2441631
RM
16803 * include/libc-symbols.h: Remove comment about
16804 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16805 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16806 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16807 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16808 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16809 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16810 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16811 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16812 * elf/tst-unique2mod1.c: Likewise.
16813 * elf/tst-unique1mod2.c: Likewise.
16814 * elf/tst-unique1mod1.c: Likewise.
16815 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16816 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16817 Replace ASM_TYPE_DIRECTIVE with .type.
16818 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16819 * sysdeps/i386/sysdep.h: Likewise.
16820 * sysdeps/x86_64/sysdep.h: Likewise.
16821 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16823 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16824 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16825 * sysdeps/powerpc/powerpc32/sysdep.h:
16826 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16827 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16828 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16829 * sysdeps/i386/fpu/e_powf.S: Likewise.
16830 * sysdeps/i386/fpu/e_expl.S: Likewise.
16831 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16832 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16833 * sysdeps/i386/fpu/e_pow.S: Likewise.
16834 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16835 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16836 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16837 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16838 * sysdeps/i386/fpu/e_log2.S: Likewise.
16839 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16840 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16841 * sysdeps/i386/fpu/e_powl.S: Likewise.
16842 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16843 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16844 * sysdeps/i386/fpu/e_logl.S: Likewise.
16845 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16846 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16847 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16848 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16849 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16850 * sysdeps/i386/fpu/e_log.S: Likewise.
16851 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16852 * sysdeps/i386/fpu/e_logf.S: Likewise.
16853 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16854 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16855 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16856 * sysdeps/i386/fpu/e_log10.S: Likewise.
16857 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16858 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16859 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16860 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16861 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16862 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16863 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16864 * sysdeps/i386/i686/strtok.S: Likewise.
16865 * sysdeps/i386/i386-mcount.S: Likewise.
16866 * sysdeps/i386/strtok.S: Likewise.
16867 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16868 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16869 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16870 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16871 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16872 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16873 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16874 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16875 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16876 * sysdeps/x86_64/_mcount.S: Likewise.
16877 * sysdeps/x86_64/strtok.S: Likewise.
16878 * sysdeps/sh/_mcount.S: Likewise.
16879
2747bf9a
RM
168802012-08-01 Roland McGrath <roland@hack.frob.com>
16881
16882 * libio/iofopen.c: Include <fcntl.h>.
16883 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16884 (_IO_fopen64, fopen64): Define as aliases.
16885 * libio/iofopen64.c: Include <fcntl.h>.
16886 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16887 Conditionalize body on this.
16888 * sysdeps/wordsize-64/iofopen.c: File removed.
16889 * sysdeps/wordsize-64/iofopen64.c: File removed.
16890
3fb791b8
MP
168912012-08-01 Marek Polacek <polacek@redhat.com>
16892
16893 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16894 Use dlfcn directly instead of a variable.
16895 (binfmt-subdir): Do not define.
16896 (dlfcn): Likewise.
16897
a9f1039f
JM
168982012-08-01 Joseph Myers <joseph@codesourcery.com>
16899
23bddc06
JM
16900 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16901 Remove all definitions.
16902 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16903 <kernel-features.h>.
16904 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16905 (miss_F_GETOWN_EX): Remove all definitions.
16906 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16907 macro definition.
16908 [!__ASSUME_FCNTL64]: Remove conditional code.
16909 [__ASSUME_FCNTL64]: Make code unconditional.
16910 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16911 <kernel-features.h>.
16912 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16913 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16914 (lockf64) [__NR_fcntl64]: Make code unconditional.
16915 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16916
a9f1039f
JM
16917 * sysdeps/unix/sysv/linux/kernel-features.h
16918 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16919 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16920 Make code unconditional.
16921 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16922 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16924 [__NR_vfork]: Make code unconditional.
16925 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16926 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16928 [__NR_vfork]: Make code unconditional.
16929 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16930 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16931
09c0ee5f
RM
169322012-08-01 Roland McGrath <roland@hack.frob.com>
16933
48aec5b9
RM
16934 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16935 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16936
cd97c966
RM
16937 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16938 Define mkstemp64 as an alias.
3f55550c
RM
16939 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16940 Define mkstemps64 as an alias.
cd97c966
RM
16941 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16942 Define mkostemp64 as an alias.
b8625cfc
RM
16943 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16944 Define mkostemps64 as an alias.
cd97c966
RM
16945 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16946 Conditionalize body on this.
16947 * misc/mkostemp64.c: Likewise.
b8625cfc 16948 * misc/mkostemps64.c: Likewise.
3f55550c 16949 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16950 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16951 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16952 * sysdeps/wordsize-64/mkostemp.c: File removed.
16953 * sysdeps/wordsize-64/mkstemp.c: File removed.
16954 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16955 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16956 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16957 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16958
09c0ee5f
RM
16959 [BZ #14138]
16960 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16961 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16962 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16963 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16964
16965 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16966 compat_symbol macros from <shlib-compat.h> rather than the underlying
16967 default_symbol_version and symbol_version macros, so that DEFAULT
16968 lines in shlib-versions are respected.
16969 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16970
7e66ee51
FW
169712012-08-01 Florian Weimer <fweimer@redhat.com>
16972
16973 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16974 Declare with warn_unused_result.
16975 (setgid, setregid, setegid, setresgid): Likewise.
16976 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16977 Likewise.
16978 * WUR-REPORT: Remove set*id functions.
16979
d2a54255
PT
169802012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16981
16982 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16983
7ecdb005
RM
169842012-07-31 Roland McGrath <roland@hack.frob.com>
16985
b4180a5e 16986 [BZ #10191]
789bd351
RM
16987 * include/sys/socket.h (__libc_accept, __libc_accept4):
16988 Add attribute_hidden.
16989 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16990
40ce302d
RM
16991 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16992 use of PTR_MANGLE.
16993 * inet/getnetgrent_r.c (setup): Likewise.
16994
7ecdb005
RM
16995 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16996
e2eabb2c
DM
169972012-07-31 David S. Miller <davem@davemloft.net>
16998
16999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17000
d0419dbf
JM
170012012-07-31 Joseph Myers <joseph@codesourcery.com>
17002
17003 [BZ #13629]
17004 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17005 value between 1.0 and 2.0 and smaller part has absolute value less
17006 than 1.0.
17007 * math/s_clog10.c (__clog10): Likewise.
17008 * math/s_clog10f.c (__clog10f): Likewise.
17009 * math/s_clog10l.c (__clog10l): Likewise.
17010 * math/s_clogf.c (__clogf): Likewise.
17011 * math/s_clogl.c (__clogl): Likewise.
17012 * math/libm-test.inc (clog_test): Add more tests.
17013 (clog10_test): Likewise.
17014 * sysdeps/i386/fpu/libm-test-ulps: Update.
17015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17016
2bc13872
FW
170172012-07-31 Florian Weimer <fweimer@redhat.com>
17018
17019 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17020 Exit with zero in case no suitable GID is found, and write a
17021 message to standard error.
17022
bea9b193
RM
170232012-07-30 Roland McGrath <roland@hack.frob.com>
17024
17025 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17026 rather than to 1.
17027 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17028 (MAXPATHLEN): Removed.
17029 (NOGROUP, NODEV): New macros.
17030 (setbit, clrbit, isset, isclr): New macros.
17031 (howmany, roundup, powerof2): New macros.
17032 (DEV_BSIZE): New macro.
17033
17034 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17035 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17036
17037 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17038 definition on [!__NO_LONG_DOUBLE_MATH].
17039
17040 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17041 PTR_MANGLE and PTR_DEMANGLE.
17042
17043 * socket/accept4.c (accept4): Rename to __libc_accept4.
17044 Define accept4 as a weak alias.
17045
17046 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17047 on [_DIRENT_HAVE_D_TYPE].
17048 * io/ftw.c (ftw_dir): Likewise.
17049
17050 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17051
17052 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17053
17054 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17055 Use the BSD numbers rather than the arbitrary ones we had.
17056 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17057 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17058 (SIGXCPU, SIGXFSZ): New macros.
17059 (_NSIG): Now 32.
17060
17061 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17062 initializer on [_LIBC_REENTRANT].
17063
17064 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17065 definitions inside [_POSIX_MAPPED_FILES].
17066
17067 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17068
17069 * dirent/opendir.c: Include <fcntl.h>.
17070
17071 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17072 (__libc_getspecific): Likewise.
17073 (__libc_key_create): Likewise.
17074
17075 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17076 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17077 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17078 (tmpfile64): Define as alias.
17079 * sysdeps/wordsize-64/tmpfile.c: File removed.
17080 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17081 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17082 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17083
17084 * stdio-common/vfscanf.c: Include <stdbool.h>.
17085 * nss/makedb.c: Likewise.
17086 * stdio-common/_i18n_number.h: Likewise.
17087 * argp/argp-help.c: Likewise.
17088 * posix/wordexp.c: Likewise.
17089 * sysdeps/posix/spawni.c: Likewise.
17090 * nss/nss_files/files-initgroups.c: Likewise.
17091 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17092 * nss/nss_files/files-initgroups.c: Likewise.
17093 * nss/nss_db/db-netgrp.c: Likewise.
17094 * nss/nss_db/db-initgroups.c: Likewise.
17095 * io/fchmodat.c: Include <sys/stat.h>.
17096
17097 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17098 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17099
17100 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17101 [HAVE_MMAP].
17102
17103 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17104 Add multiple inclusion protection.
17105
e5abc686
DM
171062012-07-27 David S. Miller <davem@davemloft.net>
17107
17108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17109
815e6fa3
GB
171102012-07-27 Gary Benson <gbenson@redhat.com>
17111
17112 [BZ #14298]
17113 * elf/rtld.c: Include <stap-probe.h>.
17114 (dl_main): Added static probes "init_start" and "init_complete".
17115 * elf/dl-load.c: Include <stap-probe.h>.
17116 (lose): Take new parameter "nsid".
17117 Added static probe "map_failed".
17118 (_dl_map_object_from_fd): Pass namespace id to lose.
17119 Added static probe "map_start".
17120 (open_verify): Pass namespace id to lose.
17121 * elf/dl-open.c: Include <stap-probe.h>.
17122 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17123 and "reloc_complete".
17124 * elf/dl-close.c: Include <stap-probe.h>.
17125 (_dl_close_worker): Added static probes "unmap_start" and
17126 "unmap_complete".
17127 * elf/rtld-debugger-interface.txt: New file documenting the above.
17128
9f98c16c
RM
171292012-07-26 Roland McGrath <roland@hack.frob.com>
17130
17131 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17132 rather than a string variable.
17133 * sunrpc/rpc_main.c (h_output): Likewise.
17134 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17135
f3c22df3
PT
171362012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17137
17138 * inet/check_native.c: New file.
17139
3129cfc6
JM
171402012-07-26 Joseph Myers <joseph@codesourcery.com>
17141
da865e95
JM
17142 [BZ #13629]
17143 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17144 if larger part has absolute value 1.0.
17145 * math/s_clog10.c (__clog10): Likewise.
17146 * math/s_clog10f.c (__clog10f): Likewise.
17147 * math/s_clog10l.c (__clog10l): Likewise.
17148 * math/s_clogf.c (__clogf): Likewise.
17149 * math/s_clogl.c (__clogl): Likewise.
17150 * math/libm-test.inc (clog_test): Add more tests.
17151 (clog10_test): Likewise.
17152 * sysdeps/i386/fpu/libm-test-ulps: Update.
17153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17154
3129cfc6
JM
17155 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17156 (pltexit): Likewise.
17157 (La_regs): Likewise.
17158 (La_retval): Likewise.
17159 (int_retval): Likewise.
17160 Update #error for removed macros to refer only to definitions in
17161 tst-audit.h.
17162 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17163 macro.
17164 (pltexit): Likewise.
17165 (La_regs): Likewise.
17166 (La_retval): Likewise.
17167 (int_retval): Likewise.
17168 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17169 macro.
17170 (pltexit): Likewise.
17171 (La_regs): Likewise.
17172 (La_retval): Likewise.
17173 (int_retval): Likewise.
17174 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17175 macro.
17176 (pltexit): Likewise.
17177 (La_regs): Likewise.
17178 (La_retval): Likewise.
17179 (int_retval): Likewise.
17180 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17181 macro.
17182 (pltexit): Likewise.
17183 (La_regs): Likewise.
17184 (La_retval): Likewise.
17185 (int_retval): Likewise.
17186 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17187 macro.
17188 (pltexit): Likewise.
17189 (La_regs): Likewise.
17190 (La_retval): Likewise.
17191 (int_retval): Likewise.
17192 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17193 macro.
17194 (pltexit): Likewise.
17195 (La_regs): Likewise.
17196 (La_retval): Likewise.
17197 (int_retval): Likewise.
17198 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17199 macro definitions in tst-audit.h.
17200 * sysdeps/i386/tst-audit.h: New file.
17201 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17202 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17203 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17204 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17205 * sysdeps/sh/tst-audit.h: Likewise.
17206 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17207 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17208 * sysdeps/x86_64/tst-audit.h: Likewise.
17209
bfc07087
AJ
172102012-07-26 Andreas Jaeger <aj@suse.de>
17211
b1b2aaf8
AJ
17212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17213 ptrace.
17214
17215 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17216 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17217 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17218 PTRACE_O_MASK.
17219 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17220 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17221 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17222
bfc07087
AJ
17223 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17224 value.
17225
17226 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17227 _sigsys.
17228 (si_call_addr, si_syscall, si_arch): Define new macro.
17229 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17230 _sigsys.
17231 (si_call_addr, si_syscall, si_arch): Define new marcro.
17232 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17233 _sigsys.
17234 (si_call_addr, si_syscall, si_arch): Define new macro.
17235 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17236 _sigsys.
17237 (si_call_addr, si_syscall, si_arch): Define new macro.
17238
89b4b02f
JM
172392012-07-25 Joseph Myers <joseph@codesourcery.com>
17240
17241 [BZ #13717]
17242 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17243 Change to 2.4.21 where previously 2.4.1.
17244 * sysdeps/unix/sysv/linux/configure: Regenerated.
17245 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17246 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17247 Linux kernel version.
17248 (__ASSUME_STD_AUXV): Remove.
17249 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17250 kernel version.
17251 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17252 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17253 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17254 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17255 (__ASSUME_NETLINK_SUPPORT): Likewise.
17256 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17257 (__no_netlink_support): Remove conditional definition.
17258 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17259 Remove.
17260 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17261 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17262 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17263 (if_nameindex_ioctl): Remove.
17264 (if_nameindex_netlink): Do not handle __no_netlink_support.
17265 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17266 code.
17267 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17268 Remove conditional code.
17269 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17270 code.
17271 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17272 unconditional.
17273 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17274 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17275 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17276 Remove.
17277 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17278 [!__ASSUME_STD_AUXV]: Remove conditional code.
17279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17280 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17281 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17283 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17284 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17285 code.
17286 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17288 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17289 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17290 conditional code.
17291 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17293 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17294 code.
17295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17296 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17297 conditional code.
17298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17299 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17300 code unconditional.
17301 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17302 conditional code.
17303 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17304 unconditional.
17305 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17306 conditional code.
17307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17308 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17309 unconditional.
17310 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17311 conditional code.
17312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17313 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17314 code unconditional.
17315 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17316 conditional code.
17317 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17318 unconditional.
17319 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17320 conditional code.
17321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17322 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17323 code unconditional.
17324 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17325 conditional code.
17326 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17327 unconditional.
17328 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17329 conditional code.
17330
842a39cd
AS
173312012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17332
17333 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17334 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17335 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17336 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17337 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17338 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17339 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17340 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17341 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17342 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17343 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17344 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17345 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17346 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17347 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17348 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17349 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17350 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17351 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17353 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17354 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17356
84b3fd84
FW
173572012-07-25 Florian Weimer <fweimer@redhat.com>
17358
17359 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17360 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17361 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17362 Introduce __libc_secure_getenv.
0c7936d5
FW
17363 * stdlib/Versions (2.17): Add secure_getenv
17364 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17365 * stdlib/secure-getenv.c: Rename __secure_getenv to
17366 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17367 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17368 * stdlib/tst-secure-getenv.c: New.
17369 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17370 * manual/startup.texi (Environment Access): Document
17371 secure_getenv.
84b3fd84
FW
17372 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17373 __libc_secure_getenv.
17374 * inet/ruserpass.c (ruserpass): Likewise.
17375 * malloc/mtrace.c (mtrace): Likewise.
17376 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17377 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17378 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17379 * sysdeps/posix/tempname.c: Likewise. Evaluate
17380 HAVE_SECURE_GETENV.
17381 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17382 __secure_getenv to __libc_secure_getenv.
84b3fd84 17383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17385 Likewise.
17386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17387 Likewise.
17388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17390 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17395
56e49b71
JM
173962012-07-25 Joseph Myers <joseph@codesourcery.com>
17397
17398 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17399 (struct La_i86_retval): Likewise.
17400 (struct La_x86_64_regs): Likewise.
17401 (struct La_x86_64_retval): Likewise.
17402 (struct La_x32_regs): Likewise.
17403 (struct La_x32_retval): Likewise.
17404 (struct La_ppc32_regs): Likewise.
17405 (struct La_ppc32_retval): Likewise.
17406 (struct La_ppc64_regs): Likewise.
17407 (struct La_ppc64_retval): Likewise.
17408 (struct La_sh_regs): Likewise.
17409 (struct La_sh_retval): Likewise.
17410 (struct La_s390_32_regs): Likewise.
17411 (struct La_s390_32_retval): Likewise.
17412 (struct La_s390_64_regs): Likewise.
17413 (struct La_s390_64_retval): Likewise.
17414 (struct La_sparc32_regs): Likewise.
17415 (struct La_sparc32_retval): Likewise.
17416 (struct La_sparc64_regs): Likewise.
17417 (struct La_sparc64_retval): Likewise.
17418 (struct audit_ifaces): Remove architecture-specific pltenter and
17419 pltexit members.
17420 * sysdeps/i386/ldsodefs.h: New file.
17421 * sysdeps/powerpc/ldsodefs.h: Likewise.
17422 * sysdeps/s390/ldsodefs.h: Likewise.
17423 * sysdeps/sh/ldsodefs.h: Likewise.
17424 * sysdeps/sparc/ldsodefs.h: Likewise.
17425 * sysdeps/x86_64/ldsodefs.h: Likewise.
17426
354691b7
MP
174272012-07-25 Marek Polacek <polacek@redhat.com>
17428
17429 [BZ #6808]
17430 * math/libm-test.inc (yn_test): Add another test.
17431 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17432 to ERANGE when the result is +-Inf.
17433 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17434 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17435 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17436 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17437
bf9e2071
JM
174382012-07-24 Joseph Myers <joseph@codesourcery.com>
17439
17440 * conform/data/time.h-data (NULL): Use macro-constant. Require
17441 equal to 0.
17442 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17443 clock_t.
17444 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17445
57633811
TS
174462012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17447
17448 * configure.in <sysdeps resolving>: Correct printing
17449 Implies_before.
17450 * configure: Regenerate.
17451
c23c33b0
TS
174522012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17453
17454 * math/w_ilogb.c: Include <limits.h>.
17455 * math/w_ilogbl.c: Likewise.
17456
b5982523
JM
174572012-07-20 Joseph Myers <joseph@codesourcery.com>
17458
17459 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17460 va_copy. Document allowing for unavailable va_copy only as
17461 pre-C99 compatibility.
17462 * manual/string.texi (Copying and Concatenation): Use va_copy
17463 instead of __va_copy in concat example.
17464
ac4ea442
PT
174652012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17466
17467 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17468 (__sendto): Use create_address_port. Initialize APORT and deallocate
17469 it if not null.
17470
f98eafbd
PT
17471 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17472 with O_NOLINK passed to __file_name_lookup.
17473
898c7aab
PT
17474 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17475 with O_NOLINK passed to __file_name_lookup.
17476
0ced335a
PT
17477 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17478 negative N or less than NGIDS.
17479
b3404dbd
PT
17480 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17481 type to string_t. Set ERANGE as errno and return it if NAME is not big
17482 enough. Use memcpy instead of strncpy.
17483
0f48659e
JM
174842012-07-20 Joseph Myers <joseph@codesourcery.com>
17485
17486 * elf/Makefile (check-data): Remove.
17487 (localplt.data): New vpath directive.
17488 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17489 instead of $(check-data).
17490 * scripts/data/localplt-generic.data: Move to ...
17491 * sysdeps/generic/localplt.data: ... here.
17492 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17493 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17494 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17496 ... here.
17497 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17499 ... here.
17500 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17502 ... here.
17503 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17505 ... here.
17506 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17508 ... here.
17509 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17511 ... here.
17512
d37cbdaa
AZ
175132012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17514
17515 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17516 PPC32 and PPC64 files.
17517 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17518 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17519
46f85fc2
AK
175202012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17521
17522 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17523 __makecontext_ret to ...
17524 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17525 ... here and call exit if uc_link is NULL. New file.
17526 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17527 __makecontext_ret.S.
17528 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17529 __makecontext_ret to ...
17530 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17531 ... here and call exit if uc_link is NULL. New file.
17532 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17533 __makecontext_ret.S.
17534
08f43f9b
AK
175352012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17536
17537 * elf/elf.h (R_390_IRELATIVE): New definition.
17538 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17539 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17540 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17541 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17542 (elf_machine_lazy_rel): Likewise.
17543 * sysdeps/s390/dl-irel.h: New file.
17544 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17545 * sysdeps/s390/s390-64/memset.S: New asm code.
17546 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17547 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17548 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17549 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17550 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17551 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17552 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17553 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17554 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17555 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17556 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17557 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17558 * sysdeps/s390/s390-32/memset.S: New asm code.
17559 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17560
3b05db33
MP
175612012-07-17 Marek Polacek <polacek@redhat.com>
17562
17563 [BZ #14349]
17564 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17565 * sysdeps/s390/s390-64/configure.in: Likewise.
17566 * sysdeps/sparc/configure.in: Likewise.
17567 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17568 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17569 * sysdeps/i386/configure.in: Likewise.
17570 * sysdeps/x86_64/configure.in: Likewise.
17571 * sysdeps/sh/configure.in: Likewise.
17572 * sysdeps/s390/s390-32/configure: Regenerated.
17573 * sysdeps/s390/s390-64/configure: Likewise.
17574 * sysdeps/x86_64/configure: Likewise.
17575 * sysdeps/sh/configure: Likewise.
17576 * sysdeps/powerpc/powerpc64/configure: Likewise.
17577 * sysdeps/powerpc/powerpc32/configure: Likewise.
17578 * sysdeps/sparc/configure: Likwise.
17579 * sysdeps/i386/configure: Likewise.
17580
a66877c6
MP
17581 * elf/dl-open.c: Comment fixes.
17582
cfc82fd8
JM
175832012-07-17 Joseph Myers <joseph@codesourcery.com>
17584
bd29910a
JM
17585 * Makefile [CXX] (check-data): Remove.
17586 [CXX] (c++-types.data): New vpath directive.
17587 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17588 vpath. Do not allow for C++ type data being missing.
17589 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17590 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17591 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17592 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17593 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17594 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17595 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17597 ... here.
17598 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17600 ... here.
17601 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17603 ... here.
17604 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17606 ... here.
17607 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17609 ... here.
17610 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17612 ... here.
17613 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17615 ... here.
17616 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17618
cfc82fd8
JM
17619 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17620 definitions to architecture-specific files.
17621 (TLS_IE): Likewise.
17622 (TLS_LD): Likewise.
17623 (TLS_GD): Likewise.
17624 * sysdeps/i386/tls-macros.h: New file.
17625 * sysdeps/powerpc/tls-macros.h: Likewise.
17626 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17627 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17628 * sysdeps/sh/tls-macros.h: Likewise.
17629 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17630 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17631 * sysdeps/x86_64/tls-macros.h: Likewise.
17632
f7db3170
TS
176332012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17634
07cbfc23
TS
17635 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17636 zero value for regular exit case.
17637
f7db3170
TS
17638 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17639 (__start_context): Preserve zero value for regular exit case.
17640
dc97c227
TS
176412012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17642 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17643
17644 * manual/setjmp.texi (setcontext): Clarify normal process
17645 termination when uc_link is the null pointer.
17646 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17647 exit call.
17648
d0cd7d02
AS
176492012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17650
17651 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17652 preprocessor. Test for each exception mask separately.
17653
dd318934
AJ
176542012-07-16 Andreas Jaeger <aj@suse.de>
17655
17656 * po/ru.po: Update from translation team.
17657
8048311a
JM
176582012-07-15 Joseph Myers <joseph@codesourcery.com>
17659
17660 * conform/data/string.h-data (NULL): Use macro-constant. Require
17661 equal to 0.
17662 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17663 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17664 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17665 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17667
b637d46e
AJ
176682012-07-13 Andreas Jaeger <aj@suse.de>
17669
17670 * po/fr.po: Update from translation team.
17671
541428fe
MP
176722012-07-12 Marek Polacek <polacek@redhat.com>
17673
17674 [BZ #14173]
17675 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17676 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17677 loop condition.
17678
ec332e94
JM
176792012-07-12 Joseph Myers <joseph@codesourcery.com>
17680
17681 [BZ #13717]
17682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17683 Change to 2.4.1 where previously 2.4.0.
17684 * sysdeps/unix/sysv/linux/configure: Regenerated.
17685 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17686 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17687 version.
17688 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17689 (__ASSUME_AT_CLKTCK): Remove.
17690 (__ASSUME_AT_PAGESIZE): Likewise.
17691 (__ASSUME_AT_XID): Likewise.
17692 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17693 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17694 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17695 unconditionally.
17696 (HAVE_AUX_PAGESIZE): Likewise.
17697 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17698 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17699 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17700
7b6e99be
JB
177012012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17702
17703 [BZ #14307]
17704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17705 the temporary buffer used to invoke __gethostbyname2_r,
17706 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17707 host_data / struct gaih_addrtuple.
17708 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17709 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17710 header file nss/nsswitch.h.
17711 * nss/nsswitch.h (global scope): Add definition of implementation
17712 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17713 resolv/nss_dns/dns-host.c).
17714
608404eb
AJ
177152012-07-11 Andreas Jaeger <aj@suse.de>
17716
17717 * po/fr.po: Update from translation team.
17718
71220aca
AJ
17719 * po/sv.po: Update from translation team
17720 * po/fr.po: Another update from translation team.
17721
28cfe843
AZ
177222012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17723
17724 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17725 for subnormals or multiply small sinh result by itself.
17726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17728
6b90f981
DM
177292012-07-11 David S. Miller <davem@davemloft.net>
17730
17731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17732
c6825772
AS
177332012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17734
17735 [BZ #14347]
17736 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17737 (INTERNAL_MARK): Shift it here.
17738
7b8e0d49
MP
177392012-07-10 Marek Polacek <polacek@redhat.com>
17740
17741 [BZ #14151]
17742 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17743 libc_cv_asm_global_directive with .globl.
17744 * configure: Regenerated.
17745 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17746 with .globl.
17747 * sysdeps/i386/configure: Regenerated.
17748 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17749 with .globl.
17750 * sysdeps/x86_64/configure: Regenerated.
17751 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17752 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17753 * elf/tst-unique2mod2.c: Likewise.
17754 * elf/tst-unique2mod1.c: Likewise.
17755 * elf/tst-unique1mod2.c: Likewise.
17756 * elf/tst-unique1mod1.c: Likewise.
17757 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17758 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17759 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17760 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17761 * sysdeps/mach/sysdep.h: Likewise.
17762 * sysdeps/i386/sysdep.h: Likewise.
17763 * sysdeps/i386/i386-mcount.S: Likewise.
17764 * sysdeps/x86_64/_mcount.S: Likewise.
17765 * sysdeps/x86_64/sysdep.h: Likewise.
17766 * sysdeps/sh/_mcount.S: Likewise.
17767 * sysdeps/sh/sysdep.h: Likewise.
17768 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17769 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17770 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17771 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17772 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17773 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17774 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17775 * locale/localeinfo.h: Likewise.
17776 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17777 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17778
6c55cda3
RM
177792012-07-09 Roland McGrath <roland@hack.frob.com>
17780
17781 [BZ #14336]
17782 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17783 system".
17784 * manual/message.texi (The Uniforum approach): Likewise.
17785 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17786 (glibc iconv Implementation): Likewise.
17787
638a572e
JM
177882012-07-09 Joseph Myers <joseph@codesourcery.com>
17789
17790 [BZ #14337]
17791 * math/s_clog.c (__clog): Avoid scaling a value down where that
17792 could result in underflow.
17793 * math/s_clog10.c (__clog10): Likewise.
17794 * math/s_clog10f.c (__clog10f): Likewise.
17795 * math/s_clog10l.c (__clog10l): Likewise.
17796 * math/s_clogf.c (__clogf): Likewise.
17797 * math/s_clogl.c (__clogl): Likewise.
17798 * math/libm-test.inc (clog_test): Add more tests.
17799 (clog10_test): Likewise.
17800 * sysdeps/i386/fpu/libm-test-ulps: Update.
17801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17802
261f4859
AS
178032012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17804
0abaf3e4
AS
17805 [BZ #14283]
17806 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17807 by 7 not 8 to examine high bit of fractional part.
17808
261f4859
AS
17809 [BZ #14042]
17810 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17811 for call to __mcount_internal.
17812 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17813 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17814 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17815
f17ac40d
JM
178162012-07-06 Joseph Myers <joseph@codesourcery.com>
17817
9ad63c23
JM
17818 [BZ #14154]
17819 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17820 approximation for values within 0x1p-13f of an odd multiple of
17821 pi/4.
17822 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17823 exception. Add more tests.
17824 * sysdeps/i386/fpu/libm-test-ulps: Update.
17825
f17ac40d
JM
17826 [BZ #6778]
17827 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17828 inputs and return -1 for them. Do not check for +Inf in case not
17829 reachable for +Inf.
17830 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17831 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17832 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17833 and return -1 for them. Do not check for +Inf in case not
17834 reachable for +Inf.
17835 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17836 define.
17837 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17838 and return -1 for them. Do not check for +Inf in case not
17839 reachable for +Inf.
17840 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17841 spurious underflow.
17842 * sysdeps/i386/fpu/libm-test-ulps: Update.
17843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17844
fb21f89b
MF
178452012-07-06 Mike Frysinger <vapier@gentoo.org>
17846
17847 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17848
cdfe2c5e
JM
178492012-07-05 Joseph Myers <joseph@codesourcery.com>
17850
17851 [BZ #14157]
17852 [BZ #14331]
17853 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17854 could result in spurious underflow. Scale down values above
17855 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17856 * math/s_csqrtf.c (__csqrtf): Likewise.
17857 * math/s_csqrtl.c (__csqrtl): Likewise.
17858 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17859 spurious underflow.
17860 * sysdeps/i386/fpu/libm-test-ulps: Update.
17861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17862
70d35b67
AS
178632012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17864
704bc459
AS
17865 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17866 xopen-msg.sed.
17867 * catgets/xopen-msg.awk: New file.
17868 * catgets/xopen-msg.sed: Removed.
17869
70d35b67
AS
17870 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17871 po2text.sed.
17872 * intl/po2test.awk: New file.
17873 * intl/po2test.sed: Removed.
17874
ca61cf32
JM
178752012-07-04 Joseph Myers <joseph@codesourcery.com>
17876
17877 [BZ #14328]
17878 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17879 or multiply small sinh result by itself.
17880 * math/s_ctanf.c (__ctanf): Likewise.
17881 * math/s_ctanh.c (__ctanh): Likewise.
17882 * math/s_ctanhf.c (__ctanhf): Likewise.
17883 * math/s_ctanhl.c (__ctanhl): Likewise.
17884 * math/s_ctanl.c (__ctanl): Likewise.
17885 * math/libm-test.inc (ctan_test_tonearest): New function.
17886 (ctan_test_towardzero): Likewise.
17887 (ctan_test_downward): Likewise.
17888 (ctan_test_upward): Likewise.
17889 (ctanh_test_tonearest): Likewise.
17890 (ctanh_test_towardzero): Likewise.
17891 (ctanh_test_downward): Likewise.
17892 (ctanh_test_upward): Likewise.
17893 (main): Call these new functions.
17894 * sysdeps/i386/fpu/libm-test-ulps: Update.
17895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17896
ca48a46a
MF
178972012-07-03 Mike Frysinger <vapier@gentoo.org>
17898
17899 * .gitignore: Delete /ports entry.
17900
9d63d37d
AJ
179012012-07-03 Andreas Jaeger <aj@suse.de>
17902
17903 * po/bg.po: Update from translation team.
17904 * po/cs.po: Likewise.
17905 * po/de.po: Likewise.
17906 * po/hr.po: Likewise.
17907 * po/nl.pl: Likewise.
17908 * po/pl.po: Likewise.
17909 * po/vi.po: Likewise.
17910
370ca3d2
JM
179112012-07-03 Joseph Myers <joseph@codesourcery.com>
17912
95f5a9a8
JM
17913 * Makeconfig [!+link] (+link-before-libc): New variable.
17914 [!+link] (+link-after-libc): Likewise.
17915 [!+link] (+link-tests): Likewise.
17916 [!+link] (+link): Define in terms of $(+link-before-libc) and
17917 $(+link-after-libc).
17918 [!+link-static] (+link-static-before-libc): New variable.
17919 [!+link-static] (+link-static-after-libc): Likewise.
17920 [!+link-static] (+link-static-tests): Likewise.
17921 [!+link-static] (+link-static): Define in terms of
17922 $(+link-static-before-libc) and $(+link-static-after-libc).
17923 [build-shared] (link-libc-before-gnulib): New variable.
17924 [build-shared] (link-libc-tests): Likewise.
17925 [build-shared] (link-libc): Define in terms of
17926 $(link-libc-before-gnulib).
17927 [!build-shared] (link-libc-tests): New variable.
17928 (link-libc-static-tests): New variable.
17929 [!gnulib] (gnulib-arch): New variable.
17930 [!gnulib] (gnulib-tests): Likewise.
17931 [!gnulib] (static-gnulib-arch): Likewise.
17932 [!gnulib] (static-gnulib-tests): Likewise.
17933 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17934 Define with "=" instead of ":=".
17935 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17936 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17937 * Rules (binaries-all-notests): New variable.
17938 (binaries-all-tests): Likewise.
17939 (binaries-static-notests): Likewise.
17940 (binaries-static-tests): Likewise.
17941 (binaries-all): Define using $(binaries-all-notests) and
17942 $(binaries-all-tests).
17943 (binaries-static): Define using $(binaries-static-notests) and
17944 $(binaries-static-tests).
17945 (binaries-shared-tests): New variable.
17946 (binaries-shared-notests): Likewise.
17947 (binaries-shared): Remove variable.
17948 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17949 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17950 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17951 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17952 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17953 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17954 * elf/Makefile (sln-modules): New variable.
17955 (extra-objs): Add $(sln-modules:=.o).
17956 (ldconfig-modules): Add static-stubs.
17957 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17958 * elf/static-stubs.c: New file.
17959
7a845b2c
JM
17960 [BZ #14283]
17961 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17962 by 7 not 8 to examine high bit of fractional part. Use volatile
17963 variables when splitting into final array of floats if
17964 __FLT_EVAL_METHOD__ != 0.
17965 * math/libm-test.inc (cos_test): Add another test.
17966 (sin_test): Likewise.
17967 * sysdeps/i386/fpu/libm-test-ulps: Update.
17968
e2283f38
JM
17969 [BZ #14273]
17970 * math/libm-test.inc (cosh_test): Add more tests.
17971
370ca3d2
JM
17972 * version.h (RELEASE): Set to "development".
17973 (VERSION): Set to "2.16.90".
17974
ee9247c3
CD
179752012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17976
17977 * NEWS: Update copyright. Remove last-updated date.
17978 Mention math library bug fixes and timezone data changes.
17979 * README: Mention GNU/Hurd, x32, and HPPA support status.
17980
4648c381
TS
179812012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17982
17983 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17984
aac78a43
AJ
179852012-06-27 Andreas Jaeger <aj@suse.de>
17986
17987 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17988
ed3dbfad
AJ
179892012-06-25 Andreas Jaeger <aj@suse.de>
17990
17991 * sysdeps/s390/fpu/libm-test-ulps: Update.
17992
4d0ee855
AS
179932012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17994 Thomas Schwinge <thomas@codesourcery.com>
17995
17996 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17997 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17999 fanotify_mark.
18000
af1bce34
TS
180012012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18002
a9fa33ba
TS
18003 * sysdeps/mach/start.c: Remove file.
18004 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18005 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18006 * sysdeps/sh/init-first.c: Likewise.
18007
58f902b8
TS
18008 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18009 registers for frame unwinding purposes, add CFI directives.
18010 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18011 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18012 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18013 Likewise.
18014
1518f58b
TS
18015 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18016 __fortify_fail returning.
18017 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18018
db9b5059
TS
18019 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18020 sysdeps/sh/____longjmp_chk.S.
18021 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18022 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18023 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18024 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18025
967705fe
TS
18026 * sysdeps/sh/abort-instr.h: New file.
18027 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18028 process in case exit returns.
18029
a9def8c4
TS
18030 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18031 initialize the GOT register before use.
18032
2a649725
TS
18033 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18034 calculation of ARGC > 4.
18035
af1bce34
TS
18036 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18037 meaningful names to some local labels.
18038
d230f50a
KK
180392012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18040 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18041
18042 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18043 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18044 (__arch_compare_and_exchange_val_16_acq): Likewise.
18045 (__arch_compare_and_exchange_val_32_acq): Likewise.
18046 (atomic_exchange_and_add): Fix gUSA sequence.
18047 (atomic_add): Likewise.
18048 (atomic_add_negative): Likewise.
18049 (atomic_add_zero): Likewise.
18050 (atomic_bit_test_set): Likewise.
18051
0479b305
AS
180522012-06-22 Andreas Schwab <schwab@redhat.com>
18053
18054 [BZ #13579]
18055 * include/link.h (struct link_map): Add l_free_initfini.
18056 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18057 l_initfini.
18058 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18059 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18060 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18061 set.
18062
0e3933b9
CD
180632012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18064
18065 * configure.in: Use AC_LANG_SOURCE.
18066 * configure: Regenerate.
18067
4248b1b1
RM
180682012-06-22 Roland McGrath <roland@hack.frob.com>
18069
18070 * configure.in (libc_cv_localstatedir): New substituted variable.
18071 * configure: Regenerated.
18072 * config.make.in (localstatedir): New variable, substituted from
18073 libc_cv_localstatedir.
18074 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18075 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18076 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18077 * sysdeps/gnu/configure: Regenerated.
18078
006dd861
JL
180792012-06-21 Jeff Law <law@redhat.com>
18080
18081 [BZ #14277]
18082 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18083 free. Simplify list management for _LIBC case.
18084
79662d42
JM
180852012-06-21 Joseph Myers <joseph@codesourcery.com>
18086
b7abb4bf
JM
18087 [BZ #14273]
18088 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18089 Clear sign bit of 64-bit integer value before comparing against
18090 overflow value.
18091
79662d42
JM
18092 * sysdeps/mach/configure: Regenerated.
18093
1f150908
L
180942012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18095
18096 [BZ #14278]
18097 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18098
28363bbf
JL
180992012-06-21 Jeff Law <law@redhat.com>
18100
18101 [BZ #13882]
18102 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18103 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18104 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18105 * elf/dl-open.c (dl_open_worker): Likewise.
18106
09615db4
CD
181072012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18108
18109 * scripts/list-sources.sh: Scan PORTS for translations.
18110 * po/libc.pot: Regenerated.
18111
2174c6dd
AJ
181122012-06-21 Andreas Jaeger <aj@suse.de>
18113
18114 [BZ #12194]
18115 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18116 warning.
18117 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18118 * bits/byteswap-16.h (__bswap_16): Likewise.
18119 * bits/byteswap.h (__bswap_constant_16): Likewise.
18120
3ee947b1
L
181212012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18122
18123 [BZ #14117]
a2f34833
L
18124 * sysdeps/i386/fpu_control.h: Removed.
18125 * sysdeps/x86_64/fpu_control.h: Moved to ...
18126 * sysdeps/x86/fpu_control.h: Here.
18127
3ee947b1
L
18128 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18129 (_FPU_SETCW): Likewise.
18130
ed1825f8
L
181312012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18132
25f1282a
L
18133 [BZ #14117]
18134 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18135 * sysdeps/x86/fpu/bits/mathinline.h: This.
18136 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18137
ed1825f8
L
18138 [BZ #14050]
18139 [BZ #14117]
18140 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18141 functions if __x86_64__ is defined.
18142
36d54b74
CLT
181432012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18144
18145 * string/endian.h: Add !__ASSEMBLER__ condition for including
18146 conversion interfaces.
18147
10285c21
JM
181482012-06-15 Joseph Myers <joseph@codesourcery.com>
18149
18150 [BZ #14241]
18151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18152 of ABS(x) in calculating zero to negative powers other than odd
18153 integers.
18154 * math/libm-test.inc (pow_test): Add more tests.
18155
06c5abbd
AJ
181562012-06-15 Andreas Jaeger <aj@suse.de>
18157
18158 * manual/contrib.texi (Contributors): Update entry of Liubov
18159 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18160 Machado Filho.
18161
a3aeac40
CH
181622012-06-15 Cyril Hrubis <metan@ucw.cz>
18163
18164 * string/string.h: Add __wur to GNU version of strerror_r.
18165
49bdf4c1
L
181662012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18167
18168 [BZ #14229]
18169 * string/Makefile (tests): Add tst-strtok_r.
18170 * string/tst-strtok_r.c: New file.
18171 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18172 RAX_LP/RDX_LP on SAVE_PTR.
18173
834f9b8d
RM
181742012-06-14 Roland McGrath <roland@hack.frob.com>
18175
18176 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18177
75fa1921
JM
181782012-06-14 Joseph Myers <joseph@codesourcery.com>
18179
18180 * libm_test.inc (csqrt_test): Allow more spurious underflow
18181 exceptions.
18182 (j0_test): Likewise.
18183 (j1_test): Likewise.
18184 (y0_test): Likewise.
18185 (y1_test): Likewise.
18186
771766df
CD
181872012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18188
18189 * po/Makefile (libc.pot): Use UTF-8 charset.
18190
ceb9e56b
PP
181912012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18192
18193 [BZ #14210]
18194 Suppress sign-conversion warning from FD_SET.
18195 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18196 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18197 not unsigned long int.
18198 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18199
ddb28975
L
182002012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18201
18202 [BZ #14050]
18203 [BZ #14117]
18204 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18205 __extern_always_inline instead of __extern_inline.
18206 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18207 (__signbit): Likewise.
18208 (__signbitl): Support C++ namespace.
18209 (lrintf): New inline function.
18210 (lrint): Likewise.
18211 (llrintf): Likewise.
18212 (llrint): Likewise.
18213 (fmaxf): Likewise.
18214 (fmax): Likewise.
18215 (fminf): Likewise.
18216 (fmin): Likewise.
18217 (rint): Likewise.
18218 (rintf): Likewise.
18219 (ceil): Likewise.
18220 (ceilf): Likewise.
18221 (floor): Likewise.
18222 (floorf): Likewise.
18223 (nearbyint): Likewise.
18224 (nearbyintf): Likewise.
18225
d7b4fb26
TS
182262012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18227
18228 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18229 non-default versions.
18230
eb55f5c2
RM
182312012-06-11 Roland McGrath <roland@hack.frob.com>
18232
18233 [BZ #14218]
18234 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18235
366af02c
TS
182362012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18237
99ff6e5c
TS
18238 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18239 (FE_UPWARD, FE_DOWNWARD): Don't define.
18240 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18241 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18242
366af02c
TS
18243 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18244 reading it.
18245 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18246 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18247
793ea851
KK
182482012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18249
18250 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18251 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18252 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18253 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18254
a728a38f
L
182552012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18256
18257 [BZ #14117]
c08010c7
L
18258 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18259 * sysdeps/i386/fpu/Implies: New file.
18260 * sysdeps/x86_64/fpu/Implies: Likewise.
18261 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18262 * sysdeps/x86/fpu/bits/fenv.h: This.
18263
a728a38f
L
18264 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18265 __SSE_MATH__.
18266
6e230d11
SP
182672012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18268
18269 [BZ #14134]
18270 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18271 character 0xffff that matches the last element of the
18272 conversion table.
18273
1b671feb
AZ
182742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18275
18276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18277 fmodl commit.
18278
6043738b
AZ
182792012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18280
18281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18282 values higher than 25.6283.
18283
34ae0b32
AZ
182842012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18285
18286 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18287 subnormal exponent extraction and add some __builtin_expect.
18288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18289 Fix for subnormal mantissa calculation.
18290
1214ec8f
MF
182912012-06-04 Mike Frysinger <vapier@gentoo.org>
18292
18293 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18294 cpu2 is -1 and errno is not ENOSYS.
18295
f3d1f93c
L
182962012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18297
18298 [BZ #14117]
0e4a3cd7
L
18299 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18300 * sysdeps/x86/bits/string.h: This.
18301 * sysdeps/x86_64/bits/string.h: Removed.
18302
6704c645
L
18303 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18304 if not compiling for x86-64, but compiling for >= i486.
18305
48495318
L
18306 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18307 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18308
14adcbfc
L
18309 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18310 New macro from Linux kernel 3.4.0.
18311 (FP_XSTATE_MAGIC2): Likewise.
18312 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18313 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18314 (struct _fpx_sw_bytes): New struct.
18315 (struct _xsave_hdr): Likewise.
18316 (struct _ymmh_state): Likewise.
18317 (struct _xstate): Likewise.
18318
68e408ab
L
18319 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18320 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18321 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18322 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18323 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18324 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18325
f3d1f93c
L
18326 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18327 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18328 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18329 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18330 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18331 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18332
d9dc34cd
TMQMF
183332012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18334
18335 [BZ #13743]
18336 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18337 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18338 (sysdep_headers): Include sys/platform/ppc.h.
18339 * sysdeps/powerpc/test-gettimebase.c: Test for
18340 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18341 * manual/Makefile (appendices): Include platform.texi.
18342 * manual/contrib.texi (Contributors): Update @node pointers.
18343 * manual/maint.texi (Maintenance): Likewise.
18344 (Platform): New node.
18345 * manual/platform.texi: New file. Document the new features.
18346
4af3879c
SP
183472012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18348 Jakub Jelinek <jakub@redhat.com>
18349
18350 [BZ #14188]
18351 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18352 where __builtin_expect is unavailable.
18353
2fd6ff13
DM
183542012-06-03 David S. Miller <davem@davemloft.net>
18355
18356 * stdlib/longlong.h: Updated from GCC.
18357
173f7220
AS
183582012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18359
18360 [BZ #14042]
18361 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18362 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18363 __mcount_internal.
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18365 (GLIBC_2.16): Likewise.
18366
f34a1c6f
L
183672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18368
18369 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18370
88a4576f
JM
183712012-06-01 Joseph Myers <joseph@codesourcery.com>
18372
ea32bcdd
JM
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18374 (default-abi): New variable.
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18376 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18377 variable.
18378 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18379 Likewise.
18380 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18381 Likewise.
18382 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18383 Likewise.
18384
88a4576f
JM
18385 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18386 definition. Document in comment.
18387
402fe938
DM
183882012-06-01 David S. Miller <davem@davemloft.net>
18389
18390 * stdlib/longlong.h: Updated from GCC.
18391
3553723f
L
183922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18393
18394 [BZ #14117]
3bd872c4
L
18395 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18396 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18397 sys/debugreg.h sys/io.h here.
18398 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18399 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18400 sys/io.h.
18401 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18402 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18403 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18404 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18405 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18406 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18407
3553723f
L
18408 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18409 Define only if __x86_64__ is defined.
18410
4842e4fe
JM
184112012-06-01 Joseph Myers <joseph@codesourcery.com>
18412
c5bfe3d5
JM
18413 [BZ #14048]
18414 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18415 Use int64_t for variable i.
18416 * math/libm-test.inc (fmod_test): Add more tests.
18417
4842e4fe
JM
18418 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18419 z computation is not scheduled after fetestexcept.
18420 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18421 Use math_force_eval instead of asm to ensure calculation scheduled
18422 before exception test.
18423 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18424 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18425
efb73488
AJ
184262012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18427
18428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18429 computation is not scheduled after fetestexcept.
18430
29bcce7c
L
184312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18432
18433 [BZ #14117]
18434 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18435 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18436
73a68f94
AZ
184372012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18438
18439 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18440 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18441
67b6df78
L
184422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18443
edf2933a 18444 [BZ #14117]
ebc64a18
L
18445 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18446 <bits/wordsize.h>.
18447 (__WCHAR_MIN): Support __WORDSIZE == 64.
18448 (__WCHAR_MAX): Likewise.
18449
edf2933a
L
18450 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18451 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18452
57c6cf40
L
18453 [BZ #14183]
18454 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18455 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18456
67b6df78 18457 [BZ #14117]
8eb6281e
L
18458 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18459 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18460
aac639f4
L
18461 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18462 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18463
67b6df78
L
18464 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18465 Defined to 1 if __x86_64__ isn't defined.
18466 (_STAT_VER_LINUX_OLD): New.
18467 (st_atime): Remove duplicate.
18468 (st_mtime): Likewise.
18469 (st_ctime): Likewise.
18470
1c2cfe81
DM
184712012-05-31 David S. Miller <davem@davemloft.net>
18472
18473 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18474 entries.
18475
5be8418c
AS
184762012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18477
e7725326
AS
18478 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18479 gen-libm-test.pl.
18480
5be8418c
AS
18481 [BZ #14132]
18482 * elf/dl-reloc.c: Include <_itoa.h>.
18483 (_dl_reloc_bad_type): Remove use of INTUSE.
18484 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18485 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18486 * stdio-common/psiginfo.c (psiginfo): Likewise.
18487 * stdio-common/psignal.c (psignal): Likewise.
18488 * string/strsignal.c (strsignal): Likewise.
18489 * include/signal.h (_sys_siglist): Declare hidden proto.
18490 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18491 INTVARDEF with libc_hidden_data_def.
18492 * stdio-common/itoa-udigits.c: Likewise.
18493 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18494 (_itoa_lower_digits_internal): Remove declaration.
18495 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18496 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18497 (_sys_sigabbrev_internal): Remove aliases.
18498 (_sys_siglist): Define hidden alias.
18499
507352f1
MT
185002012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18501
18502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18503 bits/sysctl.h.
18504
42bbb1c3
L
185052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18506
18507 [BZ #14117]
6bd784b6
L
18508 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18509 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18510
8bca20f0
L
18511 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18512 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18513 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18514 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18515 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18516 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18517
f9e890a9
L
18518 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18519 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18520 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18521
471101a1
L
18522 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18523 with __addr.
18524 (insw): Likewise.
18525 (insl): Likewise.
18526 (outsb): Likewise.
18527 (outsw): Likewise.
18528 (outsl): Likewise.
18529
6451c862
L
18530 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18532 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18533
a254b8c9
L
18534 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18535 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18536 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18537 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18538 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18539 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18540
b8dfdd92
L
18541 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18542 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18543
578cd270
L
18544 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18545 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18546
de662f5f
L
18547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18549 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18550
25653439
L
18551 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18552 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18553 to ...
18554 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18555
6bad24a0
L
18556 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18557 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18558 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18559
42bbb1c3
L
18560 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18561 for x86-64.
18562 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18563
2d10d547
JM
185642012-05-31 Joseph Myers <joseph@codesourcery.com>
18565
18566 * math/math.h (M_El): Use two more decimal places.
18567 (M_LOG2El): Likewise.
18568 (M_LOG10El): Likewise.
18569 (M_LN2l): Likewise.
18570 (M_LN10l): Likewise.
18571 (M_PIl): Likewise.
18572 (M_PI_2l): Likewise.
18573 (M_PI_4l): Likewise.
18574 (M_1_PIl): Likewise.
18575 (M_2_PIl): Likewise.
18576 (M_2_SQRTPIl): Likewise.
18577 (M_SQRT2l): Likewise.
18578 (M_SQRT1_2l): Likewise.
18579
f230c29b
DM
185802012-05-31 David S. Miller <davem@davemloft.net>
18581
18582 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18583 values between float registers.
18584 * sysdeps/sparc/sparc64/memset.S: Likewise.
18585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18586
fed806c3
MF
185872012-05-31 Mike Frysinger <vapier@gentoo.org>
18588
18589 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18590 -D_FORTIFY_SOURCE=1.
18591 (CPPFLAGS-tst-longjmp_chk.c): Define.
18592 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18593 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18594 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18595 CFLAGS-tst-wchar-h.c.
18596
30917259
MP
185972012-05-31 Marek Polacek <polacek@redhat.com>
18598
18599 [BZ #14132]
18600 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18601 __endmntent_internal): Remove declaration.
18602 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18603 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18604 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18605
1c58d5dc
DM
186062012-05-30 David S. Miller <davem@davemloft.net>
18607
18608 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18609 (___Q_simulate_exceptions): Use real FP ops rather than writing
18610 into the %fsr.
18611 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18612 Likewise.
18613
7dc00e0d
L
186142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18615
18616 [BZ #14117]
0bd53985
L
18617 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18618 * sysdeps/x86/bits/xtitypes.h: This.
18619
3a257e66
L
18620 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18621 * sysdeps/x86/bits/wordsize.h: This.
18622
62f62904
L
18623 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18624 * sysdeps/x86/bits/huge_vall.h: This.
18625
404fe9d9
L
18626 * sysdeps/i386/bits/select.h: Removed.
18627 * sysdeps/x86_64/bits/select.h: Renamed to ...
18628 * sysdeps/x86/bits/select.h: This.
18629
d48d0446
L
18630 * sysdeps/i386/bits/setjmp.h: Removed.
18631 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18632 * sysdeps/x86/bits/setjmp.h: This.
18633
7dc00e0d
L
18634 * sysdeps/i386/bits/mathdef.h: Removed.
18635 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18636 * sysdeps/x86/bits/mathdef.h: This.
18637
03277f8f
AS
186382012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18639
18640 [BZ #14132]
18641 * include/sys/socket.h (__connect_internal)
18642 (__libc_sa_len_internal): Remove declaration.
18643 (__connect, __libc_sa_len): Declare hidden_proto.
18644 (SA_LEN): Remove use of INTUSE.
18645 * socket/connect.c: Add libc_hidden_def.
18646 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18647 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18648 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18649 alias.
18650 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18651 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18652 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18653 of adding _internal alias.
18654
13764867
L
186552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18656
18657 [BZ #14117]
6bd97696
L
18658 * sysdeps/i386/bits/link.h: Removed.
18659 * sysdeps/i386/bits/linkmap.h: Likewise.
18660 * sysdeps/x86_64/bits/link.h: Renamed to ...
18661 * sysdeps/x86/bits/link.h: This.
18662 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18663 * sysdeps/x86/bits/linkmap.h: This.
18664
f726f0bb
L
18665 * sysdeps/i386/bits/endian.h: Removed.
18666 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18667 * sysdeps/x86/bits/endian.h: This.
18668
13764867
L
18669 * sysdeps/i386/bits/byteswap.h: Removed.
18670 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18671 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18672 * sysdeps/x86/bits/byteswap.h: This.
18673 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18674 * sysdeps/x86/bits/byteswap-16.h: This.
18675 * sysdeps/i386/Implies: Add x86.
18676 * sysdeps/x86_64/Implies: Likewise.
18677
ae251b0b
DM
186782012-05-30 David S. Miller <davem@davemloft.net>
18679
18680 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18681 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18682 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18683 (FP_TRAPPING_EXCEPTIONS): Define.
18684 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18685 (FP_TRAPPING_EXCEPTIONS): Define.
18686 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18687 subnormals only when inexact has been signalled or underflow
18688 exceptions are enabled.
18689 (_FP_PACK_CANONICAL): Likewise.
18690
d5c90867
L
186912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18692
18693 [BZ #14183]
18694 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18695 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18696
63f1549e
RH
186972012-05-30 Richard Henderson <rth@twiddle.net>
18698
8d8f2279
RH
18699 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18700 with #ifndef NOT_IN_libc.
18701
63f1549e
RH
18702 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18703 marked to avoid plt entry.
18704
0ab0291b
L
187052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18706
18707 [BZ #14112]
18708 * Makeconfig (default-abi): New macro.
18709 (abi-includes): Likewise.
18710 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18711 $(abi-$(default-abi)-lib-soname) for soname if defined.
18712 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18713 abi-variants.
18714 * Makefile (installed-stubs): Likewise.
18715 * include/stubs-biarch.h: Removed.
18716 * scripts/lib-names.awk: Only handle one library at a time.
18717 * scripts/soversions.awk: Remove WORDSIZE support.
18718 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18719 entries.
18720 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18721 Removed.
18722 (syscall-list-default-condition): Likewise.
18723 (syscall-list-default-condition): Likewise.
18724 (syscall-list-includes): Likewise.
18725 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18726 syscall-list-* with abi-*. Handle undefined abi-variants.
18727 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18728 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18729 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18730 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18731 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18732 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18733 Removed.
18734 (syscall-list-32-options): Likewise.
18735 (syscall-list-32-condition): Likewise.
18736 (syscall-list-64-options): Likewise.
18737 (syscall-list-64-condition): Likewise.
18738 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18739 macro.
18740 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18741 Renamed to ...
18742 (abi-*): This.
18743 (abi-64-ld-soname): New macro.
18744 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18745 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18746 Renamed to ...
18747 (abi-*): This.
18748 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18749 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18750
4da0431d
JM
187512012-05-30 Joseph Myers <joseph@codesourcery.com>
18752
3a85279c
JM
18753 * sysdeps/unix/sysv/linux/kernel-features.h
18754 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18755 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18756 include <kernel-features.h>.
18757 [!__NR_ftruncate64]: Remove conditional code.
18758 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18759 [__NR_ftruncate64]: Make code unconditional.
18760 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18761 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18762 include <kernel-features.h>.
18763 [!__NR_ftruncate64]: Remove conditional code.
18764 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18765 [__NR_ftruncate64]: Make code unconditional.
18766 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18768 include <kernel-features.h>.
18769 [!__NR_ftruncate64]: Remove conditional code.
18770 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18771 [__NR_ftruncate64]: Make code unconditional.
18772 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18774 include <kernel-features.h>.
18775 [!__NR_ftruncate64]: Remove conditional code.
18776 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18777 [__NR_ftruncate64]: Make code unconditional.
18778 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18779
4da0431d
JM
18780 * configure.in (libc_cv_fpie): Weaken to a compile test using
18781 LIBC_TRY_CC_OPTION.
18782 * configure: Regenerated.
18783
11ef492c
AK
187842012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18785
18786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18790 Refreshed.
18791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18797 Refreshed.
18798
d66ef399
DM
187992012-05-27 David S. Miller <davem@davemloft.net>
18800
18801 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18802 (___Q_zero): New.
18803 (__Q_simulate_exceptions): Return void. Change to simulate
18804 exceptions by writing into the %fsr.
18805 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18806 (__Qp_handle_exceptions): Likewise.
18807 (numbers): Delete.
18808 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18809 __Qp_handle_exceptions.
18810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18811 __Qp_handle_exceptions.
18812 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18813 as unused and give dummy FP_RND_NEAREST initializer.
18814 (FP_INHIBIT_RESULTS): Define.
18815 (___Q_simulate_exceptions): Update declaration.
18816 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18817 formatting.
18818 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18819 as unused and give dummy FP_RND_NEAREST initializer.
18820 (__Qp_handle_exceptions): Update declaration.
18821 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18822 formatting.
18823
04fb54b5
TS
188242012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18825
18826 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18827 the temporary FPU control word.
18828 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18829 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18830 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18831 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18832 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18833 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18834 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18835 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18836 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18837 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18838 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18839
3f99608f
KK
188402012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18841
18842 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18843 fields.
18844
65a4de4e
CLT
188452012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18846
18847 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18848 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18849 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18850 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18851 Likewise.
18852 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18853 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18854 Likewise.
18855
15749d40
UD
188562012-05-27 Ulrich Drepper <drepper@gmail.com>
18857
18858 * po/h.po: Update from translation team.
18859
25dbcb27
AS
188602012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18861
3d3f8e55
AS
18862 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18863
25dbcb27
AS
18864 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18865 handling of denormals.
18866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18867 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18868 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18869 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18873 Likewise.
18874
7ad47a80 188752012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18876
18877 [BZ #14152]
18878 * math/libm-test.inc (fma_test): Don't always expect underflow
18879 exception.
18880
9c6ea9fa
SP
188812012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18882
18883 [BZ #12416]
18884 * elf/tst-execstack.c: Include stackinfo.h.
18885 (do_test): Adjust test case to ensure that pthread_getattr_np
18886 behaviour remains the same after marking stack executable.
18887
a8239222
JM
188882012-05-25 Joseph Myers <joseph@codesourcery.com>
18889
18890 * sysdeps/unix/sysv/linux/kernel-features.h
18891 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18892 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18893 kernel-features.h.
18894 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18895 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18896 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18897 kernel-features.h.
18898 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18899 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18900
918b5606
L
189012012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18902
18903 * configure.in: Define the default includes to being none.
18904 * configure: Regenerated.
18905
3a097cc7
RM
189062012-05-25 Roland McGrath <roland@hack.frob.com>
18907
8422c9a5
RM
18908 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18909 * sysdeps/x86_64/setjmp.S: Likewise.
18910 * sysdeps/i386/bsd-setjmp.S: Likewise.
18911 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18912 * sysdeps/i386/setjmp.S: Likewise.
18913 * sysdeps/i386/__longjmp.S: Likewise.
18914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18915 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18916
3a097cc7
RM
18917 * include/stap-probe.h: New file.
18918 * configure.in: Handle --enable-systemtap.
18919 * configure: Regenerated.
18920 * config.h.in (USE_STAP_PROBE): New #undef.
18921 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18922 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18923 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18924
21708942
JM
189252012-05-25 Joseph Myers <joseph@codesourcery.com>
18926
18927 [BZ #13717]
18928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18929 to 2.4.0 where earlier.
18930 * sysdeps/unix/sysv/linux/configure: Regenerated.
18931 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18932 <kernel-features.h>.
18933 [__ASSUME_32BITUIDS]: Make code unconditional.
18934 [!__ASSUME_32BITUIDS]: Remove conditional code.
18935 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18936 <kernel-features.h>.
18937 [__ASSUME_32BITUIDS]: Make code unconditional.
18938 [!__ASSUME_32BITUIDS]: Remove conditional code.
18939 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18940 [__ASSUME_32BITUIDS]: Make code unconditional.
18941 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18942 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18943 <kernel-features.h>.
18944 [__ASSUME_32BITUIDS]: Make code unconditional.
18945 [!__ASSUME_32BITUIDS]: Remove conditional code.
18946 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18947 <kernel-features.h>.
18948 [__ASSUME_32BITUIDS]: Make code unconditional.
18949 [!__ASSUME_32BITUIDS]: Remove conditional code.
18950 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18951 <kernel-features.h>.
18952 [__ASSUME_32BITUIDS]: Make code unconditional.
18953 [!__ASSUME_32BITUIDS]: Remove conditional code.
18954 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18955 <kernel-features.h>.
18956 [__ASSUME_32BITUIDS]: Make code unconditional.
18957 [!__ASSUME_32BITUIDS]: Remove conditional code.
18958 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18959 <kernel-features.h>.
18960 [__ASSUME_32BITUIDS]: Make code unconditional.
18961 [!__ASSUME_32BITUIDS]: Remove conditional code.
18962 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
18983 <kernel-features.h>.
18984 [__NR_setresgid] (__setresgid): Do not declare.
18985 [__ASSUME_32BITUIDS]: Make code unconditional.
18986 [!__ASSUME_32BITUIDS]: Remove conditional code.
18987 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18988 <kernel-features.h>.
18989 [__NR_setresuid] (__setresuid): Do not declare.
18990 [__ASSUME_32BITUIDS]: Make code unconditional.
18991 [!__ASSUME_32BITUIDS]: Remove conditional code.
18992 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18993 <kernel-features.h>.
18994 [__ASSUME_32BITUIDS]: Make code unconditional.
18995 [!__ASSUME_32BITUIDS]: Remove conditional code.
18996 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18997 <kernel-features.h>.
18998 [__ASSUME_32BITUIDS]: Make code unconditional.
18999 [!__ASSUME_32BITUIDS]: Remove conditional code.
19000 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19001 <kernel-features.h>.
19002 [__ASSUME_32BITUIDS]: Make code unconditional.
19003 [!__ASSUME_32BITUIDS]: Remove conditional code.
19004 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19005 <kernel-features.h>.
19006 [__ASSUME_32BITUIDS]: Make code unconditional.
19007 [!__ASSUME_32BITUIDS]: Remove conditional code.
19008 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19009 <kernel-features.h>.
19010 [__ASSUME_32BITUIDS]: Make code unconditional.
19011 [!__ASSUME_32BITUIDS]: Remove conditional code.
19012 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19013 <kernel-features.h>.
19014 [__ASSUME_32BITUIDS]: Make code unconditional.
19015 [!__ASSUME_32BITUIDS]: Remove conditional code.
19016 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19017 <kernel-features.h>.
19018 [__ASSUME_32BITUIDS]: Make code unconditional.
19019 [!__ASSUME_32BITUIDS]: Remove conditional code.
19020 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19021 <kernel-features.h>.
19022 [__ASSUME_32BITUIDS]: Make code unconditional.
19023 [!__ASSUME_32BITUIDS]: Remove conditional code.
19024 * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.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/kernel-features.h
19033 (__ASSUME_SETRESUID_SYSCALL): Remove.
19034 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19035 (__ASSUME_32BITUIDS): Likewise.
19036 (__ASSUME_LDT_WORKS): Likewise.
19037 (__ASSUME_O_DIRECTORY): Likewise.
19038 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19039 architecture but not kernel version.
19040 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19041 (__ASSUME_MMAP2_SYSCALL): Likewise.
19042 (__ASSUME_STAT64_SYSCALL): Likewise.
19043 (__ASSUME_IPC64): Likewise.
19044 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19045 <kernel-features.h>.
19046 [__ASSUME_32BITUIDS]: Make code unconditional.
19047 [!__ASSUME_32BITUIDS]: Remove conditional code.
19048 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19049 <kernel-features.h>.
19050 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19051 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19052 132096]: Remove conditional code.
19053 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19054 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19055 <kernel-features.h>.
19056 [__ASSUME_32BITUIDS]: Make code unconditional.
19057 [!__ASSUME_32BITUIDS]: Remove conditional code.
19058 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19059 <kernel-features.h>.
19060 [__ASSUME_32BITUIDS]: Make code unconditional.
19061 [!__ASSUME_32BITUIDS]: Remove conditional code.
19062 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19063 <kernel-features.h>.
19064 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19065 unconditional.
19066 (__setresgid): Do not declare.
19067 [__ASSUME_32BITUIDS]: Make code unconditional.
19068 [!__ASSUME_32BITUIDS]: Remove conditional code.
19069 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19070 <kernel-features.h>.
19071 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19072 unconditional.
19073 (__setresuid): Do not declare.
19074 [__ASSUME_32BITUIDS]: Make code unconditional.
19075 [!__ASSUME_32BITUIDS]: Remove conditional code.
19076 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19077 <kernel-features.h>.
19078 [__ASSUME_32BITUIDS]: Make code unconditional.
19079 [!__ASSUME_32BITUIDS]: Remove conditional code.
19080 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19081 <kernel-features.h>.
19082 [__ASSUME_32BITUIDS]: Make code unconditional.
19083 [!__ASSUME_32BITUIDS]: Remove conditional code.
19084
a386f1cc
RH
190852012-05-25 Richard Henderson <rth@twiddle.net>
19086
19087 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19088 dl_hwcap to ifunc resolver.
19089 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19090 elf_ifunc_invoke.
19091 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19092 dl_hwcap to ifunc resolver.
19093 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19094
b6550497
JM
190952012-05-24 Joseph Myers <joseph@codesourcery.com>
19096
19097 [BZ #14153]
19098 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19099 for |x| <= 2**-26, not 2**-57.
19100 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19101 exception.
19102
b0bc23a1
JL
191032012-05-24 Jeff Law <law@redhat.com>
19104
19105 * stdio-common/Makefile (tests): Add bug25.
19106 * stdio-common/bug25.c: New test.
19107
347c92e9
L
191082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19109
19110 [BZ #13576]
19111 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19112 multiple of MALLOC_ALIGNMENT in size.
19113 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19114
6bcc8b3f
JM
191152012-05-24 Joseph Myers <joseph@codesourcery.com>
19116
19117 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19118 Require >= 256.
19119 (FILENAME_MAX): Use macro-int-constant.
19120 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19121 (_IOFBF): Use macro-int-constant.
19122 (_IOLBF): Likewise.
19123 (_IONBF): Likewise.
19124 (SEEK_CUR): Likewise.
19125 (SEEK_END): Likewise.
19126 (SEEK_SET): Likewise.
19127 (TMP_MAX): Likewise.
19128 (EOF): Use macro-int-constant. Require < 0.
19129 (NULL): Use macro-constant. Require == 0.
19130 (stdin): Require type to be FILE *.
19131 (stdout): Likewise.
19132 (stderr): Likewise.
19133 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19134 macro-int-constant.
19135 (EXIT_SUCCESS): Likewise.
19136 (NULL): Use macro-constant. Require == 0.
19137 (RAND_MAX): Use macro-int-constant.
19138 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19139 [C99-based standards] (strtof): Require function.
19140 [C99-based standards] (strtold): Likewise.
19141 [C99-based standards] (strtoll): Likewise.
19142 [C99-based standards] (strtoull): Likewise.
19143 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19144 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19145 [ISO || ISO99 || ISO11] (math.h): Likewise.
19146 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19147 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19149
d18ea0c5
AS
191502012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19151
19152 [BZ #14132]
56d25bb8
AS
19153 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19154 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19155 * intl/dgettext.c (DCGETTEXT): Likewise.
19156 * intl/gettext.c (DCGETTEXT): Likewise.
19157 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19158 * posix/regex_internal.h (gettext): Likewise.
19159 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19160 Remove declaration.
19161 * include/argz.h (__argz_count_internal)
19162 (__argz_stringify_internal): Remove declaration.
19163 (__argz_count, __argz_stringify): Declare hidden proto.
19164 * intl/dcgettext.c: Remove use of INTDEF.
19165 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19166 * string/argz-stringify.c: Likewise.
19167 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19168 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19169 Declare hidden proto.
d18ea0c5
AS
19170 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19171 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19172 Declare hidden proto.
19173 * include/stdio.h (__asprintf_internal): Don't declare.
19174 (__asprintf): Don't define as macro. Declare hidden proto.
19175 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19176 (__fsetlocking): Declare hidden proto.
19177 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19178 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19179 hidden proto.
19180 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19181 (_IO_setlinebuf): Remove use of INTUSE.
19182 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19183 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19184 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19185 Remove declaration.
19186 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19187 (_IO_do_flush): Remove use of INTUSE.
19188 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19189 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19190 (_IO_adjust_column, _IO_least_wmarker)
19191 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19192 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19193 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19194 (_IO_default_doallocate, _IO_wdefault_doallocate)
19195 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19196 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19197 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19198 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19199 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19200 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19201 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19202 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19203 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19204 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19205 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19206 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19207 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19208 proto.
19209 (_IO_flush_all_internal, _IO_adjust_column_internal)
19210 (_IO_default_uflow_internal, _IO_default_finish_internal)
19211 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19212 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19213 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19214 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19215 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19216 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19217 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19218 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19219 (_IO_file_close_internal, _IO_file_close_it_internal)
19220 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19221 (_IO_file_init_internal, _IO_file_attach_internal)
19222 (_IO_file_fopen_internal, _IO_file_read_internal)
19223 (_IO_file_sync_internal, _IO_file_seek_internal)
19224 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19225 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19226 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19227 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19228 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19229 (_IO_list_all_internal, _IO_link_in_internal)
19230 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19231 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19232 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19233 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19234 (_IO_do_write_internal, _IO_padn_internal)
19235 (_IO_getline_info_internal, _IO_getline_internal)
19236 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19237 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19238 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19239 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19240 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19241 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19242 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19243 with libc_hidden_ver, remove use of INTUSE.
19244 * libio/genops.c: Likewise.
19245 * libio/freopen.c: Likewise.
19246 * libio/freopen64.c: Likewise.
19247 * libio/iofclose.c: Likewise.
19248 * libio/iofdopen.c: Likewise.
19249 * libio/iofflush.c: Likewise.
19250 * libio/iofflush_u.c: Likewise.
19251 * libio/iofgets.c: Likewise.
19252 * libio/iofgets_u.c: Likewise.
19253 * libio/iofopen.c: Likewise.
19254 * libio/iofopncook.c: Likewise.
19255 * libio/iofread.c: Likewise.
19256 * libio/iofread_u.c: Likewise.
19257 * libio/ioftell.c: Likewise.
19258 * libio/iofwrite.c: Likewise.
19259 * libio/iogetline.c: Likewise.
19260 * libio/iogets.c: Likewise.
19261 * libio/iogetwline.c: Likewise.
19262 * libio/iopadn.c: Likewise.
19263 * libio/iopopen.c: Likewise.
19264 * libio/ioseekoff.c: Likewise.
19265 * libio/ioseekpos.c: Likewise.
19266 * libio/iosetbuffer.c: Likewise.
19267 * libio/iosetvbuf.c: Likewise.
19268 * libio/ioungetc.c: Likewise.
19269 * libio/ioungetwc.c: Likewise.
19270 * libio/iovdprintf.c: Likewise.
19271 * libio/iovsprintf.c: Likewise.
19272 * libio/iovsscanf.c: Likewise.
19273 * libio/memstream.c: Likewise.
19274 * libio/obprintf.c: Likewise.
19275 * libio/oldfileops.c: Likewise.
19276 * libio/oldiofclose.c: Likewise.
19277 * libio/oldiofdopen.c: Likewise.
19278 * libio/oldiofopen.c: Likewise.
19279 * libio/oldiopopen.c: Likewise.
19280 * libio/oldstdfiles.c: Likewise.
19281 * libio/putc.c: Likewise.
19282 * libio/setbuf.c: Likewise.
19283 * libio/setlinebuf.c: Likewise.
19284 * libio/stdfiles.c: Likewise.
19285 * libio/strops.c: Likewise.
19286 * libio/vasprintf.c: Likewise.
19287 * libio/vscanf.c: Likewise.
19288 * libio/vsnprintf.c: Likewise.
19289 * libio/vswprintf.c: Likewise.
19290 * libio/wfiledoalloc.c: Likewise.
19291 * libio/wfileops.c: Likewise.
19292 * libio/wgenops.c: Likewise.
19293 * libio/wmemstream.c: Likewise.
19294 * libio/wstrops.c: Likewise.
19295 * libio/__fpurge.c: Likewise.
19296 * libio/__fsetlocking.c: Likewise.
19297 * assert/assert.c: Likewise.
19298 * debug/fgets_chk.c: Likewise.
19299 * debug/fgets_u_chk.c: Likewise.
19300 * debug/fread_chk.c: Likewise.
19301 * debug/fread_u_chk.c: Likewise.
19302 * debug/gets_chk.c: Likewise.
19303 * debug/obprintf_chk.c: Likewise.
19304 * debug/vasprintf_chk.c: Likewise.
19305 * debug/vdprintf_chk.c: Likewise.
19306 * debug/vsnprintf_chk.c: Likewise.
19307 * debug/vsprintf_chk.c: Likewise.
19308 * malloc/mtrace.c: Likewise.
19309 * misc/error.c: Likewise.
19310 * misc/syslog.c: Likewise.
19311 * stdio-common/asprintf.c: Likewise.
19312 * stdio-common/fxprintf.c: Likewise.
19313 * stdio-common/getw.c: Likewise.
19314 * stdio-common/isoc99_fscanf.c: Likewise.
19315 * stdio-common/isoc99_scanf.c: Likewise.
19316 * stdio-common/isoc99_vfscanf.c: Likewise.
19317 * stdio-common/isoc99_vscanf.c: Likewise.
19318 * stdio-common/isoc99_vsscanf.c: Likewise.
19319 * stdio-common/printf-prs.c: Likewise.
19320 * stdio-common/printf_fp.c: Likewise.
19321 * stdio-common/printf_fphex.c: Likewise.
19322 * stdio-common/printf_size.c: Likewise.
19323 * stdio-common/putw.c: Likewise.
19324 * stdio-common/scanf.c: Likewise.
19325 * stdio-common/sprintf.c: Likewise.
19326 * stdio-common/tmpfile.c: Likewise.
19327 * stdio-common/vfprintf.c: Likewise.
19328 * stdio-common/vfscanf.c: Likewise.
19329 * stdlib/strfmon_l.c: Likewise.
19330 * sunrpc/openchild.c: Likewise.
19331 * sunrpc/xdr_stdio.c: Likewise.
19332 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19333 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19334
d6c33fda
RM
193352012-05-24 Roland McGrath <roland@hack.frob.com>
19336
c1487492
RM
19337 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19338
19339 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19340 in the third column, to generate for the shared library an IFUNC
19341 that uses _dl_vdso_vsym.
19342 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19343 * Makeconfig (object-suffixes-noshared): New variable.
19344
19345 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19346 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19347 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19348 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19349
d6c33fda
RM
19350 [BZ #14132]
19351 * include/sys/time.h (__gettimeofday): Remove macro.
19352 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19353 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19354 Remove INTDEF.
19355 (__gettimeofday): Add libc_hidden_def.
19356 (gettimeofday): Add libc_hidden_weak.
19357 * sysdeps/mach/gettimeofday.c: Likewise.
19358 * sysdeps/posix/gettimeofday.c: Likewise.
19359 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19360 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19362 (__gettimeofday_internal): Remove strong_alias.
19363 (__gettimeofday): Add libc_hidden_def.
19364 (gettimeofday): Add libc_hidden_weak.
19365 * sysdeps/unix/syscalls.list (gettimeofday):
19366 Remove __gettimeofday_internal alias.
19367
b5a2bbe6
L
193682012-05-24 Daniel Jacobowitz <drow@false.org>
19369 H.J. Lu <hongjiu.lu@intel.com>
19370
19371 [BZ #12495]
19372 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19373 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19374 (largebin_index_32_big): New.
19375 (largebin_index): Use it for 16-byte alignment.
19376 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19377 correction with front_misalign.
19378
cfba4fda
L
193792012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19380
7f907421
L
19381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19383 Likewise.
19384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19385 Likewise.
19386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19387 Likewise.
19388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19389 Likewise.
19390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19391 Likewise.
19392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19393 Likewise.
19394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19395 Likewise.
19396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19397 Likewise.
19398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19399 Likewise.
19400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19401 Likewise.
19402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19403 Likewise.
19404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19405 Likewise.
19406
cfba4fda
L
19407 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19408 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19409
80bad0cc
JM
194102012-05-24 Joseph Myers <joseph@codesourcery.com>
19411
7a25eb06
JM
19412 [BZ #10846]
19413 [BZ #14036]
19414 * math/libm-test.inc (exp_test): Add test from bug 14036.
19415 (pow_test): Add test from bug 10846.
19416
795405f9
JM
19417 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19418 and other flags.
19419 (special_function): Do not include flags in test name.
19420 (parse_args): Likewise.
19421 * sysdeps/i386/fpu/libm-test-ulps: Update.
19422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19423 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19424 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19426
80bad0cc
JM
19427 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19428 exceptions.
19429 * math/libm-test.inc ("Philosophy"): Update comment about
19430 exception testing.
19431 (UNDERFLOW_EXCEPTION): New macro.
19432 (UNDERFLOW_EXCEPTION_OK): Likewise.
19433 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19434 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19435 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19436 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19437 (INVALID_EXCEPTION_OK): Update value.
19438 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19439 (OVERFLOW_EXCEPTION_OK): Likewise.
19440 (IGNORE_ZERO_INF_SIGN): Likewise.
19441 (test_exceptions): Handle underflow exceptions.
19442 (acos_test): Update for underflow exception expectations.
19443 (cexp_test): Likewise.
19444 (clog_test): Likewise.
19445 (clog10_test): Likewise.
19446 (csqrt_test): Likewise.
19447 (ctan_test): Likewise.
19448 (ctanh_test): Likewise.
19449 (exp_test): Likewise.
19450 (exp10_test): Likewise.
19451 (exp2_test): Likewise.
19452 (expm1_test): Likewise.
19453 (fma_test): Likewise.
19454 (j0_test): Likewise.
19455 (jn_test): Likewise.
19456 (nexttoward_test): Likewise.
19457 (pow_test): Likewise.
19458 (scalbn_test): Likewise.
19459 (scalbln_test): Likewise.
19460 (tan_test): Likewise.
19461 (y1_test): Likewise.
19462 * sysdeps/i386/fpu/libm-test-ulps: Update.
19463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19464
9e0e3d0b
DM
194652012-05-23 David S. Miller <davem@davemloft.net>
19466
19467 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19468 (__libc_sigaction): Remove unused local variables.
19469
ccd0a08f
L
194702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19471
19472 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19473
62bdf9a6
PE
194742012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19475
f8591f80
PE
19476 mktime: avoid signed integer overflow
19477 * time/mktime.c (__mktime_internal): Do not mishandle the case
19478 where diff == INT_MIN.
19479
94c7d826
PE
19480 mktime: simplify computation of average
19481 * time/mktime.c (ranged_convert): Use new time_t_avg function
19482 instead of rolling our own (probably-slower) code.
19483
ce73d683
PE
19484 mktime: do not assume signed right shift propagates sign bit
19485 * time/mktime.c (isdst_differ): New static function.
19486 (__mktime_internal): No need to normalize tm_isdst now.
19487 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19488 tm_isdst values.
19489
72a22e59
PE
19490 mktime: merge another wrapv change from gnulib
19491 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19492 from some compilers.
19493
68605433
PE
19494 mktime: remove incorrect attempt at unusual arithmetics
19495 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19496 The code didn't really work on such machines anyway.
19497 (TYPE_MINIMUM): Assume two's complement.
19498 (twos_complement_arithmetic): Verify that long_int and time_t
19499 are two's complement (or unsigned, in the latter case).
19500
03cf7fe3
PE
19501 mktime: check signed shifts on long_int and time_t, too
19502 * time/mktime.c (SHR): Check that shifts work as desired
19503 on the types long_int and time_t too, as SHR is used on
19504 such types.
19505
f04dfbc2
PE
19506 mktime: do not assume 'long' is wide enough
19507 * time/mktime.c (verify): Move decl up.
19508 (long_int): New type.
19509 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19510 to remove assumption in the code that 'long' is wide enough to
19511 store year values. This assumption is not true on x32 and on
19512 some non-glibc platforms.
19513
62bdf9a6
PE
19514 mktime: merge wrapv change from gnulib
19515 * time/mktime.c (WRAPV): New macro.
19516 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19517 (guess_time_tm, __mktime_internal): Do not assume that signed
19518 integer overflow wraps around; modern compilers generate code
19519 where this assumption is no longer valid.
19520
5e292e4f
L
195212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19522
19523 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19524 Replace "jmp L(pseudo_end)" with "ret".
19525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19526 Likewise.
19527
8caf8c87
AJ
195282012-05-23 Andreas Jaeger <aj@suse.de>
19529
19530 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19531 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19532
1a09dc56
AJ
195332012-05-23 Andreas Jaeger <aj@suse.de>
19534 Maximilian Attems <max@stro.at>
19535
19536 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19537 New macros.
19538
1c87aba0
L
195392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19540
19541 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19542 code so that pseudo_end is just ret and the stack pointer is
19543 correct also for static library in error case.
19544
40e45bd5
JM
195452012-05-23 Joseph Myers <joseph@codesourcery.com>
19546
c2670533
JM
19547 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19548 move to syscalls.list.
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19553
40e45bd5
JM
19554 * manual/install.texi (Running make install): Do not mention Linux
19555 kernel version for which pt_chown is not needed.
19556 (Linux): Do not mention problems with nscd with 2.0 kernels.
19557 * INSTALL: Regenerated.
19558
be08eda5
AJ
195592012-05-23 Andreas Jaeger <aj@suse.de>
19560
19561 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19562 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19563 macro.
19564 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19566 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19568 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19569 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19571 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19572 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19573 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19574 * sysdeps/unix/sysv/linux/bits/in.h
19575 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19576
a6a056bb
RM
195772012-05-22 Roland McGrath <roland@hack.frob.com>
19578
19579 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19580 (PREPARE_VERSION): Just use assert instead, it will be elided
19581 under [NDEBUG] anyway.
19582
c9009328
L
195832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19584
19585 * sysdeps/unix/sysv/linux/Makefile: Include
19586 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19587 (sysdep_routines): Remove sysctl.
c9009328
L
19588 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19589 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19590 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19591 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19592 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19593
73338355
AJ
195942012-05-22 Andreas Jaeger <aj@suse.de>
19595
19596 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19597 that pseudo_end is just ret and the stack pointer is correct also
19598 for static library in error case.
19599
d44638b0
PP
196002012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19601
19602 [BZ #14122]
19603 * nss/nsswitch.c (defconfig_entries): New variable.
19604 (__nss_database_lookup): Don't leak defconfig entries.
19605 (nss_parse_service_list): Don't leak on error paths.
19606 (free_database_entries): New function.
19607 (free_defconfig): New function.
19608 (free_mem): Move common code to free_database_entries.
19609
31a39bd8
L
196102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19611
da0331a8
L
19612 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19613 Add arch_prctl.
19614 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19615
31a39bd8
L
19616 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19617 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19619 New macro.
19620 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19621 (INTERNAL_SYSCALL_TYPES): Likewise.
19622 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19623 (LOAD_REGS_TYPES_[1-6]): Likewise.
19624 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19625 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19626
45470df3
AZ
196272012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19628
19629 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19630 copysignl for GLIBC_2_0.
19631 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19632 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19634 logbl for GLIBC_2_0.
19635 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19636 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19637
98a61bcb
L
196382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19639
a4f6e481
L
19640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19641 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19642
f63d5db6
L
19643 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19644 Use "neg %eax".
19645
98a61bcb
L
19646 * time/mktime.c: Update copyright years.
19647
95770f14
PE
196482012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19649
6226efbd
PE
19650 mktime: merge comment-quoting-style change from gnulib
19651 * time/mktime.c: Quote 'like this' in comments.
19652 The GNU coding standards suggest that we no longer quote `like this',
19653 as "`" and "'" are typically rendered asymmetrically nowadays.
19654 The typical gnulib style is to quote 'like this' when quoting
19655 code, and "like this" when quoting English.
19656
b99e4f78
PE
19657 * time/mktime.c (compile-command): Add "-I.".
19658
643e01e6
PE
19659 mktime: merge mktime-internal.h change from gnulib
19660 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19661
2554247d
PE
19662 mktime: merge time_r change from gnulib
19663 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19664
826dd0ab
PE
19665 mktime: merge DEBUG change from gnulib
19666 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19667 case system <time.h> has a #define.
19668
bd83aabe
PE
19669 mktime: merge <sys/types.h> change from gnulib
19670 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19671 since <time.t> is now guaranteed to define time_t.
19672
95770f14
PE
19673 mktime: merge HAVE_CONFIG_H change from gnulib
19674 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19675
5e1a27a9
L
196762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19677
0e44a77e
L
19678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19679 Use "neg %eax".
19680
5e1a27a9
L
19681 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19682 __rlim_t cast.
19683 (struct rusage): Use anonymous union to pad each field to
19684 __syscall_slong_t.
19685
46259bec
DM
196862012-05-21 David S. Miller <davem@davemloft.net>
19687
19688 * Makefules (o-iterator): Remove .s cases.
19689 (compile-command.s): Delete.
19690 (COMPILE.s): Delete.
19691 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19692
59f0c22e
JM
196932012-05-21 Joseph Myers <joseph@codesourcery.com>
19694
19695 * configure.in (libc_cv_predef_stack_protector): Only consider
19696 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19697 * configure: Regenerated.
19698
20c07380
L
196992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19700
bbb3154b
L
19701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19702 New macro. Use R*LP on int and pointer.
19703 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19704 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19705 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19706 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19707
20c07380
L
19708 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19709 [__WORDSIZE_TIME64_COMPAT32] instead of
19710 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19711 (struct utmp): Likewise.
19712 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19713 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19714 Renamed to ...
19715 (__WORDSIZE_TIME64_COMPAT32): This.
19716 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19717 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19718 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19719 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19720 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19721 (__WORDSIZE_TIME64_COMPAT32): New macro.
19722
d8d1017e
AJ
197232012-05-21 Andreas Jaeger <aj@suse.de>
19724
19725 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19726 only if [SHARED]. Add prototype for __wcschr_ia32.
19727
6c7fb145
RM
197282012-05-21 Roland McGrath <roland@hack.frob.com>
19729
19730 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19731 of %rbp unmolested in the jmp_buf while mangling the low bits.
19732 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19733 unmolested high bits of %rbp while demangling the low bits.
19734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19735
66274218
AJ
197362012-05-21 Andreas Jaeger <aj@suse.de>
19737
07c58f8f
AJ
19738 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19739 * sunrpc/svc_simple.c: Use it for registerrpc.
19740 * sunrpc/xcrypt.c: Use it for passwd2des.
19741
66274218
AJ
19742 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19743
61f65140
L
197442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19745
19746 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19747 Don't define if [__SYSCALL_WORDSIZE != 32].
19748 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19749 New macro.
19750
5fefb436
AJ
197512012-05-21 Bruno Haible <bruno@clisp.org>
19752 Andreas Jaeger <aj@suse.de>
19753
19754 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19755 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19756 inptr and inend for must_buffer_ch.
19757 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19758 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19759 * stdio-common/Makefile (tests): Remove bug15.
19760 (bug15-ENV): Remove macro.
19761 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19762 anymore.
19763
d8e272ab
AJ
197642012-05-19 Andreas Jaeger <aj@suse.de>
19765 Roland McGrath <roland@hack.frob.com>
19766
19767 * manual/contrib.texi: Completely rewritten. It contains now an
19768 alphabetical list of contributors and their contributions.
19769
4a56a162
RH
197702012-05-21 Richard Henderson <rth@twiddle.net>
19771
19772 * misc/getauxval.c (__getauxval): Use unsigned long int.
19773 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19774 (getauxval): Use unsigned long int.
19775
d024d23c
L
197762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19777
19778 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19779
cbc00a03
RM
197802012-05-21 Roland McGrath <roland@hack.frob.com>
19781
19782 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19783 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19784 __alignof__ (long double).
19785
478143fa
AZ
197862012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19787
19788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19789
c7683a6d
RH
197902012-05-20 Richard Henderson <rth@twiddle.net>
19791
19792 * misc/getauxval.c: New file.
19793 * misc/sys/auxv.h: New file.
19794 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19795 (routines): Add getauxval.
19796 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19797 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19798 * elf/dl-sysdep.c (_dl_auxv): Remove.
19799 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19800 * elf/dl-support.c (_dl_auxv): New variable.
19801 (_dl_aux_init): Initialize it.
19802 * manual/startup.texi (Auxiliary Vector): New node.
19803 * sysdeps/generic/bits/hwcap.h: New file.
19804 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19805 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19806 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19807 * sysdeps/sparc/sysdep.h: ... here. Include it.
19808 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19809 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19811 Update.
c7683a6d
RH
19812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19815 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19820
a6f1845d
AZ
198212012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19822
19823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19824
cbcbe830
DM
198252012-05-19 David S. Miller <davem@davemloft.net>
19826
19827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19828
e0b16cc2
JM
198292012-05-19 Joseph Myers <joseph@codesourcery.com>
19830
19831 [BZ #14123]
19832 * math/s_ccosh.c: Include <float.h>
19833 (__ccosh): Avoid internal overflow calculating sinh and cosh
19834 values before multiplying by sin and cos values.
19835 * math/s_ccoshf.c: Likewise.
19836 * math/s_ccoshl.c: Likewise.
19837 * math/s_csin.c: Likewise.
19838 * math/s_csinf.c: Likewise.
19839 * math/s_csinl.c: Likewise.
19840 * math/s_csinh.c: Likewise.
19841 * math/s_csinhf.c: Likewise.
19842 * math/s_csinhl.c: Likewise.
19843 * math/libm-test.inc (ccos_test): Add more tests.
19844 (ccosh_test): Likewise.
19845 (csin_test): Likewise.
19846 (csinh_test): Likewise.
19847 * sysdeps/i386/fpu/libm-test-ulps: Update.
19848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19849
6ad13e08
L
198502012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19851
f66f0ce8
L
19852 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19853 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19854
6ad13e08
L
19855 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19856
b1d072a7
JM
198572012-05-19 Joseph Myers <joseph@codesourcery.com>
19858
19859 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19860 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19861 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19862 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19863 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19864 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19865 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19866 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19867 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19868 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19869 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19870 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19871 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19872 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19873 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19874 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19875 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19876 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19877 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19878 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19879 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19880 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19881 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19882 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19883 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19884 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19885 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19886 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19887 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19888 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19889 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19890
9eae47cb
AJ
198912012-05-18 Andreas Jaeger <aj@suse.de>
19892
19893 * csu/.gitignore: Delete.
19894
bb07f69f
L
198952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19896
19897 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19898 (timex): Use __syscall_slong_t.
19899
e6bdb741
AJ
199002012-05-18 Andreas Jaeger <aj@suse.de>
19901 Carlos O'Donell <carlos_odonell@mentor.com>
19902
19903 * manual/install.texi (Configuring and compiling): Update
19904 description about files modified in the source directory.
d6c33fda 19905 * INSTALL: Regenerated.
e6bdb741 19906
1b74487e
L
199072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19908
19909 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19910 value. Use "or" to set return value to -1.
19911 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19912 negate return value.
19913
a88b64b9
TMQMF
199142012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19915
19916 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19917 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19918 failure if the compiler has Graphite support disabled.
19919 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19920 Likewise.
19921 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19922 CFLAGS-memmove.c): Likewise.
19923 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19924 Likewise.
19925
3707636e
L
199262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19927
610b8622
L
19928 * sysdeps/x86_64/x32/_itoa.h: New file.
19929
7cd195df
L
19930 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19931 getdents system call only if kernel and user dirents have the
19932 same d_ino and d_off.
19933
94b07d20
L
19934 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19935 LLONG_MAX != LONG_MAX.
19936 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19937 (_fitoa_word): Likewise.
19938
18298070
L
19939 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19940 years.
19941 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19942 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19943 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19944
553c7ea4
L
19945 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19946 include <bits/wordsize.h>. Check __x86_64__ instead of
19947 __WORDSIZE.
19948 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19949 if __x86_64__ is defined. Use anonymous union on fpstate.
19950
3707636e
L
19951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19952 anonymous union.
19953
b53ef01a
AS
199542012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19955
37fb1dc0
AS
19956 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19957 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19958 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19959 Refer to _rtld_local_ro instead of _rtld_global_ro.
19960 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19961 Likewise.
19962 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19963 Likewise.
19964 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19965 Likewise.
19966 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19967 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19968 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19969
b53ef01a
AS
19970 * sysdeps/powerpc/powerpc32/dl-machine.c
19971 (__elf_machine_runtime_setup) [PROF]: Don't reference
19972 _dl_prof_resolve.
19973
7a185db2
AJ
199742012-05-18 Andreas Jaeger <aj@suse.de>
19975
19976 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19977 function only available for GCCs before 3.4 since GCC 3.4
19978 introduced a builtin.
19979 (lrint): Likewise.
19980 (llrintf): Likewise.
19981 (llrint): Likewise.
19982 (fmaxf): Likewise.
19983 (fmax): Likewise.
19984 (fminf): Likewise.
19985 (fmin): Likewise.
19986 (rint): Likewise.
19987 (rintf): Likewise.
19988 (nearbyint): Likewise.
19989 (nearbyintf): Likewise.
19990 (ceil): Likewise.
19991 (ceilf): Likewise.
19992 (floor): Likewise.
19993 (floorf): Likewise.
19994
3e5aef87
L
199952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19996
428bd707
L
19997 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19998 on both fields and cast pointer to __syscall_ulong_t.
19999
3e5aef87
L
20000 * bits/types.h (__fsword_t): New type.
20001 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20002 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20004 (__FSWORD_T_TYPE): Likewise.
20005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20006 (__FSWORD_T_TYPE): Likewise.
20007 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20008 (__FSWORD_T_TYPE): Likewise.
20009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20010 (__FSWORD_T_TYPE): Likewise.
20011 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20012 __SWORD_TYPE with __fsword_t.
20013 (statfs64): Likewise.
20014
1ba7c3dc
DM
200152012-05-17 David S. Miller <davem@davemloft.net>
20016
20017 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20018
59910343
AJ
200192012-05-17 Andreas Jaeger <aj@suse.de>
20020
20021 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20022 warning.
20023
2e4c1e9e
L
200242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20025
20026 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20027
de7f5ce7
AJ
200282012-05-17 Andreas Jaeger <aj@suse.de>
20029
20030 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20031 when it is used.
20032
286abc3d
CM
200332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20034
20035 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20036
477cc68e
L
200372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20038
20039 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20040 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20041
1a0994f5
CD
200422012-05-17 Andreas Jaeger <aj@suse.de>
20043 Carlos O'Donell <carlos_odonell@mentor.com>
20044
20045 [BZ #14059]
20046 * sysdeps/x86_64/multiarch/init-arch.h
20047 (bit_YMM_Usable): Rename to...
20048 (bit_AVX_Usable): ... this.
20049 (bit_FMA4_Usable): New macro.
20050 (bit_XMM_state): New macro.
20051 (bit_YMM_state): New macro.
20052 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20053 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20054 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20055 (CPUID_OSXSAVE): New macro.
20056 (CPUID_AVX): New macro.
20057 (CPUID_FMA4): New macro.
20058 (index_YMM_Usable): Rename to...
20059 (index_AVX_Usable): ... this.
20060 (HAS_AVX): Use HAS_ARCH_FEATURE.
20061 (HAS_FMA4): Likewise.
20062 (HAS_YMM_USABLE): Remove.
20063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20064 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20065 are present.
20066 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20067 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20068 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20069 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20070 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20071
0af797de
CM
200722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20073
20074 * math/libm-test.c: Support platforms without multiple rounding modes.
20075 * math/bug-nextafter.c: Support platforms without FP exceptions.
20076 * math/bug-nexttoward.c: Likewise.
20077 * math/test-fenv.c: Likewise.
20078 * math/test-misc.c: Likewise.
20079 * stdlib/bug-getcontext.c: Likewise.
20080
e39745ff
AJ
200812012-05-17 Andreas Jaeger <aj@suse.de>
20082
20083 * manual/examples/search.c (critter_cmp): Change signature to
20084 avoid warnings.
20085 * manual/string.texi (Collation Functions): Likewise.
20086
48970aba
L
200872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20088
20089 * bits/types.h: Fold copyright years.
20090 * bits/typesizes.h: Likewise.
20091 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20095 * time/time.h: Likewise.
20096
bedee953
PP
200972012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20098
20099 [BZ #208]
20100 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20101 in instead of returning them. Return void.
20102 (__libc_mallinfo): Accumulate over all arenas.
20103 (__malloc_stats): Adjust for change in int_mallinfo interface.
20104
61653dfb
RM
201052012-05-16 Roland McGrath <roland@hack.frob.com>
20106
30b99d79
RM
20107 [BZ #10375]
20108 * configure.in (NM): Add AC_CHECK_TOOL for it.
20109 (libc_extra_cflags): New substituted variable.
20110 Check for -fstack-protector being used implicitly.
20111 * configure: Regenerated.
20112 * config.make.in (config-extra-cflags): New variable,
20113 gets @libc_extra_cflags@.
20114 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20115
61653dfb
RM
20116 [BZ #10375]
20117 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20118 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20119 * configure: Regenerated.
20120 * config.make.in (CPPUNDEFS): New substituted variable.
20121 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20122 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20123 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20124
661768bb
L
201252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20126
20127 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20128 (mq_attr): Use __syscall_slong_t.
20129
d4261567
L
201302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20131
20132 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20133 Check __x86_64__ instead of __WORDSIZE.
20134 (_STAT_VER_LINUX): Likewise.
20135 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20136 __syscall_ulong_t and __syscall_slong_t.
20137 (stat64): Likewise.
20138
cf3ff365
L
201392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20140
20141 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20142
76cf3e4d
L
201432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20144
20145 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20146
a637753a
L
201472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20148
20149 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20150 __syscall_ulong_t.
20151
d5e05119
L
20152 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20153 include <bits/wordsize.h>. Check __x86_64__ instead of
20154 __WORDSIZE.
20155 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20156 defined.
20157 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20158
f62ee380
L
20159 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20160 include <bits/wordsize.h>. Check __x86_64__ instead of
20161 __WORDSIZE.
20162 (user_regs_struct): Use "__extension__ unsigned long long"
20163 instead of "unsigned long" if __x86_64__ is defined.
20164 (user): Likewise. Pad after pointer field if __ILP32__ is
20165 defined.
20166
4e124ced
JM
201672012-05-16 Joseph Myers <joseph@codesourcery.com>
20168
6a3951a0
JM
20169 * configure.in (makeinfo): Require version 4.5 or later. Allow
20170 versions 5 to 9.
20171 * configure: Regenerated.
20172 * manual/install.texi (texinfo): Increase version requirement to
20173 4.5 or later.
20174 * INSTALL: Regenerated.
20175
4e124ced
JM
20176 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20177
953ca31a
L
201782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20179
20180 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20181
617aca05
L
20182 * sysdeps/x86_64/x32/ffs.c: New file.
20183
5762f7ae
L
20184 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20185 __syscall_ulong_t.
20186 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20187 defined. Use __syscall_ulong_t.
20188 (shminfo): Use __syscall_ulong_t.
20189 (shm_info): Likewise.
20190
a26b6856
L
20191 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20192 __syscall_ulong_t.
20193
cb2b9ef7
L
20194 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20195 <bits/wordsize.h>.
20196 (msgqnum_t): Use __syscall_ulong_t.
20197 (msglen_t): Likewise.
20198 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20199 __syscall_ulong_t.
20200
34683bb0
L
20201 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20202 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20203
84a68786
L
20204 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20205
48baa5f1
L
20206 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20207 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20208
180be88b
L
20209 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20210 __syscall_slong_t.
20211
5e90c8ad
L
20212 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20213 include <bits/wordsize.h>. Check __x86_64__ instead of
20214 __WORDSIZE.
20215
23dfb58b
L
20216 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20217 "unsigned long long int" if __x86_64__ is defined.
20218 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20219
ce5d54b0
L
20220 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20221 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20222 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20223
13dc9eac
L
20224 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20225 <stdint.h>.
20226 (GET_PC): Cast to uintptr_t first.
20227 (GET_FRAME): Likewise.
20228 (GET_STACK): Likewise.
20229
a7895d15
L
20230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20232 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20234 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20236 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20237 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20238 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20239 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20241 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20243 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20245 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20247 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20248 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20249 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20251 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20253 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20255 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20256 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20257 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20259
656416c9
AS
202602012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20261
5bd66283
AS
20262 * Makerules (+depfiles): Also collect depfiles from .oS in
20263 $(extra-objs).
20264 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20265 .oS, $(libnldbl-routines)).
20266
656416c9
AS
20267 * Makerules (native-compile-mkdep-flags): Define.
20268 * sunrpc/Makefile (extra-objs): Add $(addprefix
20269 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20270 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20271 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20272 calling $(make-target-directory).
20273
a46f2169
L
202742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20275
20276 * bits/types.h (__snseconds_t): Removed.
20277 * time/time.h (struct timespec): Replace __snseconds_t with
20278 __syscall_slong_t.
20279 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20280 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20281 Likewise.
20282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20283 (__SNSECONDS_T_TYPE): Likewise.
20284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20285 (__SNSECONDS_T_TYPE): Likewise.
20286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20287 (__SNSECONDS_T_TYPE): Likewise.
20288
6af6528b
L
202892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20290
20291 * sysdeps/mach/hurd/bits/typesizes.h
20292 (__SYSCALL_SLONG_TYPE): New macro.
20293 (__SYSCALL_ULONG_TYPE): Likewise.
20294
de986b56
L
202952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20296
20297 * bits/types.h (__syscall_slong_t): New type.
20298 (__syscall_ulong_t): Likewise.
20299
20300 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20301 (__SYSCALL_ULONG_TYPE): Likewise.
20302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20303 (__SYSCALL_SLONG_TYPE): Likewise.
20304 (__SYSCALL_ULONG_TYPE): Likewise.
20305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20306 (__SYSCALL_SLONG_TYPE): Likewise.
20307 (__SYSCALL_ULONG_TYPE): Likewise.
20308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20309 (__SYSCALL_SLONG_TYPE): Likewise.
20310 (__SYSCALL_ULONG_TYPE): Likewise.
20311
85736dc7
L
203122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20313
20314 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20315 Add sigaltstack-offsets.sym.
20316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20317 <sigaltstack-offsets.h>.
20318 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20319 longjmp_msg pointer.
20320 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20321 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20322 signal stack.
20323 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20324
cc03b296
JM
203252012-05-15 Joseph Myers <joseph@codesourcery.com>
20326
a9538892
JM
20327 * elf/stackguard-macros.h: Remove file.
20328 * sysdeps/generic/stackguard-macros.h: New file.
20329 * sysdeps/i386/stackguard-macros.h: Likewise.
20330 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20331 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20332 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20333 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20334 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20335 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20336 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20337 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20338 <elf/stackguard-macros.h>.
20339
cc03b296
JM
20340 [BZ #14109]
20341 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20342 __aligned__ in attribute.
20343 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20344 (gregset_t): Likewise.
20345
93171016
L
203462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20347
20348 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20349 * sysdeps/x86_64/64/Implies-after: Here. New file.
20350 * sysdeps/x86_64/x32/Implies-after: New file.
20351
d86813a0
L
203522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20353
20354 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20355 and access return value for _dl_profile_fixup. Use R10_LP to
20356 load frame size.
20357
2953ec75
L
203582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20359
20360 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20361
3b550e9e
L
203622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20363
20364 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20365 * sysdeps/x86_64/x32/sysdep.h: New file.
20366
eda41706
L
203672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20368
20369 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20370 * sysdeps/x86_64/setjmp.S: Likewise.
20371
9ea01d93
AZ
203722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20373
20374 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20376 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20377 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20378 remove unused global constant.
20379
02a91938
CM
203802012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20381
20382 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20383 include of <not-cancel.h>.
20384
6540185f
RM
203852012-05-15 Roland McGrath <roland@hack.frob.com>
20386
20387 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20388
509072a0
AJ
203892012-05-15 Jeff Law <law@redhat.com>
20390 Andreas Jaeger <aj@suse.de>
20391
20392 [BZ #13594]
20393 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20394 out from...
20395 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20396 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20397 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20398 code changing __hst_map_handle.map.
20399
ba75122d
RM
204002012-05-15 Roland McGrath <roland@hack.frob.com>
20401
20402 * configure.in (sysnames): Look for Implies-before and Implies-after
20403 files.
20404 * configure: Regenerated.
20405
890d8bd8
L
204062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20407
20408 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20409 8-byte data alignment with LP_SIZE alignment.
20410
f6ee6623
L
204112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20412
20413 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20414 into R10_LP.
20415
ea2626f6
L
204162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20417
20418 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20419
085f715e
L
204202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20421
20422 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20423 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20424 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20425 Likewise.
20426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20427
be8498fc
L
204282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20429
20430 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20431 (stackinfo_sub_sp): Likewise.
20432
70bc83b9
L
204332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20434
20435 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20436 RAX_LP.
20437
9bc0b730
L
204382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20439
20440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20441 into R*_LP.
20442
6d2850e7
L
204432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20444
20445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20446 sizes into R*_LP.
20447
3cb84561
L
204482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20449
20450 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20451
54e2ed81
L
204522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20453
20454 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20455 into R11_LP and load __x86_64_shared_cache_size_half into
20456 R8_LP.
20457
8a17f349
L
204582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20459
20460 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20461 R8_LP.
20462
777b1eea
AZ
204632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20464
20465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20466 logb for POWER7.
20467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20468 logbf for POWER7.
20469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20470 logbl for POWER7.
20471 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20472 powerpc32/power7/fpu/s_logb.c via #include.
20473 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20474 powerpc32/power7/fpu/s_logbf.c via #include.
20475 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20476 powerpc32/power7/fpu/s_logbl.c via #include.
20477
d20d4ac2
JM
204782012-05-15 Joseph Myers <joseph@codesourcery.com>
20479
20480 * README.libm: Remove file.
20481
6cdef1ab
L
204822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20483
20484 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20485 count for x32. Use R*_LP and omit operand-size suffix.
20486
0b254d8f
L
204872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20488
20489 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20490 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20491 * sysdeps/x86_64/x32/shlib-versions: New file.
20492
ceb809dc
RM
204932012-05-14 Roland McGrath <roland@hack.frob.com>
20494
20495 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20496 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20497 Use _dl_fatal_printf instead.
20498
37f1abd4
JM
204992012-05-14 Joseph Myers <joseph@codesourcery.com>
20500
20501 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20502 set if not set by the user. Do not allow for being unset.
20503 * sysdeps/unix/sysv/linux/configure: Regenerated.
20504
11de3a33
L
205052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20506
20507 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20508 the `q' suffix from lea and replace .quad with ASM_ADDR.
20509
e02f153a
L
205102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20511
20512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20513 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20514 instead of $17.
20515 (PTR_DEMANGLE): Likewise.
20516
520ae0fd
L
205172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20518
20519 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20520 (LP_OP): Likewise.
20521 (ASM_ADDR): Likewise.
20522 (RAX_LP): Likewise.
20523 (RBP_LP): Likewise.
20524 (RBX_LP): Likewise.
20525 (RCX_LP): Likewise.
20526 (RDI_LP): Likewise.
20527 (RSI_LP): Likewise.
20528 (RSP_LP): Likewise.
20529 (R8_LP): Likewise.
20530 (R9_LP): Likewise.
20531 (R10_LP): Likewise.
20532 (R10_LP): Likewise.
20533 (R11_LP): Likewise.
20534 (R12_LP): Likewise.
20535 (R13_LP): Likewise.
20536 (R14_LP): Likewise.
20537 (R15_LP): Likewise.
20538
b985be81
L
205392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20540
20541 * sysdeps/x86_64/x32/dl-machine.h: New file.
20542
6a4888ff
AJ
205432012-05-14 Andreas Jaeger <aj@suse.de>
20544
20545 * manual/Makefile (subdir): Remove export of subdir.
20546 (all): Remove target.
20547 (.PHONY): Remove all from list.
20548 (mkinstalldirs): Remove.
20549 (.PHONY): Remove installdirs from list.
20550 ($(inst_infodir)/libc.info): Use make-target-directory.
20551 (installdirs): Remove.
20552 (subdir_%): Remove.
20553 (glibc-targets): Remove.
20554 (lib): Remove.
20555 (stubs): Remove.
20556 ($(objpfx)stubs ../po/manual.pot): Remove.
20557 ($(objpfx)stamp%): Remove.
20558 (make-target-directory): Remove.
20559 (subdir_install): Remove.
20560 (routines): Remove.
20561 (aux): Remove.
20562 (sources): Remove.
20563 (objects): Remove.
20564 (headers): Remove.
20565
20566 [BZ #13750]
20567 * manual/.gitignore: Remove, it's not needed anymore.
20568 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20569 all files in it.
20570 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20571 directory.
20572 (texis): Renamed to $(objpfx)texis.
20573 (texis-path): New, contains path to generated files.
20574 (chapters.%): Use texis-path for complete path, add extra argument
20575 libc-texinfo.sh.
20576 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20577 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20578 (summary,texi, stamp-summary): Use complete path of
20579 files. Generate files in build dir.
20580 (dir-add.texi): Build in build dir.
20581 (libm-err.texi,stamp-libm-err): Likewise.
20582 (version.texi, stamp-version): Likewise.
20583 (.%c.texi): Likewise.
20584 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20585 (mostlyclean): Remove target.
20586 (realclean): Remove target.
20587 (generated): Add new variable with contents from mostlyclean and
20588 realclean, remove entries duplicated in common-mostlyclean, add
20589 stamp-libm-err and stamp-version.
20590 (generated-dirs): Add libc directory.
20591 ($(inst_infodir)/libc.info): Install files from build dir.
20592
20593 * manual/install.texi (Configuring and compiling): Adjust since
20594 the info files are not part of the tar ball anymore.
20595
7ac77294
AJ
205962012-05-14 Andreas Jaeger <aj@suse.de>
20597
20598 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20599 variable.
20600
ffb7875d
JM
206012012-05-14 Joseph Myers <joseph@codesourcery.com>
20602
20603 [BZ #13717]
20604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20605 to 2.2.0 where earlier.
20606 * sysdeps/unix/sysv/linux/configure: Regenerated.
20607 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20608 Remove conditional code.
20609 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20610 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20611 Remove conditional code.
20612 [!__NR_lchown]: Likewise.
20613 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20614 [__NR_lchown]: Likewise.
20615 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20616 comment referencing __ASSUME_LCHOWN_SYSCALL.
20617 * sysdeps/unix/sysv/linux/i386/sigaction.c
20618 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20619 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20620 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20621 Remove conditional code.
20622 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20623 (__protocol_available): Remove #if 0 code.
20624 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20625 conditional code.
20626 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20627 * sysdeps/unix/sysv/linux/kernel-features.h
20628 (__ASSUME_GETCWD_SYSCALL): Don't define.
20629 (__ASSUME_REALTIME_SIGNALS): Likewise.
20630 (__ASSUME_PREAD_SYSCALL): Likewise.
20631 (__ASSUME_PWRITE_SYSCALL): Likewise.
20632 (__ASSUME_POLL_SYSCALL): Likewise.
20633 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20634 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20635 non-SPARC.
20636 (__ASSUME_SIOCGIFNAME): Don't define.
20637 (__ASSUME_MSG_NOSIGNAL): Likewise.
20638 (__ASSUME_SENDFILE): Define unconditionally.
20639 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20640 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20641 conditional code.
20642 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20643 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20644 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20645 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20646 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20647 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20648 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20650 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20653 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20654 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20656 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20659 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20660 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20662 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20665 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20666 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20671 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20673 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20674 Remove conditional code.
20675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20676 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20677 Remove conditional code.
20678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20679 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20680 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20681 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20682 Remove conditional code.
20683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20684 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20685 Remove conditional code.
20686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20687 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20688 Remove conditional code.
20689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20690 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20691 Remove conditional code.
20692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20693 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20694 Remove conditional code.
20695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20696 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20697 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20699 * sysdeps/unix/sysv/linux/sigaction.c
20700 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20701 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20702 * sysdeps/unix/sysv/linux/sigpending.c
20703 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20704 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20705 * sysdeps/unix/sysv/linux/sigprocmask.c
20706 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20707 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20708 * sysdeps/unix/sysv/linux/sigsuspend.c
20709 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20710 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20711 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20712 (__libc_missing_rt_sigs): Remove.
20713 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20714 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20715 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20716 Remove conditional code.
20717 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20718 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20719 return 1.
20720 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20721 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20722 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20723 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20724
1bfb7291
AJ
207252012-05-14 Andreas Jaeger <aj@suse.de>
20726
caae5a81
AJ
20727 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20728 it's not used in glibc.
20729 (__coshm1): Likewise.
20730 (__acosh1p): Likewise.
20731 (__sgn): Likewise.
20732
1bfb7291
AJ
20733 * manual/string.texi (Copying and Concatenation): Add missing
20734 variable in concat example.
20735 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20736
c044d724
L
207372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20738
144c5467 20739 [BZ #14103]
c044d724
L
20740 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20741 __builtin_clzl with __builtin_clzll.
20742
2523c62b
L
207432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20744
20745 [BZ #14104]
20746 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20747 libc_freeres_ptr.
20748
d7bb4c42
LD
207492012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20750
20751 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20752 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20753 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20754 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20755
9dc4e1fb
MF
207562012-05-14 Mike Frysinger <vapier@gentoo.org>
20757
20758 * NEWS: Update ia64 info.
20759
c7df0112
AS
207602012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20761
20762 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20763 used as bcopy.
20764
dc70356c
TS
207652012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20766
20767 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20768 * sysdeps/unix/syscalls.list (dup3): Likewise.
20769 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20770 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20771
9fb1a21f
L
207722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20773
20774 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20775 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20776
4822a2a5
L
207772012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20778
20779 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20780 thread pointer.
20781 (TLS_IE): Use mov/add instead of movq/addq to load thread
20782 pointer.
20783 (TLS_GD_PREFIX): New.
20784 (TLS_GD): Use it.
20785
842b81d6
DM
207862012-05-11 David S. Miller <davem@davemloft.net>
20787
20788 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20789 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20790 (_FPU_SETCW): Likewise.
20791
1cf463cd
L
207922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20793
20794 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20795 is 32-byte aligned.
20796
60cc4a18
AS
207972012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20798
20799 [BZ #11837]
20800 * iconvdata/gb18030.c: Update tables.
20801 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20802 characters specially.
20803 (BODY for TO_LOOP): Add encoding of missing ranges.
20804
febb44a4
TS
208052012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20806
20807 [BZ #13673]
20808 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20809 * sysdeps/mach/hurd/dup3.c: Likewise.
20810 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20811 * sysdeps/powerpc/memmove.c:: Likewise.
20812
0a10fb9e
L
208132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20814
20815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20816 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20817
df8a552f
L
208182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20819
20820 * elf/elf.h (R_X86_64_RELATIVE64): New.
20821 (R_X86_64_NUM): Updated.
20822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20823 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20824 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20825 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20826 tst-quad1pie tst-quad2pie
20827 (modules-names): Add tst-quadmod1 tst-quadmod2.
20828 ($(objpfx)tst-quad1): New dependency.
20829 ($(objpfx)tst-quad2): Likewise.
20830 ($(objpfx)tst-quad1pie): Likewise.
20831 ($(objpfx)tst-quad2pie): Likewise.
20832 * sysdeps/x86_64/tst-quad1.c: New file.
20833 * sysdeps/x86_64/tst-quad1pie.c: New file.
20834 * sysdeps/x86_64/tst-quad2.c: Likewise.
20835 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20836 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20837 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20838 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20839 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20840
f34d6f84
ST
208412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20842
f42d41d1
ST
20843 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20844 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20845 * streams/stropts.h (t_scalar_t): Define type.
20846
3c3571fc
ST
20847 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20848 (_PATH_PRESERVE): Set to "/var/lib".
20849 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20850
61f06bd3
ST
20851 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20852 instead of int.
20853
918d4d71
ST
20854 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20855 if __dir_mkfile succeeded.
20856
f34d6f84
ST
20857 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20858 checking for _hurd_dtablesize. Unlock it right after having
20859 finished _hurd_dtable allocation.
20860
10589b4a
TS
208612012-05-10 Thomas Schwinge <thomas@schwinge.name>
20862
674cdbc7
TS
20863 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20864 * sysdeps/mach/hurd/configure: Regenerated.
20865 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20866 special-casing to...
20867 * sysdeps/gnu/configure.in: ... this new file.
20868 * sysdeps/unix/sysv/linux/configure: Regenerated.
20869 * sysdeps/gnu/configure: New generated file.
20870
8e41b99f
TS
20871 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20872 for Linux: use nsec instead of usec, as well as:
20873 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20874 members of type struct timespec.
20875 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20876 New macros.
20877 (struct stat64): Likewise.
20878 (_STATBUF_ST_NSEC): New macro.
20879 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20880
10589b4a
TS
20881 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20882 __strtoul_internal rather than strtoul.
20883
63643c85
PT
208842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20885
20886 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20887 and reject them.
20888
3faebe6a
ST
208892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20890
20891 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20892 which preserves existing values.
20893 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20894
c6474b07
PT
208952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20896
20897 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20898 TIMEOUT values. Return EINVAL for NFDS values either negative or
20899 greater than FD_SETSIZE.
20900
1043890b
ST
209012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20902
20903 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20904 allocated, call __vm_protect to finish enabling the existing space, and
20905 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20906 allocate the remainder.
20907
37ed8b9b
PT
209082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20909
20910 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20911 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20912
db653660
ST
209132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20914
37ed8b9b
PT
20915 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20916 sysdeps/mach/hurd/readlink.c.
b29d4053 20917
db653660
ST
20918 * posix/tst-sysconf.c (posix_options): Only use
20919 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20920 _POSIX_SYNCHRONIZED_IO when they are defined
20921 * sysdeps/mach/hurd/bits/posix_opt.h:
20922 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20923 (_XOPEN_REALTIME): Undefine macro.
20924 (_XOPEN_REALTIME_THREADS): Undefine macro.
20925 (_XOPEN_SHM): Undefine macro.
20926 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20927 macro to -1.
20928 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20929 macro to -1.
20930 (_POSIX_ASYNC_IO): Undefine macro.
20931 (_POSIX_PRIORITIZED_IO): Undefine macro.
20932 (_POSIX_SPIN_LOCKS): Define macro to -1.
20933
ee16e894
ST
20934 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20935 SA_NODEFER, SA_RESETHAND.
20936 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20937 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20938 F_DUPFD_CLOEXEC.
20939
6103ae3b
TS
209402012-05-10 Thomas Schwinge <thomas@schwinge.name>
20941
20942 * elf/Makefile (pldd-modules): Define unconditionally.
20943
80b4e5f3
TS
209442012-05-10 Thomas Schwinge <thomas@schwinge.name>
20945
20946 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20947
edadcbd6
ST
209482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20949
20950 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20951 Return ENOENT when name is empty.
20952 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20953
80694780
TS
209542012-05-10 Thomas Schwinge <thomas@schwinge.name>
20955
1792c087
TS
20956 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20957
80694780
TS
20958 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20959
6b645f0d
ST
209602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20961
80694780
TS
20962 Fix mlock in all cases except non-readable pages.
20963 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20964 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20965
6b645f0d
ST
20966 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20967 (__mkdir): When path is `/', just fail with EEXIST.
20968 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20969
e468f8a3
TS
209702012-05-10 Thomas Schwinge <thomas@schwinge.name>
20971
20972 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20973 <sys/uio.h> (for writev).
20974 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20975 and <sys/param.h> (for MIN).
20976
a4186cff
PT
209772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20978
20979 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20980 REQUESTED_TIME. Properly set the remaining time and return EINTR
20981 if interrupted.
20982
510bbf14
TS
209832012-05-10 Thomas Schwinge <thomas@schwinge.name>
20984
20985 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20986 Depend on against $(link-rpcuserlibs).
20987
5d5722e8
ST
209882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20989
a4186cff
PT
20990 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20991 (__libc_stack_end): Do not use attribute_relro.
20992 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20993 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 20994 to libthread-provided value.
a4186cff
PT
20995 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20996 attribute_relro.
5d5722e8 20997
37233df9
TS
209982012-05-10 Thomas Schwinge <thomas@schwinge.name>
20999
be971a2b
TS
21000 [BZ #3748]
21001 * bits/libc-lock.h (__libc_once_get): New macro.
21002 * sysdeps/mach/bits/libc-lock.h: Likewise.
21003 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21005 instead of using implementation details.
21006
37233df9
TS
21007 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21008 * libio/freopen.c: Likewise.
21009 * libio/freopen64.c: Likewise.
21010 * misc/syslog.c: Likewise.
21011 * nscd/connections.c: Likewise.
21012 * nscd/netgroupcache.c: Likewise.
21013 * sysdeps/posix/getcwd.c: Likewise.
21014
38de94a5
RM
210152012-05-10 Roland McGrath <roland@hack.frob.com>
21016
21017 * math/w_ilogbf.c: Add #include <limits.h>.
21018
67530489
ST
210192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21020
a4186cff 21021 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21022 path instead of returning without unlocking.
21023
67530489
ST
21024 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21025 immediate-write ioctls.
21026 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21027
5aa3a74a
TS
210282012-05-10 Thomas Schwinge <thomas@schwinge.name>
21029
18bad2ae
TS
21030 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21031 __builtin_frame_address instead of making assumptions about the
21032 location of the return address relative to DATA. Force early load of
21033 the return address.
21034 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21035 __builtin_frame_address.
21036
5aa3a74a
TS
21037 dup3 for GNU Hurd.
21038 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21039 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21040 implement dup3 and do some further code clean-ups.
21041 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21042 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21043
ecd0de9a
ST
210442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21045
cd9fa985
ST
21046 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21047
a4186cff
PT
21048 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21049 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21050 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21051 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21052 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21053 d->port.lock.
802ca5a5 21054
a4186cff
PT
21055 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21056 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21057 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21058
bcf55240
TS
210592012-05-10 Thomas Schwinge <thomas@schwinge.name>
21060
6960eb42
TS
21061 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21062 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21063 definitions.
21064
eb43375f
TS
21065 accept4 for GNU Hurd.
21066 * include/sys/socket.h (__libc_accept4): New prototype.
21067 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21068 to implement __libc_accept4.
21069 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21070 __libc_accept4.
21071 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21072
bcf55240
TS
21073 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21074 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21075 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21076 signal-defines.sym.
21077
6178c55b
ST
210782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21079
a4186cff 21080 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21081
6f080c2f
TS
210822012-05-10 Thomas Schwinge <thomas@schwinge.name>
21083
21084 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21085 assertion on O_CLOEXEC flag.
21086 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21087 * hurd/intern-fd.c: Likewise.
21088 * hurd/port2fd.c: Likewise.
21089
bcfe3a54
ST
210902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21091
21092 [BZ #3906]
21093 * bits/in.h (IPV6_PKTINFO): Define new macro.
21094 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21095
89c9aa49
AZ
210962012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21097
21098 [BZ #13954]
21099 [BZ #13955]
21100 [BZ #13956]
21101 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21103 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21104 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21105 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21106 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21107 * math/libm-test.inc (logb_test) : Additional logb tests.
21108
021db4be
AJ
211092012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21110 Andreas Jaeger <aj@suse.de>
21111
21112 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21113 * configure: Regenerated.
21114 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21115 * config.make.in (link-obsolete-rpc): New substituted variable.
21116 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21117 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21118 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21119 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21120 so that libc.a contains the symbols.
21121 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21122 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21123 * sunrpc/auth_none.c: Likewise.
21124 * sunrpc/auth_unix.c: Likewise.
21125 * sunrpc/authdes_prot.c: Likewise.
21126 * sunrpc/authuxprot.c: Likewise.
21127 * sunrpc/clnt_gen.c: Likewise.
21128 * sunrpc/clnt_perr.c: Likewise.
21129 * sunrpc/clnt_raw.c: Likewise.
21130 * sunrpc/clnt_simp.c: Likewise.
21131 * sunrpc/clnt_tcp.c: Likewise.
21132 * sunrpc/clnt_udp.c: Likewise.
21133 * sunrpc/clnt_unix.c: Likewise.
21134 * sunrpc/des_crypt.c: Likewise.
21135 * sunrpc/des_soft.c: Likewise.
21136 * sunrpc/get_myaddr.c: Likewise.
21137 * sunrpc/key_call.c: Likewise.
21138 * sunrpc/key_prot.c: Likewise.
21139 * sunrpc/netname.c: Likewise.
21140 * sunrpc/pm_getmaps.c: Likewise.
21141 * sunrpc/pm_getport.c: Likewise.
21142 * sunrpc/pmap_clnt.c: Likewise.
21143 * sunrpc/pmap_prot.c: Likewise.
21144 * sunrpc/pmap_prot2.c: Likewise.
21145 * sunrpc/pmap_rmt.c: Likewise.
21146 * sunrpc/publickey.c: Likewise.
21147 * sunrpc/rpc_cmsg.c: Likewise.
21148 * sunrpc/rpc_common.c: Likewise.
21149 * sunrpc/rpc_dtable.c: Likewise.
21150 * sunrpc/rpc_prot.c: Likewise.
21151 * sunrpc/rpc_thread.c: Likewise.
21152 * sunrpc/rtime.c: Likewise.
21153 * sunrpc/svc.c: Likewise.
21154 * sunrpc/svc_auth.c: Likewise.
21155 * sunrpc/svc_raw.c: Likewise.
21156 * sunrpc/svc_run.c: Likewise.
21157 * sunrpc/svc_tcp.c: Likewise.
21158 * sunrpc/svc_udp.c: Likewise.
21159 * sunrpc/svc_unix.c: Likewise.
21160 * sunrpc/svcauth_des.c: Likewise.
21161 * sunrpc/xcrypt.c: Likewise.
21162 * sunrpc/xdr.c: Likewise.
21163 * sunrpc/xdr_array.c: Likewise.
21164 * sunrpc/xdr_float.c: Likewise.
21165 * sunrpc/xdr_intXX_t.c: Likewise.
21166 * sunrpc/xdr_mem.c: Likewise.
21167 * sunrpc/xdr_rec.c: Likewise.
21168 * sunrpc/xdr_ref.c: Likewise.
21169 * sunrpc/xdr_sizeof.c: Likewise.
21170 * sunrpc/xdr_stdio.c: Likewise.
21171
b5c086a2
RM
211722012-05-10 Roland McGrath <roland@hack.frob.com>
21173
21174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21175 change. Update copyright years.
21176
6d74dd09
JM
211772012-05-10 Joseph Myers <joseph@codesourcery.com>
21178
21179 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21180
28e72501
MK
211812012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21182 Joseph Myers <joseph@codesourcery.com>
21183 Paul Pluzhnikov <ppluzhnikov@google.com>
21184
21185 [BZ #14012]
21186 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21187 requiring rpcgen.
21188 [cross-compiling] (extra-libs): Likewise.
21189 [cross-compiling] (extra-libs-others): Likewise.
21190 [cross-compiling] (librpcsvc-routines): Likewise.
21191 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21192 [cross-compiling] (omit-deps): Likewise.
21193 (sunrpc-CPPFLAGS): New variable.
21194 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21195 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21196 (cross-rpcgen-objs): New variable.
21197 (extra-objs): Append $(cross-rpcgen-objs).
21198 ($(cross-rpcgen-objs)): New rule.
21199 ($(objpfx)cross-rpcgen): Likewise.
21200 (rpcgen-cmd): Define to use $(built-program-file). Expand
21201 comment.
21202 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21203 ($(objpfx)x%.stmp): Likewise.
21204 * sunrpc/proto.h [IS_IN_build] (_): Define.
21205 [IS_IN_build] (_libc_intl_domainname): Likewise.
21206
c8c59454
L
212072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21208
21209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21210 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21211 and R_X86_64_TPOFF64.
21212
6f27cd16
JM
212132012-05-10 Joseph Myers <joseph@codesourcery.com>
21214
21215 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21216 sysdeps/unix/sysv/syscalls.list.
21217 (stime): Likewise.
21218 (utime): Likewise.
21219 * sysdeps/unix/sysv/syscalls.list: Remove file.
21220
02467e1c
PE
212212012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21222
21223 [BZ #3440]
21224 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21225 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21226 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21227 (__LC_IDENTIFICATION): Make these macros useful in #if
21228 expressions, as required by C99.
21229
da392631
AS
212302012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21231
21232 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21233 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21234 after this.
21235
8115f29b
L
212362012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21237
21238 * stdlib/longlong.h: Updated from GCC.
21239
bdd74070
AJ
212402012-05-09 Andreas Jaeger <aj@suse.de>
21241
edfe0dbe
AJ
21242 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21243 default is first entry.
21244 (run_mode): Set type.
21245 (main): Remove informal message about syslog.
21246 (options): Fix typo.
21247
bcfe3a54
ST
21248 [BZ #14053]
21249 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21250 to asm.
bcfe3a54
ST
21251 (lrint): Likewise.
21252 (llrintf): Likewise.
21253 (llrint): Likewise.
21254 (rint): Likewise.
21255 (rintf): Likewise.
21256 (nearbyint): Likewise.
21257 (nearbyintf): Likewise.
bdd74070 21258
91d8d69e
AJ
212592012-05-09 Andreas Jaeger <aj@suse.de>
21260 Pedro Alves <palves@redhat.com>
21261
21262 * nscd/nscd.c (run_mode): Use enum.
21263 (main): Cleanup coding style issue.
21264
bb90b80b
AJ
212652012-05-09 Alexandre Oliva <aoliva@redhat.com>
21266 Andreas Jaeger <aj@suse.de>
21267
bcfe3a54
ST
21268 * nscd/nscd.c (go_background): Replaced with...
21269 (run_mode): ... this.
bb90b80b 21270 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21271 (options): Add -F --foreground.
21272 (main): Implement it.
21273 (parse_opt): Parse it.
bb90b80b 21274
1a4b75a1
AJ
212752012-05-09 Andreas Jaeger <aj@suse.de>
21276
21277 [BZ #14083]
21278 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21279 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21280 -Wconversion warning.
21281 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21282 Likewise.
21283
b1cc2472
JM
212842012-05-09 Joseph Myers <joseph@codesourcery.com>
21285
21286 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21287 == 0.
21288 (LC_ALL): Use macro-int-constant.
21289 (LC_COLLATE): Likewise.
21290 (LC_CTYPE): Likewise.
21291 (LC_MESSAGES): Likewise.
21292 (LC_MONETARY): Likewise.
21293 (LC_NUMERIC): Likewise.
21294 (LC_TIME): Likewise.
21295 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21296 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21298 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21299 Specify type.
21300 [C99-based standards] (float_t): Expect type.
21301 [C99-based standards] (double_t): Expect type.
21302 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21303 type.
21304 [C99-based standards] (HUGE_VALL): Likewise.
21305 [C99-based standards] (INFINITY): Likewise.
21306 [C99-based standards] (NAN): Likewise.
21307 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21308 [C99-based standards] (FP_NAN): Likewise.
21309 [C99-based standards] (FP_NORMAL): Likewise.
21310 [C99-based standards] (FP_SUBNORMAL): Likewise.
21311 [C99-based standards] (FP_ZERO): Likewise.
21312 [C99-based standards] (FP_FAST_FMA): Use
21313 optional-macro-int-constant. Specify type. Require == 1.
21314 [C99-based standards] (FP_FAST_FMAF): Likewise.
21315 [C99-based standards] (FP_FAST_FMAL): Likewise.
21316 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21317 [C99-based standards] (FP_ILOGBNAN): Likewise.
21318 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21319 Specify type.
21320 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21321 [C99-based standards] (math_errhandling): Specify type.
21322 [ISO99 || ISO11] (signgam): Do not allow.
21323 [non-C99-based standards] (copysignf): Do not allow.
21324 [non-C99-based standards] (exp2f): Likewise.
21325 [non-C99-based standards] (log2f): Likewise.
21326 [non-C99-based standards] (modff): Allow.
21327 [non-C99-based standards] (erff): Do not allow.
21328 [non-C99-based standards] (erfcf): Likewise.
21329 [non-C99-based standards] (gammaf): Likewise.
21330 [non-C99-based standards] (hypotf): Likewise.
21331 [non-C99-based standards] (j0f): Likewise.
21332 [non-C99-based standards] (j1f): Likewise.
21333 [non-C99-based standards] (jnf): Likewise.
21334 [non-C99-based standards] (lgammaf): Likewise.
21335 [non-C99-based standards] (tgammaf): Likewise.
21336 [non-C99-based standards] (y0f): Likewise.
21337 [non-C99-based standards] (y1f): Likewise.
21338 [non-C99-based standards] (ynf): Likewise.
21339 [non-C99-based standards] (isnanf): Likewise.
21340 [non-C99-based standards] (acoshf): Likewise.
21341 [non-C99-based standards] (asinhf): Likewise.
21342 [non-C99-based standards] (atanhf): Likewise.
21343 [non-C99-based standards] (cbrtf): Likewise.
21344 [non-C99-based standards] (expm1f): Likewise.
21345 [non-C99-based standards] (ilogbf): Likewise.
21346 [non-C99-based standards] (log1pf): Likewise.
21347 [non-C99-based standards] (logbf): Likewise.
21348 [non-C99-based standards] (nextafterf): Likewise.
21349 [non-C99-based standards] (remainderf): Likewise.
21350 [non-C99-based standards] (rintf): Likewise.
21351 [non-C99-based standards] (scalbf): Likewise.
21352 [non-C99-based standards] (copysignl): Likewise.
21353 [non-C99-based standards] (exp2l): Likewise.
21354 [non-C99-based standards] (log2l): Likewise.
21355 [non-C99-based standards] (modfl): Allow.
21356 [non-C99-based standards] (erfl): Do not allow.
21357 [non-C99-based standards] (erfcl): Likewise.
21358 [non-C99-based standards] (gammal): Likewise.
21359 [non-C99-based standards] (hypotl): Likewise.
21360 [non-C99-based standards] (j0l): Likewise.
21361 [non-C99-based standards] (j1l): Likewise.
21362 [non-C99-based standards] (jnl): Likewise.
21363 [non-C99-based standards] (lgammal): Likewise.
21364 [non-C99-based standards] (tgammal): Likewise.
21365 [non-C99-based standards] (y0l): Likewise.
21366 [non-C99-based standards] (y1l): Likewise.
21367 [non-C99-based standards] (ynl): Likewise.
21368 [non-C99-based standards] (isnanl): Likewise.
21369 [non-C99-based standards] (acoshl): Likewise.
21370 [non-C99-based standards] (asinhl): Likewise.
21371 [non-C99-based standards] (atanhl): Likewise.
21372 [non-C99-based standards] (cbrtl): Likewise.
21373 [non-C99-based standards] (expm1l): Likewise.
21374 [non-C99-based standards] (ilogbl): Likewise.
21375 [non-C99-based standards] (log1pl): Likewise.
21376 [non-C99-based standards] (logbl): Likewise.
21377 [non-C99-based standards] (nextafterl): Likewise.
21378 [non-C99-based standards] (remainderl): Likewise.
21379 [non-C99-based standards] (rintl): Likewise.
21380 [non-C99-based standards] (scalbl): Likewise.
21381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21382 [non-C99-based standards] (FP_*): Do not allow.
21383 [C99-based standards] (FP_*): Change to
21384 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21385 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21386 allow.
21387 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21388 (SIG_ERR): Likewise.
21389 [X/Open-based standards] (SIG_HOLD): Likewise.
21390 (SIG_IGN): Likewise.
21391 (SIGABRT): Use macro-int-constant. Specify type. Require
21392 positive value.
21393 (SIGFPE): Likewise.
21394 (SIGILL): Likewise.
21395 (SIGINT): Likewise.
21396 (SIGSEGV): Likewise.
21397 (SIGTER): Likewise.
21398 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21399 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21400 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21401 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21402 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21403 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21404 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21405 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21406 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21407 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21408 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21409 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21410 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21411 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21412 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21413 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21414 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21415 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21416 [X/Open-based standards] (SIGTRAP): Likewise.
21417 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21418 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21419 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21420 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21421 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21422 allow.
21423
b9f1922d
IW
214242012-05-08 Ian Wienand <ianw@vmware.com>
21425
21426 [BZ #14080]
21427 * time/tzset.c (__tzset_parse_tz): Update default rules for
21428 daylight time changes in the Energy Policy Act of 2005.
21429
1db86e88
AJ
214302012-05-09 Andreas Jaeger <aj@suse.de>
21431
21432 [BZ #13983]
21433 * elf/ldconfig.c (parse_conf): Change string to make clear that
21434 ldconfig only issued a warning if ld.so.conf does not exist.
21435
dee4a4e3
DM
214362012-05-08 David S. Miller <davem@davemloft.net>
21437
ee0db190
DM
21438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21439 movxtod instead of popping the value on the stack.
21440
dee4a4e3
DM
21441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21442
6a43ec98
CD
214432012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21444
21445 * config.h.in: Add HAVE_ARM_PCS_VFP.
21446
05c2c961
RMG
214472012-05-08 Roland Mc Grath <roland@hack.frob.com>
21448
bcfe3a54
ST
21449 [BZ #13979]
21450 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21451 checking but the checks are disabled for any reason.
05c2c961 21452
4b30f61a
L
214532012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21454
21455 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21456 and ELF64_R_TYPE with ELFW(R_TYPE).
21457
eee2bc67
JM
214582012-05-08 Joseph Myers <joseph@codesourcery.com>
21459
7ea5391a
JM
21460 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21461 (ulimit): Likewise.
21462
eee2bc67
JM
21463 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21464 (settimeofday): Likewise.
21465
abb66a67
MF
214662012-05-08 Mike Frysinger <vapier@gentoo.org>
21467
21468 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21469 a struct th_u2 inside the union, and move tu_block/tu_code into
21470 a new th_u3 union of tu_block/tu_code inside of that. Move
21471 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21472 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21473 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21474 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21475 (th_stuff): Change to th_u1.tu_stuff.
21476 (th_data): Define.
21477 (th_msg): Change to th_u1.th_u2.tu_data.
21478
7f18b530
DM
214792012-05-07 David S. Miller <davem@davemloft.net>
21480
05760585
DM
21481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21482
7f18b530
DM
21483 [BZ #14074]
21484 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21485 (SETUP_PIC_REG): Use it.
21486 (SETUP_PIC_REG_LEAF): Use it.
21487
495fd99f
JM
214882012-05-07 Joseph Myers <joseph@codesourcery.com>
21489
21490 [BZ #13885]
21491 [BZ #13923]
21492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21493 USE_AS_EXPM1L.
21494 (EXPL_FINITE): Likewise.
21495 (FLDLOG): Likewise.
21496 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21497 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21498 e_expl.S.
21499 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21500 USE_AS_EXPM1L.
21501 (EXPL_FINITE): Likewise.
21502 (FLDLOG): Likewise.
21503 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21504 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21505 e_expl.S.
21506 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21507 test of -max_value argument for long double.
21508 * sysdeps/i386/fpu/libm-test-ulps: Update.
21509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21510
6693d694
DM
215112012-05-06 David S. Miller <davem@davemloft.net>
21512
21513 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21514 quad soft-float symbols whose references which are compiler
21515 generated.
21516 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21517
6c23e11c
JM
215182012-05-06 Joseph Myers <joseph@codesourcery.com>
21519
d8b82cad
JM
21520 [BZ #13884]
21521 [BZ #13914]
21522 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21523 USE_AS_EXP10L.
21524 (EXPL_FINITE): Likewise.
21525 (FLDLOG): Likewise.
21526 (c0): Likewise.
21527 (c1): Likewise.
21528 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21529 Adjust comments for base varying.
21530 (__expl_finite): Change alias to EXPL_FINITE.
21531 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21532 e_expl.S.
21533 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21534 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21535 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21536 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21537 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21538 USE_AS_EXP10L.
21539 (EXPL_FINITE): Likewise.
21540 (FLDLOG): Likewise.
21541 (c0): Likewise.
21542 (c1): Likewise.
21543 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21544 Adjust comments for base varying.
21545 (__expl_finite): Change alias to EXPL_FINITE.
21546 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21547 tests for bugs.
21548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21549
6c23e11c
JM
21550 [BZ #14064]
21551 * math/libm-test.inc (check_float_internal): Correct ulp
21552 calculation for subnormal expected results.
21553
29ba805c
AJ
215542012-05-06 Andreas Jaeger <aj@suse.de>
21555
21556 * Makeconfig (+math-flags): New, set to -frounding-math.
21557 (+cflags): Add +math-flags so that all of glibc gets compiled with
21558 it.
21559
21560 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21561
7b17aeda
JM
215622012-05-05 Joseph Myers <joseph@codesourcery.com>
21563
5779f134
JM
21564 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21565 Disable one test.
21566
41498f4d
JM
21567 [BZ #13787]
21568 [BZ #13922]
21569 [BZ #14036]
21570 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21571 (__ieee754_expl): Allow for and saturate large arguments.
21572 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21573 (u_threshold): Likewise.
21574 (__exp): Call __ieee754_exp before checking for overflow and
21575 underflow.
21576 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21577 (u_threshold): Likewise.
21578 (__expf): Call __ieee754_expf before checking for overflow and
21579 underflow.
21580 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21581 (u_threshold): Likewise.
21582 (__expl): Call __ieee754_expl before checking for overflow and
21583 underflow.
21584 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21585 (__ieee754_expl): Allow for and saturate large arguments.
21586 * math/libm-test.inc (exp_test): Add another test. Do not allow
21587 missing overflow exception on overflow.
21588 (expm1_test): Do not allow missing overflow exception on overflow.
21589
6698b8bf
JM
21590 * sysdeps/i386/fpu/e_expl.c: Move to ...
21591 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21592 rather than using inline asm.
21593 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21594 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21595 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21596
7b17aeda
JM
21597 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21598 (nice): Likewise.
21599 (poll): Likewise.
21600 (signal): Likewise.
21601 (time): Likewise.
21602 (times): Likewise.
21603
f7c85819
JM
216042012-05-04 Joseph Myers <joseph@codesourcery.com>
21605
21606 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21607 sysdeps/unix/common/syscalls.list.
21608 (fchmod): Likewise.
21609 (fchown): Likewise.
21610 (ftruncate): Likewise.
21611 (getrusage): Likewise.
21612 (gettimeofday): Likewise.
21613 (setpgid): Likewise.
21614 (setregid): Likewise.
21615 (setreuid): Likewise.
21616 (sigaction): Likewise.
21617 (truncate): Likewise.
21618 (vhangup): Likewise.
21619 * sysdeps/unix/common/syscalls.list: Remove file.
21620 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21621 * sysdeps/unix/sysv/linux/Implies: Likewise.
21622
336270d0
L
216232012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21624
21625 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21627 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21628 Moved to ...
21629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21630 Here.
21631 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21632 to ...
21633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21634 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21635 to ...
21636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21637 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21638 to ...
21639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21640 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21641 to ...
21642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21643 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21644 to ...
21645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21646 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21647 to ...
21648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21649 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21650 to ...
21651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21652 Here.
21653 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21654 to ...
21655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21656 Here.
21657 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21658 to ...
21659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21660 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21661 Moved to ...
21662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21663 Here.
21664 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21665 to ...
21666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21667
d128e450
JM
216682012-05-04 Joseph Myers <joseph@codesourcery.com>
21669
fa8ee516
JM
21670 * sysdeps/unix/common/bits/dirent.h: Remove file.
21671 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21672
d128e450
JM
21673 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21674 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21675 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21676 * sysdeps/unix/bsd/isatty.c: Likewise.
21677 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21678 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21679 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21680
ff8faaf0 216812012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21682
62881be4 21683 [BZ #13563]
31dc8730
AZ
21684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21685 long double comparison inaccuracies.
21686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21688
6fef930c
AS
216892012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21690
21691 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21692 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21693
8f203e6c
JM
216942012-05-04 Joseph Myers <joseph@codesourcery.com>
21695
21696 [BZ #14049]
21697 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21698 nonzero digits before rounding a hex value.
21699 * stdlib/tst-strtod.c (tests): Add another test.
21700
5197d9c2
AK
217012012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21702
21703 * sysdeps/s390/fpu/libm-test-ulps: Update.
21704
f0c1dedf
AJ
217052012-05-03 Andreas Jaeger <aj@suse.de>
21706
21707 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21708 does not get optimized out.
21709 (malloc_opt_barrier): New.
21710
a65ef2ae 217112012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21712 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21713
2b942cb7 21714 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21715 intermediate file deletion.
2b942cb7 21716 (generated): Add .symlist files.
a65ef2ae 21717
54b71e02
JM
217182012-05-03 Joseph Myers <joseph@codesourcery.com>
21719
21720 [BZ #13775]
21721 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21722 Redirect under this condition.
21723 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21724 [__USE_GNU] (__dprintf_chk): Not under this condition.
21725 [__USE_GNU] (__vdprintf_chk): Likewise.
21726 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21727 under this condition.
21728 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21729 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21730 [__USE_XOPEN2K8] (vdprintf): Likewise.
21731 [__USE_GNU] (__dprintf_chk): Not under this condition.
21732 [__USE_GNU] (__vdprintf_chk): Likewise.
21733 [__USE_GNU] (dprintf): Likewise.
21734 [__USE_GNU] (vdprintf): Likewise.
21735
d3dfcc41
RM
217362012-05-03 Roland McGrath <roland@hack.frob.com>
21737
21738 * elf/Makefile (common-generated): Set this instead of generated for
21739 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21740 $(all-built-dso)-derived lists.
21741
7ac30cc5
AJ
217422012-05-03 Andreas Jaeger <aj@suse.de>
21743
0c51e550
AJ
21744 * sysdeps/i386/fpu/libm-test-ulps: Update.
21745
7ac30cc5
AJ
21746 * FAQ: Removed.
21747 * FAQ.in: Likewise.
21748 * scripts/gen-FAQ.pl: Likewise.
21749 * manual/install.texi (Installation): Point to online location of
21750 FAQ.
21751 * Makefile (files-for-dist): Remove FAQ.
21752 (FAQ): Remove.
21753
d4c2917f
AM
217542012-05-02 Allan McRae <allan@archlinux.org>
21755
21756 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21757 (LDFLAGS-reldepmod5.so): Likewise.
21758 (LDFLAGS-reldep6mod1.so): Likewise.
21759 (LDFLAGS-reldep6mod4.so): Likewise.
21760 (LDFLAGS-reldep8mod3.so): Likewise.
21761 (LDFLAGS-unload4mod1.so): Likewise.
21762 (LDFLAGS-unload4mod2.so): Likewise.
21763 (LDFLAGS-tst-initorder): Likewise.
21764 (LDFLAGS-tst-initordera2.so): Likewise.
21765 (LDFLAGS-tst-initordera3.so): Likewise.
21766 (LDFLAGS-tst-initordera4.so): Likewise.
21767 (LDFLAGS-tst-initorderb2.so): Likewise.
21768 (LDFLAGS-noload): Likewise.
21769 (LDFLAGS-next): Likewise.
21770 (LDFLAGS-order2mod1.so): Likewise.
21771 (LDFLAGS-order2mod2.so): Likewise.
21772 (LDFLAGS-tst-initorder2): Likewise.
21773 (LDFLAGS-tst-initorder2a.so): Likewise.
21774 (LDFLAGS-tst-initorder2b.so): Likewise.
21775 (LDFLAGS-tst-initorder2c.so): Likewise.
21776 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21777
d77f993f
DM
217782012-05-02 David S. Miller <davem@davemloft.net>
21779
21780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21781
171a70b4
PP
217822012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21783
21784 [BZ #14055]
21785 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21786
0be196ad
AJ
217872012-05-02 Andreas Jaeger <aj@suse.de>
21788
21789 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21790 since we manipulate rounding mode.
21791 (CPPFLAGS-test-idouble.c): Likewise.
21792 (CPPFLAGS-test-ifloat.c): Likewise.
21793 (CFLAGS-test-ldouble.c): Likewise.
21794 (CFLAGS-test-double.c): Likewise.
21795 (CFLAGS-test-float.c): Likewise.
21796 (CFLAGS-test-misc.c): Likewise.
21797 (CFLAGS-test-test-fenv.c): Likewise.
21798
4f9d04aa
AZ
217992012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21800
2b942cb7
RM
21801 [BZ #2550]
21802 [BZ #2570]
21803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21804 comparisons to determine direction to adjust input.
4f9d04aa 21805
82a79e7d
RM
218062012-05-01 Roland McGrath <roland@hack.frob.com>
21807
f5a01ca9
RM
21808 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21809 output to the target.
21810
90fe4186
RM
21811 * scripts/localplt.awk: New file.
21812 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21813 (check-localplt-CFLAGS): Variable removed.
21814 ($(all-built-dso:=.jmprel)): New static pattern rule.
21815 (generated): Add those targets.
21816 (localplt-built-dso): New variable.
21817 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21818
21819 * elf/check-localplt.c: File removed.
21820
82397ed6
RM
21821 * scripts/check-execstack.awk: New file.
21822 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21823 (check-execstack-CFLAGS): Variable removed.
21824 ($(objpfx)check-execstack.h): Target removed.
21825 ($(objpfx)execstack-default): New target.
21826 (generated): Add that instead of check-execstack.h.
21827 ($(all-built-dso:=.phdr)): New static pattern rule.
21828 (generated): Add those targets.
21829 * elf/check-execstack.c: File removed.
21830
82a79e7d
RM
21831 * scripts/check-textrel.awk: New file.
21832 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21833 (check-textrel-CFLAGS): Variable removed.
21834 (all-built-dso): Use := to define.o
21835 ($(all-built-dso:=.dyn)): New static pattern rule.
21836 (generated): Add those targets.
21837 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21838 * config.make.in (READELF): New substituted variable.
21839 * elf/check-textrel.c: File removed.
21840
62fde54f 218412012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21842
615605c9
JM
21843 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21844 allow.
21845 * conform/data/ctype.h-data [C99-based standards] (isblank):
21846 Expect function.
21847 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21848 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21850 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21851 Specify type. Require positive value.
21852 (EILSEQ): Likewise.
21853 (ERANGE): Likewise.
21854 [ISO || POSIX] (EILSEQ): Do not expect.
21855 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21856 Specify type. Require positive value.
21857 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21858 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21859 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21860 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21861 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21862 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21863 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21864 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21865 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21866 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21867 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21868 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21869 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21870 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21871 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21872 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21873 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21874 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21875 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21876 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21877 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21878 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21879 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21880 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21881 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21882 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21883 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21884 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21885 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21886 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21887 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21888 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21889 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21890 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21891 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21892 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21893 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21894 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21895 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21896 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21897 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21898 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21899 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21900 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21901 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21902 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21903 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21904 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21905 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21906 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21907 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21908 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21909 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21910 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21911 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21912 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21913 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21914 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21915 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21916 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21917 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21918 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21919 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21920 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21921 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21922 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21923 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21924 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21925 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21926 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21927 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21928 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21929 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21930 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21931 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21932 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21933 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21934 Require >= 2.
21935 (FLT_ROUNDS): Expect as macro, not constant.
21936 (FLT_MANT_DIG): Use macro-int-constant.
21937 (DBL_MANT_DIG): Likewise.
21938 (LDBL_MANT_DIG): Likewise.
21939 (FLT_DIG): Likewise.
21940 (DBL_DIG): Likewise.
21941 (LDBL_DIG): Likewise.
21942 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21943 (DBL_MIN_EXP): Likewise.
21944 (LDBL_MIN_EXP): Likewise.
21945 (FLT_MAX_EXP): Use macro-int-constant.
21946 (DBL_MAX_EXP): Likewise.
21947 (LDBL_MAX_EXP): Likewise.
21948 (FLT_MAX_10_EXP): Likewise.
21949 (DBL_MAX_10_EXP): Likewise.
21950 (LDBL_MAX_10_EXP): Likewise.
21951 (FLT_MAX): Use macro-constant.
21952 (DBL_MAX): Likewise.
21953 (LDBL_MAX): Likewise.
21954 (FLT_EPSILON): Use macro-constant. Give upper bound.
21955 (DBL_EPSILON): Likewise.
21956 (LDBL_EPSILON): Likewise.
21957 (FLT_MIN): Likewise.
21958 (DBL_MIN): Likewise.
21959 (LDBL_MIN): Likewise.
21960 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21961 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21962 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21963 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21964 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21965 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21966 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21967 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21968 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21969 [ISO11] (FLT_TRUE_MIN): Likewise.
21970 [ISO11] (LDBL_TRUE_MIN): Likewise.
21971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21972 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21973 (SCHAR_MIN): Use macro-int-constant. Specify type.
21974 (SCHAR_MAX): Likewise.
21975 (UCHAR_MAX): Likewise.
21976 (CHAR_MIN): Likewise.
21977 (CHAR_MAX): Likewise.
21978 (MB_LEN_MAX): Use macro-int-constant.
21979 (SHRT_MIN): Use macro-int-constant. Specify type.
21980 (SHRT_MAX): Likewise.
21981 (USHRT_MAX): Likewise.
21982 (INT_MAX): Likewise.
21983 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21984 bound negative.
21985 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21986 bound with "U".
21987 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21988 bound with "L".
21989 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21990 bound negative. Suffix upper bound with "L".
21991 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21992 bound with "UL".
21993 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21994 Specify type.
21995 [C99-based standards] (LLONG_MAX): Likewise.
21996 [C99-based standards] (ULLONG_MAX): Likewise.
21997 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21998 == 0.
21999 [ISO11] (max_align_t): Require type.
22000 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22001
c9140a62
JM
22002 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22003 from $CFLAGS, without defining away __attribute__ calls.
22004 (checknamespace): Use $CFLAGS_namespace.
22005
9af0bf29
JM
22006 * conform/conformtest.pl (@keywords): Only include C99 keywords
22007 for standards based on C99 or C11.
22008
343222a2
JM
22009 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22010 Disable tests.
22011 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22012 UNIX98]: Likewise.
22013
661f8cf0
JM
22014 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22015 usability of symbols in #if.
22016
ee74b9cb
JM
22017 * conform/conformtest.pl: If macro or constant types start
22018 "promoted:", expect the symbol to be of the following type
22019 promoted by the integer promotions.
62fde54f 22020
aafc49b3
JM
22021 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22022 in one place. Also handle "macro-constant".
22023
fefdf574
JM
22024 * conform/conformtest.pl: Only accept expected macro values with
22025 "==". Parse all "macro" lines in one place.
22026 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22027
f2d922fe
JM
22028 * conform/conformtest.pl: Handle braced types on "constant" lines
22029 instead of handling "typed-constant".
22030 * conform/data/signal.h-data: Use "constant" instead of
22031 "typed-constant".
22032
d22956c9
JM
22033 * conform/conformtest.pl: Handle "optional-" at start of lines in
22034 one place rather than duplicating several cases. Handle each
22035 format of "macro" line with initial "optional-".
22036
028e2e38
JM
22037 * conform/conformtest.pl: Only accept expected constant or
22038 optional-constant values with "==". Parse all "constant" lines in
22039 one place. Parse all "optional-constant" lines in one place.
22040 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22041 * conform/data/fmtmsg.h-data: Likewise.
22042 * conform/data/netinet/in.h-data: Likewise.
22043 * conform/data/tar.h-data: Likewise.
22044 * conform/data/limits.h-data: Use "==" form on "constant" and
22045 "optional-constant" lines.
22046
1b8f2850
JM
22047 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22048 Use -std=c99 for XOPEN2K.
22049 (@knownproblems): Remove.
22050 (newtoken): Don't check %isknown.
22051
a05a144b
JM
22052 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22053 Do not expect macro.
22054 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22055 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22056 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22057 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22058 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22059 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22060 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22061 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22062 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22063 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22064 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22065 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22066 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22067 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22068 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22069 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22070 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22071 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22072 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22073 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22074 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22075 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22076 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22078 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22079 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22080 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22081 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22082 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22083 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22084 [XPG3] (acosh): Likewise.
22085 [XPG3] (asinh): Likewise.
22086 [XPG3] (atanh): Likewise.
22087 [XPG3] (cbrt): Likewise.
22088 [XPG3] (expm1): Likewise.
22089 [XPG3] (ilogb): Likewise.
22090 [XPG3] (log1p): Likewise.
22091 [XPG3] (logb): Likewise.
22092 [XPG3] (nextafter): Likewise.
22093 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22094 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22095 [XPG3] (remainder): Likewise.
22096 [XPG3] (rint): Likewise.
22097 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22098 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22099 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22100 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22101 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22102 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22103 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22104 [UNIX98 || XOPEN2K] (scalb): Expect.
22105 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22106 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22107 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22108 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22109 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22110 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22111 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22112 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22113 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22114 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22115 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22116 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22117 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22118 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22119 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22120 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22121 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22122 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22123 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22124 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22125 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22126 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22127 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22128 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22129 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22130 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22131 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22132 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22133 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22134 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22135 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22136 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22137 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22138 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22139 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22140 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22141 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22142 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22143 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22144 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22145 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22146 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22147 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22148 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22149 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22150 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22151 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22152 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22153 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22154 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22155 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22156 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22157 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22158 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22159 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22160 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22161 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22162 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22163 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22164 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22165 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22166 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22167 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22168 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22169 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22170 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22171 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22172 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22173 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22174 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22175 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22176 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22177 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22178 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22179 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22180 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22181 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22182 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22183 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22184 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22185 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22186 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22187 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22188 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22189 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22190 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22191 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22192 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22193 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22194 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22195 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22196 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22197 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22198 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22199 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22200 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22201 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22202 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22203 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22204 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22205 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22206 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22207 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22208 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22209 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22210 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22211 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22212 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22213 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22214 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22215 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22216 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22217 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22218 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22219 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22220 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22221 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22222 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22223 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22224 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22225 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22226 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22227 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22228 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22229 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22230 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22231 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22232 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22233 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22234 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22235 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22236 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22237 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22238 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22239 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22240 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22241 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22242
73c5ebe3
JM
22243 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22244 _XOPEN_SOURCE_EXTENDED for XPG4.
22245
39c33b6c
JM
22246 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22247
62fde54f
JM
22248 * Makeconfig (localtime): Remove variable.
22249 (inst_localtime-file): Likewise.
22250
0741d64c
AS
222512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22252
22253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22254 Update.
22255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22256 Update.
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22258 Update.
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22260 Update.
22261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22262 Update.
22263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22264 Update.
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22266 Update.
22267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22268 Update.
22269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22270 Update.
22271
7cb029ee
JM
222722012-05-01 Joseph Myers <joseph@codesourcery.com>
22273
22274 [BZ #2550]
22275 [BZ #2570]
22276 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22277 comparisons to determine direction to adjust input.
22278 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22279 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22280 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22281 Likewise.
22282 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22283 Likewise.
22284 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22285 Likewise.
22286 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22287 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22288 Likewise.
22289 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22290 Likewise.
22291 * math/libm-test.inc (nexttoward_test): Add more tests.
22292
412bd966
AS
222932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22294
22295 [BZ #14040]
22296 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22297 in version GLIBC_2.1, not GLIBC_2.0.
22298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22299 Likewise.
22300
9568c0c2
JM
223012012-04-30 Joseph Myers <joseph@codesourcery.com>
22302
adfbc8ac
JM
22303 [BZ #13942]
22304 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22305 (1 - x) * (1 + x).
22306 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22307 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22308 * math/libm-test.inc (acos_test): Add more tests.
22309 (asin_test): Likewise.
22310 * sysdeps/i386/fpu/libm-test-ulps: Update.
22311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22312
5ba3cc69
JM
22313 [BZ #14034]
22314 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22315 of square root.
22316 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22317 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22318 * math/libm-test.inc (acos_test_tonearest): New function.
22319 (acos_test_towardzero): Likewise.
22320 (acos_test_downward): Likewise.
22321 (acos_test_upward): Likewise.
22322 (asin_test_tonearest): Likewise.
22323 (asin_test_towardzero): Likewise.
22324 (asin_test_downward): Likewise.
22325 (asin_test_upward): Likewise.
22326 (main): Call the new functions.
22327 * sysdeps/i386/fpu/libm-test-ulps: Update.
22328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22329
9568c0c2
JM
22330 [BZ #13884]
22331 [BZ #13924]
22332 * math/e_exp10.c: Include <float.h>.
22333 (__ieee754_exp10): Handle underflow here rather than multiplying
22334 large negative argument by M_LN10.
22335 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22336 of __ieee754_expf.
22337 * math/e_exp10l.c: Include <float.h>.
22338 (__ieee754_exp10l): Handle underflow here rather than multiplying
22339 large negative argument by M_LN10l.
22340 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22341 spurious overflow exception on underflow.
22342
5ac3ea17
MP
223432012-04-29 Marek Polacek <polacek@redhat.com>
22344
22345 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22346 (__fortify_function): New macro.
22347 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22348 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22349 __extern_always_inline.
22350 * libio/bits/stdio2.h: Likewise.
22351 * libio/bits/stdio.h: Likewise.
22352 * string/string.h: Likewise.
22353 * string/bits/string3.h: Likewise.
22354 * include/stdio.h: Likewise.
22355 * stdlib/bits/stdlib.h: Likewise.
22356 * stdlib/stdlib.h: Likewise.
22357 * rt/bits/mqueue2.h: Likewise.
22358 * rt/mqueue.h: Likewise.
22359 * posix/bits/unistd.h: Likewise.
22360 * posix/unistd.h: Likewise.
22361 * io/bits/poll2.h: Likewise.
22362 * io/bits/fcntl2.h: Likewise.
22363 * io/fcntl.h: Likewise.
22364 * io/sys/poll.h: Likewise.
22365 * misc/bits/syslog.h: Likewise.
22366 * misc/bits/syslog-ldbl.h: Likewise.
22367 * misc/sys/syslog.h: Likewise.
22368 * socket/bits/socket2.h: Likewise.
22369 * socket/sys/socket.h: Likewise.
22370 * debug/tst-chk1.c: Likewise.
22371 * wcsmbs/bits/wchar2.h: Likewise.
22372 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22373 * wcsmbs/wchar.h: Likewise.
22374
ecf0ebfb
AJ
223752012-04-29 Andreas Jaeger <aj@suse.de>
22376
22377 * Makerules (tests): Remove enable-check-abi protection.
22378 (check-abi-warn): Remove.
22379 (check-abi-%): Remove check-abi-warn usage.
22380
22381 * configure.in: Remove check-abi configure option.
22382 * configure: Regenerated.
22383 * config.make.in (enable-check-abi): Remove.
22384
6d5c57fa
AS
223852012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22386
24c5d07e 22387 [BZ #14033]
ded5180a
AS
22388 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22389 double functions to double *_finite functions.
22390
7e0d315d
AS
22391 [BZ #13941]
22392 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22393 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22394 LDBL_MIN_EXP.
22395 * stdio-common/Makefile (tests): Add tst-sprintf3.
22396 * stdio-common/tst-sprintf3.c: New file.
22397
6d5c57fa
AS
22398 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22399 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22400
0749ff8b
JM
224012012-04-28 Joseph Myers <joseph@codesourcery.com>
22402
22403 * conform/conformtest.pl: Remove duplicate typed-constant
22404 handling.
22405
8dbd5d7b
DM
224062012-04-28 David S. Miller <davem@davemloft.net>
22407
22408 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22409 (check-abi-%): Remove AWK script prerequisite and explicit
22410 abilist directory.
22411 (check-abi): Rewrite to just diff the symlist with the abilist.
22412 (config-tls, config-abi-config): Delete, no longer used.
22413 (update-abi-%): Remove AWK script and explicit abilist directory.
22414 (update-abi): Rewrite to simply compare and conditionally copy the
22415 symlist and the sysdep abilist file. Remove update-abi-config
22416 checks.
22417 * abilist/ld.abilist: Remove.
22418 * abilist/libBrokenLocale.abilist: Remove.
22419 * abilist/libanl.abilist: Remove.
22420 * abilist/libcrypt.abilist: Remove.
22421 * abilist/libdl.abilist: Remove.
22422 * abilist/librt.abilist: Remove.
22423 * abilist/libthread_db.abilist: Remove.
22424 * abilist/libutil.abilist: Remove.
22425 * scripts/extract-abilist.awk: Remove.
22426 * scripts/merge-abilist.awk: Remove.
22427 * sysdeps/generic/libcidn.abilist: New file.
22428 * sysdeps/generic/libnss_compat.abilist: New file.
22429 * sysdeps/generic/libnss_db.abilist: New file.
22430 * sysdeps/generic/libnss_dns.abilist: New file.
22431 * sysdeps/generic/libnss_files.abilist: New file.
22432 * sysdeps/generic/libnss_hesiod.abilist: New file.
22433 * sysdeps/generic/libnss_nis.abilist: New file.
22434 * sysdeps/generic/libnss_nisplus.abilist: New file.
22435 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22436 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22437 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22438 file.
22439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22440 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22441 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22442 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22443 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22444 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22445 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22446 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22447 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22448 file.
22449 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22450 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22451 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22452 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22453 file.
22454 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22455 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22456 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22457 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22458 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22459 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22460 file.
22461 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22462 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22463 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22464 file.
22465 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22467 New file.
22468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22469 New file.
22470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22471 New file.
22472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22473 New file.
22474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22475 New file.
22476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22477 New file.
22478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22479 New file.
22480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22481 New file.
22482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22483 New file.
22484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22485 New file.
22486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22487 New file.
22488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22489 New file.
22490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22491 New file.
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22493 file.
22494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22495 New file.
22496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22497 New file.
22498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22499 file.
22500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22501 New file.
22502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22503 New file.
22504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22505 file.
22506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22507 New file.
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22509 New file.
22510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22511 New file.
22512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22513 New file.
22514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22515 New file.
22516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22517 New file.
22518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22520 file.
22521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22522 New file.
22523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22524 file.
22525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22526 file.
22527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22528 file.
22529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22530 file.
22531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22532 file.
22533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22534 New file.
22535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22536 file.
22537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22538 file.
22539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22540 New file.
22541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22542 file.
22543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22545 file.
22546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22547 New file.
22548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22549 file.
22550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22551 file.
22552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22553 file.
22554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22555 file.
22556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22557 file.
22558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22559 New file.
22560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22561 file.
22562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22563 file.
22564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22565 New file.
22566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22567 file.
22568 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22569 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22570 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22571 file.
22572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22573 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22574 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22575 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22576 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22577 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22578 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22579 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22580 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22581 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22584 file.
22585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22586 New file.
22587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22588 file.
22589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22590 file.
22591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22592 file.
22593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22594 file.
22595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22596 file.
22597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22598 New file.
22599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22600 New file.
22601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22602 file.
22603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22604 New file.
22605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22606 file.
22607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22609 file.
22610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22611 New file.
22612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22613 file.
22614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22615 file.
22616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22617 file.
22618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22619 file.
22620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22621 file.
22622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22623 New file.
22624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22625 New file.
22626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22627 file.
22628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22629 New file.
22630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22631 file.
22632
41d73a1b
JM
226332012-04-28 Joseph Myers <joseph@codesourcery.com>
22634
22635 * conform/conformtest.pl: Fix typo in handling typed-constant from
22636 allow-header.
22637
28aeeda4
JM
226382012-04-27 Joseph Myers <joseph@codesourcery.com>
22639
adae8f5e
JM
22640 * README: Cut down references to pre-2.6 Linux kernels and
22641 Linuxthreads. Update lists of configurations in libc and ports
22642 and sort alphabetically. Say "or newer" with Linux kernel version
22643 requirements.
22644
28aeeda4
JM
22645 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22646
a462cb63
RA
226472012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22648
22649 [BZ #887]
22650 * math/libm-test.inc (logb_test_downward): New test to expose
22651 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22652 rounding mode.
22653
6ad3493e
JM
226542012-04-27 Joseph Myers <joseph@codesourcery.com>
22655
22656 [BZ #14027]
22657 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22658 to be done.
22659 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22660 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22661
2ce4f015
JM
226622012-04-26 Joseph Myers <joseph@codesourcery.com>
22663
5aeb141a
JM
22664 * sysdeps/unix/i386/brk.S: Remove file.
22665 * sysdeps/unix/i386/dl-brk.S: Likewise.
22666 * sysdeps/unix/i386/pipe.S: Likewise.
22667 * sysdeps/unix/i386/sigreturn.S: Likewise.
22668 * sysdeps/unix/i386/syscall.S: Likewise.
22669 * sysdeps/unix/i386/vfork.S: Likewise.
22670 * sysdeps/unix/i386/wait.S: Likewise.
22671
7143acae
JM
22672 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22673 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22674
2ce4f015
JM
22675 * configure.in (arm*-none*): Do not allow without
22676 --enable-hacker-mode.
22677 (netbsd*): Remove case setting base_os.
22678 (386bsd*): Likewise.
22679 (freebsd*): Likewise.
22680 (bsdi*): Likewise.
22681 (osf*): Likewise.
22682 (sunos*): Likewise.
22683 (ultrix*): Likewise.
22684 (newsos*): Likewise.
22685 (dynix*): Likewise.
22686 (*bsd*): Likewise.
22687 (sysv*): Likewise.
22688 (isc*): Likewise.
22689 (esix*): Likewise.
22690 (sco*): Likewise.
22691 (minix*): Likewise.
22692 (irix4*): Likewise.
22693 (irix6*): Likewise.
22694 (solaris[2-9]*): Likewise.
22695 (none): Likewise.
22696 * configure: Regenerated.
22697
0ac229c8
AZ
226982012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22699
22700 [BZ #11521]
22701 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22702 overflow or cancellation in calculating denominator.
22703 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22705 down expression to avoid unexpected rounding in newer GCCs.
22706 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22707
33f244f4
DM
227082012-04-26 David S. Miller <davem@davemloft.net>
22709
22710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22711 long-double compat symbols.
22712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22725
cfa1f3e8
DM
227262012-04-25 David S. Miller <davem@davemloft.net>
22727
22728 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22729 HWCAP_* values only after the memory barriers have been defined.
22730 (atomic_full_barrier): Define.
22731 (atomic_read_barrier): Define.
22732 (atomic_write_barrier): Define.
22733
6e236b92
SP
227342012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22735
22736 * shlib-versions: Add libgcc_s version information.
22737 * sysdeps/generic/libgcc_s.h: Remove.
22738 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22739 libgcc_s.h.
22740 * sysdeps/gnu/unwind-resume.c: Likewise.
22741 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22742
aab39a09
DM
227432012-04-25 David S. Miller <davem@davemloft.net>
22744
22745 * sysdeps/unix/sparc/brk.S: Delete.
22746 * sysdeps/unix/sparc/dl-brk.S: Delete.
22747 * sysdeps/unix/sparc/pipe.S: Delete.
22748 * sysdeps/unix/sparc/sysdep.S: Delete.
22749 * sysdeps/unix/sparc/sysdep.h: Delete.
22750 * sysdeps/unix/sparc/vfork.S: Delete.
22751 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22752 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22753 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22754 ret_ERRVAL, r0, r1, MOVE): Define.
22755 (JUMPTARGET): Remove.
22756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22757 sysdeps/unix/sparc/sysdep.h
22758 (ENTRY, END): Remove.
22759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22760
a3cc4f48
JM
227612012-04-25 Joseph Myers <joseph@codesourcery.com>
22762
2ed8cda2
JM
22763 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22764 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22765 -DIS_IN_build.
22766
35d76d59
JM
22767 * timezone/README: Update upstream location and email address for
22768 tzcode and tzdata.
22769 * timezone/zdump.c: Update from tzcode 2012b.
22770 * timezone/zic.c: Likewise.
22771
a3cc4f48
JM
22772 * configure.in (libc_cv_as_needed): Remove test.
22773 * configure: Regenerated.
22774 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22775 conditional definition.
22776 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22777 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22778 * config.make.in (have-as-needed): Remove variable.
22779
ceab42c3
SP
227802012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22781 Paul Pluzhnikov <ppluzhnikov@google.com>
22782
22783 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22784 strings correctly.
22785
3ce2865f
CLT
227862012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22787
22788 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22789 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22790 * sysdeps/sh/strlen.S: Likewise.
22791
f37e0d68
JM
227922012-04-24 Joseph Myers <joseph@codesourcery.com>
22793
ae186e9a
JM
22794 * sysdeps/unix/fork.S: Remove file.
22795 * sysdeps/unix/i386/fork.S: Likewise.
22796 * sysdeps/unix/sparc/fork.S: Likewise.
22797
b96914af
JM
22798 * sysdeps/unix/system.c: Remove file.
22799 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22800
f37e0d68
JM
22801 * sysdeps/unix/getegid.S: Remove file.
22802 * sysdeps/unix/geteuid.S: Likewise.
22803
87ef29ca
RM
228042012-04-24 Roland McGrath <roland@hack.frob.com>
22805
83bcd236
RM
22806 * scripts/check-localplt.awk: New file.
22807 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22808 of diff.
22809 * scripts/data/localplt-generic.data: Add a comment.
22810
87ef29ca
RM
22811 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22812 NODE when __dir_mkfile failed.
22813 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22814 Reported by Ludovic Courtès <ludo@gnu.org>.
22815
e5a6e567
AJ
228162012-04-24 Andreas Jaeger <aj@suse.de>
22817
22818 * Makerules (common-clean): Also remove gen-as-const-headers
22819 files.
22820
c1820385
JM
228212012-04-24 Joseph Myers <joseph@codesourcery.com>
22822
22823 * Makerules (native-compile): Do not change working directory for
22824 build. Use $(OUTPUT_OPTION) in command.
22825 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22826
94e02fc4
AZ
228272012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22828
22829 [BZ #13886]
22830 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22831 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22832 * math/libm-test.inc (floor_test): Add more tests.
22833 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22834
3a533ca3
JM
228352012-04-24 Joseph Myers <joseph@codesourcery.com>
22836
940ab4b3
JM
22837 * sysdeps/unix/getdents.c: Remove file.
22838 * sysdeps/unix/sysv/getdents.c: Likewise.
22839 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22840
90e037bd
JM
22841 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22842 sysdeps/unix/mman/syscalls.list.
22843 (mmap): Likewise.
22844 (mprotect): Likewise.
22845 (msync): Likewise.
22846 (munmap): Likewise.
22847 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22848 * sysdeps/unix/mman/syscalls.list: Remove.
22849 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22850
3a533ca3
JM
22851 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22852 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22853 * configure: Regenerated.
22854 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22855 $(libgcc_s_suffix).
22856 * config.make.in (libgcc_s_suffix): Remove variable.
22857
1ad743de
JM
228582012-04-23 Joseph Myers <joseph@codesourcery.com>
22859
4ad451e2
JM
22860 * sysdeps/unix/sysv/gethostname.c: Move to ...
22861 * sysdeps/posix/gethostname.c: ... here.
22862
5e37ce39
JM
22863 * sysdeps/unix/execve.S: Remove file.
22864
1ad743de
JM
22865 * sysdeps/unix/_exit.S: Remove file.
22866
4e681b5b
AJ
228672012-04-23 Andreas Jaeger <aj@suse.de>
22868
22869 [BZ #13739]
22870 * manual/Makefile: Remove make dist support, there's no
22871 need for a stand-alone documentation tar ball.
22872 (TEXI2DVI): Define always, it's not in Makeconfig.
22873 (dist): Removed.
22874 (tar-it): Removed.
22875 (edition): Removed.
22876 (glibc-doc-$(edition).tar): Removed
22877 (%.Z): Removed.
22878 (%.gz): Removed.
22879 (%.uu): Removed.
22880 (ETAGS): Remove, it's in Makeconfig.
22881 (move-if-change): Remove, it's in Makeconfig.
22882
38686a03 228832012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22884
22885 [BZ #13970]
22886 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22887 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22888 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22889 (strtod_l, strtof_l, strtold_l): Remove __wur.
22890 It is not necessarily an error to ignore strtol's return value.
22891 One can reliably look at the stored endptr to decide whether
22892 the number had valid syntax.
22893
7c0616fa
AJ
228942012-04-21 Andreas Jaeger <aj@suse.de>
22895
803cb6b7 22896 [BZ #13739]
7c0616fa
AJ
22897 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22898
b0fe253f
JM
228992012-04-21 Joseph Myers <joseph@codesourcery.com>
22900
22901 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22902 * sysdeps/unix/sysv/Versions: Remove file.
22903
8280f22d
MT
229042012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22905
22906 [BZ #13927]
22907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22908
75ce411f 229092012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22910
22911 [BZ #7064]
22912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22913 version from __vm86.
22914
097d59fa
JM
229152012-04-20 Joseph Myers <joseph@codesourcery.com>
22916
a90f3bcb
JM
22917 * sysdeps/unix/common/lxstat.c: Remove file.
22918 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22919
edc7ea78
JM
22920 * sysdeps/unix/sysv/Makefile: Remove file.
22921
cb78c221
JM
22922 * sysdeps/unix/sysv/direct.h: Remove file.
22923
efa6a45f
JM
22924 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22925 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22926 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22927 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22928 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22929 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22930 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22931
9c9f2d0c
JM
22932 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22933
4541c83b
JM
22934 * sysdeps/unix/xmknod.c: Remove file.
22935 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22936
f5d153a0
JM
22937 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22938
aa746595
JM
22939 * sysdeps/unix/sysv/i386/time.S: Remove file.
22940
cce5905e
JM
22941 * sysdeps/unix/fxstat.c: Remove file.
22942 * sysdeps/unix/xstat.c: Likewise.
22943 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22944
37fa3841
JM
22945 * sysdeps/unix/sysv/sigaction.c: Remove file.
22946
ff1962a3
JM
22947 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22948 (sysdep_headers): Remove variable.
22949 [termio.h not in sysdep_headers] (generated): Likewise.
22950 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22951 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22952 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22953 * sysdeps/unix/sysv/tcflow.c: Likewise.
22954 * sysdeps/unix/sysv/tcflush.c: Likewise.
22955 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22956 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22957 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22958 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22959 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22960
e7740d31
JM
22961 * sysdeps/unix/siglist.c: Remove file.
22962
ee06f18b
JM
22963 * sysdeps/unix/getppid.S: Remove file.
22964
097d59fa
JM
22965 * sysdeps/unix/mkdir.c: Remove file.
22966 * sysdeps/unix/rmdir.c: Likewise.
22967
ff3d51ec
AS
229682012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22969
22970 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22971 ERR_MAX value.
22972 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22973 errlist-compat value.
22974
50f81fd7
DM
229752012-04-18 David S. Miller <davem@davemloft.net>
22976
22977 * sysdeps/generic/memcopy.h (reg_char): Delete.
22978 * debug/strcat_chk.c: Use char, not reg_char.
22979 * debug/strcpy_chk.c: Likewise.
22980 * debug/strncat_chk.c: Likewise.
22981 * debug/strncpy_chk.c: Likewise.
22982 * string/memchr.c: Likewise.
22983 * string/memrchr.c: Likewise.
22984 * string/rawmemchr.c: Likewise.
22985 * string/strcat.c: Likewise.
22986 * string/strchr.c: Likewise.
22987 * string/strchrnul.c: Likewise.
22988 * string/strcmp.c: Likewise.
22989 * string/strcpy.c: Likewise.
22990 * string/strncat.c: Likewise.
22991 * string/strncmp.c: Likewise.
22992 * string/strncpy.c: Likewise.
22993
8ff41c46
WS
229942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22995
22996 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22997 __builtin_memcopy is called when src and dest ranges are known to not
22998 overlap.
22999
6b652f46
WS
230002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23001
23002 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23003 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23004 fwd_align_merge macro call.
23005 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23006 bwd_align_merge macro call.
23007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23008
b282631e
WS
230092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23010
23011 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23012 bwd_align_merge macros.
23013 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23014 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23015 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23016
95aa737c
DM
230172012-04-18 David S. Miller <davem@davemloft.net>
23018
23019 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23020
7a99a614
AJ
230212012-04-18 Andreas Jaeger <aj@suse.de>
23022
23023 [BZ# 6794]
23024 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23025 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23026 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23027
23028 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23029 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23030 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23031
23032 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23033 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23034 Adjust for changed ldbl-128 files.
23035
23036 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23037 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23038 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23039
e5270c23
DM
230402012-04-17 David S. Miller <davem@davemloft.net>
23041
23042 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23043
fb5e92c9
AS
230442012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23045
23046 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23047 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23048 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23049 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23050 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23051 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23052
76da7265
AZ
230532012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23054
23055 [BZ #6794]
23056 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23057 * math/libm-test.inc: Add ilogb errno and exception tests.
23058 * math/w_ilogb.c: New file: ilogb wrapper.
23059 * math/w_ilogbf.c: New file: ilogbf wrapper.
23060 * math/w_ilogbl.c: New file: ilogbl wrapper.
23061 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23062 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23063 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23064 exception being thrown with 0.0 as argument.
23065 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23066 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23067 exception being thrown with 0.0 as argument.
23068 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23069 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23070 exception being thrown with 0.0 as argument.
23071 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23072 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23073 exception being thrown with 0.0 as argument.
23074 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23075 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23076 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23077 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23078 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23079 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23080 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23081 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23082 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23083
0396e69d
PB
230842012-04-17 Petr Baudis <pasky@ucw.cz>
23085
23086 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23087 with altivec.
23088
750b5926
MP
230892012-04-16 Marek Polacek <polacek@redhat.com>
23090
23091 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23092
751728a1
MP
230932012-04-16 Marek Polacek <polacek@redhat.com>
23094
23095 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23096 operands of fdivp instruction.
23097
34a27407
L
230982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23099
23100 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23101 * elf/tst-auditmod3b.c: Likewise.
23102 * elf/tst-auditmod4b.c: Likewise.
23103 * elf/tst-auditmod5b.c: Likewise.
23104 * elf/tst-auditmod6b.c: Likewise.
23105 * elf/tst-auditmod6c.c: Likewise.
23106 * elf/tst-auditmod7b.c: Likewise.
23107 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23108 * sysdeps/x86_64/preconfigure.in: Likewise.
23109 * sysdeps/x86_64/preconfigure: Regenerated.
23110
7e73e17d
L
231112012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23112
23113 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23114 __ILP32__.
23115
c7a6ab72
AB
231162012-04-13 Antoine Balestrat <merkil33@gmail.com>
23117
23118 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23119 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23120
a9e8e0e0
CL
231212012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23122
23123 [BZ #13973]
23124 * locale/iso-639.def: Fix gl language name. Spotted by
23125 Yaron Shahrabani.
23126
ec98af7d
RM
231272012-04-12 Roland McGrath <roland@hack.frob.com>
23128
23129 [BZ #2074]
23130 * libio/libio.h (__io_write_fn): Update comment.
23131
247c3ede
PB
231322012-04-12 Petr Baudis <pasky@ucw.cz>
23133
23134 [BZ #2074]
23135 * stdio.texi (Hook Functions): The user provided writer function
23136 is not allowed to return -1.
23137
55939d6d
DM
231382012-04-11 David S. Miller <davem@davemloft.net>
23139
23140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23141
90020f5a
MF
231422012-04-11 Mike Frysinger <vapier@gentoo.org>
23143
23144 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23145 Add a leading slash to rtkaio.
23146
288f9098
JM
231472012-04-11 Jim Meyering <meyering@redhat.com>
23148
90020f5a
MF
23149 [BZ #11959]
23150 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23151 It is not necessarily an error to ignore fwrite's return
23152 value. One can reliably use ferror to test for errors after
23153 the fact.
288f9098 23154
4be2b570
L
231552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23156
23157 * bits/types.h (__snseconds_t): New type.
23158 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23159
23160 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23162 (__SNSECONDS_T_TYPE): Likewise.
23163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23164 (__SNSECONDS_T_TYPE): Likewise.
23165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23166 (__SNSECONDS_T_TYPE): Likewise.
23167
288f9098 231682012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23169
23170 [BZ #2636]
23171 * manual/time.texi (Processor Time): Return type of times is
23172 elapsed real time since an arbitrary point in the past.
23173 (CPU Time): Move CLK_TCK from here...
23174 (Processor Time): ...to here. Correct description.
23175 * manual/conf.texi (Constants for Sysconf): Correct description of
23176 _SC_CLK_TCK.
23177
d7dd4413
DM
231782012-04-10 David S. Miller <davem@davemloft.net>
23179
23180 [BZ #13967]
23181 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23182 where the is a gap between DT_REL(A) and DT_JMPREL.
23183
b46068fc
L
231842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23185
23186 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23187 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23188 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23189
73d65cc3
SP
231902012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23191
23192 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23193 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23194 (dl_main): Handle --inhibit-cache.
23195 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23196 _dl_inhibit_cache.
23197 * elf/dl-load.c (_dl_map_object): Use it.
23198 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23199
bcc8d661
JM
232002012-04-09 Joseph Myers <joseph@codesourcery.com>
23201
8f9a2fae
JM
23202 [BZ #13872]
23203 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23204 (__ieee754_powl): Saturate large exponents rather than testing for
23205 overflow of y*log2(x).
23206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23207 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23208 exceptions.
23209
bcc8d661
JM
23210 [BZ #11521]
23211 * math/s_ctan.c: Include <float.h>.
23212 (__ctan): Avoid internal overflow or cancellation in calculating
23213 denominator.
23214 * math/s_ctanf.c: Likewise.
23215 * math/s_ctanl.c: Likewise.
23216 * math/s_ctanh.c: Likewise.
23217 * math/s_ctanhf.c: Likewise.
23218 * math/s_ctanhl.c: Likewise.
23219 * math/libm-test.inc (ctan_test): Add more tests.
23220 (ctanh_test): Likewise.
23221 * sysdeps/i386/fpu/libm-test-ulps: Update.
23222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23223
823fbbb4
AJ
232242012-04-09 Andreas Jaeger <aj@suse.de>
23225
03879793
AJ
23226 [BZ #6894]
23227 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23228 is an optional BSD extension.
23229
823fbbb4
AJ
23230 [BZ #10254]
23231 * manual/stdio.texi (Opening Streams): Document additional fopen
23232 parameters.
23233
8de131cb
RM
232342012-04-09 Roland McGrath <roland@hack.frob.com>
23235
23236 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23237 %eax without telling the compiler.
23238
c0ed9d7d
CD
232392012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23240
23241 [BZ # 13963]
23242 * manual/install.texi: Use sourceware.org.
23243
c483f6b4
JM
232442012-04-09 Joseph Myers <joseph@codesourcery.com>
23245
d7dd9453
JM
23246 [BZ #13873]
23247 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23248 (__ieee754_pow): Generate overflow and underflow using huge*huge
23249 and tiny*tiny rather than just returning constant infinity or zero
23250 for large exponents.
23251 * math/libm-test.inc (pow_test): Require overflow exceptions for
23252 applicable cases of large exponents.
23253
c483f6b4
JM
23254 [BZ #706]
23255 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23256 (__ieee754_pow): Use iterative multiplication algorithm only for
23257 integer exponents with absolute value below 1024. Check for odd
23258 integer exponents when using algorithm for real exponents.
23259 * math/libm-test.inc (pow_test): Add more tests.
23260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23261
d2de7579
JM
232622012-04-08 Joseph Myers <joseph@codesourcery.com>
23263
23264 [BZ #13705]
23265 * math/libm-test.inc (exp_test): Do not allow overflow exception
23266 on underflow test.
23267
f77f1232
AJ
232682012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23269
23270 [BZ #13705]
23271 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23272 instead of __kernel_standard_f.
23273
3884932b
MF
232742012-04-08 Mike Frysinger <vapier@gentoo.org>
23275
23276 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23277 * sysdeps/x86_64/memset_chk.S: Likewise.
23278
54472e9c
AJ
232792012-04-08 Andreas Jaeger <aj@suse.de>
23280
6ab0fbfc
AJ
23281 [BZ #10153]
23282 * manual/startup.texi (Environment Access): Describe return value
23283 for putenv and setenv.
23284
61efba8c
AJ
23285 [BZ #6895]
23286 * manual/filesys.texi (Directory Entries): Add description for
23287 DT_LNK.
23288
95c3f29a
AJ
23289 [BZ #6890]
23290 * manual/filesys.texi (Directory Entries): Clarify that it's file
23291 system not operating system in the description of DT_UNKNOWN.
23292
54472e9c
AJ
23293 [BZ #6578]
23294 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23295
624254b1
SC
232962012-04-08 Stephen Compall <s11@member.fsf.org>
23297
23298 [BZ #6649]
23299 * manual/llio.texi (Opening and Closing Files): Add cross
23300 reference to explain mode argument.
23301
1e4920e0
MF
233022012-04-07 Mike Frysinger <vapier@gentoo.org>
23303
23304 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23305 * sysdeps/x86_64/memset_chk.S: Likewise.
23306
5ed848f3
DM
233072012-04-07 David S. Miller <davem@davemloft.net>
23308
23309 * elf/elf.h (R_SPARC_WDISP10): Define.
23310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23311 R_SPARC_SIZE32.
23312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23313 R_SPARC_SIZE64 and R_SPARC_H34.
23314
96154cd8
CD
233152012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23316
23317 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23318 conditions and remove no longer applicable assertion.
23319
9904dc47
L
233202012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23321
23322 * bits/byteswap.h: Include <features.h>.
23323 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23324 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23325
f8887d0a
L
233262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23327
23328 * bits/byteswap.h (__bswap_16): Removed.
23329 Include <bits/byteswap-16.h> to get __bswap_16.
23330 * sysdeps/i386/bits/byteswap.h: Likewise.
23331 * sysdeps/s390/bits/byteswap.h: Likewise.
23332 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23333 * bits/byteswap-16.h: New file.
23334 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23335 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23336 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23337 * string/Makefile (headers): Add bits/byteswap-16.h.
23338
62470f60
PP
233392012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23340
23341 [BZ #13895]
23342 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23343 extra indirection.
23344 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23345 * nss/tst-nss-static.c: New.
23346
4dad7bab
RM
233472012-04-06 Robert Millan <rmh@gnu.org>
23348
23349 [BZ #6486]
23350 * manual/llio.texi (File Position Primitive): lseek
23351 refers to WHENCE when it really means OFFSET.
23352
e9142a17
AJ
233532012-04-06 Andreas Jaeger <aj@suse.de>
23354
2c040eff
AJ
23355 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23356 strncmp declarations.
23357
e9142a17
AJ
23358 * abilist/libc.abilist: Add __poll and __ppoll.
23359
ff9f1c5f
DM
233602012-04-05 David S. Miller <davem@davemloft.net>
23361
dcd2ae90
DM
23362 * scripts/check-local-headers.sh: Accept a host triplet in the
23363 path matched by the exclude regexp.
23364
993eb054
DM
23365 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23366 definition.
23367 * sysdeps/powerpc/powerpc32/dl-machine.h
23368 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23369 * sysdeps/s390/s390-32/dl-machine.h
23370 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23371 * sysdeps/sparc/sparc32/dl-machine.h
23372 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23373 * sysdeps/sparc/sparc64/dl-machine.h
23374 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23375
ff9f1c5f
DM
23376 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23377 lazy binding.
48e2e132 23378 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23379 undefined symbol errors.
23380
48e2e132 23381 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23382 DT_NEEDED entries.
23383
e80d6f94
MM
233842012-04-05 Michael Matz <matz@suse.de>
23385
23386 [BZ #13592]
23387 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23388
349fa79f
AJ
233892012-04-05 Andreas Jaeger <aj@suse.de>
23390
23391 [BZ #13908]
23392 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23393 comment.
23394
f402708f
KK
233952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23396
23397 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23398 which ROUND is no valid rounding mode.
23399
2ecccfc9
KK
234002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23401
23402 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23403 read again.
23404 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23405
8a53f50f
KK
234062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23407
23408 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23409 an exception using FPU order intentionally.
23410
234112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23412
23413 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23414 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23415 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23416 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23417
d653abb7
SJ
234182012-04-05 Simon Josefsson <simon@josefsson.org>
23419
23420 [BZ #12340]
23421 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23422 EINVAL when BUFLEN is too smal.
23423
c3b1bf7d
TS
234242012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23425
23426 [BZ #13553]
23427 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23428 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23429
b1aa60f3
AJ
234302012-04-03 Andreas Jaeger <aj@suse.de>
23431
c3b1bf7d 23432 [BZ #13938]
67f60a26
AJ
23433 * manual/setjmp.texi (System V contexts): Fix sentence.
23434
b1aa60f3
AJ
23435 [BZ #13926]
23436 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23437 New macro for this case.
23438 [!__GNUC__] (__bswap_64): New inline function for this case.
23439 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23440 * bits/byteswap.h: Likewise.
23441 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23442 ull, guard with __GLIBC_HAVE_LONG_LONG.
23443
23444 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23445 __GLIBC_HAVE_LONG_LONG.
23446
23447 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23448 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23449
39c59c35
TMQMF
234502012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23451
23452 [BZ #13691]
23453 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23454 inptr and inend, rather than using last_ch.
23455
135ffda8
DM
234562012-04-02 David S. Miller <davem@davemloft.net>
23457
23458 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23459 * stdio-common/printf-parse.h (read_int): Change return type to
23460 'int', return -1 on INT_MAX overflow.
23461 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23462 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23463 overflows INT_MAX. Check for overflow of in-format-string precision
23464 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23465 SIZE_MAX not INT_MAX for integer overflow test.
23466 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23467 skip the construct in the format string but do not record anything.
23468 * stdio-common/bug22.c: Adjust to test both width/prevision
23469 INT_MAX overflow as well as total length INT_MAX overflow. Check
23470 explicitly for proper errno values.
23471
228c019e
TS
234722012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23473
302cadd3
TS
23474 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23475 CHAR_MAX.
23476 * string/test-strcmp.c [! WIDE]: Likewise.
23477 * time/tst-mktime2.c: Likewise for INT_MAX.
23478 * string/test-string.h: #include <sys/param.h> for MIN.
23479
228c019e
TS
23480 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23481 * sysdeps/i386/init-first.c (init): Likewise.
23482 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23483 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23484 * sysdeps/sh/init-first.c (init): Likewise.
23485
cfa633f5
UD
234862012-04-01 Ulrich Drepper <drepper@gmail.com>
23487
23488 * po/ru.po: Update from translation team.
d1635ef8 23489 * po/vi.po: Likewise.
cfa633f5 23490
6cd0a5ea
SP
234912012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23492
23493 * resolv/nss_dns/dns-host.c: Merge copyright years.
23494
4b43400f
LD
234952012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23496
23497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23498 Optimize memcpy with prefetch if
23499 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23500 src, dst pointers have unequal 16 byte alignments.
23501
48c41d04
SP
235022012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23503
23504 [BZ #13928]
23505 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23506 from a CNAME entry and return the minimum ttl for the query.
23507 (gaih_getanswer_slice): Likewise.
23508
b8dc394d
JL
235092012-03-30 Jeff Law <law@redhat.com>
23510
23511 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23512 due to long keys.
23513 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23514 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23515
2f5a5ed0
JL
23516 * resolv/nss_dns/dns-host.c: Update copyright year.
23517
1d39e359
UD
235182012-03-30 Ulrich Drepper <drepper@gmail.com>
23519
c030f70c 23520 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23521 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23522
1d39e359
UD
23523 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23524 comments for sendmmsg.
23525
235262012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23527
23528 [BZ #13691]
23529 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23530 with only 1 character between 0x0041 and 0x01b0.
23531 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23532 * wcsmbs/tst-mbsnrtowcs.c: New file.
23533
20fde227
DM
235342012-03-29 David S. Miller <davem@davemloft.net>
23535
23536 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23537 small copies by hand.
23538
984a4237
JL
235392012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23540
23541 [BZ #13761]
23542 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23543 _nss_compat_initgroups_dyn): Fall back to malloc/free
23544 for large group memberships.
23545
18c9d62b
DM
235462012-03-28 David S. Miller <davem@davemloft.net>
23547
88d85d4f
DM
23548 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23549 that branches into memcpy.
23550 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23551 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23553 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23555 bits.
23556 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23557 implementation too.
23558 * sysdeps/sparc/mempcpy.S: New file.
23559
e5aa83e1
DM
23560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23561 the IFUNC routine in the libc case.
23562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23563
88570753
DM
23564 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23565 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23566 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23567 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23568 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23569 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23570 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23571 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23572
249d7567
DM
23573 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23574 loop to 256 bytes instead of 64 bytes and fix test signedness.
23575
18c9d62b
DM
23576 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23577 * sysdeps/sparc/sparc32/Makefile: rather than here...
23578 * sysdeps/sparc/sparc64/Makefile: and here.
23579
05f3d1f6
UD
235802012-03-28 Ulrich Drepper <drepper@gmail.com>
23581
23582 * malloc/mallocbug.c: Avoid warnings about unused variables.
23583
86ae07a8
JL
235842012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23585
23586 [BZ #13760]
23587 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23588 in the right place. Discard and retry query if response is
23589 larger than input buffer size.
23590
41bf21a1
JM
235912012-03-28 Joseph Myers <joseph@codesourcery.com>
23592
d6270972
JM
23593 [BZ #369]
23594 [BZ #2678]
23595 [BZ #3866]
23596 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23597 x for large integer exponent.
23598 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23599 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23600 sign of result as needed afterwards.
23601 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23602 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23603 result for underflowing pow the same as for overflow.
23604 (__kernel_standard_l): Handle powl overflow and underflow here
23605 rather than calling __kernel_standard.
23606 * math/libm-test.inc (pow_test): Add more tests.
23607
414fca03 23608 [BZ #3868]
41bf21a1
JM
23609 [BZ #13879]
23610 [BZ #13910]
23611 [BZ #13911]
23612 [BZ #13912]
23613 [BZ #13913]
23614 [BZ #13915]
23615 [BZ #13916]
23616 [BZ #13917]
23617 [BZ #13918]
23618 [BZ #13919]
23619 [BZ #13920]
23620 [BZ #13921]
23621 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23622 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23623 (__kernel_standard_l): New function.
23624 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23625 __kernel_standard.
23626 * math/w_acosl.c (__acosl): Likewise.
23627 * math/w_asinl.c (__asinl): Likewise.
23628 * math/w_atan2l.c (__atan2l): Likewise.
23629 * math/w_atanhl.c (__atanhl): Likewise.
23630 * math/w_coshl.c (__coshl): Likewise.
23631 * math/w_exp10l.c (__exp10l): Likewise.
23632 * math/w_exp2l.c (__exp2l): Likewise.
23633 * math/w_fmodl.c (__fmodl): Likewise.
23634 * math/w_hypotl.c (__hypotl): Likewise.
23635 * math/w_j0l.c (__j0l, __y0l): Likewise.
23636 * math/w_j1l.c (__j1l, __y1l): Likewise.
23637 * math/w_jnl.c (__jnl, __ynl): Likewise.
23638 * math/w_lgammal.c (__lgammal): Likewise.
23639 * math/w_log10l.c (__log10l): Likewise.
23640 * math/w_log2l.c (__log2l): Likewise.
23641 * math/w_logl.c (__logl): Likewise.
23642 * math/w_powl.c (__powl): Likewise.
23643 * math/w_remainderl.c (__remainderl): Likewise.
23644 * math/w_scalbl.c (sysv_scalbl): Likewise.
23645 * math/w_sinhl.c (__sinhl): Likewise.
23646 * math/w_sqrtl.c (__sqrtl): Likewise.
23647 * math/w_tgammal.c (__tgammal): Likewise.
23648 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23649 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23650 * math/libm-test.inc (acos_test): Add more tests.
23651 (acosh_test): Likewise.
23652 (asin_test): Likewise.
23653 (atanh_test): Likewise.
23654 (exp_test): Likewise.
23655 (exp10_test): Likewise.
23656 (exp2_test): Likewise.
23657 (expm1_test): Likewise.
23658 (lgamma_test): Likewise.
23659 (log_test): Likewise.
23660 (log10_test): Likewise.
23661 (log1p_test): Likewise.
23662 (log2_test): Likewise.
23663 (pow_test): Do not allow some spurious overflow exceptions.
23664 (sqrt_test): Add more tests.
23665 (tgamma_test): Likewise.
23666 (y0_test): Likewise.
23667 (y1_test): Likewise.
23668 (yn_test): Likewise.
23669
dd62fda6
AB
236702012-03-27 Anton Blanchard <anton@samba.org>
23671
23672 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23673 MAP_HUGETLB.
23674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23675 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23677
1e3cdfda
AJ
236782012-03-27 David S. Miller <davem@davemloft.net>
23679
b855ab85
DM
23680 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23681
1e3cdfda
AJ
23682 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23683 have-as-vis3 check.
23684
236852012-03-27 Andreas Jaeger <aj@suse.de>
23686
23687 * sysdeps/x86_64/elf/configure.in: Moved to ...
23688 * sysdeps/x86_64/configure.in: ... here.
23689 * sysdeps/x86_64/elf/start.S: Moved to ...
23690 * sysdeps/x86_64/start.S: ... here.
23691 * sysdeps/x86_64/elf/configure: Delete.
23692
23693 * sysdeps/x86_64/configure.in: Merge contents from
23694 sysdeps/i386/configure.in (without i686 check).
23695
23696 * sysdeps/i386/elf/Versions: Merge into ...
23697 * sysdeps/i386/Versions: ... this.
23698 * sysdeps/i386/elf/Versions: Delete file.
23699 * sysdeps/i386/elf/start.S: Moved to ...
23700 * sysdeps/i386/start.S: ...here.
23701 * sysdeps/i386/elf/configure.in: Merge into...
23702 * sysdeps/i386/configure.in: ...here.
23703 * sysdeps/i386/elf/configure.in: Delete file.
23704 * sysdeps/i386/elf/configure: Delete file.
23705
23706 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23707 * debug/backtracesyms.c: ... here.
23708 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23709 * debug/backtracesymsfd.c: ... here.
23710 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23711 * sysdeps/generic/ifunc-sel.h: ... here.
23712
23713 * sysdeps/unix/i386/start.c: Delete file.
23714 * sysdeps/unix/sparc/start.c: Delete file.
23715 * sysdeps/unix/start.c: Delete file.
23716
23717 * sysdeps/sh/elf/configure.in: Moved to ...
23718 * sysdeps/sh/configure.in: ... here.
23719 * sysdeps/sh/elf/start.S: Moved to ...
23720 * sysdeps/sh/start.S: ... here.
23721 * sysdeps/sh/elf/configure: Delete file.
23722
23723 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23724 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23725 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23726 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23727 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23728 * sysdeps/powerpc/powerpc64/start.S: here.
23729 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23730 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23731 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23732 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23733 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23734
23735 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23736 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23737 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23738 * sysdeps/powerpc/powerpc32/start.S: ... here.
23739 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23740 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23741 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23742
23743 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23744 * sysdeps/powerpc/ifunc-sel.h: ... here.
23745 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23746 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23747
23748 * sysdeps/sparc/elf/configure.in: Moved to ...
23749 * sysdeps/sparc/configure.in: ... here.
23750 * sysdeps/sparc/elf/configure: Delete file.
23751 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23752 * sysdeps/sparc/sparc32/start.S: ... here.
23753 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23754 * sysdeps/sparc/sparc64/start.S: ... here.
23755 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23756 * sysdeps/sparc/sparc32/Makefile: ... this.
23757 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23758 * sysdeps/sparc/sparc64/Makefile: ... this.
23759
23760 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23761 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23762 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23763 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23764 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23765 * sysdeps/s390/s390-32/setjmp.S: ... here.
23766 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23767 * sysdeps/s390/s390-32/configure.in: ... here.
23768 * sysdeps/s390/s390-32/elf/configure: Delete file.
23769 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23770 * sysdeps/s390/s390-32/start.S: ... here.
23771
23772 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23773 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23774 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23775 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23776 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23777 * sysdeps/s390/s390-64/setjmp.S: ... here.
23778 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23779 * sysdeps/s390/s390-64/configure.in: ... here
23780 * sysdeps/s390/s390-64/elf/configure: Delete file.
23781 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23782 * sysdeps/s390/s390-64/start.S: ... here.
23783 * sysdeps/s390/s390-64/elf/configure: Delete.
23784
23785 * configure.in: Remove support for elf directories in sysdeps.
23786
23787 * configure: Regenerated.
23788 * sysdeps/i386/configure: Regenerated.
23789 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23790 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23791 * sysdeps/s390/s390-32/configure: Regenerated.
23792 * sysdeps/s390/s390-64/configure: Regenerated.
23793 * sysdeps/sh/configure: Regenerated.
23794 * sysdeps/sparc/configure: Regenerated.
23795 * sysdeps/x86_64/configure: Regenerated.
23796
a3f61311
AS
237972012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23798
c876e002
AS
23799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23800
a3f61311
AS
23801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23802 denormal result into account.
23803
ac4c54f0
RM
238042012-03-25 Roland McGrath <roland@hack.frob.com>
23805
23806 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23807 Reported by Allan McRae <allan@archlinux.org>.
23808
6a9b9c02
JL
238092012-03-23 Jeff Law <law@redhat.com>
23810
23811 * nss/getnssent.c (__nss_getent): Fix typo.
23812
4c42a0c1
DM
238132012-03-23 David S. Miller <davem@davemloft.net>
23814
23815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23816
1532c7ac
L
238172012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23818
23819 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23820 to pad to uint64_t for each field.
23821 (dl_tls_index): Replace unsigned long with uint64_t.
23822
3ff42526
PP
238232012-03-23 Daniel Jacobowitz <dmj@google.com>
23824 Paul Pluzhnikov <ppluzhnikov@google.com>
23825
23826 [BZ #6528]
23827 * grp/Makefile (otherlibs): Don't set it.
23828 * inet/Makefile (otherlibs): Likewise.
23829 * login/Makefile (otherlibs): Likewise.
23830 * nscd/Makefile (otherlibs): Likewise.
23831 * posix/Makefile (otherlibs): Likewise.
23832 * pwd/Makefile (otherlibs): Likewise.
23833 * rt/Makefile (otherlibs): Likewise.
23834 * sunrpc/Makefile (otherlibs): Likewise.
23835 * nss/Makefile (otherlibs): Likewise.
23836 Add libnss_files to routines and static-only-routines.
23837 ($(objpfx)getent): Remove rule.
23838 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23839 static-only-routines.
23840
7c69cd14
JM
238412012-03-22 Joseph Myers <joseph@codesourcery.com>
23842
23843 [BZ #13892]
23844 * math/s_cexp.c: Include <float.h>.
23845 (__cexp): Handle exp result overflowing not necessarily
23846 overflowing both real and imaginary parts of result.
23847 * math/s_cexpf.c: Likewise.
23848 * math/s_cexpl.c: Likewise.
23849 * math/libm-test.inc (cexp_test): Add more tests.
23850 * sysdeps/i386/fpu/libm-test-ulps: Update.
23851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23852
81b035fe
L
238532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23854
23855 * include/link.h (ELFW): New macro.
23856 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23857 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23858
1da7940c
L
238592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23860
23861 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23862 with uint64_t.
23863
b749dbb9
L
238642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23865
23866 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23867 declaration.
23868 (struct La_x32_retval): Likewise.
23869
2ff87f3f
L
238702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23871
23872 * sysdeps/x86_64/preconfigure.in: New file.
23873 * sysdeps/x86_64/preconfigure: New generated file.
23874
c0df8e69
JM
238752012-03-22 Joseph Myers <joseph@codesourcery.com>
23876
48e44791
JM
23877 [BZ #13824]
23878 * math/e_exp2l.c: Include <float.h>.
23879 (__ieee754_exp2l): Handle overflow and underflow cases
23880 separately. Only pass fractional part of argument to
23881 __ieee754_expl.
23882 * math/libm-test.inc (exp2_test): Add more tests.
23883
c0df8e69
JM
23884 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23885 negating x to take absolute value.
23886 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23887 Likewise.
23888 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23889 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23890 Likewise.
23891 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23892 computing low part if x was negated.
23893 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23894
c8e43ba7
L
238952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23896
23897 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23898 la_x32_gnu_pltexit.
23899 (pltexit): Cast int_retval to ptrdiff_t.
23900 * elf/tst-auditmod3b.c: Likewise.
23901 * elf/tst-auditmod4b.c: Likewise.
23902 * elf/tst-auditmod5b.c: Likewise.
23903 * elf/tst-auditmod6b.c: Likewise.
23904 * elf/tst-auditmod6c.c: Likewise.
23905 * elf/tst-auditmod7b.c: Likewise.
23906
23907 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23908 and x32_gnu_pltexit.
23909
23910 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23911 __ELF_NATIVE_CLASS.
23912 (La_x32_regs): New macro.
23913 (La_x32_retval): Likewise.
23914 (la_x32_gnu_pltenter): New function prototype.
23915 (la_x32_gnu_pltexit): Likewise.
23916
7998fa78
AS
239172012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23918
dcb33988
AS
23919 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23920 exponent.
23921
233fc563
AS
23922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23923
7998fa78
AS
23924 * configure.in (libc_cv_cc_nofma): Check for option to disable
23925 generation of FMA instructions.
23926 * configure: Regenerate.
23927 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23928 * sysdeps/ieee754/dbl-64/Makefile: New file.
23929 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23930 Remove brandred-fma4.
23931 (CFLAGS-brandred-fma4.c): Remove.
23932 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23933 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23934 define.
23935 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23936 define.
23937
8e95c99a
L
239382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23939
23940 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23941 LLONG_MAX != LONG_MAX.
23942 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23943 (_fitoa_word): Likewise.
23944 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23945 LLONG_MAX != LONG_MAX.
23946 * stdio-common/_itowa.h: Include <_itoa.h>.
23947 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23948 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23949 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23950 only if not defined.
23951 (_ITOA_WORD_TYPE): Likewise.
23952 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23953 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23954
6f4db457
DM
239552012-03-21 David S. Miller <davem@davemloft.net>
23956
23957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23958
7785fe5a
L
239592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23960
23961 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23962 of x86_64 when setting libc_cv_slibdir, libdir and
23963 libc_cv_localedir.
23964 * sysdeps/unix/sysv/linux/configure: Regenerated.
23965
4535cd55
JM
239662012-03-21 Joseph Myers <joseph@codesourcery.com>
23967
23968 * manual/lang.texi (Old Varargs): Remove section.
23969 (How Variadic): Update menu.
23970 (va_start): Do not mention varargs.h.
23971
17228132
TS
239722012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23973 Joseph Myers <joseph@codesourcery.com>
23974
23975 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23976 link test.
23977 * configure: Regenerated.
23978
8149f976
TS
239792012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23980
05f3d1f6
UD
23981 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23982 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23983 conformtest.pl
8149f976 23984
1a4ac776
JM
239852012-03-21 Joseph Myers <joseph@codesourcery.com>
23986
be22ce65
JM
23987 * NOTES: Remove.
23988 * Makefile (files-for-dist): Remove NOTES.
23989 (NOTES): Remove rule.
23990 * README: Don't refer to NOTES.
23991 * manual/creature.texi: Don't include macros.texi.
23992 * manual/intro.texi (creature.texi): Remove comment referring to
23993 NOTES.
23994
40b601fb
JM
23995 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23996 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23997 * configure: Regenerated.
23998 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23999 LIBC_TRY_CC_OPTION.
24000 (libc_cv_as_i686): Likewise.
24001 (libc_cv_cc_avx): Likewise.
24002 (libc_cv_cc_sse2avx): Likewise.
24003 (libc_cv_cc_fma4): Likewise.
24004 (libc_cv_cc_novzeroupper): Likewise.
24005 * sysdeps/i386/configure: Regenerated.
24006
1a4ac776
JM
24007 [BZ #13883]
24008 * sysdeps/i386/fpu/s_cexp.S: Remove.
24009 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24010 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24011 * math/libm-test.inc (cexp_test): Add more tests.
24012 * sysdeps/i386/fpu/libm-test-ulps: Update.
24013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24014
a458e7fe
AM
240152012-03-21 Allan McRae <allan@archlinux.org>
24016
24017 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24018
0cb7efc5
JM
240192012-03-21 Joseph Myers <joseph@codesourcery.com>
24020
24021 [BZ #13871]
24022 * math/w_exp2.c: Do not include <float.h>.
24023 (o_threshold, u_threshold): Remove.
24024 (__exp2): Calculate result before checking finiteness and calling
24025 __kernel_standard.
24026 * math/w_exp2f.c: Likewise.
24027 * math/w_exp2l.c: Likewise.
24028 * math/libm-test.inc (exp2_test): Require overflow exception for
24029 1e6 input.
2460d3aa
JM
24030
24031 [BZ #3866]
24032 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24033 range of signed 64-bit integers before using fistpll. Remove
24034 checks for whether integers fit in mantissa bits.
24035 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24036 the range of signed 32-bit integers before using fistpl. Remove
24037 checks for whether integers fit in mantissa bits.
24038 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24039 (__ieee754_powl): Test for y outside the range of signed 64-bit
24040 integers before using fistpll. Reduce 64-bit values to 63-bit
24041 ones as needed.
24042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24043 divide-by-zero is raised for zero to large negative powers.
24044 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24045 (__ieee754_powl): Test for y outside the range of signed 64-bit
24046 integers before using fistpll. Reduce 64-bit values to 63-bit
24047 ones as needed.
24048 * math/libm-test.inc (pow_test): Add more tests.
24049
eb96ffb0
L
240502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24051
24052 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24053 <stdio-common/_itoa.h>.
24054 * debug/segfault.c: Likewise.
24055 * elf/dl-cache.c: Likewise.
24056 * elf/dl-minimal.c: Likewise.
24057 * elf/dl-misc.c: Likewise.
24058 * elf/dl-sysdep.c: Likewise.
24059 * elf/dl-version.c: Likewise.
24060 * elf/rtld.c: Likewise.
24061 * hurd/hurdsock.c: Likewise.
24062 * hurd/lookup-retry.c: Likewise.
24063 * malloc/malloc.c: Likewise.
24064 * malloc/mtrace.c: Likewise.
24065 * nscd/nscd_getgr_r.c: Likewise.
24066 * nscd/nscd_getpw_r.c: Likewise.
24067 * nscd/nscd_getserv_r.c: Likewise.
24068 * posix/getopt_init.c: Likewise.
24069 * posix/wordexp.c: Likewise.
24070 * stdio-common/_itoa.c: Likewise.
24071 * stdio-common/printf_fphex.c: Likewise.
24072 * stdio-common/vfprintf.c: Likewise.
24073 * string/_strerror.c: Likewise.
24074 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24075 * sysdeps/i386/i686/hp-timing.h: Likewise.
24076 * sysdeps/mach/_strerror.c: Likewise.
24077 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24078 * sysdeps/mach/hurd/sethostid.c: Likewise.
24079 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24080 * sysdeps/mach/xpg-strerror.c: Likewise.
24081 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24083 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24084 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24085 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24086 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24087 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24088 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24089 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24090 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24091 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24092 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24093 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24094 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24095 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24096 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24097 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24098 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24099 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24100 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24101 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24102
24103 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24104
24105 * stdio-common/_itoa.h: Moved to ...
24106 * sysdeps/generic/_itoa.h: Here.
24107
24108 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24109
24110 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24111 instead of "_itoa.h" and "_itowa.h".
24112 * stdio-common/vfprintf.: Likewise.
24113
d1af992d
L
241142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24115
24116 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24117 <bits/wordsize.h>.
24118 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24119 (__signbit): Likwise.
24120 (llrintf): Likwise.
24121 (llrint): Likwise.
24122
114883e0
L
241232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24124
24125 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24126 __WORDSIZE != 64.
24127
c135cc1b
JM
241282012-03-20 Joseph Myers <joseph@codesourcery.com>
24129
24130 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24131 OVERFLOW_EXCEPTION_OK.
24132 * math/libm-test.inc ("Philosophy"): Update comment about
24133 exception testing.
24134 (OVERFLOW_EXCEPTION): Define.
24135 (OVERFLOW_EXCEPTION_OK): Likewise.
24136 (INVALID_EXCEPTION_OK): Renumber.
24137 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24138 (IGNORE_ZERO_INF_SIGN): Likewise.
24139 (test_exceptions): Handle FE_OVERFLOW.
24140 (exp10_test): Expect overflow exceptions.
24141 (exp2_test): Likewise.
24142 (expm1_test): Likewise.
24143 (nextafter_test): Likewise.
24144 (pow_test): Likewise.
24145 (scalbn_test): Likewise.
24146 (scalbln_test): Likewise.
24147
95443d88
L
241482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24149
24150 * sysdeps/x86_64/bits/atomic.h
24151 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24152 64bit integer.
24153 (atomic_exchange_acq): Likewise.
24154 (__arch_exchange_and_add_body): Likewise.
24155 (__arch_add_body): Likewise.
24156 (atomic_add_negative): Likewise.
24157 (atomic_add_zero): Likewise.
24158
490df6c4
L
241592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24160
c2722551 24161 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24162 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24163
5e52b189
L
241642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24165
24166 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24167 Check __x86_64__ instead of __WORDSIZE.
24168
a9879d4c
L
241692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24170
24171 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24172
5df98260
DM
241732012-03-19 David S. Miller <davem@davemloft.net>
24174
e1497744
DM
24175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24176
5df98260
DM
24177 * sysdeps/sparc/fpu/fenv_private.h: New file.
24178 * sysdeps/sparc/fpu/math_private.h: Use it.
24179 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24180 Remove.
24181 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24182 (libc_feholdexcept_setroundl): Remove.
24183 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24184 Remove.
24185 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24186 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24187
b4c35121
L
241882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24189
24190 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24191 int64_t instead of long int.
24192 (INSERT_WORDS64): Likwise.
24193
56965fd7
L
241942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24195
24196 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24197 _Unwind_GetCFA return to _Unwind_Ptr first.
24198
83d1aec8
JM
241992012-03-19 Joseph Myers <joseph@codesourcery.com>
24200
1897ad44
JM
24201 [BZ #13629]
24202 * math/s_clog.c: Include <float.h>.
24203 (__clog): Scale large or subnormal inputs.
24204 * math/s_clogf.c: Likewise.
24205 * math/s_clogl.c: Likewise.
24206 * math/s_clog10.c: Include <float.h>.
24207 (M_LOG10_2): Define.
24208 (__clog10): Scale large or subnormal inputs.
24209 * math/s_clog10f.c: Likewise.
24210 * math/s_clog10l.c: Likewise.
24211 * math/libm-test.inc (clog_test): Add more tests.
24212 (clog10_test): Likewise.
24213 * sysdeps/i386/fpu/libm-test-ulps: Update.
24214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24215
7726d6a9
JM
24216 [BZ #11451]
24217 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24218 x and y.
24219 * math/libm-test.inc (atan2_test): Add another test.
24220
83d1aec8
JM
24221 * Makerules (common-objdir-compile): Remove.
24222 * sysdeps/unix/Makefile (config-generated): Do not add
24223 $(unix-generated) to variable.
24224 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24225 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24226 Remove rule.
24227 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24228 Likewise.
24229 [generic bits/local_lim.h] (before-compile): Do not append to
24230 variable.
24231 [generic bits/local_lim.h] (common-generated): Likewise.
24232 [generic sys/param.h] (before-compile): Do not append to variable.
24233 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24234 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24235 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24236 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24237 include.
24238 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24239 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24240 [generic sys/param.h] ($(addprefix
24241 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24242 [generic sys/param.h] (common-generated): Do not append to
24243 variable.
24244 [generic sys/param.h] (sysdep_headers): Likewise.
24245 [generic bits/errno.h] (before-compile): Do not append to
24246 variable.
24247 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24248 rule.
24249 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24250 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24251 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24252 [generic bits/errno.h] (common-generated): Do not append to
24253 variable.
24254 [generic bits/ioctls.h] (before-compile): Do not append to
24255 variable.
24256 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24257 rule.
24258 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24259 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24260 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24261 rule.
24262 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24263 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24264 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24265 [generic bits/ioctls.h] (common-generated): Do not append to
24266 variable.
24267 [generic sys/syscall.h] (syscall.h): Remove variable.
24268 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24269 rule.
24270 [generic sys/syscall.h] (before-compile): Do not append to
24271 variable.
24272 [generic sys/syscall.h] (common-generated): Likewise.
24273 * sysdeps/unix/errnos-tmpl.c: Remove file.
24274 * sysdeps/unix/errnos.awk: Likewise.
24275 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24276 * sysdeps/unix/ioctls.awk: Likewise.
24277 * sysdeps/unix/mk-local_lim.c: Likewise.
24278 * sysdeps/unix/snarf-ioctls: Likewise.
24279
4851a949
RH
242802012-03-19 Richard Henderson <rth@twiddle.net>
24281
bd37f2ee
RH
24282 * sysdeps/i386/fpu/fenv_private.h: New file.
24283 * sysdeps/i386/fpu/math_private.h: Use it.
24284 (math_opt_barrier, math_force_eval): Remove.
24285 (libc_feholdexcept_setround_53bit): Remove.
24286 (libc_feupdateenv_53bit): Remove.
24287 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24288 (math_opt_barrier, math_force_eval): Remove.
24289 (libc_feholdexcept): Remove.
24290 (libc_feholdexcept_setround): Remove.
24291 (libc_fetestexcept, libc_fesetenv): Remove.
24292 (libc_feupdateenv_test): Remove.
24293 (libc_feupdateenv, libc_feholdsetround): Remove.
24294 (libc_feresetround): Remove.
24295
d0adc922
RH
24296 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24297 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24298
0fe0f1f8
RH
24299 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24300 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24301 (libc_feupdateenv_testl): New.
24302 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24303 (libc_feupdateenv_testf): New.
24304 (libc_feupdateenv): Use libc_feupdateenv_test.
24305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24306 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24307
eb92c487
RH
24308 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24309 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24310 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24311 (libc_feresetround_noex): New.
24312 (libc_feresetround_noexf): New.
24313 (libc_feresetround_noexl): New.
24314 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24315 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24316 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24317 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24318 SET_RESTORE_ROUND.
24319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24321 (__cos): Likewise.
24322 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24323 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24324 SET_RESTORE_ROUND_NOEX.
24325 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24326 SET_RESTORE_ROUND_NOEXF.
24327 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24328 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24329 (libc_feholdsetroundf): New.
24330 (libc_feresetround, libc_feresetroundf): New.
24331
7d2e8012
RH
24332 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24333 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24334 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24335
b4dabbb4
RH
24336 * sysdeps/generic/math_private.h: Include <fenv.h>.
24337 (default_libc_feholdexcept): New.
24338 (default_libc_feholdexcept_setround): New.
24339 (default_libc_fesetenv, default_libc_feupdateenv): New.
24340 (libc_feholdexcept): Only define if undefined.
24341 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24342 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24343 (libc_feholdexcept_setroundl): Likewise.
24344 (libc_feholdexcept_setround_53bit): Likewise.
24345 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24346 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24347 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24348 (libc_feupdateenv_53bit): Likewise.
24349 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24350 (libc_feholdexcept): Convert from macro to inline function.
24351 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24352 (libc_fesetenv, libc_feupdateenv): Likewise.
24353
4851a949
RH
24354 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24355 not previously defined.
24356 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24357 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24358 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24359 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24360 * sysdeps/ieee754/flt-32/math_private.h: New file.
24361 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24362 math_private.h below SET_FLOAT_WORD.
24363 (__isnan, __isinf_ns, __finite): Remove.
24364 (__isnanf, __isinf_nsf, __finitef): Remove.
24365
e79d442e
AS
243662012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24367
24368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24369
90b80344
DM
243702012-03-17 David S. Miller <davem@davemloft.net>
24371
24372 [BZ #6471]
24373 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24374 for 2.16.
24375
edc21804
DM
243762012-03-16 David S. Miller <davem@davemloft.net>
24377
77e927af
DM
24378 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24379 warnings.
24380
374976dd
DM
24381 [BZ #6471]
24382 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24383 properly.
24384 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24385 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24386 sysdep_routines when subdir is sysvipc.
24387 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24388 __getshmlba helper.
24389
edc21804
DM
24390 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24391
473c3ef3
L
243922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24393
24394 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24395 [__LP64__].
24396
eb0f39b6
L
243972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24398
24399 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24400 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24401 (__lround): Renamed to ...
24402 (__llround): This. Replace long int with long long int.
24403 Define lround functions as aliases of llround functions.
24404 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24405
6b6cd74b
L
244062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24407
24408 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24409 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24410 adresses to uintptr_t. Replace "long int" and "unsigned long
24411 int" with "greg_t" on va_arg.
24412
f1a77b01
L
244132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24414
24415 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24416 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24417
24418 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24419 Move e_machine check before EI_CLASS check. Handle x32
24420 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24421 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24422 SKIP_EM_IA_64 and include
24423 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24424
24425 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24426 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24427 (add_system_dir): New macro.
24428
24429 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24430 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24431
11b90b9f
JM
244322012-03-16 Joseph Myers <joseph@codesourcery.com>
24433
c36e1d23
JM
24434 [BZ #2551]
24435 [BZ #2552]
24436 [BZ #2553]
24437 [BZ #2554]
24438 [BZ #2562]
24439 [BZ #2563]
24440 [BZ #2565]
24441 [BZ #2566]
24442 [BZ #2576]
24443 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24444 (y0): Likewise.
24445 * math/w_j0f.c (j0f): Likewise.
24446 (y0f): Likewise.
24447 * math/w_j0l.c (__j0l): Likewise.
24448 (__y0l): Likewise.
24449 * math/w_j1.c (j1): Likewise.
24450 (y1): Likewise.
24451 * math/w_j1f.c (j1f): Likewise.
24452 (y1f): Likewise.
24453 * math/w_j1l.c (__j1l): Likewise.
24454 (__y1l): Likewise.
24455 * math/w_jn.c (jn): Likewise.
24456 (yn): Likewise.
24457 * math/w_jnf.c (jnf): Likewise.
24458 (ynf): Likewise.
24459 * math/w_jnl.c (__jnl): Likewise.
24460 (__ynl): Likewise.
24461 * math/libm-test.inc (j0_test): Add more tests.
24462 (j1_test): Likewise.
24463 (jn_test): Likewise. Add trailing semicolon to existing test.
24464 (y0_test): Likewise.
24465 (y1_test): Likewise.
24466 * sysdeps/i386/fpu/libm-test-ulps: Update.
24467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24468
11b90b9f
JM
24469 [BZ #13851]
24470 [BZ #13854]
24471 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24472 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24473 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24474 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24475 (__tanl): Set errno for infinite argument.
24476 * sysdeps/i386/fpu/mptan.c: Remove.
24477 * sysdeps/i386/fpu/s_tan.S: Likewise.
24478 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24479 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24480 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24481 * math/libm-test.inc (tan_test): Add more tests and enable more
24482 tests for double and long double.
24483 * sysdeps/i386/fpu/libm-test-ulps: Update.
24484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24485
6a1bd2a1
JK
244862012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24487
24488 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24489 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24490
10a803e0
RM
244912012-03-16 Roland McGrath <roland@hack.frob.com>
24492
24493 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24494 * configure.in: Use it for both main tree and add-ons.
24495 * configure: Regenerated.
24496
f196c7f7
L
244972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24498
24499 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24500
8848d99d
JM
245012012-03-16 Joseph Myers <joseph@codesourcery.com>
24502
96cbe7f4
JM
24503 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24504 in comment.
24505
8848d99d
JM
24506 [BZ #13851]
24507 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24508 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24509 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24510 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24511 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24512 infinite argument.
24513 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24515 != 0 for prec == 2.
24516 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24517 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24518 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24519 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24520 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24521 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24522 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24523 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24524 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24525 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24526 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24527 * math/libm-test.inc (cos_test): Add more tests and enable more
24528 tests for long double.
24529 (sin_test): Likewise.
24530 (sincos_test): Likewise.
24531 * sysdeps/i386/fpu/libm-test-ulps: Update.
24532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24533
dd7f4703
DM
245342012-03-16 David S. Miller <davem@davemloft.net>
24535
24536 * sysdeps/sparc/fpu/math_private.h: New file.
24537
006f1daa
DM
245382012-03-15 David S. Miller <davem@davemloft.net>
24539
c0c83bc8
DM
24540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24541 file.
e6a62e18 24542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
24543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24544 file.
e6a62e18
DM
24545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24551 sysdep routines.
24552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24553
88cb87d9
DM
24554 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24555 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24556
006f1daa 24557 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24559 sparc-ifunc.h
006f1daa 24560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24562 Likewise.
24563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24564 Likewise.
006f1daa
DM
24565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24569 Likewise.
006f1daa
DM
24570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24575 Likewise.
24576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24577 Likewise.
006f1daa
DM
24578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24600 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24602
11e0098e
AS
246032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24604
24605 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24606 scaling.
24607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24608
e85b09d0
AJ
246092012-03-15 Andreas Jaeger <aj@suse.de>
24610
24611 [BZ #13852]
24612 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24613 ieee754/flt-32 implementation for sin, cos and sincos.
24614 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24615 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24616 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24617 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24618 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24619 ieee754/flt-32 implementation for tan.
24620
24621 * math/libm-test.inc (cos_test): Enable some large input tests for
24622 float as well
24623 (sin_test): Likewise.
24624 (sincos_test): Likewise.
24625 (tan_test): Add tests for large input.
24626
24627 * sysdeps/i386/fpu/libm-test-ulps: Update.
24628
81c64153
AJ
246292012-03-15 Andreas Jaeger <aj@suse.de>
24630
24631 [BZ #13658]
24632 * math/libm-test.inc (cos_test): Add more test cases.
24633 (sin_test): Likewise.
24634 (sincos_test): Likewise.
24635
7bbfa5c6
AJ
246362012-03-15 Andreas Jaeger <aj@suse.de>
24637
24638 [BZ #13837]
24639 * math/libm-test.inc (cos_test): Add a test case for large input
24640 value.
24641 (sin_test): Likewise.
24642 (sincos_test): Likewise.
24643
246442012-03-15 Andreas Jaeger <aj@suse.de>,
24645 Joseph Myers <joseph@codesourcery.com>
24646
24647 [BZ #13658]
0671f479 24648 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24649 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24650 * sysdeps/i386/fpu/branred.c: Likewise.
24651 * sysdeps/i386/fpu/dosincos.c: Likewise.
24652 * sysdeps/i386/fpu/mpa.c: Likewise.
24653 * sysdeps/i386/fpu/s_cos.S: Likewise.
24654 * sysdeps/i386/fpu/s_sin.S: Likewise.
24655 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24656 * sysdeps/i386/fpu/sincos32.c: Likewise.
24657
24658 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24659 Define.
24660 (libc_feupdateenv_53bit): Define.
24661 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24662 Define.
24663 (libc_feupdateenv_53bit): Define.
24664
24665 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24666 53 bit (without extend i386 double precision).
24667
24668 * math/libm-test.inc (sincos_test): Add tests for large input.
24669 (sin): Likewise.
24670 (cos): Likewise.
24671
24672 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24673
9cad04ea
AS
246742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24675
24676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24677
f7062b9a
DM
246782012-03-15 David S. Miller <davem@davemloft.net>
24679
24680 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24681 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24682 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24683 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24696 file.
f7062b9a 24697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24699 file.
f7062b9a 24700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24702 file.
f7062b9a 24703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24705 file.
f7062b9a
DM
24706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24708 fmin/fmax sysdep routines.
24709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24710
7bd951ff
DM
247112012-03-14 David S. Miller <davem@davemloft.net>
24712
559398ab
DM
24713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24742 routines.
24743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24744 file.
559398ab 24745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24747 file.
559398ab 24748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24750 file.
559398ab 24751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24753 file.
559398ab 24754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24756 file.
559398ab 24757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24759 file.
24760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24761 file.
24762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24763 file.
24764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24765 file.
24766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24767 New file.
24768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24769 file.
24770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24771 file.
559398ab 24772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24774 file.
559398ab 24775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24777 file.
559398ab 24778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24780 file.
559398ab 24781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24783 VIS3 routines.
559398ab
DM
24784
24785 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24786 New file.
24787
5a1c1e32
DM
24788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24789
eae47a36
DM
24790 * sysdeps/sparc/configure.in: New file.
24791 * sysdeps/sparc/configure: Generate.
24792 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24793 * configure: Regenerate.
24794 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24795 * config.make.in (have-as-vis3): New.
24796 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24797 available use -Av9d instead of -Av9a.
24798 * sysdeps/sparc/sparc64/Makefile: Likewise.
24799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24801 New file.
24802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24803 file.
24804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24805 New file.
24806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24807 file.
eae47a36
DM
24808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24813
c0c83bc8
DM
24814 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24815 fzeros/fnegs to load 0x80000000 into a float register instead of
24816 using the stack.
7bd951ff
DM
24817 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24818
bd951ccb
JM
248192012-03-14 Joseph Myers <joseph@codesourcery.com>
24820
24821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24822 bits/syscall.h.
24823 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24824 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24825 ($(inst_includedir)/bits/syscall.h): Remove rule.
24826 ($(objpfx)bits/syscall.d): Include instead of
24827 $(objpfx)syscall-list.d.
24828 (generated): Change syscall-list.h and syscall-list.d to
24829 bits/syscall.h and bits/syscall.d.
24830
bb4e6db2
RM
248312012-03-14 Roland McGrath <roland@hack.frob.com>
24832
24833 [BZ #13846]
24834 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24835
aa4a2ae1
JM
248362012-03-14 Joseph Myers <joseph@codesourcery.com>
24837
e456826d
JM
24838 [BZ #13841]
24839 * math/s_csqrt.c: Include <float.h>.
24840 (__csqrt): Scale large or subnormal inputs.
24841 * math/s_csqrtf.c: Likewise.
24842 * math/s_csqrtl.c: Likewise.
24843 * math/libm-test.inc (csqrt_test): Add more tests.
24844 * sysdeps/i386/fpu/libm-test-ulps: Update.
24845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24846
aa4a2ae1
JM
24847 [BZ #13840]
24848 * math/libm-test.inc (hypot_test): Add more tests.
24849
7c10fd35
DM
248502012-03-13 David S. Miller <davem@davemloft.net>
24851
24852 [BZ #13840]
24853 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24854 double-precision for the calculation instead of scaling.
24855
f453b98b
JM
248562012-03-13 Joseph Myers <joseph@codesourcery.com>
24857
24858 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24859 manipulate bits before adding and subtracting TWO52[sx].
24860 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24861 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24862 Likewise.
24863 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24864
09a3453f
DM
248652012-03-13 David S. Miller <davem@davemloft.net>
24866
8e59da90
DM
24867 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24868 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24870 rtld-global-offsets.h
24871 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24872
2a8ab7f2
DM
24873 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24874 large parameters.
24875
10f62770
DM
24876 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24877
5f0bdb18
DM
24878 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24879 'err' in the ifdef scope in which it is actually used.
24880
09a3453f
DM
24881 * nss/nss_db/db-init.c: Include string.h
24882
b4b2eb5e
DM
248832012-03-12 David S. Miller <davem@davemloft.net>
24884
98bb2f1c
DM
24885 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24886 masking out of the most significant byte of random value used.
24887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24888 Fix coding style in previous change.
24889
b4b2eb5e
DM
24890 * sysdeps/unix/sysv/linux/kernel-features.h
24891 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24892 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24893 expression.
24894 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24895 later.
24896
6e226b09
DM
248972012-03-11 David S. Miller <davem@davemloft.net>
24898
a1bcbd40
DM
24899 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24900 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24901 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24902 for 'resultvar' otherwise things get truncated on 64-bit.
24903
cb9d6174
DM
24904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24905 Fix masking out of the most significant byte of random value used.
24906
6e226b09
DM
24907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24908
058c132d
AS
249092012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24910
24911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24912
2d2cd515
DM
249132012-03-09 David S. Miller <davem@davemloft.net>
24914
24915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24916 variables with appropriate CPP guards.
24917 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24918 frame pointer, not the stack pointer. Correct layout comments. Fix test
24919 on resulting framesize and the management of the outregs buffer for pltexit.
24920 Preserve floating point return values across _dl_call_pltexit call.
24921 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24922 framesize and the management of the outregs buffer for pltexit.
24923 Preserve floating point return values across _dl_call_pltexit
24924 call.
24925 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24926 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24927 (print_exit): Fix format string for return register value.
24928
9a07f9d0
JM
249292012-03-10 Joseph Myers <joseph@codesourcery.com>
24930
24931 * sunrpc/Makefile (others): Add rpcgen.
24932 ($(objpfx)rpcgen): Remove special build rule and dependency on
24933 libc.
24934 * sunrpc/rpcgen.c: New file.
24935
547b5e30
PE
249362012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24937
c524201a
PE
24938 [BZ #13673]
24939 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24940 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24941 * sysdeps/i386/crti.S: Likewise.
24942 * sysdeps/i386/crtn.S: Likewise.
24943 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24944 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24945 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24946 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24947 * sysdeps/sh/crti.S: Likewise.
24948 * sysdeps/sh/crtn.S: Likewise.
24949 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24950
7b6235f2
PE
24951 [BZ #13673]
24952 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24953 with URL.
24954 * locale/programs/locfile-kw.gperf: Likewise.
24955 * locale/programs/charmap-kw.h: Regenerated.
24956 * locale/programs/locfile-kw.h: Likewise.
24957
547b5e30
PE
24958 [BZ #13673]
24959 * intl/plural.y: Replace FSF snail mail address with URL.
24960 * intl/plural.c: Regenerated.
24961
5f0a5dae
RH
249622012-03-09 Richard Henderson <rth@twiddle.net>
24963
24964 * include/math_private.h: Remove file.
24965 * math/math_private.h: Move file ...
24966 * sysdeps/generic/math_private.h: ... here.
24967
b8c03620
RH
24968 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24969 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24970 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24971
4e234f5d 24972 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24973 and <math_private.h>.
24974 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24975 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24976 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24977 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24978 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24979 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24980 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24981 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24982 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24983 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24985 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24986 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24988 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24989 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24990 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24991 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24992 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24993 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24995 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24996 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24998 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24999 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25000 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25001 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25003 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25004 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25005 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25006 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25007 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25008 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25009 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25010 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25011 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25012 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25014 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25015 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25016 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25017 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25018 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25019 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25020 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25021 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25023 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25024 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25025 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25026 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25027 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25028 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25029 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25030 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25031 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25032 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25033 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25034 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25035 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25037 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25038 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25039 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25040 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25041 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25042 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25043 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25044 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25045 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25046 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25047 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25048 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25049 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25053 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25054 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25055 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25056 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25057 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25058 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25061 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25062 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25063 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25064 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25065 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25066 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25067 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25068 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25069 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25070 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25071 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25072 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25073 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25074 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25075 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25076 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25077 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25078 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25079 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25080 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25081 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25082 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25083 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25084 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25085 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25086 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25087 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25088 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25089 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25090 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25091 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25092 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25093 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25094 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25095 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25096 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25097 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25098 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25099 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25100 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25101 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25102 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25103 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25104 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25105 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25106 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25107 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25108 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25109 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25110 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25111 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25112 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25113 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25114 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25115 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25116 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25117 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25118 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25119 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25120 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25121 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25122 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25123 * sysdeps/ieee754/k_standard.c: Likewise.
25124 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25125 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25126 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25127 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25128 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25129 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25130 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25131 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25132 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25133 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25134 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25135 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25136 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25137 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25138 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25139 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25140 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25141 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25142 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25143 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25144 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25145 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25146 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25147 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25148 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25149 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25150 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25151 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25152 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25153 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25154 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25155 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25156 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25157 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25158 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25159 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25160 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25161 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25162 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25163 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25164 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25165 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25166 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25167 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25168 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25169 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25170 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25171 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25172 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25173 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25174 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25175 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25176 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25177 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25178 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25179 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25180 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25181 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25182 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25183 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25184 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25185 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25186 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25188 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25189 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25190 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25191 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25192 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25193 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25194 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25196 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25197 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25198 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25199 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25200 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25201 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25202 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25203 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25204 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25205 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25207 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25208 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25209 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25210 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25211 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25212 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25213 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25214 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25216 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25217 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25219 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25220 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25221 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25222 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25223 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25225 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25226 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25227 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25228 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25229 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25230 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25231 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25232 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25233 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25234 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25235 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25236 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25237 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25238 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25239 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25240 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25241 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25242 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25243 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25244 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25245 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25246 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25247 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25248 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25249 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25250 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25251 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25252 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25253 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25254 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25255 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25256 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25257 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25258 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25259 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25260 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25261 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25262 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25263 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25264 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25265 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25266 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25267 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25268 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25269 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25270 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25271 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25272 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25273 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25274 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25275 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25276 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25277 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25278 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25279 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25280 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25281 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25282 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25283 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25284 * sysdeps/ieee754/s_lib_version.c: Likewise.
25285 * sysdeps/ieee754/s_matherr.c: Likewise.
25286 * sysdeps/ieee754/s_signgam.c: Likewise.
25287 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25288 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25289 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25290 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25291 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25292 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25293 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25294 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25295 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25296 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25297 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25298 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25299 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25300 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25301 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25302 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25303 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25304 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25305 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25306 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25308
1991fa03
JM
253092012-03-09 Joseph Myers <joseph@codesourcery.com>
25310
25311 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25312 * sunrpc/rpc_main.c: Likewise.
25313 * sunrpc/rpc_svcout.c: Likewise.
25314
60d6f5a6
DM
253152012-03-09 David S. Miller <davem@davemloft.net>
25316
25317 * include/math_private.h: New file.
25318
4962050e
JM
253192012-03-09 Joseph Myers <joseph@codesourcery.com>
25320
02a6f887
JM
25321 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25322 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25323 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25324 from <bits/socket_type.h>.
25325 (enum __socket_type): Don't define here.
25326 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25328 bits/socket_type.h.
25329
c6e013c1
JM
25330 [BZ #13566]
25331 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25332 checking __USE_GNU.
25333
4962050e
JM
25334 * Makerules ($(inst_includedir)/%.h): New rule.
25335 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25336 (install-others): Remove variable setting.
25337 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25338
38842f45
RH
253392012-03-08 Richard Henderson <rth@twiddle.net>
25340
67bb6da6
RH
25341 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25342 from macro to inline function; merge with the
25343 !__LIBC_INTERNAL_MATH_INLINES version.
25344 (__ieee754_sqrtf): Likewise.
25345
15194b4b
RH
25346 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25347 to inline function.
25348 (__rintf, __floor, __floorf): Likewise.
25349
64e21ede
RH
25350 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25351 macro to inline function.
25352 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25353
38842f45
RH
25354 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25355 not <math/math_private.h>.
25356
c64bf5fe
DM
253572012-03-08 David S. Miller <davem@davemloft.net>
25358
25359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25360 copyright year.
25361 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25362
82d86f28
TS
253632012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25364
25365 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25366 normalization.
25367 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25368 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25369
aea5d727
UD
253702012-03-08 Ulrich Drepper <drepper@gmail.com>
25371
25372 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25373 be defined individually, they must be defined as a block. Define
25374 S for printing a string instead of hidint the different by using a
25375 macro for adding the 'l'.
25376 * stdio-common/tst-fphex-wide.c: Adjust.
25377
70bca0a3
MP
253782012-03-07 Marek Polacek <polacek@redhat.com>
25379
25380 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25381
65b81130
MP
253822012-03-08 Marek Polacek <polacek@redhat.com>
25383
25384 [BZ #13806]
25385 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25386 * stdio-common/tst-fphex.c: Define a few macros to make the
25387 test reusable. Use them.
25388 * stdio-common/tst-fphex-wide.c: New file.
25389
07037eeb
JM
253902012-03-08 Joseph Myers <joseph@codesourcery.com>
25391
a7a93d50
JM
25392 [BZ #6911]
25393 * manual/macros.texi (gnusystems): New macro.
25394 (nongnusystems): Likewise.
25395 (gnulinuxhurdsystems): Likewise.
25396 (gnuhurdsystems): Likewise..
25397 (gnulinuxsystems): Likewise.
25398 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25399 variants of the GNU system, not "GNU system".
25400 * manual/conf.texi: Likewise.
25401 * manual/errno.texi: Likewise. Update example of errno macro
25402 expansion.
25403 * manual/filesys.texi: Likewise.
25404 (getumask): Document as specific to GNU/Hurd.
25405 * manual/install.texi: Likewise. Reword some references to
25406 GNU/Linux.
25407 * manual/intro.texi: Likewise.
25408 * manual/io.texi: Likewise.
25409 (File Name Portability): Detail which constraints are inapplicable
25410 to all GNU systems and which are only inapplicable to GNU/Hurd.
25411 * manual/job.texi: Likewise.
25412 * manual/llio.texi: Likewise.
25413 (O_NOCTTY): Document as present on GNU/Linux.
25414 * manual/maint.texi: Likewise.
25415 * manual/memory.texi: Likewise.
25416 * manual/pattern.texi: Likewise.
25417 * manual/pipe.texi: Likewise.
25418 * manual/process.texi: Likewise.
25419 * manual/resource.texi: Likewise.
25420 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25421 child on GNU/Hurd.
25422 * manual/setjmp.texi: Likewise.
25423 * manual/signal.texi: Likewise.
25424 * manual/startup.texi: Likewise.
25425 * manual/stdio.texi: Likewise.
25426 * manual/terminal.texi: Likewise.
25427 (ONLCR): Document as POSIX.
25428 (OXTABS): Document availability on GNU/Linux as XTABS.
25429 (ONOEOT): Document availability separately from other bits.
25430 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25431 * manual/time.texi: Likewise.
25432 * manual/users.texi: Likewise.
25433 * INSTALL: Regenerated.
25434 * sysdeps/gnu/errlist.c: Regenerated.
25435
07037eeb
JM
25436 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25437 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25438 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25439 puts.
25440 * configure: Regenerated.
25441
d1d3431a
JM
254422012-03-07 Joseph Myers <joseph@codesourcery.com>
25443
af6a1e37
JM
25444 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25445 default includes instead of AC_HEADER_CHECK.
25446 * sysdeps/i386/configure: Regenerated.
25447
d1d3431a
JM
25448 [BZ #10716]
25449 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25450 * math/s_cacoshf.c (__cacoshf): Likewise.
25451 * math/s_cacoshl.c (__cacoshl): Likewise.
25452 * math/s_casinh.c (__casinh): Set signs of result from argument.
25453 * math/s_casinhf.c (__casinhf): Likewise.
25454 * math/s_casinhl.c (__casinhl): Likewise.
25455 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25456 (casinh_test): Add more tests.
25457 * sysdeps/i386/fpu/libm-test-ulps: Update.
25458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25459
482ff4da
UD
254602012-03-07 Ulrich Drepper <drepper@gmail.com>
25461
872fda05
UD
25462 * po/zh_TW.po: Update from translation team.
25463
a4300c7a
UD
25464 * login/Makefile (distribute): Remove variable.
25465 * catgets/Makefile: Likewise.
25466 * mach/Makefile: Likewise.
25467 * malloc/Makefile: Likewise.
25468 * misc/Makefile: Likewise.
25469 * iconv/Makefile: Likewise.
25470 * nscd/Makefile: Likewise.
25471 * hurd/Makefile: Likewise.
25472 * manual/Makefile: Likewise.
25473 * locale/Makefile: Likewise.
25474 * intl/Makefile: Likewise.
25475 * conform/Makefile: Likewise.
25476 * nss/Makefile: Likewise.
25477 * time/Makefile: Likewise.
25478 * soft-fp/Makefile: Likewise.
25479 * dirent/Makefile: Likewise.
25480 * gmon/Makefile: Likewise.
25481 * po/Makefile: Likewise.
25482 * rt/Makefile: Likewise.
25483 * socket/Makefile: Likewise.
25484 * math/Makefile: Likewise.
25485 * signal/Makefile: Likewise.
25486 * debug/Makefile: Likewise.
25487 * elf/Makefile: Likewise.
25488 * timezone/Makefile: Likewise.
25489 * stdlib/Makefile: Likewise.
25490 * iconvdata/Makefile: Likewise.
25491 * sunrpc/Makefile: Likewise.
25492 * io/Makefile: Likewise.
25493 * argp/Makefile: Likewise.
25494 * inet/Makefile: Likewise.
25495 * hesiod/Makefile: Likewise.
25496 * grp/Makefile: Likewise.
25497 * csu/Makefile: Likewise.
25498 * wctype/Makefile: Likewise.
25499 * crypt/Makefile: Likewise.
25500 * libio/Makefile: Likewise.
25501 * string/Makefile: Likewise.
25502 * nis/Makefile: Likewise.
25503 * resolv/Makefile: Likewise.
25504 * stdio-common/Makefile: Likewise.
25505 * wcsmbs/Makefile: Likewise.
25506 * dlfcn/Makefile: Likewise.
25507 * posix/Makefile: Likewise.
25508
3b7c4e74 25509 [BZ #6959]
482ff4da
UD
25510 * timezone/Makefile: Don't install timezone files, just the programs
25511 and scripts.
25512
f72ed77d
UD
255132012-03-06 Ulrich Drepper <drepper@gmail.com>
25514
a000466f
UD
25515 * nss/databases.def: Add missing gshadow entry.
25516
f72ed77d
UD
25517 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25518
a53b7a4e
MP
255192012-03-06 Marek Polacek <polacek@redhat.com>
25520
25521 [BZ #13726]
25522 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25523 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25524 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25525 * stdio-common/tst-long-dbl-fphex.c: New file.
25526
e9258400
DM
255272012-03-06 David S. Miller <davem@davemloft.net>
25528
25529 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25530 (set_obp_int): New function.
25531 (get_obp_int): New function.
25532 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25533 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25534 Avoid unused variable warnings on 'val' and use builtin_expect.
25535 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25536 __builtin_expect.
e9258400
DM
25537 (INLINE_CLONE_SYSCALL): Likewise.
25538
3bd2c723
DM
255392012-03-05 David S. Miller <davem@davemloft.net>
25540
25541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25542
bbb78d03
AS
255432012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25544
884c5db4
AS
25545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25546
bbb78d03
AS
25547 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25548 only for |x| >= 40.
25549 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25550
1c9f702a 255512012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
25552
25553 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25554 Replace gettimeofday with __vdso_gettimeofday.
25555
7be16f82
RM
25556 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25557 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25558 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25559
25560 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25561 time with __vdso_time.
25562
ed58a00f
JM
255632012-03-05 Joseph Myers <joseph@codesourcery.com>
25564
25565 * manual/lang.texi (size_t): Note types to which size_t may be
25566 equivalent with the GNU C Library, but do not describe when
25567 differences between them are significant.
25568
30ee4ced
AJ
255692012-03-05 Andreas Jaeger <aj@suse.de>
25570
25571 * sysdeps/i386/fpu/libm-test-ulps: Update.
25572
b7cd39e8
JM
255732012-03-05 Joseph Myers <joseph@codesourcery.com>
25574
25575 [BZ #3976]
25576 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25577 (__ieee754_pow): Save and restore rounding mode and use
25578 round-to-nearest for main computations.
25579 * math/libm-test.inc (pow_test_tonearest): New function.
25580 (pow_test_towardzero): Likewise.
25581 (pow_test_downward): Likewise.
25582 (pow_test_upward): Likewise.
25583 (main): Call the new functions.
25584 * sysdeps/i386/fpu/libm-test-ulps: Update.
25585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25586
25587 [BZ #3976]
25588 * math/libm-test.inc (cosh_test_tonearest): New function.
25589 (cosh_test_towardzero): Likewise.
25590 (cosh_test_downward): Likewise.
25591 (cosh_test_upward): Likewise.
25592 (sinh_test_tonearest): Likewise.
25593 (sinh_test_towardzero): Likewise.
25594 (sinh_test_downward): Likewise.
25595 (sinh_test_upward): Likewise.
25596 (main): Call the new functions.
25597 * sysdeps/i386/fpu/libm-test-ulps: Update.
25598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25599
6c6a98c9
TV
256002012-03-05 Tom de Vries <tom@codesourcery.com>
25601
25602 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25603 default stack guard is set in last bytes.
25604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25605
21bb2d2e 256062012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25607
21bb2d2e 25608 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25609
21bb2d2e
AJ
25610 [BZ #13656]
25611 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25612 possibly allocate from heap instead of stack.
25613 * stdio-common/bug-vfprintf-nargs.c: New file.
25614 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25615
c6922934
AS
256162012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25617
25618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25619
bc957d53
MP
256202012-03-03 Marek Polacek <polacek@redhat.com>
25621
25622 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25623 * math/math_private.h: Likewise.
25624 * stdlib/tst-strtod.c: Likewise.
25625 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25626 * sysdeps/x86_64/bits/atomic.h: Likewise.
25627
6358490d
DM
256282012-03-02 David S. Miller <davem@davemloft.net>
25629
25630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25634 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25635 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25636 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25637 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25638
01ae168d
RM
256392012-03-02 Roland McGrath <roland@hack.frob.com>
25640
d9a17c07
RM
25641 [BZ #13792]
25642 * manual/examples/README: New file, says the example source files
25643 can be used under GPL>=2.
25644 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25645 line containing just "*/".
25646 * manual/examples/add.c: Add copyright header (GPL>=2).
25647 * manual/examples/argp-ex1.c: Likewise.
25648 * manual/examples/argp-ex2.c: Likewise.
25649 * manual/examples/argp-ex3.c: Likewise.
25650 * manual/examples/argp-ex4.c: Likewise.
25651 * manual/examples/atexit.c: Likewise.
25652 * manual/examples/db.c: Likewise.
25653 * manual/examples/dir.c: Likewise.
25654 * manual/examples/dir2.c: Likewise.
25655 * manual/examples/execinfo.c: Likewise.
25656 * manual/examples/filecli.c: Likewise.
25657 * manual/examples/filesrv.c: Likewise.
25658 * manual/examples/fmtmsgexpl.c: Likewise.
25659 * manual/examples/genpass.c: Likewise.
25660 * manual/examples/inetcli.c: Likewise.
25661 * manual/examples/inetsrv.c: Likewise.
25662 * manual/examples/isockad.c: Likewise.
25663 * manual/examples/longopt.c: Likewise.
25664 * manual/examples/memopen.c: Likewise.
25665 * manual/examples/memstrm.c: Likewise.
25666 * manual/examples/mkfsock.c: Likewise.
25667 * manual/examples/mkisock.c: Likewise.
25668 * manual/examples/mygetpass.c: Likewise.
25669 * manual/examples/pipe.c: Likewise.
25670 * manual/examples/popen.c: Likewise.
25671 * manual/examples/rprintf.c: Likewise.
25672 * manual/examples/search.c: Likewise.
25673 * manual/examples/select.c: Likewise.
25674 * manual/examples/setjmp.c: Likewise.
25675 * manual/examples/sigh1.c: Likewise.
25676 * manual/examples/sigusr.c: Likewise.
25677 * manual/examples/stpcpy.c: Likewise.
25678 * manual/examples/strdupa.c: Likewise.
25679 * manual/examples/strftim.c: Likewise.
25680 * manual/examples/strncat.c: Likewise.
25681 * manual/examples/subopt.c: Likewise.
25682 * manual/examples/swapcontext.c: Likewise.
25683 * manual/examples/termios.c: Likewise.
25684 * manual/examples/testopt.c: Likewise.
25685 * manual/examples/testpass.c: Likewise.
25686 * manual/examples/timeval_subtract.c: Likewise.
25687
01ae168d
RM
25688 [BZ #13792]
25689 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25690 function to ...
25691 * manual/timeval_subtract.c.texi: ... here, new file.
25692
49efa33d
DM
256932012-03-02 David S. Miller <davem@davemloft.net>
25694
25695 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25696
28afd92d
JM
256972012-03-02 Joseph Myers <joseph@codesourcery.com>
25698
804360ed
JM
25699 [BZ #3976]
25700 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25701 (__sin): Save and restore rounding mode and use round-to-nearest
25702 for all computations.
25703 (__cos): Save and restore rounding mode and use round-to-nearest
25704 for all computations.
25705 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25706 <fenv.h>.
25707 (tan): Save and restore rounding mode and use round-to-nearest for
25708 all computations.
25709 * math/libm-test.inc (cos_test_tonearest): New function.
25710 (cos_test_towardzero): Likewise.
25711 (cos_test_downward): Likewise.
25712 (cos_test_upward): Likewise.
25713 (sin_test_tonearest): Likewise.
25714 (sin_test_towardzero): Likewise.
25715 (sin_test_downward): Likewise.
25716 (sin_test_upward): Likewise.
25717 (tan_test_tonearest): Likewise.
25718 (tan_test_towardzero): Likewise.
25719 (tan_test_downward): Likewise.
25720 (tan_test_upward): Likewise.
25721 (main): Call the new functions.
25722 * sysdeps/i386/fpu/libm-test-ulps: Update.
25723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25724
a6d06d7b
JM
25725 [BZ #10135]
25726 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25727 small n, then large n, before computing and testing k+n.
25728 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25729 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25730 Likewise.
25731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25732 Likewise.
25733 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25734 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25735 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25736 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25737 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25738 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25739 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25740 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25741 * math/libm-test.inc (scalbn_test): Add more tests.
25742 (scalbln_test): Likewise.
25743
07e12bb3
JM
25744 * manual/filesys.texi (mode_t): Describe constraints on size and
25745 signedness, not exact equivalence to a particular type.
25746 (ino_t): Likewise.
25747 (ino64_t): Likewise.
25748 (dev_t): Likewise.
25749 (nlink_t): Likewise.
25750 (blkcnt_t): Likewise.
25751 (blkcnt64_t): Likewise.
25752 * manual/llio.texi (off_t): Likewise.
25753
28afd92d
JM
25754 [BZ #3976]
25755 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25756 (__ieee754_exp): Save and restore rounding mode and use
25757 round-to-nearest for all computations.
25758 * math/libm-test.inc (exp_test_tonearest): New function.
25759 (exp_test_towardzero): Likewise.
25760 (exp_test_downward): Likewise.
25761 (exp_test_upward): Likewise.
25762 (main): Call the new functions.
25763 * sysdeps/i386/fpu/libm-test-ulps: Update.
25764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25765
b1eeb65d
CD
257662012-03-01 Chris Demetriou <cgd@google.com>
25767
25768 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25769 have predictable order.
25770
53362a4b
DM
257712012-03-01 David S. Miller <davem@davemloft.net>
25772
3c969083
DM
25773 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25774
759707de
DM
25775 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25776 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25777 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25778 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25779
dfdb8ff2
DM
25780 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25781 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25782 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25784 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25785 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25786 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25787 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25788 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25789
ead89f96
DM
25790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25791
7f66bd07
DM
25792 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25793 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25794 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25795
53362a4b
DM
25796 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25797 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25798 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25799 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25800 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25801 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25802 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25803 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25804 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25805 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25806 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25807 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25809 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25810 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25812 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25813 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25814 * sysdeps/sparc/elf/configure: Regenerated.
25815
7b1902cb
JM
258162012-03-01 Joseph Myers <joseph@codesourcery.com>
25817
bec039bc
JM
25818 * configure.in (AS, LD): Require binutils 2.20 or later.
25819 * configure: Regenerated.
25820 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25821 as required minimum version.
25822 * INSTALL: Regenerated.
25823
7b1902cb
JM
25824 [BZ #2541]
25825 [BZ #4108]
25826 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25827 before squaring exponent.
25828 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25829 bottom long double and 27 bits of top long double before squaring
25830 exponent.
25831 * math/libm-test.inc (erfc_test): Add more tests.
25832 * sysdeps/i386/fpu/libm-test-ulps: Update.
25833 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25835
f775c276
KT
258362012-03-01 Kai Tietz <ktietz@redhat.com>
25837
25838 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25839 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25840 containing bit-fields.
25841 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25842 * soft-fp/single.h (_FP_UNION_S): Likewise.
25843 * soft-fp/double.h (_FP_UNION_D): Likewise.
25844
5b8a4d4a
JM
258452012-02-29 Joseph Myers <joseph@codesourcery.com>
25846
0bab47b6
JM
25847 [BZ #13786]
25848 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25849 not include ../strcmp.S.
25850 [USE_AS_STRNCASECMP_L]: Likewise.
25851 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25852 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25853 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25854 (__strncasecmp_l_ia32): Define as alias to
25855 __strncasecmp_l_nonascii.
25856
0fcad3e2
JM
25857 [BZ #5794]
25858 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25859 * sysdeps/i386/fpu/libm-test-ulps: Update.
25860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25861
5b8a4d4a
JM
25862 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25864
8fdceb2e
JL
258652012-02-29 Jeff Law <law@redhat.com>
25866
25867 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25868 out of bounds read.
25869
1f393a11
MP
258702012-02-29 Marek Polacek <polacek@redhat.com>
25871
25872 [BZ #13706]
25873 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25874 * elf/Makefile: Add rules to run tst-unused-dep.out.
25875
8847f037
DM
258762012-02-28 David S. Miller <davem@davemloft.net>
25877
25878 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25879 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25880 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25882 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25883 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25884
169d7f11
JM
258852012-02-29 Joseph Myers <joseph@codesourcery.com>
25886
25887 * math/libm-test.inc (llround_test): Move one test from
25888 lround_test. Use TEST_f_L in moved test.
25889 (lround_test): Move misplaced test to llround_test. Add testcase
25890 from bug 2561.
25891
39adf059
UD
258922012-02-28 Ulrich Drepper <drepper@gmail.com>
25893
25894 * sysdeps/x86_64/fpu/e_expf.S: New file.
25895 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25896
71b5d1c5
SB
258972012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25898
25899 [BZ #13637]
25900 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25901 of remain_len that may cause incomplete multi-byte character and
25902 false match.
25903 * posix/bug-regex33.c: New file.
25904 * posix/Makefile (tests): Add bug-regex33.
25905
1f77f049
JM
259062012-02-28 Joseph Myers <joseph@codesourcery.com>
25907
25908 * manual/macros.texi: New file.
25909 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25910 * manual/libc.texinfo: Include macros.texi.
25911 * manual/creatute.texi: Likewise.
25912 * manual/install.texi: Likewise.
25913 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25914 @glibcadj{} in references to the GNU C Library.
25915 * manual/charset.texi: Likewise.
25916 * manual/conf.texi: Likewise.
25917 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25918 when not using those macros.
25919 * manual/creature.texi: Likewise.
25920 * manual/crypt.texi: Likewise.
25921 * manual/errno.texi: Likewise.
25922 * manual/filesys.texi: Likewise.
25923 * manual/header.texi: Likewise.
25924 * manual/install.texi: Likewise.
25925 * manual/intro.texi: Likewise.
25926 * manual/io.texi: Likewise.
25927 * manual/job.texi: Likewise.
25928 * manual/lang.texi: Likewise.
25929 * manual/libc.texiinfo: Likewise.
25930 * manual/llio.texi: Likewise.
25931 * manual/locale.texi: Likewise.
25932 * manual/maint.texi: Likewise.
25933 * manual/math.texi: Likewise.
25934 * manual/memory.texi: Likewise.
25935 * manual/message.texi: Likewise.
25936 * manual/nss.texi: Likewise.
25937 * manual/pattern.texi: Likewise.
25938 * manual/process.texi: Likewise.
25939 * manual/resource.texi: Likewise.
25940 * manual/search.texi: Likewise.
25941 * manual/setjmp.texi: Likewise.
25942 * manual/signal.texi: Likewise.
25943 * manual/socket.texi: Likewise.
25944 * manual/startup.texi: Likewise.
25945 * manual/stdio.texi: Likewise.
25946 * manual/string.texi: Likewise.
25947 * manual/sysinfo.texi: Likewise.
25948 * manual/syslog.texi: Likewise.
25949 * manual/terminal.texi: Likewise.
25950 * manual/time.texi: Likewise.
25951 * manual/users.texi: Likewise.
25952 * INSTALL: Regenerated.
25953 * NOTES: Regenerated.
d40c5d54 25954 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25955
450bf206
AS
259562012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25957
25958 * include/dirent.h: Include <dirstream.h> before
25959 <dirent/dirent.h>.
25960
741a235b
DM
259612012-02-28 David S. Miller <davem@davemloft.net>
25962
25963 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25964 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25965 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25966 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25967
d6b5aa58
DM
259682012-02-27 David S. Miller <davem@davemloft.net>
25969
1aff59a3
DM
25970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25972 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25973 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25974
d6b5aa58
DM
25975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25976 frame pointer instead of stack pointer relative arg slot.
25977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25978 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25979 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25980
433f48bf
CD
259812012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25982
25983 [BZ #3992]
25984 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25985
d674b76d
DM
259862012-02-27 David S. Miller <davem@davemloft.net>
25987
25988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25992 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25993 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25994 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25995 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25996
0e7727f7
JM
259972012-02-27 Joseph Myers <joseph@codesourcery.com>
25998
25999 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26000 later. Allow versions 5-9.
43be4ca2 26001 * configure: Regenerated.
0e7727f7
JM
26002 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26003 required minimum version and 4.6 as recommended version. Do not
26004 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26005 * INSTALL: Regenerated.
0e7727f7 26006
a78bc654
DM
260072012-02-27 David S. Miller <davem@davemloft.net>
26008
428d5830
DM
26009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26013 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26014 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26015 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26016 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26017
a78bc654
DM
26018 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26019 manipulate bits before adding and subtracting TWO112[sx].
26020 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26021
4579f81c
RM
260222012-02-27 Roland McGrath <roland@hack.frob.com>
26023
36c8acb4
RM
26024 [BZ #13775]
26025 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26026 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26027 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26028 being in POSIX, because they are in 1003.1-2008.
26029
84ad622b
RM
26030 * rt/tst-aio.c: Include <fcntl.h>.
26031 * rt/tst-aio7.c: Likewise.
26032 * rt/tst-aio64.c: Likewise.
26033
4579f81c
RM
26034 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26035
abd923db
JM
260362012-02-27 Joseph Myers <joseph@codesourcery.com>
26037
26038 * manual/install.texi (--with-headers): Describe headers as
26039 interface headers, not private headers.
26040 (Specific advice for GNU/Linux systems): Describe use of headers
26041 from "make headers_install", not private headers from older
26042 kernels.
43be4ca2 26043 * INSTALL: Regenerated.
abd923db
JM
26044 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26045 Change to 2.6.19.
26046 * sysdeps/unix/sysv/linux/configure: Regenerated.
26047
6664049b
JM
26048 * manual/llio.texi (fclean): Remove documentation.
26049
bb8b6697
JM
26050 * manual/Makefile (libc-texi-generated): New variable. Include
26051 version.texi.
26052 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26053 $(libc-texi-generated), not duplicated list of files.
26054 (version.texi, stamp-version): New rules.
26055 (realclean): Remove $(libc-texi-generated), not individual files
26056 from that list. Do not remove dir-add.texinfo.
26057 * manual/libc.texinfo: Comment out uses of edition numbers and
26058 references to printed manual. Remove last-updated dates.
26059 (EDITION): Comment out.
26060 (ISBN): Likewise.
26061 (VERSION, UPDATED): Remove.
26062 (version.texi): Include.
26063
12e5c3b9
AS
260642012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26065
26066 * sysdeps/posix/spawni.c: Include <signal.h>.
26067 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26068 * sysdeps/pthread/aio_fsync.c: Likewise.
26069
4efeffc1 260702012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26071
ba63ba08
UD
26072 * conform/Makefile (tests): Run only when not cross-compiling and
26073 when fast-check is not defined.
26074
d94a4670
UD
26075 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26076 * conform/data/limits.h-data: Fixes for POSIX2008.
26077 * conform/run-conformtest.sh: Run all tests.
26078 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26079 headers.
26080 * include/bits/dlfcn.h: Likewise.
26081 * include/langinfo.h: Likewise.
26082 * include/monetary.h: Likewise.
26083 * include/sys/poll.h: Likewise.
26084
26085 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26086 for __USE_GNU.
26087 * posix/spawn.h: Define __need_sigset_t.
26088 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26089 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26090 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26091 to get sigevent_t only.
26092 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26093 only for __USE_GNU.
26094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26095 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26096 process_vm_writev only for __USE_GNU.
26097 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26098
26099 * conform/Makefile: For now ignore errors from run-conformtest.
26100 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26101 POSIX to avoid namespace pollution. Don't prepend headers.
26102 * conform/data/aio.h-data: Fixes for POSIX testing.
26103 * conform/data/fcntl.h-data: Likewise.
26104 * conform/data/glob.h-data: Likewise.
26105 * conform/data/grp.h-data: Likewise.
26106 * conform/data/pthread.h-data: Likewise.
26107 * conform/data/pwd.h-data: Likewise.
26108 * conform/data/signal.h-data: Likewise.
26109 * conform/data/spawn.h-data: Likewise.
26110 * conform/data/stdio.h-data: Likewise.
26111 * conform/data/stdlib.h-data: Likewise.
26112 * conform/data/stropts.h-data: Likewise.
26113 * conform/data/sys/mman.h-data: Likewise.
26114 * conform/data/sys/stat.h-data: Likewise.
26115 * conform/data/sys/types.h-data: Likewise.
26116 * conform/data/sys/wait.h-data: Likewise.
26117 * conform/data/time.h-data: Likewise.
26118 * conform/data/unistd.h-data: Likewise.
26119 * conform/data/utime.h-data: Likewise.
26120
26121 * io/sys/stat.h: fchmod was always in POSIX.
26122 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26123 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26124 * rt/aio.h: Define __need_timespec before including <time.h>.
26125 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26126 struct. Add forward declaration of pthread_attr_t and use it in
26127 sigevent.
26128 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26129 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26130 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26131 always remove CLK_TCK definition.
26132
c20105c3
AS
261332012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26134
26135 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26136
7a270350
UD
261372012-02-25 Ulrich Drepper <drepper@gmail.com>
26138
31341567
UD
26139 * conform/run-conformtest.sh: New file.
26140 * conform/Makefile: Run run-conformtest for tests.
26141 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26142 support.
26143
26144 * conform/data/uchar.h-data: New file.
26145 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26146 * conform/data/arpa/inet.h-data: Likewise.
26147 * conform/data/assert.h-data: Likewise.
26148 * conform/data/complex.h-data: Likewise.
26149 * conform/data/cpio.h-data: Likewise.
26150 * conform/data/ctype.h-data: Likewise.
26151 * conform/data/dirent.h-data: Likewise.
26152 * conform/data/dlfcn.h-data: Likewise.
26153 * conform/data/errno.h-data: Likewise.
26154 * conform/data/fcntl.h-data: Likewise.
26155 * conform/data/float.h-data: Likewise.
26156 * conform/data/fmtmsg.h-data: Likewise.
26157 * conform/data/fnmatch.h-data: Likewise.
26158 * conform/data/ftw.h-data: Likewise.
26159 * conform/data/glob.h-data: Likewise.
26160 * conform/data/grp.h-data: Likewise.
26161 * conform/data/iconv.h-data: Likewise.
26162 * conform/data/inttypes.h-data: Likewise.
26163 * conform/data/langinfo.h-data: Likewise.
26164 * conform/data/libgen.h-data: Likewise.
26165 * conform/data/limits.h-data: Likewise.
26166 * conform/data/locale.h-data: Likewise.
26167 * conform/data/math.h-data: Likewise.
26168 * conform/data/monetary.h-data: Likewise.
26169 * conform/data/mqueue.h-data: Likewise.
26170 * conform/data/ndbm.h-data: Likewise.
26171 * conform/data/net/if.h-data: Likewise.
26172 * conform/data/netdb.h-data: Likewise.
26173 * conform/data/netinet/in.h-data: Likewise.
26174 * conform/data/nl_types.h-data: Likewise.
26175 * conform/data/poll.h-data: Likewise.
26176 * conform/data/pthread.h-data: Likewise.
26177 * conform/data/pwd.h-data: Likewise.
26178 * conform/data/regex.h-data: Likewise.
26179 * conform/data/sched.h-data: Likewise.
26180 * conform/data/search.h-data: Likewise.
26181 * conform/data/semaphore.h-data: Likewise.
26182 * conform/data/setjmp.h-data: Likewise.
26183 * conform/data/signal.h-data: Likewise.
26184 * conform/data/spawn.h-data: Likewise.
26185 * conform/data/stdarg.h-data: Likewise.
26186 * conform/data/stdio.h-data: Likewise.
26187 * conform/data/stdlib.h-data: Likewise.
26188 * conform/data/string.h-data: Likewise.
26189 * conform/data/strings.h-data: Likewise.
26190 * conform/data/stropts.h-data: Likewise.
26191 * conform/data/sys/ipc.h-data: Likewise.
26192 * conform/data/sys/mman.h-data: Likewise.
26193 * conform/data/sys/msg.h-data: Likewise.
26194 * conform/data/sys/resource.h-data: Likewise.
26195 * conform/data/sys/select.h-data: Likewise.
26196 * conform/data/sys/sem.h-data: Likewise.
26197 * conform/data/sys/shm.h-data: Likewise.
26198 * conform/data/sys/socket.h-data: Likewise.
26199 * conform/data/sys/stat.h-data: Likewise.
26200 * conform/data/sys/statvfs.h-data: Likewise.
26201 * conform/data/sys/time.h-data: Likewise.
26202 * conform/data/sys/timeb.h-data: Likewise.
26203 * conform/data/sys/times.h-data: Likewise.
26204 * conform/data/sys/types.h-data: Likewise.
26205 * conform/data/sys/uio.h-data: Likewise.
26206 * conform/data/sys/un.h-data: Likewise.
26207 * conform/data/sys/utsname.h-data: Likewise.
26208 * conform/data/sys/wait.h-data: Likewise.
26209 * conform/data/syslog.h-data: Likewise.
26210 * conform/data/tar.h-data: Likewise.
26211 * conform/data/termios.h-data: Likewise.
26212 * conform/data/utime.h-data: Likewise.
26213 * conform/data/utmpx.h-data: Likewise.
26214 * conform/data/varargs.h-data: Likewise.
26215 * conform/data/wchar.h-data: Likewise.
26216 * conform/data/wctype.h-data: Likewise.
26217 * conform/data/wordexp.h-data: Likewise.
26218
26219 * include/stropts.h: New file.
26220 * include/uchar.h: New file.
26221 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26222 * include/assert.h: Likewise.
26223 * include/ctype.h: Likewise.
26224 * include/dirent.h: Likewise.
26225 * include/dlfcn.h: Likewise.
26226 * include/fcntl.h: Likewise.
26227 * include/fnmatch.h: Likewise.
26228 * include/glob.h: Likewise.
26229 * include/grp.h: Likewise.
26230 * include/libio.h: Likewise.
26231 * include/locale.h: Likewise.
26232 * include/math.h: Likewise.
26233 * include/net/if.h: Likewise.
26234 * include/netdb.h: Likewise.
26235 * include/netinet/in.h: Likewise.
26236 * include/pthread.h: Likewise.
26237 * include/pwd.h: Likewise.
26238 * include/regex.h: Likewise.
26239 * include/sched.h: Likewise.
26240 * include/search.h: Likewise.
26241 * include/setjmp.h: Likewise.
26242 * include/signal.h: Likewise.
26243 * include/stdio.h: Likewise.
26244 * include/stdlib.h: Likewise.
26245 * include/string.h: Likewise.
26246 * include/sys/cdefs.h: Likewise.
26247 * include/sys/mman.h: Likewise.
26248 * include/sys/msg.h: Likewise.
26249 * include/sys/resource.h: Likewise.
26250 * include/sys/select.h: Likewise.
26251 * include/sys/socket.h: Likewise.
26252 * include/sys/stat.h: Likewise.
26253 * include/sys/statvfs.h: Likewise.
26254 * include/sys/time.h: Likewise.
26255 * include/sys/times.h: Likewise.
26256 * include/sys/uio.h: Likewise.
26257 * include/sys/utsname.h: Likewise.
26258 * include/sys/wait.h: Likewise.
26259 * include/termios.h: Likewise.
26260 * include/time.h: Likewise.
26261 * include/ulimit.h: Likewise.
26262 * include/unistd.h: Likewise.
26263 * include/utime.h: Likewise.
26264 * include/wchar.h: Likewise.
26265 * include/wctype.h: Likewise.
26266 * include/wordexp.h: Likewise.
26267
26268 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26269
7a270350
UD
26270 * time/time.h: TIME_UTC must be a macro.
26271 Make timespec_get available for ISO C11 only as well.
26272
7724defc
UD
262732012-02-24 Ulrich Drepper <drepper@gmail.com>
26274
26275 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26276 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26277
6b1d1d46
JM
262782012-02-24 Joseph Myers <joseph@codesourcery.com>
26279
26280 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26281
0f8bbd69
JM
262822012-02-24 Joseph Myers <joseph@codesourcery.com>
26283
26284 * manual/texinfo.tex: Update to version 2012-01-19.16.
26285
66ab80bc
JM
262862012-02-24 Joseph Myers <joseph@codesourcery.com>
26287
26288 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26289
74981cc5
RM
262902012-02-24 Roland McGrath <roland@hack.frob.com>
26291
ee968201
RM
26292 [BZ #13738]
26293 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26294 * manual/fdl-1.3.texi: New file.
26295 * manual/fdl-1.1.texi: File removed.
26296
74981cc5
RM
26297 [BZ #13738]
26298 * manual/libc.texinfo (FDL_VERSION): New @set.
26299 Use it for mention of FDL in cover text.
26300 (Documentation License): Use it in @include file name.
26301
7bb764bc
JM
263022012-02-22 Joseph Myers <joseph@codesourcery.com>
26303 Roland McGrath <roland@hack.frob.com>
26304
26305 [BZ #5461]
26306 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26307 not LONG_LONG_MAX and LONG_LONG_MIN.
26308 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26309 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26310 name.
26311 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26312
6cbeae47
JM
263132012-02-22 Joseph Myers <joseph@codesourcery.com>
26314
26315 [BZ #2547]
26316 [BZ #11365]
26317 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26318 manipulate bits before adding and subtracting TWO23[sx].
26319 * math/libm-test.inc (nearbyint_test): Add more tests.
26320
fe45ce09
JM
263212012-02-22 Joseph Myers <joseph@codesourcery.com>
26322
26323 [BZ #2548]
26324 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26325 bits before adding and subtracting TWO23[sx].
26326 * math/libm-test.inc (rint_test): Add more tests.
26327 (rint_test_tonearest): Likewise.
26328 (rint_test_towardzero): Likewise.
26329 (rint_test_downward): Likewise.
26330 (rint_test_upward: Likewise.
26331
ff3b3d82
JM
263322012-02-22 Joseph Myers <joseph@codesourcery.com>
26333
26334 [BZ #10110]
26335 * include/stdc-predef.h: New file. Extracted from features.h.
26336 * include/features.h: Include stdc-predef.h.
26337 * Makefile (headers): Add stdc-predef.h.
26338 * CONFORMANCE (Compiler limitations): Update.
26339
ef0aab35
JM
263402012-02-22 Joseph Myers <joseph@codesourcery.com>
26341
26342 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26343
58639409
DM
263442012-02-21 David S. Miller <davem@davemloft.net>
26345
26346 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26347 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26348
c0e70b25
DM
263492012-02-20 David S. Miller <davem@davemloft.net>
26350
26351 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26352 using a normal save/restore sequence, rather than allocating a
26353 dummy stack frame just to store a frame pointer and restore.
26354 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26355
fb06851d
JM
263562012-02-21 Joseph Myers <joseph@codesourcery.com>
26357
26358 * manual/install.texi: Fix stray word in line-wrapped comment.
26359
7a8b71c3
DM
263602012-02-20 David S. Miller <davem@davemloft.net>
26361
d510c123
DM
26362 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26363 both binutils and gcc support GOTDATA.
26364
0722d7c2
DM
26365 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26366 "rd %pc" in the PIC register setup sequences.
26367
3d2b3019
DM
26368 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26369 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26370 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26371 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26372 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26374 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26375 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26377 (SYSCALL_ERROR_HANDLER): Likewise.
26378 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26379 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26381 (SYSCALL_ERROR_HANDLER): Likewise.
26382
c80098a9
DM
26383 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26384 (HAVE_GCC_GOTDATA): New.
26385 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26386 relocation support in both binutils and gcc.
26387 * sysdeps/sparc/elf/configure: Regenerate.
26388
3a2545a0
DM
26389 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26390 * sysdeps/sparc/sparc32/elf/configure: Delete.
26391 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26392 * sysdeps/sparc/sparc64/elf/configure: Delete.
26393 * sysdeps/sparc/elf/configure.in: New file.
26394 * sysdeps/sparc/elf/configure: Generate.
26395
7a8b71c3
DM
26396 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26397 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26398 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26399 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26400 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26401
f1e86fca
JM
264022012-02-21 Joseph Myers <joseph@codesourcery.com>
26403
26404 * manual/install.texi: Do not mention specific glibc version
26405 numbers.
26406 * manual/libc.texinfo (VERSION, UPDATED): Update.
26407 (@copying): Use @copyright{} and range of years.
26408
0e7dfaef
JM
264092012-02-21 Joseph Myers <joseph@codesourcery.com>
26410
26411 [BZ #13695]
26412 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26413 [crti.S not in sysdirs] (generated): Do not append.
26414 [crti.S not in sysdirs] (omit-deps): Likewise.
26415 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26416 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26417 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26418 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26419 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26420 Likewise.
26421 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26422 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26423 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26424 * csu/defs.awk: Remove file.
26425 * sysdeps/generic/initfini.c: Likewise.
26426 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26427 variable.
26428 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26429 Likewise.
26430
599af3ca
JM
264312012-02-20 Joseph Myers <joseph@codesourcery.com>
26432
26433 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26434 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26435 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26437 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26438 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26439 <bits/epoll.h>.
26440 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26441 (__EPOLL_PACKED): Define to empty if not defined by
26442 <bits/epoll.h>.
26443 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26445 bits/epoll.h.
26446
0e499750
JM
264472012-02-20 Joseph Myers <joseph@codesourcery.com>
26448
26449 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26450 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26451 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26452 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26453 <bits/timerfd.h>.
26454 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26456 bits/timerfd.h.
26457
5ad91f6e
JM
264582012-02-20 Joseph Myers <joseph@codesourcery.com>
26459
26460 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26461 in C locale.
26462 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26463 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26464 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26466
06b99b02
AJ
264672012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26468
26469 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26470 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26471
7638c0fd
AS
264722012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26473
26474 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26475 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26476 defined.
26477 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26478 Likewise.
26479 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26480 entry for 2.16.
26481
92221550
AJ
264822012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26483
26484 * math/w_acos.c: Use non-signaling floating-point comparisons.
26485 * math/w_acosf.c: Likewise.
26486 * math/w_acosh.c: Likewise.
26487 * math/w_acoshf.c: Likewise.
26488 * math/w_acoshl.c: Likewise.
26489 * math/w_acosl.c: Likewise.
26490 * math/w_asin.c: Likewise.
26491 * math/w_asinf.c: Likewise.
26492 * math/w_asinl.c: Likewise.
26493 * math/w_atanh.c: Likewise.
26494 * math/w_atanhf.c: Likewise.
26495 * math/w_atanhl.c: Likewise.
26496 * math/w_exp2.c: Likewise.
26497 * math/w_exp2f.c: Likewise.
26498 * math/w_exp2l.c: Likewise.
26499 * math/w_j0.c: Likewise.
26500 * math/w_j0f.c: Likewise.
26501 * math/w_j0l.c: Likewise.
26502 * math/w_j1.c: Likewise.
26503 * math/w_j1f.c: Likewise.
26504 * math/w_j1l.c: Likewise.
26505 * math/w_jn.c: Likewise.
26506 * math/w_jnf.c: Likewise.
26507 * math/w_log.c: Likewise.
26508 * math/w_log10.c: Likewise.
26509 * math/w_log10f.c: Likewise.
26510 * math/w_log10l.c: Likewise.
26511 * math/w_log2.c: Likewise.
26512 * math/w_log2f.c: Likewise.
26513 * math/w_log2l.c: Likewise.
26514 * math/w_logf.c: Likewise.
26515 * math/w_logl.c: Likewise.
26516 * math/w_sqrt.c: Likewise.
26517 * math/w_sqrtf.c: Likewise.
26518 * math/w_sqrtl.c: Likewise.
26519 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26520 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26521 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26522 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26523 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26524
ebaf36eb
JM
265252012-02-19 Joseph Myers <joseph@codesourcery.com>
26526
26527 [BZ #9739]
26528 * manual/string.texi (strnlen): Use correct parameter name in
26529 equivalent expression.
26530
71c254a6
JM
265312012-02-19 Joseph Myers <joseph@codesourcery.com>
26532
26533 [BZ #11174]
26534 * manual/users.texi (seteuid): Consistently use neweuid for
26535 argument name.
26536
16d2c631
JM
265372012-02-19 Joseph Myers <joseph@codesourcery.com>
26538
26539 [BZ #13704]
26540 * manual/nss.texi (Services in the NSS configuration): Correct
26541 list of services in example configuration file.
26542
cd837b09
NB
265432012-02-19 Nick Bowler <nbowler@draconx.ca>
26544
26545 [BZ #11322]
26546 * manual/arith.texi: Remove statements about negative zero
26547 behaving identically to zero.
26548
02c4bbad
JM
265492012-02-18 Joseph Myers <joseph@codesourcery.com>
26550
26551 [BZ #5993]
26552 * manual/install.texi: Do not document upgrading from libc5.
26553
366842e7
JM
265542012-02-18 Joseph Myers <joseph@codesourcery.com>
26555
26556 [BZ #4596]
26557 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26558
dd54084d
DM
265592012-02-18 David S. Miller <davem@davemloft.net>
26560
26561 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26562 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26563 %o7 across the call.
26564 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26565 instead.
26566 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26567 SETUP_PIC_REG_LEAF.
26568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26569 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26570 * sysdeps/sparc/crtn.S: Likewise.
26571
2bcc53a3
UD
265722012-02-17 Ulrich Drepper <drepper@gmail.com>
26573
26574 * aout/Makefile: Remove.
26575
09c093b5
RK
265762012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26577
26578 [BZ #13058]
26579 * manual/examples/argp-ex1.c (main): Format definition in GNU
26580 style.
26581 * manual/examples/argp-ex2.c (main): Likewise.
26582 * manual/examples/argp-ex3.c (main): Likewise.
26583 * manual/examples/argp-ex4.c (main): Likewise.
26584 * manual/examples/longopt.c (main): Use new-style prototype
26585 definition.
26586 * manual/examples/strncat.c (main): Specify return type and use
26587 (void) for arguments.
26588 * manual/examples/subopt.c (main): Use char **argv argument.
26589
2ee633a2
JM
265902012-02-17 Joseph Myers <joseph@codesourcery.com>
26591
26592 [BZ #5077]
26593 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26594 rounding modes.
26595
0520adde
FB
265962012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26597
26598 [BZ #6907]
26599 * manual/string.texi (strchr): Change when strchrnul is
26600 recommended.
26601
3f4081cd
DGM
266022012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26603
26604 [BZ #174]
26605 * manual/locale.texi (setlocale): Document LOCPATH.
26606
d1b10e78
JM
266072012-02-17 Joseph Myers <joseph@codesourcery.com>
26608
26609 [BZ #10210]
26610 * manual/process.texi (execle): Move @dots{} before last argument.
26611
79c6869c
PB
266122012-02-17 Paul Bolle <pebolle@tiscali.nl>
26613
26614 [BZ #12047]
26615 * manual/charset.texi (Generic Charset Conversion): Fix typo
26616 (LC_TYPE -> LC_CTYPE).
26617
cc6e48bc
NB
266182012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26619
26620 [BZ #5805]
26621 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26622 (scalbnf): Likewise.
26623 (scalbnl): Likewise.
26624 (scalbln): Likewise.
26625 (scalblnf): Likewise.
26626 (scalblnl): Likewise.
26627 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26628 (vwarnx): Likewise.
26629 (verr): Likewise.
26630 (verrx): Likewise.
26631 * manual/filesys.texi (telldir): Use braces around return type.
26632 * manual/llio.texi (mmap): Add space after comma.
26633 (mmap64): Likewise.
26634 * manual/math.texi (jn): Use @var{} on parameter names.
26635 (jnf): Likewise.
26636 (jnl): Likewise.
26637 (yn): Likewise.
26638 (ynf): Likewise.
26639 (ynl): Likewise.
26640 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26641 line.
26642 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26643 "...".
26644 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26645 (sched_get_priority_max): Likewise.
26646 * manual/signal.texi (sigvec): Add space after comma.
26647 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26648 names.
26649 (if_indextoname): Likewise.
26650 (if_freenameindex): Likewise.
26651 (sendto): Use ',' instead of '.' in prototype.
26652 * manual/startup.texi (syscall): Use @dots{} instead of literal
26653 "...".
26654 * manual/stdio.texi (__fpending): Separate initial words of
26655 paragraph from @deftypefun line.
26656 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26657 "...".
26658 (vsyslog): Use @var{} on parameter names.
26659 * manual/terminal.texi (stty): Use @var{} on parameter names.
26660 * manual/users.texi (getutmp): Use @var{} on parameter names.
26661 (getutmpx): Likewise.
26662
5b23062f
JM
266632012-02-17 Joseph Myers <joseph@codesourcery.com>
26664
26665 [BZ #6884]
26666 * manual/stdio.texi (fopen): Fix typos in description of
26667 ",ccs=STRING".
26668
8dee4833
AJ
266692012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26670
26671 [BZ #4026]
26672 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26673 get clock_id definition.
26674
9078ce93
TS
266752012-02-17 Thomas Schwinge <thomas@schwinge.name>
26676
26677 [BZ #4822]
26678 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26679 (madvise): Cast every argument to void on its own.
26680
3835c55f
JM
266812012-02-17 Joseph Myers <joseph@codesourcery.com>
26682
26683 [BZ #9902]
26684 * manual/startup.texi (Exit Status): Fix typo.
26685
35c47e37
JM
266862012-02-17 Joseph Myers <joseph@codesourcery.com>
26687
26688 [BZ #10140]
26689 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26690 * manual/examples/argp-ex2.c: Likewise.
26691 * manual/examples/argp-ex3.c: Likewise.
26692
e3b69ca7
RH
266932012-02-16 Richard Henderson <rth@redhat.com>
26694
26695 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26696 * sysdeps/s390/s390-32/initfini.c: Remove.
26697 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26698 * sysdeps/s390/s390-64/initfini.c: Remove.
26699
df83af67
KK
267002012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26701
26702 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26703 compiler output for sysdeps/generic/initfini.c.
26704 * sysdeps/sh/elf/initfini.c: Remove file.
26705
f63f3380
DM
267062012-02-16 David S. Miller <davem@davemloft.net>
26707
fb59b3a4
DM
26708 [BZ #11494]
26709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26710
f63f3380
DM
26711 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26712 * sysdeps/sparc/crti.S: New file.
26713 * sysdeps/sparc/crtn.S: New file.
26714 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26715 * sysdeps/sparc/sparc64/Makefile: Likewise.
26716
df6a4a4a
MF
267172012-02-15 Mike Frysinger <vapier@gentoo.org>
26718
6dd8f3dc 26719 [BZ #3335]
df6a4a4a
MF
26720 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26721
1cac7236
RM
267222012-02-15 Roland McGrath <roland@hack.frob.com>
26723
d2c736f8
RM
26724 [BZ #4822]
26725 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26726
1cac7236
RM
26727 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26728 (write, read, close): Likewise.
26729 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26730
8e475601
JM
267312012-02-15 Joseph Myers <joseph@codesourcery.com>
26732
26733 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26734 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26735 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26736 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26737 <bits/signalfd.h>.
26738 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26740 bits/signalfd.h.
26741
ed656b40
MP
267422012-02-14 Marek Polacek <polacek@redhat.com>
26743
26744 * sysdeps/x86_64/crti.S: New file.
26745 * sysdeps/x86_64/crtn.S: New file.
26746 * sysdeps/x86_64/elf/initfini.c: Remove file.
26747
2a979d3a
JM
267482012-02-13 Joseph Myers <joseph@codesourcery.com>
26749
26750 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26751 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26752 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26753 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26754 <bits/inotify.h>.
26755 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26757 bits/inotify.h.
26758
2a418ac3
JM
267592012-02-13 Joseph Myers <joseph@codesourcery.com>
26760
26761 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26762 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26763 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26764 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26765 <bits/eventfd.h>.
26766 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26768 bits/eventfd.h.
26769
fb779be7
TS
267702012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26771
e19e83c5
RM
26772 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26773 __feraiseexcept instead of feraiseexcept.
7c35ffed 26774
fb779be7
TS
26775 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26776 nanosleep invocations.
26777 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26778 strings, and add error checking for a nanosleep invocations.
26779
59ba27a6
PE
267802012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26781
26782 Replace FSF snail mail address with URLs, as per GNU coding standards.
26783 Most of the snail mail addresses were wrong anyway, and omitting
26784 them makes the source code easier to maintain. Almost all of the
26785 changes are to license notices and to locale LC_IDENTIFICATION
26786 addresses, except for this one:
26787 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26788 not its snail mail address.
26789
57b957eb
RH
267902012-02-09 Richard Henderson <rth@twiddle.net>
26791
af850b1c
RH
26792 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26793 of kernel-features.h.
26794
57b957eb
RH
26795 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26796
6b73181a
MP
267972012-02-08 Marek Polacek <polacek@redhat.com>
26798
26799 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26800 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26801 * sysdeps/gnu/_G_config.h: Likewise.
26802 * sysdeps/generic/_G_config.h: Likewise.
26803
26ecc33a
AS
268042012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26805
6c6dbc63
AS
26806 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26807 tests.
26808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26809
e216c012
AS
26810 * sysdeps/powerpc/powerpc32/crti.S: New file.
26811 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26812 * sysdeps/powerpc/powerpc64/crti.S: New file.
26813 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26814
26ecc33a
AS
26815 * Makeconfig (have-initfini): Don't set.
26816 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26817 * configure.in (nopic_initfini): Don't substitute.
26818 * config.h.in (HAVE_INITFINI): Don't #undef.
26819 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26820 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26821
3add8e13
JM
268222012-02-08 Joseph Myers <joseph@codesourcery.com>
26823
26824 Support crti.S and crtn.S provided directly by architectures.
26825 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26826 [crti.S in sysdirs] (omit-deps): Likewise.
26827 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26828 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26829 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26830 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26831 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26832 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26833 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26834 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26835 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26836 compiler output for sysdeps/generic/initfini.c.
26837 * sysdeps/i386/elf/Makefile: Remove file.
26838 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26839
a22f12b4
MP
268402012-02-07 Marek Polacek <polacek@redhat.com>
26841
26842 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26843 * sysdeps/gnu/_G_config.h: Likewise.
26844 * sysdeps/mach/hurd/_G_config.h: Likewise.
26845
148cf100
MP
268462012-02-07 Marek Polacek <polacek@redhat.com>
26847
26848 * math/Makefile (tests): Add tst-CMPLX2.
26849 * math/tst-CMPLX2.c: New file.
26850
cfdc0dd7
AS
268512012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26852
84ba42c4
AS
26853 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26854
cfdc0dd7
AS
26855 * math/libm-test.inc (jn_test): Add missing L suffix.
26856
622c86f4
MP
268572012-02-06 Marek Polacek <polacek@redhat.com>
26858
26859 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26860 * sysdeps/i386/fpu/e_powf.S: Likewise.
26861 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26862 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26863 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26864 * sysdeps/i386/fpu/e_pow.S: Likewise.
26865 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26866 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26867 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26868 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26869 * sysdeps/i386/fpu/e_log2.S: Likewise.
26870 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26871 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26872 * sysdeps/i386/fpu/e_powl.S: Likewise.
26873 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26874 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26875 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26876 * sysdeps/i386/fpu/e_logl.S: Likewise.
26877 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26878 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26879 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26880 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26881 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26882 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26883 * sysdeps/i386/fpu/e_log.S: Likewise.
26884 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26885 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26886 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26887 * sysdeps/i386/fpu/e_logf.S: Likewise.
26888 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26889 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26890 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26891 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26892 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26893 * sysdeps/i386/fpu/e_log10.S: Likewise.
26894 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26895 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26896 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26897 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26898 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26899 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26900 * sysdeps/i386/asm-syntax.h: Likewise.
26901 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26902 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26903 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26904 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26905 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26906 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26907 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26908 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26909 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26910 * sysdeps/powerpc/sysdep.h: Likewise.
26911 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26912 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26913
d4a54ac6
JM
269142012-02-06 Joseph Myers <joseph@codesourcery.com>
26915
26916 [BZ #411]
26917 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26918
314054ea
JM
269192012-02-06 Joseph Myers <joseph@codesourcery.com>
26920
26921 * sysdeps/i386/sysdep.h: Include <features.h>.
26922 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26923 version.
26924
d8e0ca50
JM
269252012-02-05 Joseph Myers <joseph@codesourcery.com>
26926
26927 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26928 Define.
26929 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26930 LOAD_PIC_REG_STR.
26931
b1da7dd9
JM
269322012-02-03 Joseph Myers <joseph@codesourcery.com>
26933
26934 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26935 (SETUP_PIC_REG): Use GET_PC_THUNK.
26936 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26937 macro.
26938
9a1d9254
JM
269392012-02-03 Joseph Myers <joseph@codesourcery.com>
26940
26941 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26942 for non-PIC compilation.
26943 (SETUP_PIC_REG): Add .p2align directive.
26944 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26945 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26946 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26947 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26948 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26950 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26951 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26952 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26953 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26954 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26955 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26956 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26957 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26958 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26959 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26960 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26961 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26962 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26963 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26964 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26965 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26966 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26967 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26969 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26970 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26971 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26972 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26973 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26974 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26975 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26976 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26977 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26978 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26979 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26980 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26981 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26982 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26983 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26984 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26985
65dc3b75
JM
269862012-02-03 Joseph Myers <joseph@codesourcery.com>
26987
26988 * math/tst-CMPLX.c: Include <stdio.h>.
26989
d55bf177
JM
269902012-01-31 Joseph Myers <joseph@codesourcery.com>
26991
26992 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26993 float.
26994 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26995 * sysdeps/sparc/bits/mathdef.h: Likewise.
26996
69db4f8f
MP
269972012-01-31 Marek Polacek <polacek@redhat.com>
26998
26999 * libio/libio.h: Don't define _PARAMS.
27000 * locale/programs/config.h: Don't define PARAMS.
27001 * stdlib/strtol_l.c: Likewise.
27002 (__strtol_l): Remove PARAMS from the prototype.
27003
41b81892
UD
270042012-01-31 Ulrich Drepper <drepper@gmail.com>
27005
3b49edc0
UD
27006 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27007 names. Just use the correct names. Remove unnecessary wrapper
27008 functions.
27009 * malloc/arena.c: Likewise.
27010 * malloc/hooks.c: Likewise.
27011
41b81892
UD
27012 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27013 ARENA_TEST says not to. Simplify test for creation of a new arena.
27014 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27015
27a25b6e
UD
270162012-01-30 Ulrich Drepper <drepper@gmail.com>
27017
27018 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27019 into tail calls.
27020 (update_get_addr): New function.
27021 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27022 GET_ADDR_MODULE parameter.
27023
c8a89e7d
JM
270242012-01-30 Joseph Myers <joseph@codesourcery.com>
27025
27026 * crypt/cert.c: Remove __STDC__ conditionals.
27027 * crypt/crypt-entry.c: Likewise.
27028 * crypt/crypt_util.c: Likewise.
27029 * libio/filedoalloc.c: Likewise.
27030 * libio/fileops.c: Likewise.
27031 * libio/genops.c: Likewise.
27032 * libio/iofclose.c: Likewise.
27033 * libio/iofdopen.c: Likewise.
27034 * libio/iofopen.c: Likewise.
27035 * libio/iofopen64.c: Likewise.
27036 * libio/iogetdelim.c: Likewise.
27037 * libio/iopopen.c: Likewise.
27038 * libio/obprintf.c: Likewise.
27039 * libio/oldfileops.c: Likewise.
27040 * libio/oldiofclose.c: Likewise.
27041 * libio/oldiofdopen.c: Likewise.
27042 * libio/oldiofopen.c: Likewise.
27043 * libio/oldiopopen.c: Likewise.
27044 * libio/wfiledoalloc.c: Likewise.
27045 * libio/wgenops.c: Likewise.
27046 * locale/programs/xmalloc.c: Likewise.
27047 * misc/syslog.c: Likewise.
27048 * stdio-common/xbug.c: Likewise.
27049 * string/memchr.c: Likewise.
27050 * string/memcmp.c: Likewise.
27051 * string/memrchr.c: Likewise.
27052 * string/rawmemchr.c: Likewise.
27053 * sysdeps/posix/getcwd.c: Likewise.
27054 * time/strftime_l.c: Likewise.
27055
3b100462
JM
270562012-01-30 Joseph Myers <joseph@codesourcery.com>
27057
27058 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27059 * config.make.in (config-cflags-sse2avx): Define.
27060 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27061 Fix typo.
27062
607998af
CM
270632012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27064
27065 * scripts/config.guess: Update from upstream config git repository.
27066 * scripts/config.sub: Likewise.
27067
3601428f
CM
270682012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27069
3ac8b282
CM
27070 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27071 (EM_NUM): Update.
27072 (R_TILEPRO_*, R_TILEGX_*): New macros.
27073
e034841e
CM
27074 * scripts/firstversions.awk: Fix bug in version range handling.
27075
540d7568
CM
27076 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27077
3601428f
CM
27078 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27079
463de862
CM
27080 * include/sys/epoll.h: New file.
27081 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27082 libc_hidden_def.
27083
73139a76
UD
270842012-01-28 Ulrich Drepper <drepper@gmail.com>
27085
96bc5b45
UD
27086 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27087 Avoid unnecessary __WORDSIZE == 64 test.
27088 (fmaxf): Use VEX format if possible.
27089 (fmax): Likewise.
27090 (fminf): Likewise.
27091 (fmin): Likewise.
27092
56f6f6a2
UD
27093 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27094 * math/math_private.h: Remove libc_fegetround* and
27095 libc_fesetround*.
27096 * sysdeps/i386/configure.in: Check for -msse2avx.
27097 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27098 also if SSE2AVX is defined.
27099 Remove libc_fegetround* and libc_fesetround*.
27100 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27101 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27102 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27103 of HAS_YMM_USABLE.
27104 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27105 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27106 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27107 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27108 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27109
73139a76
UD
27110 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27111
d73f93a4
AZ
271122012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27113
27114 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27115 size is not set.
27116 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27117
6ee65ed6
UD
271182012-01-27 Ulrich Drepper <drepper@gmail.com>
27119
27120 [BZ #13618]
27121 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27122 relocation.
27123 * Makeconfig (libm): Define.
27124 * elf/Makefile: Add rules to build and run tst-relsort1.
27125 * elf/tst-relsort1.c: New file.
27126 * elf/tst-relsort1mod1.c: New file.
27127 * elf/tst-relsort1mod2.c: New file.
27128
8db21882
JM
271292012-01-27 Joseph Myers <joseph@codesourcery.com>
27130
27131 * math/s_ldexp.c: Remove __STDC__ conditionals.
27132 * math/s_ldexpf.c: Likewise.
27133 * math/s_ldexpl.c: Likewise.
27134 * math/s_nextafter.c: Likewise.
27135 * math/s_nexttowardf.c: Likewise.
27136 * math/s_significand.c: Likewise.
27137 * math/s_significandf.c: Likewise.
27138 * math/s_significandl.c: Likewise.
27139 * math/w_jnl.c: Likewise.
27140 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27141 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27142 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27143 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27144 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27146 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27147 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27149 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27152 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27153 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27154 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27155 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27157 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27158 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27159 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27160 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27161 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27162 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27163 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27164 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27165 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27166 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27167 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27168 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27169 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27170 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27171 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27172 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27173 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27174 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27175 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27176 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27177 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27178 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27179 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27180 * sysdeps/ieee754/k_standard.c: Likewise.
27181 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27182 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27183 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27184 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27185 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27186 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27187 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27188 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27189 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27190 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27191 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27192 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27193 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27194 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27195 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27196 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27197 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27199 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27200 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27201 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27202 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27203 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27204 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27205 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27206 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27207 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27208 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27210 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27213 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27214 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27215 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27216 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27217 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27218 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27219 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27220 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27221 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27225 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27226 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27227 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27230 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27231 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27236 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27237 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27238 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27239 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27242 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27243 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27246 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27247 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27249 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27252 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27255 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27256 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27257 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27260 * sysdeps/ieee754/s_matherr.c: Likewise.
27261 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27262 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27263 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27265
965a54a4
JM
272662012-01-26 Joseph Myers <joseph@codesourcery.com>
27267
27268 * crypt/md5.h: Remove __STDC__ conditionals.
27269 * libio/libioP.h: Likewise.
27270 * locale/programs/config.h: Likewise.
27271 * sysdeps/generic/sysdep.h: Likewise.
27272 * sysdeps/i386/asm-syntax.h: Likewise.
27273 * sysdeps/s390/asm-syntax.h: Likewise.
27274 * sysdeps/unix/sysdep.h: Likewise.
27275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27277
7071ad79
JM
272782012-01-26 Joseph Myers <joseph@codesourcery.com>
27279
27280 * libio/libio.h: Remove __STDC__ conditionals.
27281 * malloc/obstack.h: Likewise.
27282 * math/complex.h: Likewise.
27283 * math/math.h: Likewise.
27284 * sysdeps/generic/_G_config.h: Likewise.
27285 * sysdeps/gnu/_G_config.h: Likewise.
27286 * sysdeps/mach/hurd/_G_config.h: Likewise.
27287 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27288 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27289 * sysdeps/sparc/bits/mathdef.h: Likewise.
27290
afc5ed09
UD
272912012-01-26 Ulrich Drepper <drepper@gmail.com>
27292
27293 [BZ #13583]
27294 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27295 Clean up HAS_* macros.
afc5ed09 27296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27297 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27298 possible.
27299 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27300 HAS_AVX.
27301 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27302 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27303 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27304 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27305 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27306
bdb6de1d
JM
273072012-01-25 Joseph Myers <joseph@codesourcery.com>
27308
27309 * elf/tst-unique3.cc (gets): Remove declaration.
27310 * elf/tst-unique3lib.cc (gets): Likewise.
27311 * elf/tst-unique3lib2.cc (gets): Likewise.
27312 * elf/tst-unique4.cc (gets): Likewise.
27313
b15549e6
UD
273142012-01-24 Ulrich Drepper <drepper@gmail.com>
27315
27316 * include/stdio.h: Add C++ protection. Add gets declarations and
27317 definitions.
27318 * debug/tst-chk1.c: Don't declare gets here.
27319 * stdio-common/tst-gets.c: Likewise.
27320
a037381f
JM
273212012-01-24 Joseph Myers <joseph@codesourcery.com>
27322
27323 * posix/glob: Remove directory.
27324
f1d4aa75
JM
273252012-01-24 Joseph Myers <joseph@codesourcery.com>
27326
27327 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27328
81c0c964
PT
273292012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27330
27331 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27332 of the non-standard EPFNOSUPPORT.
27333
0ea698ae
ST
273342011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27335
27336 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27337 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27338 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27339
d220b117
UD
273402012-01-21 Ulrich Drepper <drepper@gmail.com>
27341
27342 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27343
3e1aa84e
UD
273442012-01-20 Ulrich Drepper <drepper@gmail.com>
27345
27346 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27347 transient errors.
27348 * nscd/grpcache.c (cache_addgr): Likewise.
27349 * nscd/hstcache.c (cache_addhst): Likewise.
27350 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27351 * nscd/pwdcache.c (cache_addpw): Likewise.
27352 * nscd/servicescache.c (cache_addserv): Likewise.
27353
400aa020
UD
273542012-01-16 Ulrich Drepper <drepper@gmail.com>
27355
d77e7869
UD
27356 * malloc/malloc.c: Various cleanups.
27357 * malloc/hooks.c: Likewise.
27358
400aa020
UD
27359 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27360 * stdlib/bug-fmtmsg1.c: New file.
27361
27362 * stdlib/fmtmsg.c (init): Add missing unlock.
27363 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27364
e0a309cf
MP
273652012-01-12 Marek Polacek <polacek@redhat.com>
27366
27367 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27368 and _GNU_SOURCE.
27369
929d11c7
WS
273702012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27371
27372 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27373 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27374 macro to ensure uniqueness of label name.
27375 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27376 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27377
41d0e869
UD
273782012-01-11 Ulrich Drepper <drepper@gmail.com>
27379
0cc5ed3b
UD
27380 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27381
41d0e869
UD
27382 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27383 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27384 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27385 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27386
a47a831a
UD
273872012-01-10 Ulrich Drepper <drepper@gmail.com>
27388
daa891c0
UD
27389 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27390
27391 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27392 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27393 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27394
e58ef0f2
UD
27395 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27396
a47a831a 27397 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27398 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27399 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27401
27402 * math/bits/math-finite.h: Add ldexp support.
27403
a0bfc9c7
MP
274042012-01-10 Marek Polacek <polacek@redhat.com>
27405
27406 * locale/programs/localedef.h (show_archive_content): Add noreturn
27407 attribute.
27408
d6e97a1d
UD
274092012-01-09 Ulrich Drepper <drepper@gmail.com>
27410
27411 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27412
d5835c26
UD
274132012-01-08 Ulrich Drepper <drepper@gmail.com>
27414
e5f484c6
UD
27415 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27416
d5835c26
UD
27417 * io/Makefile (headers): Add bits/poll2.h.
27418
d1f741e9
WS
274192011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27420
27421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27422 typo #include statement.
27423
ec09c1c4
UD
274242012-01-08 Ulrich Drepper <drepper@gmail.com>
27425
27426 * include/sys/cdefs.h: Define __attribute_alloc_size.
27427 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27428 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27429 * elf/pldd.c: Likewise.
27430 * iconv/iconv_charmap.c: Likewise.
27431 * iconv/iconvconfig.c: Likewise.
27432 * iconv/strtab.c: Likewise.
27433 * locale/programs/locale.c: Likewise.
27434 * locale/programs/localedef.h: Likewise.
27435 * locale/programs/simple-hash.c: Likewise.
27436 * nscd/nscd.h: Likewise.
27437 * nss/makedb.c: Likewise.
27438 * sysdeps/generic/ldconfig.h: Likewise.
27439 * locale/programs/localedef.c: Remove xmalloc prototype.
27440 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27441
20b38e03
PP
274422012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27443
27444 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27445 appropriate.
27446
a0da5fe1
UD
274472012-01-08 Ulrich Drepper <drepper@gmail.com>
27448
1d5a644a 27449 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27450 * math/tst-CMPLX.c: New file.
1d5a644a 27451
8784a6db
UD
27452 * math/complex.h (CMPLXL): Fix typo.
27453
d9a216c0
UD
27454 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27455 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27456 GLIBC_2.16.
27457 * debug/tst-chk1.c: Add poll and ppoll tests.
27458 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27459 * include/sys/poll.h: Add hidden proto for ppoll.
27460 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27461 * sysdeps/mach/hurd/ppoll.c: Likewise.
27462 * io/ppoll.c: Likewise.
27463 * debug/poll_chk.c: New file.
27464 * debug/ppoll_chk.c: New file.
27465 * include/bits/poll2.h: New file.
27466 * io/bits/poll2.h: New file.
27467
ac097f5c
UD
27468 [BZ #1350]
27469 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27470
2119dcfa
UD
27471 * configure.in: static is always set to yes. Remove.
27472 * config.make.in: Don't set build-static.
27473 * Makeconfig: Remove use of build-static.
27474 * dlfcn/Makefile: Likewise.
27475 * elf/Makefile: Likewise.
27476 * math/Makefile: Likewise.
27477 * misc/Makefile: Likewise.
27478 * nptl/Makefile: Likewise.
27479 * sysdeps/mach/hurd/Makefile: Likewise.
27480
121766a9
UD
27481 * configure.in: PWD_P is not used anymore.
27482 * config.make.in: Remove PWD_P entry.
27483
51a1d39c 27484 * configure.in: Remove last remnants of RANLIB.
8720d066 27485 No need to check for signed size_t anymore.
215f4bdc
UD
27486 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27487 and IA-64.
3857022a 27488 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27489 * aclocal.m4: Likewise.
27490
d3ed7225
UD
27491 * wcsmbs/mbrtoc16.c: Implement using towc function.
27492 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27493 * wcsmbs/wcsmbsload.c: Likewise.
27494 * iconv/gconv_simple.c: Likewise.
27495 * iconv/gconv_int.h: Likewise.
27496 * iconv/gconv_builtin.h: Likewise.
27497 * iconv/iconv_prog.c: Remove CHAR16 handling.
27498
27499 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27500
27501 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27502
a0da5fe1
UD
27503 * configure.in: Remove --with-elf and --enable-bounded options.
27504 Dont set base_machine for ia64. More non-ELF conditions removed.
27505 Remove testing and setting of leading underscore information.
27506 * config.make.in (build-bounded): Set to no.
27507 * config.h.in: Remove NO_UNDERSCORES entry.
27508 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27509 them.
27510 * csu/start.c: Remove !NO_UNDERSCORE code.
27511 * locale/localeinfo.h: Likewise.
27512 * sysdeps/generic/machine-gmon.h: Likewise.
27513 * sysdeps/generic/sysdep.h: Likewise.
27514 * sysdeps/i386/sysdep.h: Likewise.
27515 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27516 * sysdeps/mach/sysdep.h: Likewise.
27517 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27518 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27519 * sysdeps/sh/sysdep.h: Likewise.
27520 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27521 * sysdeps/unix/i386/sysdep.S: Likewise.
27522 * sysdeps/unix/sparc/start.c: Likewise.
27523 * sysdeps/unix/sparc/sysdep.S: Likewise.
27524 * sysdeps/unix/sparc/sysdep.h: Likewise.
27525 * sysdeps/unix/start.c: Likewise.
27526 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27527 * sysdeps/x86_64/sysdep.h: Likewise.
27528
df78418a
UD
275292012-01-07 Ulrich Drepper <drepper@gmail.com>
27530
a784e502
UD
27531 [BZ #13553]
27532 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27533 for non-gcc.
27534 * argp/argp-fmtstream.h: Use const instead __const.
27535 * argp/argp.h: Likewise.
27536 * assert/assert.h: Likewise.
27537 * bits/fenv.h: Likewise.
27538 * bits/sched.h: Likewise.
27539 * bits/sigset.h: Likewise.
27540 * bits/sigthread.h: Likewise.
27541 * catgets/nl_types.h: Likewise.
27542 * conform/data/pthread.h-data: Likewise.
27543 * crypt/crypt-private.h: Likewise.
27544 * crypt/crypt.h: Likewise.
27545 * crypt/crypt_util.c: Likewise.
27546 * ctype/ctype.h: Likewise.
27547 * debug/execinfo.h: Likewise.
27548 * debug/mbsnrtowcs_chk.c: Likewise.
27549 * debug/mbsrtowcs_chk.c: Likewise.
27550 * debug/wcsnrtombs_chk.c: Likewise.
27551 * debug/wcsrtombs_chk.c: Likewise.
27552 * debug/wcstombs_chk.c: Likewise.
27553 * dirent/dirent.h: Likewise.
27554 * dlfcn/dlfcn.h: Likewise.
27555 * elf/neededtest4.c: Likewise.
27556 * grp/grp.h: Likewise.
27557 * gshadow/gshadow.h: Likewise.
27558 * iconv/gconv.h: Likewise.
27559 * iconv/gconv_int.h: Likewise.
27560 * iconv/gconv_simple.c: Likewise.
27561 * iconv/iconv.h: Likewise.
27562 * iconv/loop.c: Likewise.
27563 * iconv/skeleton.c: Likewise.
27564 * include/aio.h: Likewise.
27565 * include/aliases.h: Likewise.
27566 * include/argz.h: Likewise.
27567 * include/arpa/inet.h: Likewise.
27568 * include/assert.h: Likewise.
27569 * include/dirent.h: Likewise.
27570 * include/dlfcn.h: Likewise.
27571 * include/execinfo.h: Likewise.
27572 * include/fcntl.h: Likewise.
27573 * include/fenv.h: Likewise.
27574 * include/glob.h: Likewise.
27575 * include/grp.h: Likewise.
27576 * include/libintl.h: Likewise.
27577 * include/mntent.h: Likewise.
27578 * include/netdb.h: Likewise.
27579 * include/pwd.h: Likewise.
27580 * include/rpc/netdb.h: Likewise.
27581 * include/sched.h: Likewise.
27582 * include/search.h: Likewise.
27583 * include/shadow.h: Likewise.
27584 * include/signal.h: Likewise.
27585 * include/stdio.h: Likewise.
27586 * include/stdlib.h: Likewise.
27587 * include/string.h: Likewise.
27588 * include/sys/socket.h: Likewise.
27589 * include/sys/stat.h: Likewise.
27590 * include/sys/statfs.h: Likewise.
27591 * include/sys/statvfs.h: Likewise.
27592 * include/sys/syslog.h: Likewise.
27593 * include/sys/time.h: Likewise.
27594 * include/sys/uio.h: Likewise.
27595 * include/time.h: Likewise.
27596 * include/unistd.h: Likewise.
27597 * include/utmp.h: Likewise.
27598 * include/wchar.h: Likewise.
27599 * include/wctype.h: Likewise.
27600 * inet/aliases.h: Likewise.
27601 * inet/arpa/inet.h: Likewise.
27602 * inet/netinet/ether.h: Likewise.
27603 * inet/netinet/in.h: Likewise.
27604 * intl/libintl.h: Likewise.
27605 * io/bits/fcntl2.h: Likewise.
27606 * io/fcntl.h: Likewise.
27607 * io/ftw.h: Likewise.
27608 * io/sys/poll.h: Likewise.
27609 * io/sys/stat.h: Likewise.
27610 * io/sys/statfs.h: Likewise.
27611 * io/sys/statvfs.h: Likewise.
27612 * io/utime.h: Likewise.
27613 * libio/bits/stdio.h: Likewise.
27614 * libio/bits/stdio2.h: Likewise.
27615 * libio/libio.h: Likewise.
27616 * libio/libioP.h: Likewise.
27617 * libio/stdio.h: Likewise.
27618 * locale/lc-ctype.c: Likewise.
27619 * locale/locale.h: Likewise.
27620 * login/utmp.h: Likewise.
27621 * malloc/arena.c: Likewise.
27622 * malloc/malloc.c: Likewise.
27623 * malloc/malloc.h: Likewise.
27624 * malloc/mcheck.c: Likewise.
27625 * malloc/mtrace.c: Likewise.
27626 * math/bits/mathcalls.h: Likewise.
27627 * math/fenv.h: Likewise.
27628 * math/math_private.h: Likewise.
27629 * misc/bits/error.h: Likewise.
27630 * misc/bits/syslog.h: Likewise.
27631 * misc/err.h: Likewise.
27632 * misc/error.h: Likewise.
27633 * misc/fstab.h: Likewise.
27634 * misc/mntent.h: Likewise.
27635 * misc/regexp.h: Likewise.
27636 * misc/search.h: Likewise.
27637 * misc/sgtty.h: Likewise.
27638 * misc/sys/mman.h: Likewise.
27639 * misc/sys/syslog.h: Likewise.
27640 * misc/sys/uio.h: Likewise.
27641 * misc/sys/xattr.h: Likewise.
27642 * misc/ttyent.h: Likewise.
27643 * nis/rpcsvc/ypclnt.h: Likewise.
27644 * nss/nss.h: Likewise.
27645 * posix/bits/unistd.h: Likewise.
27646 * posix/fnmatch.h: Likewise.
27647 * posix/glob.h: Likewise.
27648 * posix/sched.h: Likewise.
27649 * posix/spawn.h: Likewise.
27650 * posix/sys/wait.h: Likewise.
27651 * posix/unistd.h: Likewise.
27652 * posix/wordexp.h: Likewise.
27653 * pwd/pwd.h: Likewise.
27654 * resolv/netdb.h: Likewise.
27655 * resource/sys/resource.h: Likewise.
27656 * rt/aio.h: Likewise.
27657 * rt/bits/mqueue2.h: Likewise.
27658 * rt/mqueue.h: Likewise.
27659 * shadow/shadow.h: Likewise.
27660 * signal/signal.h: Likewise.
27661 * socket/send.c: Likewise.
27662 * socket/sendto.c: Likewise.
27663 * socket/sys/socket.h: Likewise.
27664 * stdio-common/printf.h: Likewise.
27665 * stdlib/bits/stdlib.h: Likewise.
27666 * stdlib/fmtmsg.h: Likewise.
27667 * stdlib/monetary.h: Likewise.
27668 * stdlib/stdlib.h: Likewise.
27669 * stdlib/ucontext.h: Likewise.
27670 * streams/stropts.h: Likewise.
27671 * string/argz.h: Likewise.
27672 * string/bits/string2.h: Likewise.
27673 * string/string.h: Likewise.
27674 * string/strings.h: Likewise.
27675 * sunrpc/rpc/auth.h: Likewise.
27676 * sunrpc/rpc/auth_des.h: Likewise.
27677 * sunrpc/rpc/clnt.h: Likewise.
27678 * sunrpc/rpc/netdb.h: Likewise.
27679 * sunrpc/rpc/pmap_clnt.h: Likewise.
27680 * sunrpc/rpc/xdr.h: Likewise.
27681 * sysdeps/generic/inttypes.h: Likewise.
27682 * sysdeps/generic/net/if.h: Likewise.
27683 * sysdeps/generic/sys/swap.h: Likewise.
27684 * sysdeps/gnu/net/if.h: Likewise.
27685 * sysdeps/gnu/utmpx.h: Likewise.
27686 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27687 * sysdeps/i386/i486/bits/string.h: Likewise.
27688 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27689 * sysdeps/s390/bits/string.h: Likewise.
27690 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27691 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27692 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27693 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27694 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27695 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27696 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27697 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27698 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27699 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27700 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27701 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27702 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27703 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27704 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27705 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27706 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27708 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27711 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27712 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27713 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27714 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27715 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27716 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27717 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27718 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27719 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27720 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27721 * sysvipc/sys/ipc.h: Likewise.
27722 * sysvipc/sys/msg.h: Likewise.
27723 * sysvipc/sys/sem.h: Likewise.
27724 * sysvipc/sys/shm.h: Likewise.
27725 * termios/termios.h: Likewise.
27726 * time/sys/time.h: Likewise.
27727 * time/time.h: Likewise.
27728 * wcsmbs/bits/wchar2.h: Likewise.
27729 * wcsmbs/uchar.h: Likewise.
27730 * wcsmbs/wchar.h: Likewise.
27731 * wctype/wctype.h: Likewise.
27732
0269750c
UD
27733 [BZ #13551]
27734 * Makeconfig: Remove all but ELF support including AIX support.
27735 * Makerules: Likewise.
27736 * config.h.in: Likewise.
27737 * config.make.in: Likewise.
27738 * configure: Likewise.
27739 * configure.in: Likewise.
27740 * csu/Makefile: Likewise.
27741 * csu/version.c: Likewise.
27742 * debug/Makefile: Likewise.
27743 * dlfcn/Makefile: Likewise.
27744 * elf/Makefile: Likewise.
27745 * extra-lib.mk: Likewise.
27746 * iconv/Makefile: Likewise.
27747 * include/libc-symbols.h: Likewise.
27748 * include/shlib-compat.h: Likewise.
27749 * resolv/Makefile: Likewise.
27750 * resolv/res_libc.c: Likewise.
27751 * rt/Makefile: Likewise.
27752 * sysdeps/i386/asm-syntax.h: Likewise.
27753 * sysdeps/i386/sysdep.h: Likewise.
27754 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27755 * sysdeps/mach/sysdep.h: Likewise.
27756 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27757 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27758 * sysdeps/s390/asm-syntax.h: Likewise.
27759 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27761 * sysdeps/sh/sysdep.h: Likewise.
27762 * sysdeps/unix/sparc/sysdep.h: Likewise.
27763 * sysdeps/wordsize-32/divdi3.c: Likewise.
27764 * sysdeps/x86_64/sysdep.h: Likewise.
27765
00bbd29b
UD
27766 * argp/Versions: Remove _argp_unlock_xxx.
27767
27768 [BZ #13559]
27769 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27770 * abilist/libBrokenLocale.abilist: Likewise.
27771 * abilist/libanl.abilist: Likewise.
27772 * abilist/libc.abilist: Likewise.
27773 * abilist/libcrypt.abilist: Likewise.
27774 * abilist/libdl.abilist: Likewise.
27775 * abilist/libm.abilist: Likewise.
27776 * abilist/libnsl.abilist: Likewise.
27777 * abilist/libpthread.abilist: Likewise.
27778 * abilist/libresolv.abilist: Likewise.
27779 * abilist/librt.abilist: Likewise.
27780 * abilist/libthread_db.abilist: Likewise.
27781 * abilist/libutil.abilist: Likewise.
27782 * abilist/libnss_db.abilist: New file.
27783
27784 * scripts/abilist.awk: Add support for indirect functions.
27785
a2693a0e
UD
27786 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27787
3f05895f
UD
27788 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27789
ecb6fb48
UD
27790 * shlib-versions: Remove entries for ports architectures.
27791
664f8cb9
UD
27792 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27793 files in ports.
27794 * elf/stackguard-macros.h: Remove support for IA-64.
27795 * elf/tst-auditmod1.c: Likewise.
27796 * sysdeps/generic/ldsodefs.h: Likewise.
27797
7ae81d88
UD
27798 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27799 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27800 configure files.
27801
bdeba135
UD
27802 [BZ #13552]
27803 * configure.in: Remove --enable-omitfp support.
27804 * FAQ.in: Adjust.
27805 * config.make.in: Likewise.
27806 * Makeconfig: Likewise.
27807 * manual/install.texi: Likewise.
27808
d75a0a62
UD
27809 In case anyone cares, the IA-64 architecture could move to ports.
27810 * sysdeps/ia64/*: Removed.
27811 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27812 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27813
dcc9756b
UD
27814 [BZ #13555]
27815 * configure.in: Remove entries for unsupported architectures.
27816
d3761ebc 27817 [BZ #13533]
9954432e
UD
27818 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27819 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27820 routines.
27821 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27822 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27823 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27824 fall back to using wcrtomb.
27825 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27826 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27827 renaming.
27828 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27829 * wcsmbs/tst-c16c32-1.c: New file.
27830
27831 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27832 local variable.
27833
c3a87236
UD
27834 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27835
28926a1b
UD
27836 * elf/tst-unique3.cc: Add explicit declaration of gets.
27837 * elf/tst-unique3lib.cc: Likewise.
27838 * elf/tst-unique3lib2.cc: Likewise.
27839 * elf/tst-unique4.cc: Likewise.
27840
df78418a
UD
27841 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27842
8ecd6b2a
JM
278432012-01-06 Joseph Myers <joseph@codesourcery.com>
27844
27845 [BZ #13566]
27846 * assert/assert.h (static_assert): Don't define for C++.
27847 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27848 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27849
9f115170
UD
278502012-01-03 Ulrich Drepper <drepper@gmail.com>
27851
5e0d0300
UD
27852 * iconv/loop.c (single loop): Fix assertion in storing of
27853 remaining bytes.
27854
9f115170
UD
27855 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27856
81fb02b0
UD
278572012-01-01 Ulrich Drepper <drepper@gmail.com>
27858
27859 * posix/getconf.c: Update copyright year.
27860 * nss/getent.c: Likewise.
a316c1f6 27861 * nss/makedb.c: Likewise.
81fb02b0
UD
27862 * iconv/iconvconfig.c: Likewise.
27863 * iconv/iconv_prog.c: Likewise.
27864 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27865 * elf/pldd.c: Likewise.
27866 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27867 * catgets/gencat.c: Likewise.
27868 * csu/version.c: Likewise.
27869 * elf/ldd.bash.in: Likewise.
27870 * elf/sprof.c (print_version): Likewise.
27871 * locale/programs/locale.c: Likewise.
27872 * locale/programs/localedef.c: Likewise.
a316c1f6 27873 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27874 * nscd/nscd.c (print_version): Likewise.
27875 * debug/xtrace.sh: Likewise.
27876 * malloc/memusage.sh: Likewise.
27877 * malloc/mtrace.pl: Likewise.
27878 * debug/catchsegv.sh: Likewise.
27879
2ba92745
JJ
278802011-12-30 Jakub Jelinek <jakub@redhat.com>
27881
27882 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27883 pure attribute.
27884
dadebdae
UD
278852011-12-24 Ulrich Drepper <drepper@gmail.com>
27886
d3761ebc 27887 [BZ #13533]
db6af3eb
UD
27888 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27889 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27890 transformations.
27891 * iconv/gconv_int.h: Likewise.
27892 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27893 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27894 from libc for GLIBC_2.16.
27895 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27896 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27897 * wcsmbs/uchar.h: Really define mbstate_t.
27898 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27899 * wcsmbs/c16rtomb.c: New file.
27900 * wcsmbs/mbrtoc16.c: New file.
27901 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27902 for C/POSIX locale.
27903 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27904 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27905
dadebdae
UD
27906 * wcsmbs/wchar.h: Add missing __restrict.
27907
67371b56
UD
279082011-12-23 Ulrich Drepper <drepper@gmail.com>
27909
74033a25
UD
27910 [BZ #13532]
27911 * time/Makefile (routines): Add timespec_get.
27912 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27913 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27914 timespec for ISO C11.
27915 * time/timespec_get.c: New file.
27916 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27917 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27918
380d7e87
UD
27919 [BZ #13531]
27920 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27921 * stdlib/stdlib.h: Declare aligned_alloc.
27922 * Versions.def: Add GLIBC_2.16 for libc.
27923 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27924
4e9e7a35
UD
27925 [BZ 13527]
27926 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27927 ISO C11.
27928
380d7e87 27929 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27930 code.
27931
03a71829
UD
27932 [BZ #13528]
27933 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27934
839e283e
UD
27935 [BZ #13529]
27936 * assert/assert.h (static_assert): Define.
27937
ce5294e2 27938 * version.h: Update for 2.16 development version.
90fa7312 27939
8d44e150 27940 [BZ #13526]
d7809905
UD
27941 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27942 _ISOC11_SOURCE.
27943
c0da14cd
UD
27944 * version.h (RELEASE): Bump for 2.15 release.
27945 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27946
530a3249
MP
27947 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27948 Patch by Marek Polacek <mpolacek@redhat.com>.
27949
67371b56
UD
27950 * bits/byteswap.h: Protect long long constants with __extension__.
27951 * sysdeps/i386/bits/byteswap.h: Likewise.
27952 * sysdeps/ia64/bits/byteswap.h: Likewise.
27953 * sysdeps/s390/bits/byteswap.h: Likewise.
27954 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27955
15db4de1
LD
279562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27957
27958 [BZ #13540]
bbe315ea
LD
27959 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27960 destination buffer.
15db4de1
LD
27961 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27962
2b2596b1
MP
279632011-12-23 Marek Polacek <polacek@redhat.com>
27964
27965 * elf/dl-addr.c (determine_info): Add inline keyword.
27966 * elf/tst-auditmod4b.c (check_avx): Likewise.
27967 * elf/tst-auditmod6b.c (check_avx): Likewise.
27968 * elf/tst-auditmod6c.c (check_avx): Likewise.
27969 * elf/tst-auditmod7b.c (check_avx): Likewise.
27970
70c6c246
UD
279712011-12-23 Ulrich Drepper <drepper@gmail.com>
27972
27973 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27974 !__SSE_MATH__.
27975
c044cf14
LD
279762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27977
15db4de1 27978 [BZ #13540]
c044cf14
LD
27979 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27980 processing for last bytes.
27981
6b13d9d9
BH
279822011-08-06 Bruno Haible <bruno@clisp.org>
27983
d455f537
BH
27984 [BZ #13061]
27985 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27986 U+0385, not to U+1FEE.
27987
6b13d9d9
BH
27988 [BZ #13062]
27989 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27990 entry for U+00A5 U+0301.
27991
db910efd
UD
279922011-12-22 Ulrich Drepper <drepper@gmail.com>
27993
27deeafc
UD
27994 [BZ #13166]
27995 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27996 buffer for the output is too small.
27997
aed9d171
UD
27998 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27999 optimization.
28000
db910efd
UD
28001 [BZ #13185]
28002 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28003 SSE flags if possible.
28004
2bd779ae
LD
280052011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28006
e7f9dac3 28007 [BZ #13540]
2bd779ae
LD
28008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28009 processing for last bytes.
28010
154bfc16
JM
280112011-12-22 Joseph Myers <joseph@codesourcery.com>
28012
28013 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28014 (syscall-list-default-options, syscall-list-default-condition)
28015 (syscall-list-includes): Define.
28016 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28017 list of ABIs and options and #if conditions for each ABI. Do not
28018 handle common syscalls between ABIs specially.
28019 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28020 Remove.
28021 (syscall-list-variants, syscall-list-32bit-options)
28022 (syscall-list-32bit-condition, syscall-list-64bit-options)
28023 (syscall-list-64bit-condition): Define.
28024 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28025 (syscall-list-variants, syscall-list-32bit-options)
28026 (syscall-list-32bit-condition, syscall-list-64bit-options)
28027 (syscall-list-64bit-condition): Define.
28028 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28029 Remove.
28030 (syscall-list-variants, syscall-list-32bit-options)
28031 (syscall-list-32bit-condition, syscall-list-64bit-options)
28032 (syscall-list-64bit-condition): Define.
28033 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28034 Remove.
28035 (syscall-list-variants, syscall-list-32bit-options)
28036 (syscall-list-32bit-condition, syscall-list-64bit-options)
28037 (syscall-list-64bit-condition): Define.
28038
21eaf3a5
UD
280392011-12-22 Ulrich Drepper <drepper@gmail.com>
28040
16c6f992
UD
28041 * locale/iso-639.def: Add brx entry.
28042
41043168
UD
28043 [BZ #13328]
28044 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28045 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28046
21eaf3a5
UD
28047 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28048 __feraiseexcept_renamed.
28049
e3a851a2
UD
280502011-12-21 Ulrich Drepper <drepper@gmail.com>
28051
4920765e
UD
28052 [BZ #13538]
28053 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28054 EPOLLET with unsigned values.
28055 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28056 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28057
e3a851a2
UD
28058 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28059 to large cancellation.
28060 * math/s_cacoshf.c: Likewise.
28061 * math/s_cacoshl.c: Likewise.
28062
b27e24b8
RK
280632011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28064
28065 [BZ #13305]
aebefeee 28066 [BZ #12786]
b27e24b8
RK
28067 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28068 * math/s_cacoshf.c: Likewise.
28069 * math/s_cacoshl.c: Likewise.
28070
ee190f67
UD
280712011-12-21 Ulrich Drepper <drepper@gmail.com>
28072
28073 [BZ #13439]
28074 * iconv/gconv.h: Define __GCONV_SWAP.
28075 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28076 * iconvdata/utf-16.c: Likewise.
28077 * iconvdata/utf-32.c: Likewise.
28078
707f25df
AS
280792011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28080
28081 [BZ #13524]
28082 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28083 numerator after shifting it by one limb.
28084
d2daaa1e
RÁE
280852011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28086
28087 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28088 under [__USE_EXTERN_INLINES].
28089
a4647e72
UD
280902011-12-17 Ulrich Drepper <drepper@gmail.com>
28091
28092 [BZ #13446]
28093 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28094
f0b264f1
AZ
280952011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28096
28097 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28098 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28099 optimized code.
28100 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28101 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28102 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28103 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28104 for strncasecmp/strncasecmp_l compilation.
28105 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28106 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28107
8ef4f244
MP
281082011-12-08 Marek Polacek <mpolacek@redhat.com>
28109
28110 [BZ #13484]
28111 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28112 of __asm__.
28113
97ac2654
UD
281142011-12-17 Ulrich Drepper <drepper@gmail.com>
28115
28116 [BZ #13506]
28117 * time/tzfile.c (__tzfile_read): Check values from file header.
28118
91d2a845
WS
281192011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28120
28121 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28122 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28123 * powerpc/powerpc32/dl-start.S: Likewise.
28124 * powerpc/powerpc32/elf/start.S: Likewise.
28125 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28126 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28127 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28128 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28129 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28130 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28131 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28132 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28133 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28134 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28135 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28136 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28137 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28138 * powerpc/powerpc32/memset.S: Likewise.
28139 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28140 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28141 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28142 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28143 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28144 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28145 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28146 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28147 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28148 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28149 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28150 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28151 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28152
a1267ba1
AZ
281532011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28154
28155 * math/libm-test.inc: Added more nearbyint tests.
28156 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28158 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28160
ad8ac1bd
RL
281612011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28162
28163 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28164 FD_CLOEXEC.
28165
1d3e4b61
UD
281662011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28167
28168 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28169 Add wcscpy-ssse3 wcscpy-c.
28170 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28171 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28172 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28173 * sysdeps/x86_64/wcschr.S: New file.
28174 * sysdeps/x86_64/wcsrchr.S: New file.
28175 * string/test-strcmp.c: Remove checking of wcscmp function for
28176 wrong alignments.
28177 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28178 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28179 wcsrchr-sse2 wcsrchr-c.
28180 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28181 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28182 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28183 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28184 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28185 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28186 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28187 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28188 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28189 * wcsmbc/wcschr.c (WCSCHR): New macro.
28190
5b330a2d
UD
281912011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28192
28193 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28194 * wcsmbs/test-wcsrchr.c: New file.
28195 * string/test-strrchr.c: Add wcsrchr support.
28196 (WIDE): New macro.
28197 * wcsmbs/test-wcscpy.c: New file.
28198 * string/test-strcpy.c: Add wcscpy support.
28199 (WIDE): New macro.
26428b7c 28200
f039c043
UD
282012011-12-10 Ulrich Drepper <drepper@gmail.com>
28202
28203 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28204 the inner loop.
28205
850fb039
AS
282062011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28207
28208 [BZ #13472]
28209 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28210
4efbd5cb
UD
282112011-12-04 Ulrich Drepper <drepper@gmail.com>
28212
52ff5dd0 28213 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28214 Minor optimizations.
52ff5dd0 28215
4efbd5cb
UD
28216 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28217 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28218 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28219
8a426e12
UD
282202011-12-03 Ulrich Drepper <drepper@gmail.com>
28221
aff2453d
UD
28222 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28223 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28224 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28225 for gcc to avoid warnings.
28226 * inet/Makefile (tests): Add tst-checks.
28227 * inet/tst-checks.c: New file.
28228
28229 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28230 warning.
28231
28232 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28233 __wmemcmp_sse2.
28234
28235 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28236 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28237
8a426e12
UD
28238 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28239
9bea3473
UD
282402011-12-02 Ulrich Drepper <drepper@gmail.com>
28241
3a965496
UD
28242 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28243 problem.
28244
9bea3473
UD
28245 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28246
f101631b
UD
282472011-11-29 Joseph Myers <joseph@codesourcery.com>
28248
28249 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28250 conditional on GCC version.
28251 (__arch_compare_and_exchange_val_8_acq)
28252 (__arch_compare_and_exchange_val_16_acq)
28253 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28254 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28255 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28256
a98275aa
UD
282572011-12-02 Joseph Myers <joseph@codesourcery.com>
28258
28259 * sysdeps/sh/backtrace.c: New file.
28260
d4cc29a2
AS
282612011-12-02 Andreas Schwab <schwab@redhat.com>
28262
28263 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28264 parenthesis.
28265
6257af2d
AS
282662011-12-01 Andreas Schwab <schwab@redhat.com>
28267
28268 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28269 falling back to utime.
28270
b5f44c1a
AS
282712011-11-30 Andreas Schwab <schwab@redhat.com>
28272
28273 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28274 expectations for float.
28275
f3a6cc0a
AS
282762011-11-29 Andreas Schwab <schwab@redhat.com>
28277
28278 * locale/weight.h (findidx): Add parameter len.
28279 * locale/weightwc.h (findidx): Likewise.
28280 * posix/fnmatch_loop.c (FCT): Adjust caller.
28281 * posix/regcomp.c (build_equiv_class): Likewise.
28282 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28283 * posix/regexec.c (check_node_accept_bytes): Likewise.
28284 * string/strcoll_l.c (STRCOLL): Likewise.
28285 * string/strxfrm_l.c (STRXFRM): Likewise.
28286
9d65ea3a
UD
282872011-11-17 Ulrich Drepper <drepper@gmail.com>
28288
28289 * Makefile.in: Remove CVSOPT handling.
28290 * configure.in: Remove use of AC_REVISION.
28291 * iconvdata/Makefile (distribute): No need to filter out CVS.
28292 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28293 handling.
28294
5583a086
AS
282952011-11-16 Andreas Schwab <schwab@redhat.com>
28296
28297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28298 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28299 [USE_AS_STRNCASECMP_L]: Likewise.
28300 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28301 NO_TLS_DIRECT_SEG_REFS.
28302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28303 Fix argument offsets for non-PIC.
28304 [USE_AS_STRNCASECMP_L]: Likewise.
28305 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28306 NO_TLS_DIRECT_SEG_REFS.
28307
d62a8200
UD
283082011-11-15 Ulrich Drepper <drepper@gmail.com>
28309
9d65ea3a 28310 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28311 O_CLOEXEC.
28312 * locale/loadlocale.c (_nl_load_locale): Likewise.
28313
09f93bd3
AS
283142011-11-15 Andreas Schwab <schwab@redhat.com>
28315
446514f9
AS
28316 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28317 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28318 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28319 (SYSCALL_GETTIME): Set errno on error.
28320
09f93bd3
AS
28321 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28322 count references to noai6ai_cached.
28323
312be3f9
UD
283242011-11-15 Ulrich Drepper <drepper@gmail.com>
28325
28326 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28327
28328 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28329 FD_CLOEXEC for /proc/self/maps.
28330
28331 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28332 FD_CLOEXEC for /proc/meminfo.
28333
28334 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28335 gai.conf.
28336
28337 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28338 FD_CLOEXEC for given file.
28339
28340 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28341
28342 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28343 FD_CLOEXEC for /etc/hosts.
28344 (_gethtent): Likewise.
28345
28346 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28347
28348 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28349 cancellation and set FD_CLOEXEC for /etc/netgroup.
28350
28351 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28352 reading /etc/publickey.
28353
28354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28355 allow cancellation when reading /etc/group.
28356
28357 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28358 cancellation.
28359 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28360
28361 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28362 when using data file.
28363
28364 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28365
28366 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28367 (write_nis_obj): Use "c" and "e" in fopen.
28368
28369 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28370
28371 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28372
28373 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28374
28375 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28376
28377 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28378 locale.alias.
28379
28380 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28381
28382 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28383
28384 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28385
28386 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28387 file parsing and set FD_CLOEXEC.
28388
82af0fa8
UD
283892011-11-14 Ulrich Drepper <drepper@gmail.com>
28390
28391 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28392
a5fb313c
AS
283932011-11-14 Andreas Schwab <schwab@redhat.com>
28394
28395 * malloc/arena.c (arena_get2): Don't call reused_arena when
28396 _int_new_arena failed.
28397
6abf3465
UD
283982011-11-14 Ulrich Drepper <drepper@gmail.com>
28399
28400 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28401 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28402 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28403 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28404 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28405 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28406 to compile strcasecmp and strncasecmp.
28407 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28408 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28409
28410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28411
76e3966e
UD
284122011-11-13 Ulrich Drepper <drepper@gmail.com>
28413
28414 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28415 locale-defines.sym to gen-as-const-headers.
28416 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28417 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28419 to compile strcasecmp and strncasecmp.
28420 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28421 strcasecmp_l and strncasecmp_l.
28422 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28423 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28424 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28425 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28426 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28427 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28428 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28429 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28430 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28431 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28432 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28433
ab26144e
UD
284342011-11-12 Ulrich Drepper <drepper@gmail.com>
28435
7edb22ef
UD
28436 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28437 result of SYSDEP_GETTIME_CPU to retval.
28438 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28439 parameter list to macro. Remove trailing semicolon. Adjust users.
28440
9694fc44
UD
28441 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28442 variable.
28443
8ad89ef8
UD
28444 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28445 mantissa words.
28446 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28447
0c822ef9
UD
28448 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28449 from unused variable.
28450
874e0564
UD
28451 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28452 DWARF definitions.
28453 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28454 for assembling.
28455
3a2edc79
UD
28456 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28457 over namespaces.
28458
f3c2577f
UD
28459 * sunrpc/rpc_prot.c (rejected): Fix case value.
28460
294ce126
UD
28461 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28462 unsigned long long int to avoid warnings in shift.
28463
5e2b63c6
UD
28464 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28465 of use of trans.
28466 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28467 variable tmp.
28468
e7f4b08e
UD
28469 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28470 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28471 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28472
ab26144e
UD
28473 * nis/nis_table.c (nis_list): Use variable of correct type for
28474 result of __follow_path call.
28475
8a6d5255
AZ
284762011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28477
28478 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28479 of math functions ceil, trunc, floor, round, and sqrt, when
28480 avaliable on the platform.
28481 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28482 name clash.
28483 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28484 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28485 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28486
aaddc98c
MP
284872011-10-30 Marek Polacek <mpolacek@redhat.com>
28488
28489 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28490 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28491
95b7042b
RM
284922011-11-11 Roland McGrath <roland@hack.frob.com>
28493
28494 * include/unistd.h: Fix __readlink return type.
28495 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28496
57769839
UD
284972011-11-11 Ulrich Drepper <drepper@gmail.com>
28498
28499 * stdlib/ucontext.h: Undo last change for makecontext.
28500
edc5984d
AS
285012011-11-11 Andreas Schwab <schwab@redhat.com>
28502
98591e58
AS
28503 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28504
edc5984d
AS
28505 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28506 * setjmp/setjmp.h: Mark functions as non-leaf.
28507 * setjmp/bits/setjmp2.h: Likewise.
28508 * stdlib/ucontext.h: Likewise.
28509
77cdc054
AS
285102011-11-10 Andreas Schwab <schwab@redhat.com>
28511
28512 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28513 (reused_arena): Don't check arena limit.
28514 (arena_get2): Atomically check arena limit.
28515
fe72eebd
UD
285162011-11-08 Ulrich Drepper <drepper@gmail.com>
28517
5f078c32
UD
28518 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28519 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28520
fe72eebd
UD
28521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28522 instructions.
28523
ae1bc2fa
AS
285242011-11-07 Andreas Schwab <schwab@redhat.com>
28525
7583a88d
AS
28526 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28527 handler when locking.
28528
ae1bc2fa
AS
28529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28530 Fix size of allocated buffer.
28531
10fb0bfa
AS
285322011-11-04 Andreas Schwab <schwab@redhat.com>
28533
998832a4
AS
28534 [BZ #10103]
28535 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28536 declarations for long double functions.
28537 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28538
10fb0bfa
AS
28539 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28540
3d7ba52b
AS
285412011-11-03 Andreas Schwab <schwab@redhat.com>
28542
a9ae54a1
AS
28543 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28544 installed.
28545
3d7ba52b
AS
28546 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28547 is disabled.
28548
bc8db248
ST
285492011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28550
28551 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28552
45b96dd6
AS
285532011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28554
647776f6
AS
28555 * include/alloca.h (stackinfo_alloca_round): Define.
28556 (extend_alloca): Use it.
28557 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28558 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28559 here.
28560
d91a8b93
AS
28561 * scripts/check-local-headers.sh: Ignore libaudit.h.
28562
45b96dd6
AS
28563 * nscd/Makefile (extra-objs): Make recursively expanded.
28564
432d41ce
UD
285652011-11-01 Ulrich Drepper <drepper@gmail.com>
28566
34372fc6
UD
28567 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28568 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28569
fadb59f8
UD
28570 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28571 * posix/tst-rfc3484-2.c: Likewise.
28572 * posix/tst-rfc3484-3.c: Likewise.
28573
78239589
UD
28574 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28575 process_vm_writev.
28576 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28577 process_vm_writev.
28578 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28579 process_vm_writev from libc using GLIBC_2.15 version.
28580
432d41ce
UD
28581 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28582
02f9c6cf
PP
285832011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28584
28585 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28586 stack usage.
28587
3a2c0242
UD
285882011-10-31 Ulrich Drepper <drepper@gmail.com>
28589
f4ec4833
UD
28590 [BZ #13367]
28591 * nss/getent.c (initgroups_keys): Show error message in case no group
28592 names are given.
28593
3a2c0242
UD
28594 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28595 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28596 __bump_nl_timestamp.
28597 * nscd/connections (nscd_init): When host database is served open
28598 netlink socket and request notification about configuration changes.
28599 (main_loop_poll): Track netlink file descriptor and bump timestamp
28600 in case data becomes available.
28601 (main_loop_epoll): Likewise.
28602 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28603 (database_pers_head): Add extra_data fileds.
28604 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28605 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28606 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28607 Adjust caller.
28608 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28609 in6ai data, call __free_in6ai.
28610 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28611 Add -DHAVE_NETLINK.
28612 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28613 interface information. Reuse previous data if netlink timestamp
28614 is not changed.
28615 (__bump_nl_timestamp): New function.
28616 (__free_in6ai): New function.
28617
636064eb
UD
286182011-10-30 Ulrich Drepper <drepper@gmail.com>
28619
28620 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28621 close_not_cancel_no_status here.
28622 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28623
9beb2334
UD
286242011-10-29 Ulrich Drepper <drepper@gmail.com>
28625
6ef76f3b
UD
28626 [BZ #13276]
28627 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28628 return value.
28629
0ffc4f3e 28630 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28631 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28632 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28633
cb95113e
UD
286342011-07-03 Andreas Jaeger <aj@suse.de>
28635
28636 [BZ #10709]
28637 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28638 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28639 * math/libm-test.inc (sin_test): Add test case.
28640
a1b560ff
UD
286412011-10-29 Ulrich Drepper <drepper@gmail.com>
28642
c9aaface
UD
28643 [BZ #13337]
28644 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28645 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28646
d272e7f1
UD
28647 * elf/chroot_canon.c (chroot_canon): Cleanups.
28648
1bc33071
UD
28649 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28650
1760874d
TJ
28651 [BZ #13335]
28652 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28653 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28654
51d91b18
UD
28655 * string/test-strchr.c: Make usable for strchrnul testing.
28656 * string/test-strchrnul.c: New file.
28657 * string/Makefile (strop-tests): Add strchrnul.
28658
a1b560ff 28659 * po/it.po: Update from translation team.
b611fb81 28660 * po/es.po: Likewise.
a1b560ff 28661
a5b81e1f
UD
286622011-10-28 Ulrich Drepper <drepper@gmail.com>
28663
fd52bc6d
UD
28664 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28665 the three constants needed as parameters. Drop the others.
28666 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28667 __m128i_strloadu_tolower.
52e4b9eb
UD
28668 Create and initialize variable zero and use it in all the places
28669 where _mm_setzero_si128 was used.
fd52bc6d 28670
a5b81e1f
UD
28671 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28672 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28673 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28674 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28675 anymore.
28676 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28677 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28678 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28679 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28680 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28681 __mpranred, __mptan.
28682 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28683 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28684 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28685 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28686 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28687 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28688 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28689 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28690 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28691
b4343346
AS
286922011-10-28 Andreas Schwab <schwab@redhat.com>
28693
0c92d8a8
AS
28694 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28695 redefine if SHARED.
28696 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28697
b4343346
AS
28698 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28699 wide char related routines to wcsmbs subdir.
28700
3871f58f
AS
287012011-10-27 Andreas Schwab <schwab@redhat.com>
28702
28703 [BZ #13344]
28704 * misc/sys/cdefs.h (__THROWNL): Define.
28705 * posix/unistd.h: Use __THREADNL instead of __THREAD
28706 for memory synchronization functions.
28707
94d44d9f
RM
287082011-10-26 Roland McGrath <roland@hack.frob.com>
28709
21b64b15 28710 [BZ #13349]
94d44d9f
RM
28711 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28712 doesn't exist.
28713 * manual/stdio.texi (Obstack Streams): Node removed.
28714
f6ce9294
AS
287152011-10-26 Andreas Schwab <schwab@redhat.com>
28716
80479147
AS
28717 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28718 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28719 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28720
f6ce9294
AS
28721 * math/math_private.h (math_force_eval): Allow non-addressable
28722 arguments.
28723 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28724
618280a1
UD
287252011-10-25 Ulrich Drepper <drepper@gmail.com>
28726
e0016b11
UD
28727 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28728 file is not needed.
28729
28730 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28731 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28732 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28733 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28734 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28735 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28736 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28737 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28738 Add AVX variants.
28739 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28740 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28741 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28742 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28743 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28744 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28745 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28746 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28747 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28748 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28749 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28750 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28751 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28752 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28753 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28754 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28755 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28756 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28757 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28758
28759 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28760 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28761
618280a1
UD
28762 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28763 place. Use VEX encoding when compiling for AVX.
28764
37822576
AS
287652011-10-25 Andreas Schwab <schwab@redhat.com>
28766
1f1e1947
AS
28767 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28768 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28769
37822576
AS
28770 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28771
31ea014d
UD
287722011-10-25 Ulrich Drepper <drepper@gmail.com>
28773
d7826aa1 28774 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28775 useless if() expression.
d7826aa1
UD
28776 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28777 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28778 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28779 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28780 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28781 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28782 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28783 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28784 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28785 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28786 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28787 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28788 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28789 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28790 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28791 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28792 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28793 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28794 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28795
31ea014d
UD
28796 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28797
16437fec
AS
287982011-10-25 Andreas Schwab <schwab@redhat.com>
28799
28800 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28801 condition.
28802 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28803
31d3cc00
UD
288042011-10-25 Ulrich Drepper <drepper@gmail.com>
28805
28806 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28807 .text section. Avoid duplicate constants.
28808 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28809 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28810 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28811 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28814 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28816 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28817 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28818 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28819 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28820 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28821 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28823 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28825 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28830 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28831 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28832 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28833 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28834 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28835 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28836 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28837 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28838 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28839 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28840 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28841 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28842 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28843 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28844 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28845 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28846 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28847 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28848 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28849 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28850 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28851 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28852 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28853
58985aa9
UD
288542011-10-24 Ulrich Drepper <drepper@gmail.com>
28855
202c9deb
UD
28856 * sysdeps/x86_64/dla.h: Move to ...
28857 * sysdeps/x86_64/fpu/dla.h: ...here.
28858 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28859 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28860
af968f62
UD
28861 * config.make.in: Add have-mfma4 entry.
28862 * configure.in: Substitute libc_cv_cc_fma4.
28863 * math/Makefile (dbl-only-routines): Add sincostab.
28864 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28865 Use __sincostab not sincos.
28866 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28867 name is a macro.
28868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28872 using __copysign.
28873 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28874 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28875 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28876 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28877 and __inv.
28878 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28879 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28880 __copysign.
28881 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28882 define aliases when function name is a macro.
28883 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28884 sysdeps/ieee754/dbl-64/sincos.tbl.
28885 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28886 fma4-enabled routines.
28887 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28888 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28889 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28890 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28891 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28892 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28893 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28894 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28895 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28896 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28897 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28898 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28899 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28900 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28901 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28902 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28903 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28904 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28905 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28906 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28907 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28908 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28909 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28910 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28911 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28912 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28914 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28915 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28916 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28917
58985aa9
UD
28918 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28919 rename.
28920 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28926 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28928
a201fbcf
AS
289292011-10-24 Andreas Schwab <schwab@redhat.com>
28930
28931 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28932
fc2ee42a
LD
289332011-10-23 Ulrich Drepper <drepper@gmail.com>
28934
bb3129bd
UD
28935 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28936
0275fff8
UD
28937 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28938 prediction.
28939 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28940
2fa2ae85
UD
28941 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28942 Remove unused variable magic_bits.
28943 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28944
fc2ee42a
LD
28945 * string/strnlen.c: Define and use STRNLEN macro.
28946 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28947 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28948 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28949 * wcsmbs/wcslen.c: Define and use WCSLEN.
28950 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28951 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28952 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28953 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28954 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28955 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28956 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28957
ce7dd29f
LD
289582011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28959
28960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28961 strnlen-sse2-no-bsf.
28962 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28963 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28964 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28965 Add strnlen support.
28966 (USE_AS_STRNLEN): New macro.
28967 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28968 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28969 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28970 * sysdeps/x86_64/wcslen.S: New file.
28971
979c70a3
MZ
289722011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28973
28974 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28975 XMM-moves are used for copying on small sizes.
28976
2d09f82f
LD
289772011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28978
28979 * wcsmbs/Makefile (strop-tests): Add wcschr.
28980 * wcsmbs/test-wcschr.c: New file.
28981 * string/test-strchr.c: Update.
28982 Add wcschr support.
28983 (WIDE): New macro.
28984
619fccca
LD
289852011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28986
2d09f82f 28987 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
28988 * wcsmbs/test-wcslen.c: New file.
28989 * string/test-strlen.c: Update.
28990 Add wcslen support.
28991 (WIDE): New macro.
28992
09f699ea
UD
289932011-10-23 Ulrich Drepper <drepper@gmail.com>
28994
28995 * po/it.po: Update from translation team.
28996
95584d3b
LD
289972011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28998
28999 * sysdeps/x86_64/wcscmp.S: Update.
29000 Fix wrong comparison semantics.
29001 wcscmp shall use signed comparison not unsigned.
29002 Don't use substraction to avoid overflow bug.
29003 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29004 * wcsmbc/wcscmp.c: Likewise.
29005 * string/test-strcmp.c: Likewise.
29006 Add new tests to check cases with negative values.
29007
c8b3296b
UD
290082011-10-23 Ulrich Drepper <drepper@gmail.com>
29009
29010 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29011 * sysdeps/x86_64/dla.h: ...here. New file.
29012 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29021
246ad57a
AS
290222011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29023
29024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29025 __ynl_finite aliases.
29026
a1a87169
UD
290272011-10-22 Ulrich Drepper <drepper@gmail.com>
29028
0d355eb7
UD
29029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29030
a1a87169
UD
29031 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29032 define DLA_FMA.
29033 [DLA_FMA] (EMULV): Use DLA_FMA.
29034 [DLA_FMA] (MUL12): Use EMULV.
29035 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29036 that are not needed.
29037 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29040 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29043 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29044
ee2aafe0
AS
290452011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29046
29047 * math/s_nan.c: Undef __nan.
29048 * math/s_nanf.c: Undef __nanf.
29049 * math/s_nanl.c: Undef __nanl.
29050 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29051 "math_private.h".
29052
bc62c2fb
UD
290532011-10-22 Ulrich Drepper <drepper@gmail.com>
29054
77425c63
UD
29055 * math/s_catan.c: Add branch predictions.
29056 * math/s_catanf.c: Likewise.
29057 * math/s_catanh.c: Likewise.
29058 * math/s_catanhf.c: Likewise.
29059 * math/s_catanhl.c: Likewise.
29060 * math/s_catanl.c: Likewise.
29061 * math/s_cexp.c: Likewise.
29062 * math/s_cexpf.c: Likewise.
29063 * math/s_cexpl.c: Likewise.
29064 * math/s_clog.c: Likewise.
29065 * math/s_clog10.c: Likewise.
29066 * math/s_clog10f.c: Likewise.
29067 * math/s_clog10l.c: Likewise.
29068 * math/s_clogf.c: Likewise.
29069 * math/s_clogl.c: Likewise.
29070 * math/s_csqrt.c: Likewise.
29071 * math/s_csqrtf.c: Likewise.
29072 * math/s_csqrtl.c: Likewise.
29073 * math/s_ctanf.c: Likewise.
29074 * math/s_ctanh.c: Likewise.
29075 * math/s_ctanhf.c: Likewise.
29076 * math/s_ctanhl.c: Likewise.
29077 * math/s_ctanl.c: Likewise.
29078
bc62c2fb
UD
29079 * math/math_private.h: Define __nan, __nanf, __nanl.
29080 * math/s_cacosh.c: Include <math_private.h>.
29081 * math/s_cacoshl.c: Likewise.
29082 * math/s_casinh.c: Likewise.
29083 * math/s_casinhf.c: Likewise.
29084 * math/s_casinhl.c: Likewise.
29085 * math/s_ccos.c: Rely entire on ccosh.
29086 * math/s_ccosf.c: Rely entire on ccoshf.
29087 * math/s_ccosl.c: Rely entirely on ccoshl.
29088 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29089 Remove tests for FE_INVALID.
29090 * math/s_ccoshf.c: Likewise.
29091 * math/s_ccoshl.c: Likewise.
29092 * math/s_csin.c: Likewise.
29093 * math/s_csinf.c: Likewise.
29094 * math/s_csinh.c Likewise.
29095 * math/s_csinhf.c: Likewise.
29096 * math/s_csinhl.c: Likewise.
29097 * math/s_csinl.c: Likewise.
29098 * math/s_ctan.c: Likewise.
29099 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29100 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29101 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29102
8ec250a4
UD
291032011-10-21 Ulrich Drepper <drepper@gmail.com>
29104
c196fed8
UD
29105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29106 compilation problems.
29107
8ec250a4
UD
29108 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29109 __builtin_expect.
29110
8d4f46c6
UD
291112011-10-20 Ulrich Drepper <drepper@gmail.com>
29112
ed72b654
UD
29113 * sysdeps/i386/configure.in: Test for -mfma4 option.
29114 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29115 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29116 COMMON_CPUID_INDEX_80000001.
29117 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29118 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29119 use it if FMA3 is not supported.
29120 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29121
8d4f46c6
UD
29122 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29123 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29124
d45c60c2
AS
291252011-10-20 Andreas Schwab <schwab@redhat.com>
29126
29127 [BZ #12892]
29128 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29129 it would create a cycle with a link time dependency.
29130
d9a4d2ab
UD
291312011-10-19 Ulrich Drepper <drepper@gmail.com>
29132
855d1560
UD
29133 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29134 instruction.
29135 * string/Makefile (strop-tests): Add rawmemchr.
29136 * string/test-rawmemchr.c: New file.
29137
d9a4d2ab
UD
29138 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29140 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29141 when compiling str{,n}casecmp and when AVX is available. Hook up
29142 new optimized code in initializers.
29143
8f3b1ffe
AS
291442011-10-19 Andreas Schwab <schwab@redhat.com>
29145
29146 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29147 __feraiseexcept instead of feraiseexcept.
29148
d38f1dba
UD
291492011-10-18 Ulrich Drepper <drepper@gmail.com>
29150
d9a8d0ab
UD
29151 * math/math_private.h: Define defaults for libc_fetestexcept and
29152 libc_feupdateenv.
29153 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29154 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29155 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29156 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29157 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29158 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29159 libc_fetestexcept and libc_feupdateenv.
29160
4855e3dd
UD
29161 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29162 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29163 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29164 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29165 libc_feholdexcept_setround.
29166
581d30e3
UD
29167 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29168 Add s_nearbyint-c and s_nearbyintf-c.
29169 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29170 nearbyintf inlines.
29171 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29173 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29175
d38f1dba
UD
29176 * math/math_private.h: Define defaults for libc_fegetround,
29177 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29178 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29179 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29180 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29181 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29182 standard functions.
29183 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29184 Remove comments and hacks for old compiler versions.
29185 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29186 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29187 libc_feholdexceptl.
29188
caa6c9d8
AS
291892011-10-18 Andreas Schwab <schwab@redhat.com>
29190
29191 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29192 (__feraiseexcept_renamed): Add __NTH.
29193 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29194 namespace violations.
29195
97c066e6
UD
291962011-10-17 Ulrich Drepper <drepper@gmail.com>
29197
99ce7b04
UD
29198 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29199
1004d182
UD
29200 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29201
228a984d
UD
29202 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29203 recently added interfaces.
29204 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29205
c8553a6a
UD
29206 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29207 about macro parameter expansion.
29208
ed22dcf6
UD
29209 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29210 __NO_MATH_INLINES is defined. Cleanups.
29211
29212 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29213 and __floorf is target has SSE4.1.
29214 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29215 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29216 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29217 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29218
b171c137
UD
29219 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29220 name.
29221 (floorf): Likewise.
29222
97c066e6
UD
29223 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29224
629f62ef
AS
292252011-10-17 Andreas Schwab <schwab@redhat.com>
29226
49a43d80
AS
29227 * misc/sys/cdefs.h: Fix last change.
29228
629f62ef
AS
29229 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29230 database lookup.
29231
e453f6cd
UD
292322011-10-16 Ulrich Drepper <drepper@gmail.com>
29233
aa78043a
UD
29234 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29235
ad0f5cad
UD
29236 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29237 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29238 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29239 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29240 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29241 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29242 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29243 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29244 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29245 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29246 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29247 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29248 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29249 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29250 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29251 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29252 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29253 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29254 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29255 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29256 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29257 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29258
29259 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29260 ceil, ceilf, floor, floorf.
29261
29262 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29263 Perform IRELATIVE relocations last.
29264
e453f6cd
UD
29265 * elf/do-rel.h: Add another parameter nrelative, replacing the
29266 local variable with the same name. Change name of the function
29267 to end in Rel or Rela (uppercase).
29268 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29269 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29270 elf_dynamic_do_##reloc function.
29271
fd5bdc09
UD
292722011-10-15 Ulrich Drepper <drepper@gmail.com>
29273
79b195b5
UD
29274 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29275 is sufficient, at least on modern CPUs.
29276
d4a28569
UD
29277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29278
b61099b5
UD
29279 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29280 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29281
bcf01e6d
UD
29282 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29283 __expl_finite.
29284 * math/bits/math-finite.h: Add entries for exp.
29285 * math/e_expl.c: Add __*_finite alias.
29286 * sysdeps/i386/fpu/e_exp.S: Likewise.
29287 * sysdeps/i386/fpu/e_expf.S: Likewise.
29288 * sysdeps/i386/fpu/e_expl.c: Likewise.
29289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29290 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29291 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29292 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29293 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29294 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29295 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29296
ba1a0d59
UD
29297 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29298 is sufficient, at least on modern CPUs.
29299
fd5bdc09
UD
29300 * ctype/ctype-info.c (__ctype_init): Define.
29301 * include/ctype.h (__ctype_init): Declare.
29302 (__ctype_b_loc): The variable is always initialized.
29303 (__ctype_toupper_loc): Likewise.
29304 (__ctype_tolower_loc): Likewise.
29305 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29306 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29307
7872cfb0
AS
293082011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29309
b468825a
AS
29310 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29311
7872cfb0
AS
29312 * configure.in: Also look in $cxxmachine/include for C++ system
29313 headers.
29314
be13f7bf
LD
293152011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29316
29317 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29318 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29319 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29320 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29321 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29322 (USE_AS_WMEMCMP): New macro.
29323 Fixing indents.
29324 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29325 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29326 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29327 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29329 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29330 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29331 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29332 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29333 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29334 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29335 (USE_AS_WMEMCMP): New macro.
29336 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29337 * sysdeps/string/test-memcmp.c: Update.
29338 Fix simple_wmemcmp.
29339 Add new tests.
29340 * wcsmbs/wmemcmp.c: Update.
29341 (WMEMCMP): New macro.
29342 Fix overflow bug.
29343
556a2007
AJ
293442011-10-12 Andreas Jaeger <aj@suse.de>
29345
29346 [BZ #13268]
29347 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29348
538faaa7
UD
293492011-10-15 Ulrich Drepper <drepper@gmail.com>
29350
ab6737ff
UD
29351 * libio/iofwide.c (do_length): Avoid warning.
29352
538faaa7
UD
29353 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29354
396a21b1
UD
293552011-10-14 Ulrich Drepper <drepper@gmail.com>
29356
cdf2901f
UD
29357 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29358
38ad40ce
UD
29359 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29360 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29361 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29362 * sysdeps/i386/i686/fpu/e_log.S: New file.
29363 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29364 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29365
396a21b1
UD
29366 * ctype/ctype.h: Add support for inlined isXXX functions when
29367 compiling C++ code.
29368
6b1f68c9
AS
293692011-10-14 Andreas Schwab <schwab@redhat.com>
29370
349290c0
AS
29371 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29372
6b1f68c9
AS
29373 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29374
f2282d42
RM
293752011-10-13 Roland McGrath <roland@hack.frob.com>
29376
29377 [BZ #13291]
29378 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29379
5298ffa8
AS
293802011-10-13 Andreas Schwab <schwab@redhat.com>
29381
714fad23
AS
29382 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29383 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29384 feraiseexcept.
29385
81dcc7fb
AS
29386 * sysdeps/x86_64/memrchr.S: Check for zero size.
29387
5298ffa8
AS
29388 * string/stratcliff.c: Add memrchr tests.
29389
951fbcec
LD
293902011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29391
29392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29393 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29394 rawmemchr-sse2 rawmemchr-sse2-bsf.
29395 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29396 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29397 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29398 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29399 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29400 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29401 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29402 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29403 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29404 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29405 * string/memrchr.c (MEMRCHR): New macro.
29406
0ac5ae23
UD
294072011-10-12 Ulrich Drepper <drepper@gmail.com>
29408
29409 Add integration with gcc's -ffinite-math-only and optimize wrapper
29410 functions in libm.
29411 * Versions.def: Define GLIBC_2.15 version for libm.
29412 * math/Makefile (headers): Add bits/math-finite.h.
29413 * math/bits/math-finite.h: New file.
29414 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29415 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29416 * math/e_acoshl.c: Add __*_finite alias.
29417 * math/e_acosl.c: Likewise.
29418 * math/e_asinl.c: Likewise.
29419 * math/e_atan2l.c: Likewise.
29420 * math/e_atanhl.c: Likewise.
29421 * math/e_coshl.c: Likewise.
29422 * math/e_exp10.c: Likewise.
29423 * math/e_exp10f.c: Likewise.
29424 * math/e_exp10l.c: Likewise.
29425 * math/e_exp2l.c: Likewise.
29426 * math/e_fmodl.c: Likewise.
29427 * math/e_gammal_r.c: Likewise.
29428 * math/e_hypotl.c: Likewise.
29429 * math/e_j0l.c: Likewise.
29430 * math/e_j1l.c: Likewise.
29431 * math/e_jnl.c: Likewise.
29432 * math/e_lgammal_r.c: Likewise.
29433 * math/e_log10l.c: Likewise.
29434 * math/e_log2l.c: Likewise.
29435 * math/e_logl.c: Likewise.
29436 * math/e_powl.c: Likewise.
29437 * math/e_sinhl.c: Likewise.
29438 * math/e_sqrtl.c: Likewise.
29439 * math/e_scalb.c: Completely rewritten and optimized.
29440 * math/e_scalbf.c: Likewise.
29441 * math/e_scalbl.c: Likewise.
29442 * math/w_acos.c: Likewise.
29443 * math/w_acosf.c: Likewise.
29444 * math/w_acosl.c: Likewise.
29445 * math/w_acosh.c: Likewise.
29446 * math/w_acoshf.c: Likewise.
29447 * math/w_acoshl.c: Likewise.
29448 * math/w_asin.c: Likewise.
29449 * math/w_asinf.c: Likewise.
29450 * math/w_asinl.c: Likewise.
29451 * math/w_atan2.c: Likewise.
29452 * math/w_atan2f.c: Likewise.
29453 * math/w_atan2l.c: Likewise.
29454 * math/w_atanh.c: Likewise.
29455 * math/w_atanhf.c: Likewise.
29456 * math/w_atanhl.c: Likewise.
29457 * math/w_exp10.c: Likewise.
29458 * math/w_exp10f.c: Likewise.
29459 * math/w_exp10l.c: Likewise.
29460 * math/w_fmod.c: Likewise.
29461 * math/w_fmodf.c: Likewise.
29462 * math/w_fmodl.c: Likewise.
29463 * math/w_j0.c: Likewise.
29464 * math/w_j0f.c: Likewise.
29465 * math/w_j0l.c: Likewise.
29466 * math/w_j1.c: Likewise.
29467 * math/w_j1f.c: Likewise.
29468 * math/w_j1l.c: Likewise.
29469 * math/w_jn.c: Likewise.
29470 * math/w_jnf.c: Likewise.
29471 * math/w_log.c: Likewise.
29472 * math/w_logf.c: Likewise.
29473 * math/w_logl.c: Likewise.
29474 * math/w_log10.c: Likewise.
29475 * math/w_log10f.c: Likewise.
29476 * math/w_log10l.c: Likewise.
29477 * math/w_log2.c: Likewise.
29478 * math/w_log2f.c: Likewise.
29479 * math/w_log2l.c: Likewise.
29480 * math/w_pow.c: Likewise.
29481 * math/w_powf.c: Likewise.
29482 * math/w_powl.c: Likewise.
29483 * math/w_remainder.c: Likewise.
29484 * math/w_remainderf.c: Likewise.
29485 * math/w_remainderl.c: Likewise.
29486 * math/w_scalb.c: Likewise.
29487 * math/w_scalbf.c: Likewise.
29488 * math/w_scalbl.c: Likewise.
29489 * math/w_sqrt.c: Likewise.
29490 * math/w_sqrtf.c: Likewise.
29491 * math/w_sqrtl.c: Likewise.
29492 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29493 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29494 used.
29495 * math/math_private.h: Declare __kernel_standard_f.
29496 * math/w_cosh.c: Remove cruft and optimize a bit.
29497 * math/w_coshf.c: Likewise.
29498 * math/w_coshl.c: Likewise.
29499 * math/w_exp2.c: Likewise.
29500 * math/w_exp2f.c: Likewise.
29501 * math/w_exp2l.c: Likewise.
29502 * math/w_hypot.c: Likewise.
29503 * math/w_hypotf.c: Likewise.
29504 * math/w_hypotl.c: Likewise.
29505 * math/w_lgamma.c: Likewise.
29506 * math/w_lgamma_r.c: Likewise.
29507 * math/w_lgammaf.c: Likewise.
29508 * math/w_lgammaf_r.c: Likewise.
29509 * math/w_lgammal.c: Likewise.
29510 * math/w_lgammal_r.c: Likewise.
29511 * math/w_sinh.c: Likewise.
29512 * math/w_sinhf.c: Likewise.
29513 * math/w_sinhl.c: Likewise.
29514 * math/w_tgamma.c: Likewise.
29515 * math/w_tgammaf.c: Likewise.
29516 * math/w_tgammal.c: Likewise.
29517 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29518 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29519 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29520 Minor optimizations. Pretty printing. Remove cruft.
29521 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29522 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29523 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29524 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29525 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29526 * sysdeps/i386/fpu/e_asin.S: Likewise.
29527 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29528 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29529 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29530 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29531 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29532 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29533 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29534 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29535 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29536 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29537 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29538 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29539 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29540 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29541 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29542 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29543 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29544 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29545 * sysdeps/i386/fpu/e_log.S: Likewise.
29546 * sysdeps/i386/fpu/e_log10.S: Likewise.
29547 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29548 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29549 * sysdeps/i386/fpu/e_log2.S: Likewise.
29550 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29551 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29552 * sysdeps/i386/fpu/e_logf.S: Likewise.
29553 * sysdeps/i386/fpu/e_logl.S: Likewise.
29554 * sysdeps/i386/fpu/e_pow.S: Likewise.
29555 * sysdeps/i386/fpu/e_powf.S: Likewise.
29556 * sysdeps/i386/fpu/e_powl.S: Likewise.
29557 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29558 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29559 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29560 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29561 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29562 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29563 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29564 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29565 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29566 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29567 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29569 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29570 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29571 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29572 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29573 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29574 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29575 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29576 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29577 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29579 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29580 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29582 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29583 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29586 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29587 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29588 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29589 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29590 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29591 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29592 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29593 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29594 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29595 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29597 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29598 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29599 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29600 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29601 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29602 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29603 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29604 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29605 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29606 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29607 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29608 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29609 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29610 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29611 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29612 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29613 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29614 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29615 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29616 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29617 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29618 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29619 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29620 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29621 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29622 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29623 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29624 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29625 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29626 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29627 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29628 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29630 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29631 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29632 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29634 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29635 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29636 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29637 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29638 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29639 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29640 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29641 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29642 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29643 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29644 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29645 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29646 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29647 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29648 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29649 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29650 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29651 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29652 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29653 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29654 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29655 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29656 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29657 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29658 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29659 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29660 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29661 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29662 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29663 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29664 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29665 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29666 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29667 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29668 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29669 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29670 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29671 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29672 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29673 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29674 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29675 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29676 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29677 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29678 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29679 (__isnanf): Likewise.
29680 (__isinf_ns): Likewise.
29681 (__isinf_nsf): Likewise.
29682 (__finite): Likewise.
29683 (__finitef): Likewise.
29684 (__ieee754_sqrt): Define as macro.
29685 (__ieee754_sqrtf): Define as macro.
29686 (__ieee754_sqrtl): Define as macro.
29687 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29688 inlined copy.
29689 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29690 __FINITE_MATH_ONLY__ consistent.
29691 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29692
12cc2fcd
AS
296932011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29694
a843a204
AS
29695 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29696 of rawmemchr.
29697
12cc2fcd
AS
29698 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29699
c853acd5
UD
297002011-10-09 Ulrich Drepper <drepper@gmail.com>
29701
29702 * po/ja.po: Update from translation team.
29703
c658d255
RM
297042011-10-08 Roland McGrath <roland@hack.frob.com>
29705
110946e4
RM
29706 * locale/programs/locarchive.c (prepare_address_space): New function.
29707 (create_archive, enlarge_archive, open_archive): Use it.
29708
50604220
RM
29709 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29710 inside [SHARED], where it is used.
29711
c658d255
RM
29712 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29713
29714 * nss/getent.c (netgroup_keys): Remove unused variable.
29715 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29716
6a621eb7
UD
297172011-10-08 Ulrich Drepper <drepper@gmail.com>
29718
7edb55ce
UD
29719 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29720 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29722 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29723 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29724 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29725 * math/Makefile (libm-calls): Add s_isinf_ns.
29726 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29727 * math/multc3.c: Likewise.
29728 * math/s_casin.c: Likewise.
29729 * math/s_casinf.c: Likewise.
29730 * math/s_casinl.c: Likewise.
29731 * math/s_ccos.c: Likewise.
29732 * math/s_ccosf.c: Likewise.
29733 * math/s_ccosl.c: Likewise.
29734 * math/s_ctan.c: Likewise.
29735 * math/s_ctanf.c: Likewise.
29736 * math/s_ctanh.c: Likewise.
29737 * math/s_ctanhf.c: Likewise.
29738 * math/s_ctanhl.c: Likewise.
29739 * math/s_ctanl.c: Likewise.
29740 * math/w_fmod.c: Likewise.
29741 * math/w_fmodf.c: Likewise.
29742 * math/w_fmodl.c: Likewise.
29743 * math/w_remainder.c: Likewise.
29744 * math/w_remainderf.c: Likewise.
29745 * math/w_remainderl.c: Likewise.
29746 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29747 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29748 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29750 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29751 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29752 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29753 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29754
187da0ae
UD
29755 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29756 of the number.
29757 * stdio-common/printf_fphex.c: Likewise.
29758 * stdio-common/printf_size.c: Likewise.
29759
9277c064
UD
29760 * math/e_exp10.c: Include math_private.h using <...> not "...".
29761 * math/e_exp10f.c: Likewise.
29762 * math/e_exp10l.c: Likewise.
29763 * math/e_exp2l.c: Likewise.
29764 * math/e_j0l.c: Likewise.
29765 * math/e_j1l.c: Likewise.
29766 * math/e_jnl.c: Likewise.
29767 * math/e_lgammal_r.c: Likewise.
29768 * math/e_rem_pio2l.c: Likewise.
29769 * math/e_scalb.c: Likewise.
29770 * math/e_scalbf.c: Likewise.
29771 * math/e_scalbl.c: Likewise.
29772 * math/k_cosl.c: Likewise.
29773 * math/k_sinl.c: Likewise.
29774 * math/k_tanl.c: Likewise.
29775 * math/s_cacoshf.c: Likewise.
29776 * math/s_catan.c: Likewise.
29777 * math/s_catanf.c: Likewise.
29778 * math/s_catanh.c: Likewise.
29779 * math/s_catanhf.c: Likewise.
29780 * math/s_catanhl.c: Likewise.
29781 * math/s_catanl.c: Likewise.
29782 * math/s_ccosh.c: Likewise.
29783 * math/s_ccoshf.c: Likewise.
29784 * math/s_ccoshl.c: Likewise.
29785 * math/s_cexp.c: Likewise.
29786 * math/s_cexpf.c: Likewise.
29787 * math/s_cexpl.c: Likewise.
29788 * math/s_clog.c: Likewise.
29789 * math/s_clog10.c: Likewise.
29790 * math/s_clog10f.c: Likewise.
29791 * math/s_clog10l.c: Likewise.
29792 * math/s_clogf.c: Likewise.
29793 * math/s_clogl.c: Likewise.
29794 * math/s_csin.c: Likewise.
29795 * math/s_csinf.c: Likewise.
29796 * math/s_csinh.c: Likewise.
29797 * math/s_csinhf.c: Likewise.
29798 * math/s_csinhl.c: Likewise.
29799 * math/s_csinl.c: Likewise.
29800 * math/s_csqrt.c: Likewise.
29801 * math/s_csqrtf.c: Likewise.
29802 * math/s_csqrtl.c: Likewise.
29803 * math/s_ctan.c: Likewise.
29804 * math/s_ctanf.c: Likewise.
29805 * math/s_ctanh.c: Likewise.
29806 * math/s_ctanhf.c: Likewise.
29807 * math/s_ctanhl.c: Likewise.
29808 * math/s_ctanl.c: Likewise.
29809 * math/s_ldexp.c: Likewise.
29810 * math/s_ldexpf.c: Likewise.
29811 * math/s_ldexpl.c: Likewise.
29812 * math/s_significand.c: Likewise.
29813 * math/s_significandf.c: Likewise.
29814 * math/s_significandl.c: Likewise.
29815 * math/w_acos.c: Likewise.
29816 * math/w_acosf.c: Likewise.
29817 * math/w_acosh.c: Likewise.
29818 * math/w_acoshf.c: Likewise.
29819 * math/w_acoshl.c: Likewise.
29820 * math/w_acosl.c: Likewise.
29821 * math/w_asin.c: Likewise.
29822 * math/w_asinf.c: Likewise.
29823 * math/w_asinl.c: Likewise.
29824 * math/w_atan2.c: Likewise.
29825 * math/w_atan2f.c: Likewise.
29826 * math/w_atan2l.c: Likewise.
29827 * math/w_atanh.c: Likewise.
29828 * math/w_atanhf.c: Likewise.
29829 * math/w_atanhl.c: Likewise.
29830 * math/w_cosh.c: Likewise.
29831 * math/w_coshf.c: Likewise.
29832 * math/w_coshl.c: Likewise.
29833 * math/w_dremf.c: Likewise.
29834 * math/w_exp10.c: Likewise.
29835 * math/w_exp10f.c: Likewise.
29836 * math/w_exp10l.c: Likewise.
29837 * math/w_exp2.c: Likewise.
29838 * math/w_exp2f.c: Likewise.
29839 * math/w_fmod.c: Likewise.
29840 * math/w_fmodf.c: Likewise.
29841 * math/w_fmodl.c: Likewise.
29842 * math/w_hypot.c: Likewise.
29843 * math/w_hypotf.c: Likewise.
29844 * math/w_hypotl.c: Likewise.
29845 * math/w_j0.c: Likewise.
29846 * math/w_j0f.c: Likewise.
29847 * math/w_j0l.c: Likewise.
29848 * math/w_j1.c: Likewise.
29849 * math/w_j1f.c: Likewise.
29850 * math/w_j1l.c: Likewise.
29851 * math/w_jn.c: Likewise.
29852 * math/w_jnf.c: Likewise.
29853 * math/w_jnl.c: Likewise.
29854 * math/w_lgamma.c: Likewise.
29855 * math/w_lgamma_r.c: Likewise.
29856 * math/w_lgammaf.c: Likewise.
29857 * math/w_lgammaf_r.c: Likewise.
29858 * math/w_lgammal.c: Likewise.
29859 * math/w_lgammal_r.c: Likewise.
29860 * math/w_log.c: Likewise.
29861 * math/w_log10.c: Likewise.
29862 * math/w_log10f.c: Likewise.
29863 * math/w_log10l.c: Likewise.
29864 * math/w_log2.c: Likewise.
29865 * math/w_log2f.c: Likewise.
29866 * math/w_log2l.c: Likewise.
29867 * math/w_logf.c: Likewise.
29868 * math/w_logl.c: Likewise.
29869 * math/w_pow.c: Likewise.
29870 * math/w_powf.c: Likewise.
29871 * math/w_powl.c: Likewise.
29872 * math/w_remainder.c: Likewise.
29873 * math/w_remainderf.c: Likewise.
29874 * math/w_remainderl.c: Likewise.
29875 * math/w_scalb.c: Likewise.
29876 * math/w_scalbf.c: Likewise.
29877 * math/w_scalbl.c: Likewise.
29878 * math/w_sinh.c: Likewise.
29879 * math/w_sinhf.c: Likewise.
29880 * math/w_sinhl.c: Likewise.
29881 * math/w_sqrt.c: Likewise.
29882 * math/w_sqrtf.c: Likewise.
29883 * math/w_sqrtl.c: Likewise.
29884 * math/w_tgamma.c: Likewise.
29885 * math/w_tgammaf.c: Likewise.
29886 * math/w_tgammal.c: Likewise.
29887
6a621eb7
UD
29888 * po/ja.po: Update from translation team.
29889
bf582445
AJ
298902011-09-29 Andreas Jaeger <aj@suse.de>
29891
f9efbf3a
AJ
29892 [BZ #13179]
29893 * sunrpc/netname.c (netname2host): Fix logic.
29894
bf582445
AJ
29895 [BZ #6779]
29896 [BZ #6783]
29897 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29898 correctly.
29899 * math/w_remainder.c (__remainder): Likewise.
29900 * math/w_remainderf.c (__remainderf): Likewise.
29901 * math/libm-test.inc (remainder_test): Add test cases.
29902
48693bea
AK
299032011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29904
29905 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29906 sdiv_qrnnd.
29907
42622229
LD
299082011-10-07 Ulrich Drepper <drepper@gmail.com>
29909
29910 * string/test-memcmp.c: Avoid unncessary #defines.
29911 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29912
093ecf92
LD
299132011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29914
29915 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29916 Use new sse2 version for core i3 - i7 as it's faster
29917 than sse42 version.
29918 (bit_Prefer_PMINUB_for_stringop): New.
29919 * sysdeps/x86_64/rawmemchr.S: Update.
29920 Replace with faster SSE2 version.
29921 * sysdeps/x86_64/memrchr.S: New file.
29922 * sysdeps/x86_64/memchr.S: Update.
29923 Replace with faster SSE2 version.
29924
fde56e5c
MP
299252011-09-12 Marek Polacek <mpolacek@redhat.com>
29926
29927 * elf/dl-load.c (lose): Add cast to avoid warning.
29928
21fd49a9
UD
299292011-10-07 Ulrich Drepper <drepper@gmail.com>
29930
5a06e643
UD
29931 * po/ca.po: Update from translation team.
29932
684ae515
UD
29933 * inet/getnetgrent_r.c: Hook up nscd.
29934 * nscd/Makefile (routines): Add nscd_netgroup.
29935 (nscd-modules): Add netgroupcache.
29936 (CFLAGS-netgroupcache.c): Define.
29937 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29938 (cache_search): Add const to second parameter.
29939 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29940 INNETGR.
29941 (dbs): Add netgrdb entry.
29942 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29943 (verify_persistent_db): Handle netgrdb.
29944 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29945 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29946 GETFDNETGR.
29947 (netgroup_response_header): Define.
29948 (innetgroup_response_header): Define.
29949 (datahead): Add netgroup_response_header and innetgroup_response_header
29950 elements.
29951 * nscd/nscd.conf: Add entries for netgroup cache.
29952 * nscd/nscd.h (dbtype): Add netgrdb.
29953 (_PATH_NSCD_NETGROUP_DB): Define.
29954 (netgroup_iov_disabled): Declare.
29955 (xmalloc, xcalloc, xrealloc): Move declarations here.
29956 (cache_search): Adjust prototype.
29957 Add netgroup-related prototypes.
29958 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29959 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29960 (__nscd_innetgr): Declare.
29961 * nscd/selinux.c (perms): Use access_vector_t as element type and
29962 add netgroup-related initializers.
29963 * nscd/netgroupcache.c: New file.
29964 * nscd/nscd_netgroup.c: New file.
29965 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29966 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29967 For four parameters use innetgr.
29968 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29969 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29970 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29971 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29972
21fd49a9
UD
29973 * nscd/connections.c (register_traced_file): Don't register file
29974 for disabled databases.
29975
054c0457
UD
299762011-10-06 Ulrich Drepper <drepper@gmail.com>
29977
32b63198
UD
29978 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29979
054c0457
UD
29980 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29981 from tree and freeing node.
29982
64031225
JO
299832011-09-25 Jiri Olsa <jolsa@redhat.com>
29984
29985 * nss/nsswitch.c (__nss_database_lookup): Handle
29986 nss_parse_service_list out of memory case.
29987
0490345c
JO
299882011-09-15 Jiri Olsa <jolsa@redhat.com>
29989
29990 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29991 out of memory case.
29992
3a62d00d
AS
299932011-10-04 Andreas Schwab <schwab@redhat.com>
29994
29995 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29996 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29997 pass it down.
29998 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29999 elf_machine_rela, elf_machine_lazy_rel.
30000 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30001 (ELF_DYNAMIC_DO_REL): Likewise.
30002 (ELF_DYNAMIC_DO_RELA): Likewise.
30003 (ELF_DYNAMIC_RELOCATE): Likewise.
30004 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30005 to ELF_DYNAMIC_DO_REL.
30006 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30007 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30008 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30009 elf_machine_rela.
30010 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30011 skip_ifunc, don't call ifunc function if non-zero.
30012 (elf_machine_rela): Likewise.
30013 (elf_machine_lazy_rel): Likewise.
30014 (elf_machine_lazy_rela): Likewise.
30015 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30016 (elf_machine_lazy_rel): Likewise.
30017 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30018 Likewise.
30019 (elf_machine_lazy_rel): Likewise.
30020 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30021 Likewise.
30022 (elf_machine_lazy_rel): Likewise.
30023 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30024 (elf_machine_lazy_rel): Likewise.
30025 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30026 (elf_machine_lazy_rel): Likewise.
30027 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30028 (elf_machine_lazy_rel): Likewise.
30029 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30030 (elf_machine_lazy_rel): Likewise.
30031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30032 (elf_machine_lazy_rel): Likewise.
30033 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30034 (elf_machine_lazy_rel): Likewise.
30035
68577918
UD
300362011-09-28 Ulrich Drepper <drepper@gmail.com>
30037
30038 * nss/nss_files/files-init.c (_nss_files_init): Use static
30039 initialization for all the *_traced_file variables.
30040
68822d74
AS
300412011-09-28 Andreas Schwab <schwab@redhat.com>
30042
30043 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30044
2056100b
RM
300452011-09-27 Roland McGrath <roland@hack.frob.com>
30046
30047 [BZ #13226]
30048 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30049
32c76b63
AS
300502011-09-27 Andreas Schwab <schwab@redhat.com>
30051
30052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30053 Reread the line before reparsing it.
30054
bf972c9d
AS
300552011-09-26 Andreas Schwab <schwab@redhat.com>
30056
30057 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30058
e057a1b5
JM
300592011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30060 Maxim Kuvyrkov <maxim@codesourcery.com>
30061 Joseph Myers <joseph@codesourcery.com>
30062
30063 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30064 if needed for __stack_chk_guard.
30065
bc7e1c36
RM
300662011-09-19 Roland McGrath <roland@hack.frob.com>
30067
ecb1482f
RM
30068 * sysdeps/posix/spawni.c (script_execute): Always define it.
30069 It will be optimized away if unused.
30070 (maybe_script_execute): New function.
30071 (__spawni): Call it.
30072
bc7e1c36
RM
30073 * Makerules: Don't include tls.make.
30074 (config-tls): Always set to thread.
30075 * tls.make.c: File removed.
30076
1c3b002b
MF
300772011-09-19 Mike Frysinger <vapier@gentoo.org>
30078
30079 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30080 * config.make.in (CPPFLAGS-config): New substituted variable.
30081
2840865d
UD
300822011-09-15 Ulrich Drepper <drepper@gmail.com>
30083
88738eb6
UD
30084 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30085
cbf645a6 30086 [BZ #13192]
2840865d
UD
30087 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30088 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30089
b402e91a
RM
300902011-09-15 Roland McGrath <roland@hack.frob.com>
30091
30092 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30093 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30095 (CALL_FAIL): Likewise.
30096 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30097 (CALL_FAIL): Macro removed.
30098 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30099
4c1a1f71
UD
301002011-09-15 Ulrich Drepper <drepper@gmail.com>
30101
30102 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30103 for __FINITE_MATH_ONLY__ == 1.
30104
edc121be
AS
301052011-09-15 Andreas Schwab <schwab@redhat.com>
30106
30107 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30108 __ieee754_sqrt instead of sqrt.
30109 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30110 __ieee754_sqrtf instead of sqrtf.
30111 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30112 __floorf instead of floorf.
30113 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30114 __floorf, __truncf instead of floorf, truncf.
30115
cd205654
UD
301162011-09-14 Ulrich Drepper <drepper@gmail.com>
30117
ee4d0315
UD
30118 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30119
cd205654
UD
30120 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30121 __extern_always_inline.
30122 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30123 32-bit.
30124
48b67d71
AS
301252011-09-14 Andreas Schwab <schwab@redhat.com>
30126
30127 * elf/rtld.c (dl_main): Also relocate in dependency order when
30128 doing symbol dependency testing.
30129
1ae12c75
AS
301302011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30131
30132 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30133 Always define `refsym'.
30134
995a80df
AS
301352011-09-13 Andreas Schwab <schwab@redhat.com>
30136
e529793b
AS
30137 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30138 (__FD_ELT): Renamed from __FDELT.
30139 * misc/bits/select2.h (__FD_ELT): Likewise.
30140 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30141 __FD_MASK instead of __FDELT, __FDMASK.
30142 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30143 Likewise.
30144 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30145 Likewise.
30146
52d4fef8
AS
30147 * elf/Makefile (gen-ldd): Fix pattern.
30148
995a80df
AS
30149 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30150 (init_tls): Likewise.
30151
8682f8b0
UD
301522011-09-12 Ulrich Drepper <drepper@gmail.com>
30153
30154 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30155
de82006d
AS
301562011-09-12 Andreas Schwab <schwab@redhat.com>
30157
a7c8e6a1
AS
30158 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30159 `struct cmsghdr *' instead of `void *'.
30160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30161 Likewise.
30162
0f31fe77
AS
301632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30164
30165 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30166 if non-absolute.
30167 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30168 ldd_rewrite_script.
0f31fe77 30169
32b4c839
UD
301702011-09-11 Ulrich Drepper <drepper@gmail.com>
30171
83cd1420
UD
30172 * configure.in: Remove --with-tls option.
30173 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30174 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30175 out in case it is missing.
30176 * sysdeps/ia64/elf/configure.in: Likewise.
30177 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30178 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30179 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30180 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30181 * sysdeps/sh/elf/configure.in: Likewise.
30182 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30183 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30184 * sysdeps/x86_64/elf/configure.in: Likewise.
30185 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30186 * sysdeps/mach/hurd/tls.h: Likewise.
30187
633f745d
UD
30188 [BZ #13067]
30189 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30190
f318beb8
UD
30191 [BZ #13090]
30192 * configure.in: Fix use of AC_INIT.
30193
32b4c839
UD
30194 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30195
3ce1f295
UD
301962011-09-10 Ulrich Drepper <drepper@gmail.com>
30197
bb016596
UD
30198 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30199 __set_errno.
8e58439c
UD
30200 * malloc/hooks.c: Likewise.
30201
aebae053 30202 [BZ #11929]
02d46fc4
UD
30203 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30204 variables statically.
30205 (narenas): Initialize.
30206 (list_lock): Initialize.
bb016596
UD
30207 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30208 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30209 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30210 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30211 Add initializers to main_arena and mp_.
30212 (malloc_state): Remove pagesize member. Change all users to use
30213 GLRO(dl_pagesize).
30214
30215 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30216 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30217 is always initialized.
30218
22a89187
UD
30219 * malloc/malloc.c: Removed unused configurations and dead code.
30220 * malloc/arena.c: Likewise.
30221 * malloc/hooks.c: Likewise.
02d46fc4 30222 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30223
d063d164
UD
30224 * include/tls.h: Removed. USE___THREAD must always be defined.
30225 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30226 * elf/dl-libc.c: Likewise.
30227 * elf/dl-tsd.c: Likewise.
30228 * include/errno.h: Likewise.
30229 * include/netdb.h: Likewise.
30230 * include/resolv.h: Likewise.
30231 * inet/herrno-loc.c: Likewise.
30232 * inet/herrno.c: Likewise.
30233 * malloc/arena.c: Likewise.
30234 * malloc/hooks.c: Likewise.
30235 * malloc/malloc.c: Likewise.
30236 * resolv/res-state.c: Likewise.
30237 * resolv/res_libc.c: Likewise.
30238 * sysdeps/i386/dl-machine.h: Likewise.
30239 * sysdeps/ia64/dl-machine.h: Likewise.
30240 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30241 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30242 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30243 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30244 * sysdeps/sh/dl-machine.h: Likewise.
30245 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30246 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30247 * sysdeps/unix/i386/sysdep.S: Likewise.
30248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30249 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30250 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30254 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30256 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30258 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30259 * sysdeps/x86_64/dl-machine.h: Likewise.
30260 * tls.make.c: Likewise.
30261
3ce1f295
UD
30262 * configure.in: Remove --with-__thread option. Make tests for
30263 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30264 tls_model attribute fail if no support is available. Remove
30265 USE_IN_LIBIO.
30266 * Makeconfig: Adjust for dropped configure option. All features are
30267 now mandatory.
30268 * Makerules: Likewise.
30269 * Versions.def: Likewise.
30270 * argp/argp-fmtstream.c: Likewise.
30271 * argp/argp-fmtstream.h: Likewise.
30272 * argp/argp-help.c: Likewise.
30273 * assert/assert.c: Likewise.
30274 * config.h.in: Likewise.
30275 * config.make.in: Likewise.
30276 * configure: Likewise.
30277 * configure.in: Likewise.
30278 * csu/Versions: Likewise.
30279 * csu/init.c: Likewise.
30280 * elf/tst-audit2.c: Likewise.
30281 * elf/tst-tls10.c: Likewise.
30282 * elf/tst-tls10.h: Likewise.
30283 * elf/tst-tls11.c: Likewise.
30284 * elf/tst-tls12.c: Likewise.
30285 * elf/tst-tls14.c: Likewise.
30286 * elf/tst-tlsmod11.c: Likewise.
30287 * elf/tst-tlsmod12.c: Likewise.
30288 * elf/tst-tlsmod13.c: Likewise.
30289 * elf/tst-tlsmod13a.c: Likewise.
30290 * elf/tst-tlsmod14a.c: Likewise.
30291 * elf/tst-tlsmod15b.c: Likewise.
30292 * elf/tst-tlsmod16a.c: Likewise.
30293 * elf/tst-tlsmod16b.c: Likewise.
30294 * elf/tst-tlsmod7.c: Likewise.
30295 * elf/tst-tlsmod8.c: Likewise.
30296 * elf/tst-tlsmod9.c: Likewise.
30297 * gmon/gmon.c: Likewise.
30298 * grp/fgetgrent_r.c: Likewise.
30299 * grp/putgrent.c: Likewise.
30300 * hurd/fopenport.c: Likewise.
30301 * include/libc-symbols.h: Likewise.
30302 * include/tls.h: Likewise.
30303 * intl/gettextP.h: Likewise.
30304 * intl/loadinfo.h: Likewise.
30305 * locale/global-locale.c: Likewise.
30306 * locale/localeinfo.h: Likewise.
30307 * mach/devstream.c: Likewise.
30308 * malloc/arena.c: Likewise.
30309 * malloc/set-freeres.c: Likewise.
30310 * misc/err.c: Likewise.
30311 * misc/getttyent.c: Likewise.
30312 * misc/mntent_r.c: Likewise.
30313 * posix/getopt.c: Likewise.
30314 * posix/wordexp.c: Likewise.
30315 * pwd/fgetpwent_r.c: Likewise.
30316 * resolv/Versions: Likewise.
30317 * resolv/res_hconf.c: Likewise.
30318 * shadow/fgetspent_r.c: Likewise.
30319 * shadow/putspent.c: Likewise.
30320 * stdio-common/printf_fphex.c: Likewise.
30321 * stdio-common/tmpfile.c: Likewise.
30322 * stdlib/abort.c: Likewise.
30323 * stdlib/fmtmsg.c: Likewise.
30324 * sunrpc/auth_unix.c: Likewise.
30325 * sunrpc/clnt_perr.c: Likewise.
30326 * sunrpc/clnt_tcp.c: Likewise.
30327 * sunrpc/clnt_udp.c: Likewise.
30328 * sunrpc/clnt_unix.c: Likewise.
30329 * sunrpc/openchild.c: Likewise.
30330 * sunrpc/svc_simple.c: Likewise.
30331 * sunrpc/svc_tcp.c: Likewise.
30332 * sunrpc/svc_udp.c: Likewise.
30333 * sunrpc/svc_unix.c: Likewise.
30334 * sunrpc/xdr.c: Likewise.
30335 * sunrpc/xdr_array.c: Likewise.
30336 * sunrpc/xdr_rec.c: Likewise.
30337 * sunrpc/xdr_ref.c: Likewise.
30338 * sunrpc/xdr_stdio.c: Likewise.
30339
1248c1c4
PB
303402011-09-09 Ulrich Drepper <drepper@gmail.com>
30341
30342 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30343
303442011-07-03 Andreas Jaeger <aj@suse.de>
30345
30346 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30347 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30348 regenerate with gen-libm-tests.pl.
30349
303502010-05-12 Petr Baudis <pasky@suse.cz>
30351
30352 [BZ #11589]
30353 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30354 around j0() zero points by switching to j1().
30355 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30356 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30357 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30358 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30359
f22e1074
UD
303602011-09-09 Ulrich Drepper <drepper@gmail.com>
30361
f19009c1
UD
30362 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30363 instead of 0.
30364 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30365 instead of 0.
f19009c1
UD
30366 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30367 Patch in part by Pavel Roskin <proski@gnu.org>.
30368
3f8cc204
UD
30369 [BZ #13138]
30370 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30371 realloc.
30372 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30373 Free memory block if necessary.
30374
f22e1074
UD
30375 [BZ #12847]
30376 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30377 be NULL. Don't lock in this case.
30378
0a2349f9
RM
303792011-09-09 Roland McGrath <roland@hack.frob.com>
30380
30381 * elf/elf.h (ELFOSABI_GNU): New macro.
30382 (ELFOSABI_LINUX): Define to that.
30383
f3cdd467
DZ
303842011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30385
30386 * string/strncat.c (strncat): Undef the symbol in case it has been
30387 defined in bits/string.h.
30388
74718d13
UD
303892011-09-09 Ulrich Drepper <drepper@gmail.com>
30390
633e9e0f
UD
30391 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30392
0a2349f9 30393 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30394 link map.
30395
f9924780
AJ
303962011-08-17 Andreas Jaeger <aj@suse.de>
30397
30398 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30399
7f5517aa
PP
304002011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30401 Ian Lance Taylor <iant@google.com>
30402
30403 * math/libm-test.inc (lround_test): New testcase.
30404 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30405
762011fe
UD
304062011-09-08 Ulrich Drepper <drepper@gmail.com>
30407
92963737
UD
30408 * Makefile: Remove support for automatic cvs check-ins.
30409 * Makerules: Likewise.
30410 * config.make.in: Likewise.
30411 * configure.in: Likewise.
30412 * intl/Makefile: Likewise.
30413 * locale/Makefile: Likewise.
30414 * po/Makefile: Likewise.
30415 * posix/Makefile: Likewise.
30416 * sysdeps/gnu/Makefile: Likewise.
30417 * sysdeps/mach/hurd/Makefile: Likewise.
30418 * sysdeps/sparc/sparc32/Makefile: Likewise.
30419
b0727fd8
JS
30420 [BZ #13118]
30421 * posix/Makefile (bug-regex32-ENV): Define.
30422 Patch by John Stanley <jpsinthemix@verizon.net>.
30423
a0f33f99
UD
30424 * misc/Makefile (headers): Add bits/select2.h.
30425 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30426 * misc/bits/select2.h: New file.
30427 * include/bits/select2.h: New file.
30428 * debug/Makefile (routines): Add fdelt_chk.
30429 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30430 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30431 FD_ISSET.
30432 * debug/fdelt_chk.c: New file.
30433
762011fe
UD
30434 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30435 * wcsmbs/test-wmemcmp.c: Likewise.
30436 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30437 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30438
304392011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30440
30441 * string/Makefile (strop-tests): Add memcmp.
30442 * string/test-wmemcmp.c: New file.
30443 * string/test-memcmp.c: Add wmemcmp support.
30444
7f513ec8
RM
304452011-09-08 Roland McGrath <roland@hack.frob.com>
30446
0442afb4
RM
30447 [BZ #13153]
30448 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30449 2011-07-19 change.
30450
7f513ec8
RM
30451 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30452 garbage value in a __mach_port_mod_refs call in the cases of the
30453 task-self and thread-self ports.
30454
a12b2239
ST
304552011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30456
30457 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30458
610f9ab4
AS
304592011-09-08 Andreas Schwab <schwab@redhat.com>
30460
7f513ec8 30461 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30462
48882a1a
LD
304632011-09-07 Ulrich Drepper <drepper@gmail.com>
30464
b49865be
UD
30465 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30466
fdc86bc9
UD
30467 * elf/dl-libc.c (dlerror_run): Pass back error code from
30468 dl_catch_error.
30469
c966526a
UD
30470 [BZ #13123]
30471 * elf/dl-load.c (lose): Free l_origin if it is valid.
30472
48882a1a
LD
30473 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30474 names.
30475 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30476 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30477 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30478 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30479 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30480 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30481
77a2a8b4
AZ
304822011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30483
30484 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30485 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30486 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30487 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30488 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30489 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30490 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30491 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30492 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30493 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30494
24f579d8
AM
304952011-08-15 Alan Modra <amodra@gmail.com>
30496
30497 [BZ #13092]
30498 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30499 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30500 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30501 ppc_mcount to static-only-routines.
30502 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30503 __mcount_internal.
30504 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30505 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30506
3d4837df
UD
305072011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30508
30509 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30510 for finite and infinity parameters.
30511
22700377
WS
305122011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30513
30514 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30515 and add nop instructions for throughput optimization.
30516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30517
5025581e
WS
305182011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30519
30520 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30521 aligned copy for power7 with vector-scalar instructions.
30522 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30523
08a300c9
L
305242011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30525
30526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30527 AVX check.
30528
59178ef9
AS
305292011-09-07 Andreas Schwab <schwab@redhat.com>
30530
30531 [BZ #13144]
30532 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30533 last change.
30534
e38ba7ab
UD
305352011-09-07 Ulrich Drepper <drepper@gmail.com>
30536
30537 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30538 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30539 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30540 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30541 clock_gettime.
30542
d53a73ac
UD
305432011-09-06 Ulrich Drepper <drepper@gmail.com>
30544
fc8bffcc
UD
30545 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30546 Forgot to demangle the pointer.
30547
ceaa0c5d
UD
30548 * sysdeps/i386/sysdep.h: Define atom_text_section.
30549 * sysdeps/x86_64/sysdep.h: Likewise.
30550 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30551 section with atom_text_section.
30552 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30553 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30554 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30555 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30556 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30557
a77d3c17
UD
30558 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30559 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30560 already be defined. Change to take two parameters and don't assign
30561 result to variable. Adjust all users.
30562 Define INTERNAL_GETTIME if not already defined.
30563 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30564 call.
30565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30566 HAVE_CLOCK_GETTIME_VSYSCALL.
30567 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30568
d53a73ac
UD
30569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30570 gettimeofday vsyscall, just use time.
30571
a8f84144
AS
305722011-09-06 Andreas Schwab <schwab@redhat.com>
30573
30574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30575 <errno.h>.
30576
ef606249
UD
305772011-09-06 Ulrich Drepper <drepper@gmail.com>
30578
30579 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30580 syscall on x86-64.
30581 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30582 syscall.
30583 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30584 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30585 syscall if possible.
30586
6585cb60
UD
305872011-09-05 Ulrich Drepper <drepper@gmail.com>
30588
30589 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30590 e_ident. Don't pass to find_mapsXX.
30591 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30592
a5f524e4
LD
305932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30594
30595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30596 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30597 * sysdeps/x86_64/multiarch/strchr.S: Update.
30598 Check bit_slow_BSF bit.
30599 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30600 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30601 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30602
554881ef
UD
306032011-09-05 Ulrich Drepper <drepper@gmail.com>
30604
d96de963
UD
30605 [BZ #13134]
30606 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30607 before glibc 2.15.
30608 (tryshell): Define.
30609 (__spawni): Change last parameter to be flag. Test
30610 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30611 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30612 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30613 * posix/spawni.c: Likewise.
30614 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30615 * posix/spawnp.c: Likewise. Change normal version to use
30616 SPAWN_XFLAGS_USE_PATH.
30617 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30618 SPAWN_XFLAGS_TRY_SHELL.
30619
d48e5868
UD
30620 [BZ #13150]
30621 * posix/glob.h: Remove gcc 1.x support.
30622
554881ef
UD
30623 [BZ #13068]
30624 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30625
693fb948
LD
306262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30627
30628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30629 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30630 strrchr-sse2-bsf
30631 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30632 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30633 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30634 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30635 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30636 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30637
1b48c537
UD
306382011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30639
49d42c37
UD
30640 * sysdeps/x86_64/wcscmp.S: New file.
30641
1b48c537
UD
30642 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30643 wcscmp-c wcscmp-sse2
30644 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30645 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30646 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30647 * wcsmbs/wcscmp.c: Allow renaming.
30648
15c95c5d
DM
306492011-09-05 David S. Miller <davem@davemloft.net>
30650
30651 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30652 stack slot, rather than the struct return pointer slot.
30653 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30654 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30656 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30657
2f0ad8f3
UD
306582011-09-05 Ulrich Drepper <drepper@gmail.com>
30659
d88ae418
UD
30660 * po/ja.po: Update from translation team.
30661
2f0ad8f3
UD
30662 [BZ #13144]
30663 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30664 kernel in 64-bit binaries.
30665
5f4318d1
DM
306662011-09-01 David S. Miller <davem@davemloft.net>
30667
30668 * elf/elf.h (HWCAP_SPARC_*): Move to..
30669 * sysdeps/sparc/sysdep.h: this new file and add new values.
30670 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30671 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30672 _DL_HWCAP_COUNT to 24.
30673 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30674 entries.
30675 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30676 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30677 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30679 instead of magic constants.
30680 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30681
3ba57516
DM
306822011-08-31 David S. Miller <davem@davemloft.net>
30683
30684 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30686 Reimplement to do errno handling inline.
30687 (SYSCALL_ERROR_HANDLER): New macro.
30688 (__SYSCALL_STRING): Do not do errno handling in asm.
30689 (__CLONE_SYSCALL_STRING): Delete.
30690 (__INTERNAL_SYSCALL_STRING): Delete.
30691 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30692 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30693 (PSEUDO): Reimplement to do errno handling inline.
30694 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30695 (SYSCALL_ERROR_HANDLER): New macro.
30696 (__SYSCALL_STRING): Do not do errno handling in asm.
30697 (__CLONE_SYSCALL_STRING): Delete.
30698 (__INTERNAL_SYSCALL_STRING): Delete.
30699 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30700 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30701 i386.
30702 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30703 (inline_syscall*): Add 'err' argument.
30704 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30705 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30706 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30707 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30708
30709 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30710 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30711
2bc17433
AS
307122011-08-30 Andreas Schwab <schwab@redhat.com>
30713
30714 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30715
fbeb5f4d
JO
307162011-08-29 Jiri Olsa <jolsa@redhat.com>
30717
30718 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30719 directive.
30720
ad69cc26
DM
307212011-08-24 David S. Miller <davem@davemloft.net>
30722
30723 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30724
39dd69df
AS
307252011-08-24 Andreas Schwab <schwab@redhat.com>
30726
30727 * elf/Makefile: Add rules to build and run unload8 test.
30728 * elf/unload8.c: New file.
30729 * elf/unload8mod1.c: New file.
30730 * elf/unload8mod1x.c: New file.
30731 * elf/unload8mod2.c: New file.
30732 * elf/unload8mod3.c: New file.
30733
30734 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30735 it wasn't used.
30736
2c0b250a
DM
307372011-08-23 David S. Miller <davem@davemloft.net>
30738
30739 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30740 subtract stack bias.
30741 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30742 %sp not %fp in calculations.
30743 (_JMPBUF_UNWINDS_ADJ): Likewise.
30744
22044b48
DM
30745 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30746 (aio_suspend): Call it to force an exception region around the
30747 AIO_MISC_WAIT() invocation.
30748
2cae4995
AS
307492011-08-23 Andreas Schwab <schwab@redhat.com>
30750
30751 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30752 backslash.
30753
873a772e
AJ
307542011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30755
30756 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30757 protection macro.
30758 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30759 and <dl-machine.h>.
30760 (Elf64_FuncDesc): Remove.
30761
25ad0df1
DM
307622011-08-22 David S. Miller <davem@davemloft.net>
30763
30764 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30765 sigaltstack check, add missing cfi directives.
30766 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30767 missing cfi directives, and sigaltstack handling.
30768
e888bcbe
AS
307692011-08-16 Andreas Schwab <schwab@redhat.com>
30770
30771 [BZ #11724]
30772 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30773 object is seen twice.
30774 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30775
30776 * elf/Makefile (distribute): Add tst-initorder2.c.
30777 (tests): Add tst-initorder2.
30778 (modules-names): Add tst-initorder2a tst-initorder2b
30779 tst-initorder2c tst-initorder2d. Add rules to build them.
30780 ($(objpfx)tst-initorder2.out): New rule.
30781 * elf/tst-initorder2.c: New file.
30782 * elf/tst-initorder2.exp: New file.
30783
87162f46
AS
307842011-08-22 Andreas Schwab <schwab@redhat.com>
30785
70538b7f
AS
30786 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30787
f55ffe58
AS
30788 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30789 dependencies back to end of function.
30790
87162f46
AS
30791 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30792 $(elfobjdir)/ld.so.
30793
91b392a4
UD
307942011-08-21 Ulrich Drepper <drepper@gmail.com>
30795
30796 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30797 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30799 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30800 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30801 of __vdso_gettimeofday.
30802 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30803 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30804 attribute_hidden.
30805 (_libc_vdso_platform_setup): Remove initialization of
30806 __vdso_gettimeofday and __vdso_time.
30807
5c43483f
UD
308082011-08-20 Ulrich Drepper <drepper@gmail.com>
30809
775a77e7
UD
30810 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30811 and fgetc_unlocked.
30812 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30813 getc_unlocked.
89f447ed 30814
49c74ba9
UD
30815 * elf/dl-open.c (add_to_global): Report additions to the global scope
30816 for LD_DEBUG=scopes.
30817 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30818 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30819
5c43483f
UD
30820 [BZ #13114]
30821 * stdio-common/Makefile (tests): Add bug24.
30822 * stdio-common/bug24.c: New file.
30823
a101b025
AJ
308242011-08-19 Andreas Jaeger <aj@suse.de>
30825
30826 [BZ #13114]
30827 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30828 non-existant file when using close-on-exec mode.
30829
c88f1766
UD
308302011-08-20 Ulrich Drepper <drepper@gmail.com>
30831
0276a718
UD
30832 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30833 the very first instruction.
30834
c88f1766
UD
30835 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30836 the CFI state in the end.
30837 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30838 inclusion of dl-trampoline.h.
30839 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30840
51ccffa0
AS
308412011-08-19 Andreas Schwab <schwab@redhat.com>
30842
94d7165f
AS
30843 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30844 expectations for long double.
30845
51ccffa0
AS
30846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30847 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30848
fd708658 308492011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30850
30851 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30852 artificual limit depends upon the system page size.
30853
44f0a71e
UD
308542011-08-17 Ulrich Drepper <drepper@gmail.com>
30855
30856 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30857 * resolv/Makefile: Define CFLAGS-libresolv.
30858
8de79a24
AS
308592011-08-17 Andreas Schwab <schwab@redhat.com>
30860
30861 * nss/makedb.c (compute_tables): Make variables used in nested
30862 function static.
30863
27724598
UD
308642011-08-17 Ulrich Drepper <drepper@gmail.com>
30865
c5305d88
UD
30866 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30867 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30868 if buffer was too small.
30869
27724598
UD
30870 * elf/pldd.c (main): Attach to all threads in the process.
30871 Rewrite /proc handling to use *at functions.
30872
076fe015
UD
308732011-08-16 Ulrich Drepper <drepper@gmail.com>
30874
174baab3
UD
30875 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30876 specifies first scope to show.
30877 (dl_open_worker): Update callers. Move printing scope of new
30878 object to before the relocation.
44f0a71e 30879 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30880 * sysdeps/generic/ldsodefs.h: Update declaration.
30881
076fe015
UD
30882 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30883 string for the scope number.
30884
a60df2c3
UD
308852011-08-14 Ulrich Drepper <drepper@gmail.com>
30886
30887 * nscd/servicescache.c (cache_addserv): Make sure written is always
30888 initialized.
30889
5e4287d1
RM
308902011-08-14 Roland McGrath <roland@hack.frob.com>
30891
85ae0589
RM
30892 * sysdeps/i386/i486/bits/atomic.h
30893 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30894 statement expression, so as to suppress "set but not used" warning.
30895 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30896
69f63097
RM
30897 * string/strncat.c (STRNCAT): Use prototype definition.
30898
675456ef
RM
30899 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30900 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30901 -Iprograms here.
30902 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30903 (localedef-modules): Add localedef.
30904 (locale-modules): Add locale.
30905
5e4287d1
RM
30906 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30907 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30908 to avoid a warning.
30909
9c96ff23
DM
309102011-08-14 David S. Miller <davem@davemloft.net>
30911
30912 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30913 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30914
f9ddf089
UD
309152011-08-13 Ulrich Drepper <drepper@gmail.com>
30916
44f0a71e 30917 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30918 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30919 * elf/rtld.c (dl_main): Set l_name of vDSO.
30920 Call _dl_show_scope when DL_DEBUG_SCOPES.
30921 (process_dl_debug): Recognize scopes flag and also set it for all.
30922 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30923 Declare _dl_show_scope.
30924
1dc27704
UD
30925 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30926 (do_dlopen): Pass caller_dlopen to dl_open.
30927 (__libc_dlopen_mode): Initialize caller_dlopen.
30928
f9ddf089
UD
30929 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30930 of libc. Make tolower call locale-independent. Optimize a bit by
30931 using isdigit instead of isalnum.
30932 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30933
9ac533d3
UD
309342011-08-12 Ulrich Drepper <drepper@gmail.com>
30935
30936 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30937 was a dependency or dynamically loaded.
30938
89edf2e9
UD
309392011-08-11 Ulrich Drepper <drepper@gmail.com>
30940
8e999d29
UD
30941 * intl/l10nflist.c: Allow architecture-specific pop function.
30942 * sysdeps/x86_64/l10nflist.c: New file.
30943
89edf2e9
UD
30944 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30945 classification.
30946
14d96785
AS
309472011-08-10 Andreas Schwab <schwab@redhat.com>
30948
30949 * include/dirent.h: Add libc_hidden_proto for scandirat and
30950 scandirat64. Don't declare __scandirat64.
30951 * dirent/scandirat.c: Add libc_hidden_def.
30952 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30953 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30954
6761ac04
DM
309552011-08-10 David S. Miller <davem@davemloft.net>
30956
30957 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30958 enum.
30959 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30960 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30961 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30962
c55fbd1e
UD
309632011-08-09 Ulrich Drepper <drepper@gmail.com>
30964
30965 * Versions.def [libc]: Add GLIBC_2.15.
30966 * dirent/Makefile (routines): Add scandirat and scandirat64.
30967 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30968 GLIBC_2.15.
30969 * dirent/dirent.h: Declare scandirat and scandirat64.
30970 * dirent/scandirat.c: New file.
30971 * dirent/scandirat64.c: New file.
30972 * sysdeps/wordsize-64/scandirat.c: New file.
30973 * sysdeps/wordsize-64/scandirat64.c: New file.
30974 * dirent/opendir.c: Define opendirat.
30975 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30976 using scandirat.
30977 * dirent/scandir64.c: Adjust for scandir.c change.
30978 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30979 __scandirat64, and __scandir_cancel_handler.
30980 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30981 additional parameter and use openat instead of open (outside of ld.so).
30982 Add new __opendir as wrapper around __opendirat.
30983 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30984 here without requiring old scandirat implementation.
30985
879165f2
UD
309862011-08-08 Ulrich Drepper <drepper@gmail.com>
30987
30988 * dirent/scandir.c (cancel_handler): Renamed to
30989 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30990 defined. Adjust users.
30991 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30992 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30993
cb7e923b
UD
309942011-08-04 Ulrich Drepper <drepper@gmail.com>
30995
16292edd
UD
30996 * string/test-string.h (IMPL): Use __STRING to expand name and then
30997 stringify it.
30998
cb7e923b
UD
30999 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31000 of cleanups.
31001
cff82933
LD
310022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31003
31004 * string/Makefile: Update.
31005 (strop-tests): Append strncat.
31006 * string/test-wcscmp.c: New file.
31007 New comprehensive test for wcscmp.
31008 * string/test-strcmp.c: Update.
31009 (WIDE): New define.
31010
9be9bfcc
AS
310112011-07-22 Andreas Schwab <schwab@redhat.com>
31012
31013 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31014 line.
31015
2e96f1c7
AS
310162011-07-26 Andreas Schwab <schwab@redhat.com>
31017
31018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31019 encoding to ACE if AI_IDN.
31020
85188888
JJ
310212011-08-01 Jakub Jelinek <jakub@redhat.com>
31022
31023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31024 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31025
5fa16e9b
LD
310262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31027
31028 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31029 Fix overflow bug in strncat.
31030 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31031
31032 * string/test-strncat.c: Update.
31033 Add new tests for checking overflow bugs.
31034
310352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31036
31037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31038 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31039 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31040 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31041 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31042 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31043 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31044 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31045 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31046
31047 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31048 (USE_AS_STRCAT): Define.
31049 Add strcat and strncat support.
31050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31051
8c1a459f
AS
310522011-07-25 Andreas Schwab <schwab@redhat.com>
31053
31054 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31055 __n bigger than INT_MAX+1.
31056 (__strncmp_g): Likewise.
31057
bba33c28
UD
310582011-07-23 Ulrich Drepper <drepper@gmail.com>
31059
798be72d
UD
31060 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31061 * libio/stido.h: Likewise.
31062
8accd4dc
UD
31063 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31064 (AF_NFC): Define.
31065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31066 (AF_NFC): Define.
31067
cbff0d96
UD
31068 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31069 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31070 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31071 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31072 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31073
9191c04a
UD
31074 [BZ #13021]
31075 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31076 installed.
31077
bba33c28
UD
31078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31079 typo.
31080 (_dl_x86_64_save_sse): Likewise.
31081
90f139dd
UD
310822011-07-22 Ulrich Drepper <drepper@gmail.com>
31083
1aae088a
UD
31084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31085 OSXSAVE.
31086 (_dl_x86_64_save_sse): Likewise.
31087
8e2045f5
UD
31088 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31089
90f139dd
UD
31090 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31091
1d002f25
AS
310922011-07-21 Andreas Schwab <schwab@redhat.com>
31093
31094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31095 change.
31096 (_dl_x86_64_save_sse): Use correct AVX check.
31097
21137f89
UD
310982011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31099
31100 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31101 bug in strncpy/strncat.
31102 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31103
a65c0b7a
UD
311042011-07-21 Ulrich Drepper <drepper@gmail.com>
31105
31106 * string/tester.c (test_strcat): Add tests for different alignments
31107 of source and destination.
31108 (test_strncat): Likewise.
31109
6986b98a
UD
311102011-07-20 Ulrich Drepper <drepper@gmail.com>
31111
90bb2039
UD
31112 [BZ #12852]
31113 * posix/glob.c (glob): Check passed in values before using them in
31114 expressions to avoid some overflows.
31115 (glob_in_dir): Likewise.
31116
5644ef54
UD
31117 [BZ #13007]
31118 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31119 check for AVX enablement so that we don't crash with old kernels and
31120 new hardware.
31121 * elf/tst-audit4.c: Add same checks here.
31122 * elf/tst-audit6.c: Likewise.
31123
31124 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31125
bfc9dc9b
AS
311262011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31127
31128 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31129
702e64bb
UD
311302011-07-20 Ulrich Drepper <drepper@gmail.com>
31131
31132 * po/cs.po: Update from translation team.
31133 * po/bg.po: Likewise.
31134
295e904f
MP
311352011-07-12 Marek Polacek <mpolacek@redhat.com>
31136
31137 * misc/sys/cdefs.h: Add support for const attribute.
31138 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31139 to gnu_dev_{major,minor,makedev} functions.
31140
3ff94596
MP
311412011-07-20 Marek Polacek <mpolacek@redhat.com>
31142
31143 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31144
28b59fca
AS
311452011-07-20 Andreas Schwab <schwab@redhat.com>
31146
31147 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31148 strlen results.
31149
19df733e
AK
311502011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31151
31152 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31153 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31154 register in order to avoid conflicts with the soft frame pointer
31155 being held in r11 when necessary.
31156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31157 (INTERNAL_VSYSCALL_NCS): Likewise.
31158
c8835729
MP
311592011-07-14 Marek Polacek <mpolacek@redhat.com>
31160
31161 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31162 * elf/dl-fini.c (_dl_fini): Adjust caller.
31163 * elf/dl-close.c (_dl_close_worker): Likewise.
31164 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31165
b902330c
MP
311662011-07-15 Marek Polacek <mpolacek@redhat.com>
31167
8991e135
MP
31168 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31169 "aux_cache->nlibs < 0".
31170
b902330c
MP
31171 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31172 in the reload-count case.
31173
99710781
LD
311742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31175
31176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31177 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31178 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31179 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31180 * sysdeps/x86_64/multiarch/strcat.S: New file.
31181 * sysdeps/x86_64/multiarch/strncat.S: New file.
31182 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31183 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31184 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31185 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31186 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31187 (USE_AS_STRCAT): Define.
31188 Add strcat and strncat support.
31189 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31190 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31191 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31192 * string/strncat.c: Update.
31193 (USE_AS_STRNCAT): Define.
31194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31195 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31196 and i7.
31197 * sysdeps/x86_64/multiarch/init-arch.h
31198 (bit_Prefer_PMINUB_for_stringop): New.
31199 (index_Prefer_PMINUB_for_stringop): Likewise.
31200 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31201 bit_Prefer_PMINUB_for_stringop.
31202
7dc6bd90
UD
312032011-07-19 Ulrich Drepper <drepper@gmail.com>
31204
31205 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31206 buffer64.
31207 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31208 of casting of buffer.
31209 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31210 buffer32 and buffer64.
31211 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31212 writes instead of casting of buffer.
31213 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31214 buffer32.
31215 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31216 casting of buffer.
31217
e0e72284
AS
312182011-07-19 Andreas Schwab <schwab@redhat.com>
31219
31220 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31221
feb1eb0b
UD
312222011-07-19 Ulrich Drepper <drepper@gmail.com>
31223
31224 * nscd/nscd.c (termination_handler): Don't do anything for a database
31225 if it has not yet been initialized.
31226
298711ff
UD
312272011-07-18 Ulrich Drepper <drepper@gmail.com>
31228
31229 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31230
312312011-07-15 Marek Polacek <mpolacek@redhat.com>
31232
31233 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31234
f9d68389
UD
312352011-07-18 Ulrich Drepper <drepper@gmail.com>
31236
31237 * po/nl.po: Update from translation team.
31238 * po/sv.po: Likewise.
31239
db290cf5
RM
312402011-07-16 Roland McGrath <roland@hack.frob.com>
31241
31242 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31243 now disallowed by GCC.
5c550700 31244
fd5e21c7
RM
31245 * configure.in (use-default-link): Default to yes if a test -shared
31246 link meets our qualifications.
31247 * configure: Regenerated.
31248
5c550700
RM
31249 * config.make.in (output-format): New variable.
31250 * configure.in: Check for ld --print-output-format support.
31251 * configure: Regenerated.
31252 * Makerules ($(common-objpfx)format.lds)
31253 [$(output-format) != unknown]: Just use $(output-format),
31254 instead of the linker-script munging.
31255
9fa2c032
RM
312562011-07-14 Roland McGrath <roland@hack.frob.com>
31257
a6928d51
RM
31258 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31259 of $(common-objpfx)shlib.lds.
31260 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31261
661607b3
RM
31262 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31263 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31264
9fa2c032
RM
31265 * configure.in (-z relro check): Adjust test code to add a large
31266 writable data section after it.
31267 * configure: Regenerated.
31268
defe9061
RM
312692011-07-11 Roland McGrath <roland@hack.frob.com>
31270
31271 * configure.in (-z relro check): Fix test code to make the variable
31272 truly const.
31273 * configure: Regenerated.
31274
319b9ad4
UD
312752011-07-11 Ulrich Drepper <drepper@gmail.com>
31276
31277 * nscd/nscd.h (struct traced_file): Define.
31278 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31279 elements. Add traced_files.
31280 (inotify_fd): Declare.
31281 (register_traced_file): Declare.
31282 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31283 (inotify_fd): Export.
31284 (resolv_conf_descr): Remove.
31285 (nscd_init): Move inotify descriptor creation to main.
31286 Don't register files for notification here.
31287 (register_traced_file): New function.
31288 (invalidate_cache): Don't use reset_res to determine whether to call
31289 res_init, go through the list of registered files.
31290 (main_loop_poll): The inotify descriptors are now stored in the
31291 structures for the traced files.
31292 (main_loop_epoll): Likewise
31293 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31294 to __nss_disable_nscd.
31295 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31296 for a database anymore. Check the records for all the registered
31297 files instead.
31298 * nss/Makefile (libnss_files-routines): Add files-init.
31299 (libnss_db-routines): Add db-init.
31300 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31301 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31302 * nss/nss_db/db-init.c: New file.
31303 * nss/nss_files/files-init.c: New file.
31304 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31305 __nss_lookup_function.
31306 (__nss_lookup_function): Call nss_load_library.
31307 (nss_load_all_libraries): New function.
31308 (__nss_disable_nscd): Take parameter with callback function for files
31309 to register. Set is_nscd. Load all the DSOs for the NSS modules
31310 used for the cached services.
31311 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31312 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31313 options for features to all the files in nscd.
31314
31315 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31316
23bee3e8
RM
313172011-07-10 Roland McGrath <roland@hack.frob.com>
31318
31319 * csu/elf-init.c (__libc_csu_init): Comment typo.
31320
46a5b7f0
UD
313212011-07-09 Ulrich Drepper <drepper@gmail.com>
31322
31323 * po/pl.po: Update from translation team.
31324 * po/ja.po: Likewise.
31325 * po/ru.po: Likewise.
31326 * po/ko.po: Likewise.
31327 * po/fr.po: Likewise.
31328
d30cf5bb
RM
313292011-07-09 Roland McGrath <roland@hack.frob.com>
31330
113ddea4
RM
31331 * configure.in (.ctors/.dtors header and trailer check):
31332 Use an empirical test on a built program.
31333 * configure: Regenerated.
31334
574920b4
RM
31335 * configure.in (-z relro check): Use an empirical test on a built DSO.
31336 Detect, but do not require, on ia64.
31337 * configure: Regenerated.
31338
d30cf5bb
RM
31339 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31340 Update tests that use readelf to use $READELF instead.
31341 * configure: Regenerated.
31342
8538fdb3
UD
313432011-07-08 Ulrich Drepper <drepper@gmail.com>
31344
31345 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31346 if the result is not used.
31347
04d08991
AJ
313482011-07-05 Andreas Jaeger <aj@suse.de>
31349
31350 [BZ#9696]
31351 * stdlib/tst-strtod.c: Add testcase.
31352
de283087
AD
313532011-07-07 Ulrich Drepper <drepper@gmail.com>
31354
4e5f31c8 31355 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31356 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31357 The latter has a higher limit. Take additional parameter to pass to
31358 the new function.
31359 (__pathconf): Pass file to __statfs_link_max.
31360 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31361 __statfs_link_max.
31362 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31363 __statfs_link_max.
31364
de283087
AD
31365 [BZ #12868]
31366 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31367 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31368 Handle Lustre.
31369 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31370 (__statfs_filesize_max): Likewise.
31371 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31372
c75fa153
AJ
313732011-07-05 Andreas Jaeger <aj@suse.de>
31374
31375 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31376
1a544854
UD
313772011-07-06 Marek Polacek <mpolacek@redhat.com>
31378
31379 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31380 `status' variable.
31381 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31382 Likewise.
31383
6f0eec67
UD
313842011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31385
31386 * Makefile (strop-tests): Add strncat.
31387 * string/test-strncat.c: New file.
31388
aae30307
UD
313892011-06-30 Marek Polacek <mpolacek@redhat.com>
31390
31391 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31392
c0cfb5eb
UD
313932011-06-21 Andreas Jaeger <aj@suse.de>
31394
31395 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31396 Copy rule from iconvdata/Makefile.
31397
01636b21
UD
313982011-07-06 Ulrich Drepper <drepper@gmail.com>
31399
31400 [BZ #12922]
31401 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31402 but no long options are defined, just return 'W'.
31403
9895c8bc
UD
314042011-06-22 Marek Polacek <mpolacek@redhat.com>
31405
31406 [BZ #9696]
31407 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31408
5d4cf042
UD
314092011-07-06 Ulrich Drepper <drepper@gmail.com>
31410
31411 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31412 netgroups to read.
960e5535 31413 (innetgr): Likewise.
5d4cf042 31414
751eb97e
RM
314152011-07-05 Roland McGrath <roland@hack.frob.com>
31416
31417 * config.make.in (install_root): Default to $(DESTDIR).
31418
f15f1e45
UD
314192011-07-05 Ulrich Drepper <drepper@gmail.com>
31420
31421 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31422
4e34ac6a
RM
314232011-07-02 Roland McGrath <roland@hack.frob.com>
31424
5e9b6af4
RM
31425 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31426
84f9ea0f
RM
31427 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31428 containing directory rather than embedding absolute directory names.
31429
ea5ee9f7
RM
31430 * scripts/check-local-headers.sh: Rewritten using awk.
31431 Match by word, not by line. Print error messages for matches.
31432 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31433
1b74661a
RM
31434 * Makerules [shlib-lds-flags empty]:
31435 ($(common-objpfx)libc_pic.opts): New target.
31436 ($(common-objpfx)libc_pic.os.clean): New target.
31437 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31438
31439 * config.make.in (OBJCOPY): New variable.
31440 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31441 * configure: Regenerated.
31442
f781ef40
RM
31443 * config.make.in (use-default-link): New variable.
31444 * configure.in (use_default_link): Grok --with-default-link to set it.
31445 * configure: Regenerated.
31446 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31447 (shlib-lds, shlib-lds-flags): Define to empty.
31448
2d4fa81e
RM
31449 * Makerules (shlib-lds): New variable.
31450 (shlib-lds-flags): New variable.
31451 (build-shlib, build-moduile, build-module-asneeded): Use it.
31452 ($(common-objpfx)libc.so): Use $(shlib-lds).
31453 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31454 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31455
31fffa6b
RM
31456 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31457 DT_FLAGS/DT_FLAGS_1 with zero flags.
31458
4e34ac6a
RM
31459 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31460 linker script munging.
31461
fcfc776b
UD
314622011-07-02 Ulrich Drepper <drepper@gmail.com>
31463
31464 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31465 as 128-bit value.
31466 * crypt/sha512.c (sha512_process_block): Perform total addition using
31467 128-bit if possible.
31468 (__sha512_finish_ctx): Likewise.
31469 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31470 as 64-bit value.
31471 * crypt/sha256.c (SWAP64): Define.
31472 (sha256_process_block): Perform total addition using 64-bit if
31473 possible.
31474 (__sha256_finish_ctx): Likewise.
31475
99231d9a
UD
314762011-07-01 Ulrich Drepper <drepper@gmail.com>
31477
31478 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31480 * nscd/hstcache.c (cache_addhst): Likewise.
31481 * nscd/grpcache.c (cache_addgr): Likewise.
31482 * nscd/aicache.c (addhstaiX): Likewise
31483 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31484
445b4a53
TK
314852011-07-01 Thorsten Kukuk <kukuk@suse.de>
31486
31487 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31488 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31489 * nscd/hstcache.c (cache_addhst): Likewise.
31490 * nscd/grpcache.c (cache_addgr): Likewise.
31491 * nscd/aicache.c (addhstaiX): Likewise
31492
6d4d8e8e
AS
314932011-07-01 Andreas Schwab <schwab@redhat.com>
31494
31495 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31496 domain only when needed.
31497
89f654c5
AS
314982011-06-30 Andreas Schwab <schwab@redhat.com>
31499
31500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31501 is always restored.
31502
cf3b23ff
UD
315032011-06-29 Ulrich Drepper <drepper@gmail.com>
31504
31505 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31506 are re-adding the entry.
31507 * nscd/servicescache.c (cache_addserv): Likewise.
31508
751626f9
AJ
315092011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31510
31511 * sysdeps/generic/dl-irel.h: fix protection against multiple
31512 inclusions.
31513 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31514
9113ea1f
UD
315152011-06-28 Ulrich Drepper <drepper@gmail.com>
31516
5c0b8d90
UD
31517 [BZ #12935]
31518 * malloc/memusage.sh: Fix quoting in message.
31519 * debug/xtrace.sh: Likewise.
31520
9113ea1f
UD
31521 * configure.in: Remove support for --experimental-malloc option, make
31522 it the default.
31523 * config.make.in: Likewise.
31524 * malloc/Makefile: Likewise.
31525
a4172181
AS
315262011-06-27 Andreas Schwab <schwab@redhat.com>
31527
31528 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31529 two-byte characters.
31530
78a7eee7
RM
315312011-06-27 Roland McGrath <roland@hack.frob.com>
31532
62bede13
RM
31533 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31534 AC_CACHE_CHECK invocation.
31535 * configure: Regenerated.
31536
78a7eee7
RM
31537 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31538
5ce33a62
UD
315392011-06-27 Ulrich Drepper <drepper@gmail.com>
31540
034807a9
UD
31541 [BZ #12350]
31542 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31543 bit from old_res_options.
31544
4902da17
UD
31545 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31546
5ce33a62
UD
31547 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31548 value type for setfct.
31549
c2344f56
L
315502011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31551
31552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31553 __gettimeofday instead of gettimeofday.
31554
68468076
UD
315552011-06-26 Ulrich Drepper <drepper@gmail.com>
31556
31557 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31558
acb0d739
L
315592011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31560
31561 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31562
31563 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31564 info.
31565
8912479f
L
315662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31567
31568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31569 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31570 strcpy-sse2-unaligned strncpy-sse2-unaligned
31571 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31572 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31573 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31574 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31575 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31576 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31577 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31578 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31579 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31580 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31581 (STRCPY): Support SSE2 and SSSE3 versions.
31582
d5495a11
UD
315832011-06-24 Ulrich Drepper <drepper@gmail.com>
31584
31585 [BZ #12874]
31586 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31587 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31588 kernels which artificially limit size of requests.
31589
0b1cbaae
L
315902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31591
31592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31593 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31594 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31595 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31596 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31597 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31598 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31599 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31600 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31602 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31603 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31604 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31605 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31606 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31608 Enable unaligned load optimization for Intel Core i3, i5 and i7
31609 processors.
31610 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31611 Define.
31612 (index_Fast_Unaligned_Load): Define.
31613 (HAS_FAST_UNALIGNED_LOAD): Define.
31614
07f494a0
MP
316152011-06-23 Marek Polacek <mpolacek@redhat.com>
31616
31617 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31618
fa3fc0fe
UD
316192011-06-22 Ulrich Drepper <drepper@gmail.com>
31620
31621 [BZ #12907]
31622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31623 until it is clear that the information is realy needed.
31624 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31625
e12df166
AS
316262011-06-22 Andreas Schwab <schwab@redhat.com>
31627
31628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31629
852eb34d
UD
316302011-06-22 Ulrich Drepper <drepper@gmail.com>
31631
84e2a551
UD
31632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31633 /sys/devices/system/cpu/online if it is usable.
31634
852eb34d
UD
31635 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31636 reading the information from the /proc filesystem to once a second.
31637
6e502e19
UD
316382011-06-21 Andreas Jaeger <aj@suse.de>
31639
31640 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31641 NULL after inclusion of kernel headers.
31642
75d39ff2
UD
316432011-06-21 Ulrich Drepper <drepper@gmail.com>
31644
51f9aa6a
UD
31645 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31646 calls to internal_setent.
31647
c0244a9d
UD
31648 [BZ #12885]
31649 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31650 addresses using gethostbyname4_r ignore IPv4 addresses.
31651
c5e3c2ae
UD
31652 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31653 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31654
75d39ff2
UD
31655 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31656
42675c6f
DM
316572011-06-20 David S. Miller <davem@davemloft.net>
31658
31659 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31660 inclusions.
31661 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31662
31663 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31664 (elf_irel): Use it.
31665 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31666 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31667 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31668 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31669 * sysdeps/x86_64/dl-irel.h: Likewise.
31670
31671 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31672 * elf/dl-sym.c: Likewise.
31673
57912a71
UD
316742011-06-15 Ulrich Drepper <drepper@gmail.com>
31675
31676 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31677 need to dereference resplen2.
31678
ee22793d
AS
316792011-06-14 Andreas Schwab <schwab@redhat.com>
31680
31681 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31682
a9e836b0
UD
316832011-06-15 Ulrich Drepper <drepper@gmail.com>
31684
77fb9117
UD
31685 * Makeconfig: Define vardbdir and inst_vardbdir.
31686 * nss/Makefile: Add rules to install db-Makefile.
31687
40c1b22c
UD
31688 * nss/nss_db/db-XXX.c: Cleanup.
31689
9f2da732
UD
31690 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31691 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31692 GLIBC_PRIVATE.
31693 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31694 * nss/makedb.c: Implement -g option to specify that value strings
31695 are generated and should not be added to table iterated over for
31696 get*ent calls.
31697 * nss/nss_db/db-initgroups.c: New file.
31698
82e9a1f7
UD
31699 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31700 interface.
31701
c41af17e
UD
31702 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31703 (internal_getgrouplist): Adjust to name change.
31704 Update use_initgroups_entry if this is not the first call.
31705 * nss/databases.def: Add initgroups entry.
31706
a9e836b0
UD
31707 * nss/makedb.c (compute_tables): Check result of multiple hash table
31708 sizes to minimize maximum chain length.
31709
2666d441
UD
317102011-06-14 Ulrich Drepper <drepper@gmail.com>
31711
31712 * Versions.def: Add entry for libnss_db.
31713 * shlib-versions: Likewise.
31714 * nss/Makefile: Add rules to build libnss_db.
31715 * nss/Versions: Add libnss_db information. Organize libnss_files
31716 entries better.
31717 * nss/db-Makefile: Add gshadow support. Change rules for the new
31718 makedb progra. Some minor improvements to generate smaller files.
31719 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31720 here from...
31721 * nss/makedb.c: ...here.
31722 Improve database format to be smaller and require less memory at
31723 runtime.
31724 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31725 db anymore.
31726 * nss/nss_db/db-netgrp.c: Likewise.
31727 * nss/nss_db/db-open.c: Likewise.
31728 * nss/nss_files/flies-XXX.x: Adjust comments.
31729 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31730 * nss/nss_files/files-grp.c: Likewise.
31731 * nss/nss_files/files-hosts.c: Likewise.
31732 * nss/nss_files/files-network.c: Likewise.
31733 * nss/nss_files/files-proto.c: Likewise.
31734 * nss/nss_files/files-pwd.c: Likewise.
31735 * nss/nss_files/files-rpc.c: Likewise.
31736 * nss/nss_files/files-service.c: Likewise.
31737 * nss/nss_files/files-sgrp.c: Likewise.
31738 * nss/nss_files/files-spwd.c: Likewise.
31739 * nss/nss_db/db-alias.c: Removed.
31740 * nss/nss_db/dummy-db.h: Removed.
31741
9ee76b5a
UD
317422011-06-02 Ulrich Drepper <drepper@gmail.com>
31743
31744 * nss/makedb.c: Rewritten to not use database library.
31745 * nss/Makefile: Update to build new makedb program.
31746
c71ca1f8
AJ
317472011-06-14 Andreas Jaeger <aj@suse.de>
31748
31749 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31750 memset declaration.
31751
3154bfb8
UD
317522011-06-10 Andreas Schwab <schwab@redhat.com>
31753
31754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31755 tmpbuf.
31756
b350afab
RM
317572011-06-10 Roland McGrath <roland@hack.frob.com>
31758
decd4e50
RM
31759 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31760 * elf/Makefile ($(objpfx)ld.so): Likewise.
31761
5615eaf2
RM
31762 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31763 Don't list ld.so twice in dependencies.
31764
31765 * posix/bug-regex31.c: Include <stdlib.h>.
31766
31767 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31768
31769 * nis/nss_compat/compat-spwd.c
31770 (getspent_next_nss_netgr): Remove unused variable.
31771 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31772
31773 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31774 nonmembers" output to use the right array.
31775
31776 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31777
31778 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31779
31780 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31781 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31782 * catgets/gencat.c (read_input_file): Likewise.
31783 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31784
31785 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31786 variable definition inside #if's controlling its use.
31787
31788 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31789
31790 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31791
31792 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31793
31794 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31795 unreachable code.
31796
31797 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31798
b68e08db
RM
31799 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31800 * configure: Regenerated.
31801
b350afab
RM
31802 * Makerules: Revert last change.
31803 * elf/Makefile: Likewise.
31804
28368601
RM
318052011-06-09 Roland McGrath <roland@hack.frob.com>
31806
31807 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31808 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31809 (reloc-link): Likewise.
31810
11988f8f
UD
318112011-06-09 Ulrich Drepper <drepper@gmail.com>
31812
31813 * elf/Makefile: Add rules to build pldd.
31814 * elf/pldd.c: New file.
31815 * elf/pldd-xx.c: New file.
31816
e80fab37
UD
318172011-06-07 Ulrich Drepper <drepper@gmail.com>
31818
31819 * version.h: Update for 2.15 development version.
31820
9b849836
DM
318212011-06-07 David S. Miller <davem@davemloft.net>
31822
31823 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31824 ifuncs.
31825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31826 elf_machine_lazy_rel): Likewise.
31827 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31829 elf_machine_lazy_rel): Likewise.
31830 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31831 dl_hwcap via passed in argument.
31832 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31833 Likewise.
31834
5a31b283
AK
318352011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31836
31837 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31838
069e52f8
RM
318392011-06-06 Roland McGrath <roland@hack.frob.com>
31840
31841 [BZ #12849]
31842 * manual/fdl-1.1.texi: New file, verbatim from:
31843 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31844 * manual/lgpl-2.1.texi: New file, verbatim from:
31845 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31846 * manual/Makefile (licenses): New variable, list those new file names.
31847 (texis): Use it.
31848 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31849
31850 * manual/fdl.texi: File removed.
31851 * manual/lesser.texi: File removed.
31852 * manual/libc.texinfo (Copying, Documentation License):
31853 Use new @include file names, put @appendix directive before @include.
31854
f16846a5
JJ
318552011-06-04 Jakub Jelinek <jakub@redhat.com>
31856
31857 [BZ #12841]
31858 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31859 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31860 (mq_open): Add __NTH.
31861
3d29045b
L
318622011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31863
31864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31865 Assume Intel Core i3/i5/i7 processor if AVX is available.
31866
8c297311
UD
318672011-05-31 Ulrich Drepper <drepper@gmail.com>
31868
31869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31870 typo.
31871
c8fc0c91
UD
318722011-05-31 Andreas Schwab <schwab@redhat.com>
31873
31874 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31875 memory. Use alloca_account. Fix memory leak when retrying.
31876
5b27a807
UD
318772011-05-31 Ulrich Drepper <drepper@gmail.com>
31878
356f8bc6
UD
31879 * version.h (RELEASE): Bump for 2.14 release.
31880 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31881
5b27a807
UD
31882 * config.make.in (RANLIB): Remove entry.
31883
01f16ab0
UD
318842011-05-30 Ulrich Drepper <drepper@gmail.com>
31885
41fce8bd
UD
31886 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31887 (libc.pot): Work around missing support for .ksh extension in xgettext.
31888
4769ae77
UD
31889 [BZ #12684]
31890 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31891 if both request failed.
31892 (send_dg): In case of server errors clear resplen or *resplen2.
31893
6b1e7d19
UD
31894 [BZ #12454]
31895 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31896 when there are multiple maps.
31897 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31898 (_dl_fini): Remove test here.
31899
01f16ab0
UD
31900 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31901
b1ebd700
UD
319022011-05-29 Ulrich Drepper <drepper@gmail.com>
31903
7ae22829
UD
31904 [BZ #12350]
31905 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31906 bit from old_res_options.
31907 (gaih_inet): Likewise.
31908
553149f6 31909 [BZ #11099]
18a84741 31910 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31911 as signed.
31912
652ffab1
UD
31913 * resolv/res_init.c (res_setoptions): Make the code more compact.
31914
16985fd0
UD
31915 [BZ #11558]
31916 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31917 set RES_USEVC.
31918
0464f746
UD
31919 [BZ #11634]
31920 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31921
7d17596c
UD
31922 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31923
cf6bbbd7
UD
31924 [BZ #11781]
31925 * malloc/malloc.h: Declare malloc hook variables as volatile.
31926
13f1ab36
UD
31927 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31928 in last patch.
31929
b1ebd700
UD
31930 [BZ #11799]
31931 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31932 raise in the comment.
80e2212d
UD
31933 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31934 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31935 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31936
ce67228d
UD
319372011-05-28 Ulrich Drepper <drepper@gmail.com>
31938
8887a920
UD
31939 [BZ #12811]
31940 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31941 grow the buffers more if it already has to be sufficient.
31942 (build_wcs_upper_buffer): Likewise.
31943 * posix/regexec.c (check_matching): Likewise.
31944 (clean_state_log_if_needed): Likewise.
31945 (extend_buffers): Don't enlarge buffers beyond size of the input
31946 buffer.
31947 Patches mostly by Emil Wojak <emil@wojak.eu>.
31948 * posix/bug-regex32.c: New file.
31949 * posix/Makefile (tests): Add bug-regex32.
31950
4f031072
UD
31951 * locale/findlocale.c (_nl_find_locale): Return right away if
31952 _nl_explode_name failed.
31953 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31954
d0478f0c
UD
31955 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31956
de81b246
UD
31957 * debug/xtrace.sh: Unify messages.
31958 * malloc/memusage.sh: Likewise.
31959
c738465a
UD
31960 [BZ #12813]
31961 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31962 time symbol from vDSO. Substitute with vsyscall if not available.
31963 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31964 __vdso_time.
31965
f1f929d7
UD
31966 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31967 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31968 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31969 Add sendmmsg and internal_sendmmsg.
31970 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31971 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31972 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31973
ce67228d
UD
31974 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31975 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31976 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31977
e57420c6
UD
319782011-05-27 Ulrich Drepper <drepper@gmail.com>
31979
a8509ca5
UD
31980 [BZ #12813]
31981 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31982 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31983 available.
31984 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31985 __vdso_getcpu.
31986
e57420c6
UD
31987 [BZ #12814]
31988 * iconvdata/Makefile (tests): Add bug-iconv9.
31989 * iconvdata/bug-iconv9.c: New file.
31990
4d07db15
AS
319912011-05-27 Andreas Schwab <schwab@redhat.com>
31992
31993 [BZ #12814]
31994 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31995
ea486f69
JJ
319962011-05-25 Jakub Jelinek <jakub@redhat.com>
31997
31998 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31999 (struct user_regs_struct): Change intcs field back to cs.
32000
6f038433
UD
320012011-05-25 Ulrich Drepper <drepper@gmail.com>
32002
32003 * po/ja.po: Update from translation team.
32004
67f86a25
UD
320052011-05-23 Ulrich Drepper <drepper@gmail.com>
32006
32007 [BZ #12795]
32008 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32009 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32010
def7fbd6
AS
320112011-05-20 Andreas Schwab <schwab@redhat.com>
32012
32013 * stdlib/longlong.h: Update from GCC.
32014
f50ef8f1
AS
320152011-05-23 Andreas Schwab <schwab@redhat.com>
32016
32017 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32018 parameter name.
32019 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32020 Add parameter name.
32021 (__sysconf): Pass it down.
32022
de7ce8f1
UD
320232011-05-22 Ulrich Drepper <drepper@gmail.com>
32024
f2962a71
UD
32025 [BZ #12671]
32026 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32027 some situations.
32028 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32029 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32030 add in in __libc_use_alloca calls. Adjust callers.
32031 (glob): Use malloc in some situations.
32032
de7ce8f1
UD
32033 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32034 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32035 pltexit.
32036
aec84f53
UD
320372011-05-21 Ulrich Drepper <drepper@gmail.com>
32038
05bb4a68
UD
32039 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32040 and CLOCK_BOOTTIME_ALARM.
32041
7ea72f99
UD
32042 [BZ #12782]
32043 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32044 is returned.
32045
7e4afad5
UD
32046 * string/_strerror.c (__strerror_r): Print negative errors as signed
32047 numbers.
32048
8e211fec
UD
32049 [BZ #12777]
32050 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32051 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32052 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32053
f7d82dc9
UD
32054 * configure.in: Fix typo in redirection and correct removal of test
32055 files in two cases.
32056
cc9e536d
UD
32057 [BZ #12788]
32058 * locale/setlocale.c (new_composite_name): Fix test to check for
32059 identical name of all categories.
32060
aec84f53
UD
32061 [BZ #12792]
32062 * libio/filedoalloc.c (local_isatty): New function.
32063 (_IO_file_doallocate): Use local_isatty.
32064 * stdio-common/perror.c (perror): In case a new stream is used
32065 forward the stream error.
32066 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32067 error flag.
32068
78e64fdc
RT
320692011-05-20 Ulrich Drepper <drepper@gmail.com>
32070
34a9094f
UD
32071 [BZ #11869]
32072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32073 alloca.
32074 * include/alloca.h (extend_alloca_account): Define.
32075
78e64fdc
RT
32076 [BZ #11857]
32077 * posix/regex.h: Fix comments with documentation of user-accessible
32078 fields after compilation and describe correct free'ing of pattern
32079 after re_compile_pattern.
32080 Patch by Reuben Thomas <rrt@sc3d.org>.
32081
457bddfc
RA
320822011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32083
32084 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32085 and -mno-altivec to prevent the compiler from using Altivec and/or
32086 VSX instructions when the corresponding registers are not available.
32087
a4527b51
AS
320882011-05-19 Andreas Schwab <schwab@redhat.com>
32089
32090 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32091
ed690b2f
UD
320922011-05-19 Ulrich Drepper <drepper@gmail.com>
32093
32094 * libio/freopen.c (freopen): Use __dup2, not dup2.
32095 * libio/freopen64.c (freopen64): Likewise.
32096
8db73634
L
320972011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32098
32099 [BZ #12775]
32100 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32101 * math/Makefile (tests): Add test-powl.
32102 (CFLAGS-test-powl.c): Define.
32103 * math/test-powl.c: New file.
32104
0a197a9d
L
321052011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32106
32107 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32108
ee30c380
UD
321092011-05-17 Ulrich Drepper <drepper@gmail.com>
32110
32111 [BZ #11837]
32112 * iconvdata/gb18030.c: Update to GB18020-2005.
32113
6ce75379
UD
321142011-05-16 Ulrich Drepper <drepper@gmail.com>
32115
a4b89fd8
AR
32116 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32117 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32118 Patch by Aharon Robbins <arnold@skeeve.com>.
32119
ea389b12
UD
32120 [BZ #11892]
32121 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32122 on the stack.
32123
68a3f91f
UD
32124 [BZ #11895]
32125 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32126 through underflows.
32127
15cc7dd1
UD
32128 [BZ #12766]
32129 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32130 point to strings before performing equality test for error_one_per_line
32131 mode.
32132
f3799213
UD
32133 [BZ #11697]
32134 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32135
d79a9c94
UD
32136 [BZ #11820]
32137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32138 (struct user_fpregs_struct): Avoid __uint*_t types.
32139
56e5eb46
UD
32140 [BZ #6420]
32141 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32142 symbol info. Use it instead of calling _dl_addr locally.
32143 (lock_and_info): New function.
32144 (tr_freehook): Call lock_and_info and pass symbol info as additional
32145 parameter to tr_where.
32146 (tr_mallochook): Likewise.
32147 (tr_reallochook): Likewise.
32148 (tr_memalignhook): Likewise.
32149
6ce75379
UD
32150 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32151 used and couldn't be at all thread-safe.
32152
f8a3b5bf
UD
321532011-05-15 Ulrich Drepper <drepper@gmail.com>
32154
94b7cc37
UD
32155 * libio/freopen.c (freopen): Don't close old file descriptor
32156 before the new one is opened. Instead dup the new file descriptor
32157 to the old one after the new stream is created.
32158 * libio/freopen64.c (freopen64): Likewise.
32159 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32160 * libio/fileops.c (_IO_new_file_close_it): Handle new
32161 _IO_FLAGS2_NOCLOSE flag.
32162 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32163 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32164 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32165 _IO_FLAGS2_NOCLOSE flag.
32166 * include/unistd.h: Add hidden_proto for dup3.
32167 Define __have_dup3.
32168 * io/dup3.c: Define hidden symbol.
32169 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32170
bd25564e
UD
32171 [BZ #7101]
32172 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32173 when an incomplete long option is used.
32174 * posix/tst-getopt_long1.c: New file.
32175 * posix/Makefile (tests): Add tst-getopt_long1.
32176
c84cfef4
UD
32177 [BZ #10138]
32178 * scripts/config.guess: Update from autoconf-2.68.
32179 * scripts/config.sub: Likewise.
32180
3b85df27
UD
32181 [BZ #10157]
32182 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32183 tests into ...
32184 (has_cpuclock): ...this. New function.
32185 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32186 macro here based on has_cpuclock code.
32187
15a856b1
UD
32188 [BZ #10149]
32189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32190 First byte (not low byte) is now always NUL.
32191 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32192
05f399e6
UD
32193 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32194 Use non-cancelable interfaces.
32195
10a52685 32196 [BZ #9809]
94ecc67d
UD
32197 * locale/iso-639.def: Add entry for Sorani.
32198
f8a3b5bf
UD
32199 [BZ #11901]
32200 * include/stdlib.h: Move include protection to the right place.
32201 Define abort_msg_s. Declare __abort_msg with it.
32202 * stdlib/abort.c (__abort_msg): Adjust type.
32203 * assert/assert.c (__assert_fail_base): New function. Majority
32204 of code from __assert_fail. Allocate memory for __abort_msg with
32205 mmap.
32206 (__assert_fail): Now call __assert_fail_base.
32207 * assert/assert-perr.c: Remove bulk of implementation. Use
32208 __assert_fail_base.
32209 * include/assert.hL Declare __assert_fail_base.
32210 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32211 mmap.
32212 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32213
1af4e298
UD
322142011-05-14 Ulrich Drepper <drepper@gmail.com>
32215
f8a3b5bf 32216 [BZ #11952]
d26dfc60
MG
32217 [BZ #12453]
32218 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32219 until all modules are registered in the DTV.
32220 * elf/Makefile: Add rules to build and run tst-tls19.
32221 * elf/tst-tls19.c: New file.
32222 * elf/tst-tls19mod1.c: New file.
32223 * elf/tst-tls19mod2.c: New file.
32224 * elf/tst-tls19mod3.c: New file.
32225 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32226
2fc54d6f
UD
32227 [BZ #12083]
32228 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32229 correctly.
32230
98d76b46
UD
32231 [BZ #12601]
32232 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32233 two-byte sequence errors.
32234 * iconvdata/Makefile (tests): Add bug-iconv8.
32235 * iconvdata/bug-iconv8.c: New file.
32236
da3c19ef
UD
32237 [BZ #12626]
32238 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32239 buf2 definition.
32240
ca408c15
UD
32241 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32242
d6f67f7d
UD
32243 [BZ #12432]
32244 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32245 (dummy_getcfa): New function.
32246 (init): Get _Unwind_GetCFA address, use dummy if not found.
32247 (backtrace_helper): In recursion check, also check whether CFA changes.
32248 (__backtrace): Completely initialize arg.
32249
1af4e298 32250 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32251 storing incomplete byte sequence in state object. Avoid testing for
32252 guaranteed too small input if we know there is enough data available.
1af4e298 32253
da62f81b
AS
322542011-05-11 Andreas Schwab <schwab@redhat.com>
32255
32256 * Makeconfig (+link-pie): Indent.
32257 * Rules (binaries-pie): Define if $(have-fpie) and
32258 $(build-shared).
32259 (binaries-shared): Also filter out $(binaries-pie).
32260 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32261 * nscd/Makefile (others-pie): Add nscd.
32262 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32263 ($(objpfx)nscd): Remove command override.
32264 * login/Makefile (others-pie): Add pt_chown.
32265 ($(objpfx)pt_chown): Remove command override.
32266 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32267 remove command overrides.
32268
fcabc0f8
UD
322692011-05-13 Ulrich Drepper <drepper@gmail.com>
32270
20030ae6
UD
32271 * libio/tst_putwc.c: Fix error messages.
32272
fcabc0f8
UD
32273 [BZ #12724]
32274 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32275 currently writing and seek to current position when not.
32276 * libio/Makefile (tests): Add bug-fclose1.
32277 * libio/bug-fclose1.c: New file.
32278
320a5dc0
PB
322792011-05-12 Ulrich Drepper <drepper@gmail.com>
32280
32281 [BZ #12511]
32282 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32283 don't set DF_1_NODELETE here.
32284 (do_lookup_x): When entering new entry test for copy relocation
32285 and if necessary set DF_1_NODELETE flag.
32286 * elf/tst-unique4.cc: New file.
32287 * elf/tst-unique4.h: New file.
32288 * elf/tst-unique4lib.cc: New file.
32289 * elf/Makefile: Add rules to build and run tst-unique4.
32290 Patch by Piotr Bury <pbury@goahead.com>.
32291
22836f52
UD
322922011-05-11 Ulrich Drepper <drepper@gmail.com>
32293
f574184a
UD
32294 [BZ #12052]
32295 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32296
e1fb097f
UD
32297 [BZ #12625]
32298 * misc/mntent_r.c (addmntent): Flush the stream after the output
32299
22836f52
UD
32300 [BZ #12393]
32301 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32302 (is_trusted_path_normalize): Skip initial colon. Append slash
32303 to empty buffer. Duplicate is_trusted_path code but allow
32304 constructed patch to be prefix.
32305 (is_dst): Allow $ORIGIN followed by /.
32306 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32307 Correct testing of result of is_trusted_path_normalize
32308 (decompose_rpath): Fix warning.
32309
7b3b0b2a
UD
323102011-05-10 Ulrich Drepper <drepper@gmail.com>
32311
32312 [BZ #11257]
32313 * grp/initgroups.c (internal_getgrouplist): When we found the service
32314 list through the initgroups entry in nsswitch.conf do not always
32315 continue on a successful lookup. Don't always use the
eac80ce2 32316 __nss_group_database value if it is set.
7b3b0b2a
UD
32317 * nss/nsswitch.conf (initgroups): Change action for successful db
32318 lookup to continue for compatibility.
32319
2a81eaa5
UD
323202011-05-09 Ulrich Drepper <drepper@gmail.com>
32321
be97a69e
UD
32322 [BZ #11532]
32323 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32324 and CP774 modules.
32325 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32326 and CP774 modules.
32327 * iconvdata/tst-tables.sh: Likewise.
32328 * iconvdata/cp770.c: New file.
32329 * iconvdata/cp771.c: New file.
32330 * iconvdata/cp772.c: New file.
32331 * iconvdata/cp773.c: New file.
32332 * iconvdata/cp774.c: New file.
32333 * iconvdata/testdata/CP770: New file.
32334 * iconvdata/testdata/CP770..UTF8: New file.
32335 * iconvdata/testdata/CP771: New file.
32336 * iconvdata/testdata/CP771..UTF8: New file.
32337 * iconvdata/testdata/CP772: New file.
32338 * iconvdata/testdata/CP772..UTF8: New file.
32339 * iconvdata/testdata/CP773: New file.
32340 * iconvdata/testdata/CP773..UTF8: New file.
32341 * iconvdata/testdata/CP774: New file.
32342 * iconvdata/testdata/CP774..UTF8: New file.
32343
32344 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32345 END CHARMAP line.
32346 * iconvdata/gen-8bit-gap.sh: Likewise.
32347 * iconvdata/gen-8bit.sh: Likewise.
32348
c1e9e399
UD
32349 * locale/iso-639.def: Add ary entry.
32350
24c55fb3 32351 [BZ #11258]
96b4b1b0
UD
32352 * locale/C-translit.h.in: Add U20A1 transliteration.
32353
bdc2f971
KB
32354 [BZ #12178]
32355 * locale/iso-639.def: Add wae entry.
32356 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32357
2952b117
UD
32358 [BZ #12545]
32359 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32360 for n.
32361
2a81eaa5
UD
32362 [BZ #12711]
32363 * locale/C-translit.h.in: Add entry for U20B9.
32364 Patch by pravin.d.s@gmail.com.
32365
28377d1b
UD
323662011-05-08 Ulrich Drepper <drepper@gmail.com>
32367
7fb90fb8
UD
32368 [BZ #12713]
32369 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32370 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32371 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32372 in rtld. Use *stat64.
7fb90fb8 32373 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32374 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32375 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32376 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32377 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32378 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32379 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32380 __fstatat64 macros.
7fb90fb8
UD
32381 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32382 * dirent/rewinddir.c: Add libc_hidden_def.
32383 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32384 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32385
28377d1b
UD
32386 * include/dirent.h (__alloc_dir): Add flags parameter.
32387 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32388 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32389 __alloc_dir.
32390 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32391 from fdopendir if O_CLOEXEC is already set.
32392
66bdbaa4
AM
323932011-03-15 Alan Modra <amodra@gmail.com>
32394
32395 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32396 l_tls_firstbyte_offset non-zero. Save padding offset in
32397 l_tls_firstbyte_offset for later use.
32398 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32399 freeing static tls block.
32400
95721191
JN
324012011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32402
32403 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32404 where #ifdef was intended. The intent is to prevent ARG_MAX from
32405 being defined by the kernel headers.
32406
f87dfb1f
UD
324072011-05-07 Ulrich Drepper <drepper@gmail.com>
32408
32409 [BZ #12734]
32410 * resolv/resolv.h: Define RES_NOTLDQUERY.
32411 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32412 no-tld-query and set RES_NOTLDQUERY.
32413 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32414 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32415 modern BIND to search name as TLD unless forbidden.
32416
47c3cd7a
UD
324172011-05-07 Petr Baudis <pasky@suse.cz>
32418 Ulrich Drepper <drepper@gmail.com>
32419
32420 [BZ #12393]
32421 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32422 (is_trusted_path): ...to here.
c1e9ea35 32423 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32424 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32425 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32426
8a35c912
PP
324272011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32428
32429 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32430 __BEGIN/__END_DECLS.
32431
acd41f47
UD
324322011-05-06 Ulrich Drepper <drepper@gmail.com>
32433
32434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32435 NSS_STATUS_NOTFOUND if no record was found.
32436
597df647
AS
324372011-05-05 Andreas Schwab <schwab@redhat.com>
32438
32439 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32440 (headers-not-in-tirpc): Remove rpc/netdb.h
32441 * resolv/netdb.h: Revert last change.
32442
b9af1301
PP
324432011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32444
32445 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32446 circular dependency between libgcc.a and libc.a.
32447
4e34d5f5
AS
324482011-05-05 Andreas Schwab <schwab@redhat.com>
32449
32450 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32451 * nis/Makefile: Don't install rpcsvc/*.
32452 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32453 instead of <rpc/types.h>.
32454 (MAXHOSTNAMELEN): Define.
32455
00ee369c
AS
324562011-05-03 Andreas Schwab <schwab@redhat.com>
32457
32458 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32459
0b592a30
MB
324602011-04-28 Maciej Babinski <mbabinski@google.com>
32461
32462 [BZ #12714]
32463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32464 gethostbyname4_r when IPv6 results are possible.
32465
6e04cbbe
UD
324662011-05-02 Ulrich Drepper <drepper@gmail.com>
32467
32468 [BZ #12723]
32469 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32470 _PC_PIPE_BUF handling.
32471
e4ecafe0
BH
324722011-04-30 Bruno Haible <bruno@clisp.org>
32473
32474 [BZ #12717]
32475 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32476 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32477 to 'int'.
32478 * inet/getnameinfo.c (getnameinfo): Likewise.
32479
125ee683
UD
324802011-04-29 Ulrich Drepper <drepper@gmail.com>
32481
32482 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32483 to groups setting in database lookup.
32484 * nss/nsswitch.conf: Add initgroups entry.
32485
b722481a
EB
324862011-04-22 Ulrich Drepper <drepper@gmail.com>
32487
32488 [BZ #12685]
32489 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32490 mode string.
32491 Patch by Eric Blake <eblake@redhat.com>.
32492
4df46dbd
L
324932011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32494
32495 * sunrpc/Makefile (need-export-routines): Add svc_run.
32496 (routines): Remove svc_run.
32497 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32498 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32499 * sunrpc/svc_run.c (svc_run): Likewise.
32500 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32501
e84142d2
UD
325022011-04-21 Ulrich Drepper <drepper@gmail.com>
32503
32504 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32505 problem in reallocation in last patch.
32506
877175d8
UD
325072011-04-20 Ulrich Drepper <drepper@gmail.com>
32508
32509 * sunrpc/Makefile: Move inclusion of Rules.
32510
ab8eed78
UD
325112011-04-19 Ulrich Drepper <drepper@gmail.com>
32512
32513 * nss/nss_files/files-initgroups.c: New file.
32514 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32515 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32516 _nss_files_initgroups_dyn.
32517
e3d8f584
RS
325182011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32519
32520 * elf/elf.h (R_ARM_IRELATIVE): Define.
32521
af190f45
UD
325222011-04-19 Ulrich Drepper <drepper@gmail.com>
32523
32524 * po/ru.po: Update from translation team.
32525
53cf59ef
UD
325262011-04-17 Ulrich Drepper <drepper@gmail.com>
32527
32528 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32529 dependencies.
32530
4c559bcd
MF
325312011-02-06 Mike Frysinger <vapier@gentoo.org>
32532
32533 [BZ #12653]
32534 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32535 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32536 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32537 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32538 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32539
4420675c
AS
325402011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32541
32542 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32543 differing bytes.
32544 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32546 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32547
75ea32ab
UD
325482011-04-17 Ulrich Drepper <drepper@gmail.com>
32549
32550 [BZ #12420]
32551 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32552 storing it.
32553 * stdlib/bug-getcontext.c: New file.
32554 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32555
27390476
AK
325562011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32557
32558 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32559 instructions into .machine "z9-109".
32560 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32561 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32562
10442705
AK
325632011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32564
32565 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32566 between environment variables and auxiliary vector.
32567
7b57bfe5
UD
325682011-04-16 Ulrich Drepper <drepper@gmail.com>
32569
32570 * Makefile: Add rules to build linkobj/libc.so.
32571 * include/libc-symbols.h: Define libc_hidden_nolink.
32572 * include/rpc/auth.h: Mark functions which are to be hidden.
32573 * include/rpc/auth_des.h: Likewise.
32574 * include/rpc/auth_unix.h: Likewise.
32575 * include/rpc/clnt.h: Likewise.
32576 * include/rpc/des_crypt.h: Likewise.
32577 * include/rpc/key_prot.h: Likewise.
32578 * include/rpc/pmap_clnt.h: Likewise.
32579 * include/rpc/pmap_prot.h: Likewise.
32580 * include/rpc/pmap_rmt.h: Likewise.
32581 * include/rpc/rpc_msg.h: Likewise.
32582 * include/rpc/svc.h: Likewise.
32583 * include/rpc/svc_auth.h: Likewise.
32584 * include/rpc/xdr.h: Likewise.
32585 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32586 * nss/Makefile: Likewise.
32587 * sunrpc/Makefile: Don't install headers. Build library with normal
32588 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32589 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32590 for the compat linking library. Remove use of INTDEF/INTUSE.
32591 * sunrpc/auth_none.c: Likewise.
32592 * sunrpc/auth_unix.c: Likewise.
32593 * sunrpc/authdes_prot.c: Likewise.
32594 * sunrpc/authuxprot.c: Likewise.
32595 * sunrpc/clnt_gen.c: Likewise.
32596 * sunrpc/clnt_perr.c: Likewise.
32597 * sunrpc/clnt_raw.c: Likewise.
32598 * sunrpc/clnt_simp.c: Likewise.
32599 * sunrpc/clnt_tcp.c: Likewise.
32600 * sunrpc/clnt_udp.c: Likewise.
32601 * sunrpc/clnt_unix.c: Likewise.
32602 * sunrpc/des_crypt.c: Likewise.
32603 * sunrpc/des_soft.c: Likewise.
32604 * sunrpc/get_myaddr.c: Likewise.
32605 * sunrpc/key_call.c: Likewise.
32606 * sunrpc/key_prot.c: Likewise.
32607 * sunrpc/netname.c: Likewise.
32608 * sunrpc/pm_getmaps.c: Likewise.
32609 * sunrpc/pm_getport.c: Likewise.
32610 * sunrpc/pmap_clnt.c: Likewise.
32611 * sunrpc/pmap_prot.c: Likewise.
32612 * sunrpc/pmap_prot2.c: Likewise.
32613 * sunrpc/pmap_rmt.c: Likewise.
32614 * sunrpc/publickey.c: Likewise.
32615 * sunrpc/rpc_cmsg.c: Likewise.
32616 * sunrpc/rpc_common.c: Likewise.
32617 * sunrpc/rpc_dtable.c: Likewise.
32618 * sunrpc/rpc_prot.c: Likewise.
32619 * sunrpc/rpc_thread.c: Likewise.
32620 * sunrpc/rtime.c: Likewise.
32621 * sunrpc/svc.c: Likewise.
32622 * sunrpc/svc_auth.c: Likewise.
32623 * sunrpc/svc_authux.c: Likewise.
32624 * sunrpc/svc_raw.c: Likewise.
32625 * sunrpc/svc_run.c: Likewise.
32626 * sunrpc/svc_simple.c: Likewise.
32627 * sunrpc/svc_tcp.c: Likewise.
32628 * sunrpc/svc_udp.c: Likewise.
32629 * sunrpc/svc_unix.c: Likewise.
32630 * sunrpc/svcauth_des.c: Likewise.
32631 * sunrpc/xcrypt.c: Likewise.
32632 * sunrpc/xdr.c: Likewise.
32633 * sunrpc/xdr_array.c: Likewise.
32634 * sunrpc/xdr_float.c: Likewise.
32635 * sunrpc/xdr_intXX_t.c: Likewise.
32636 * sunrpc/xdr_mem.c: Likewise.
32637 * sunrpc/xdr_rec.c: Likewise.
32638 * sunrpc/xdr_ref.c: Likewise.
32639 * sunrpc/xdr_sizeof.c: Likewise.
32640 * sunrpc/xdr_stdio.c: Likewise.
32641
e6c61494
UD
326422011-04-10 Ulrich Drepper <drepper@gmail.com>
32643
32644 [BZ #12650]
32645 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32646 * sysdeps/ia64/dl-tls.h: Likewise.
32647 * sysdeps/powerpc/dl-tls.h: Likewise.
32648 * sysdeps/s390/dl-tls.h: Likewise.
32649 * sysdeps/sh/dl-tls.h: Likewise.
32650 * sysdeps/sparc/dl-tls.h: Likewise.
32651 * sysdeps/x86_64/dl-tls.h: Likewise.
32652 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32653
34fe483e
AS
326542011-03-14 Andreas Schwab <schwab@redhat.com>
32655
32656 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32657 rpath element also skip the following colon.
32658 (expand_dynamic_string_token): Add is_path parameter and pass
32659 down to DL_DST_REQUIRED and _dl_dst_substitute.
32660 (decompose_rpath): Call expand_dynamic_string_token with
32661 non-zero is_path. Ignore empty rpaths.
32662 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32663 with zero is_path.
32664
f12a32e6
AS
326652011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32666
32667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32668 Make cancelable.
32669
38a7d692
UD
326702011-04-09 Ulrich Drepper <drepper@gmail.com>
32671
32672 [BZ #12655]
32673 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32674 Patch by Filipe David Manana <fdmanana@apache.org>.
32675
e451d22b
AS
326762011-04-07 Andreas Schwab <schwab@redhat.com>
32677
32678 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32679 Maintain aligned stack.
32680 (CHECK_RSP): Remove unused macro.
32681
dedc7c7b
UD
326822011-04-03 Ulrich Drepper <drepper@gmail.com>
32683
32684 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32685 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32686
94521213
UD
326872011-04-02 Ulrich Drepper <drepper@gmail.com>
32688
32689 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32690
8cb700c0 32691 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32692
0354e355
L
326932011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32694
32695 [BZ #12518]
32696 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32697 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32698 * sysdeps/x86_64/memmove.c: New file.
32699 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32700 (memcpy): Renamed to ...
32701 (__new_memcpy): This.
32702 (memcpy): Provide GLIBC_2_14 memcpy.
32703 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32704 (memcpy): Provide GLIBC_2_2_5 memcpy.
32705
8593482f
UD
327062011-04-01 Ulrich Drepper <drepper@gmail.com>
32707
32708 [BZ #12631]
32709 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32710
81a5726b
AS
327112011-03-30 Andreas Schwab <schwab@redhat.com>
32712
32713 * misc/syncfs.c: New file.
32714 * misc/Makefile (routines): Add syncfs.
32715 * posix/unistd.h: Declare syncfs.
32716 * sysdeps/unix/syscalls.list: Add syncfs.
32717
00e5419f
AS
327182011-04-01 Andreas Schwab <schwab@redhat.com>
32719
32720 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32721 open_by_handle_at.
32722 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32723 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32725 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32727 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32728 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32729
748876bf
UD
327302011-04-01 Ulrich Drepper <drepper@gmail.com>
32731
658e451d
UD
32732 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32733 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32734 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32736 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32738 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32739
748876bf
UD
32740 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32741 sync_file_range.c with -fexceptions.
32742 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32743 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32744 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32745 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32746 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32747 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32749 sync_file_range as cancellation point
32750 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32751 now a wrapper around __call_sync_file_range with cancellation handling.
32752 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32753 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32754 function name to __call_sync_file_range.
32755 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32756 Add call_sync_file_range.
748876bf 32757
6e63d5e1
AS
327582011-04-01 Andreas Schwab <schwab@redhat.com>
32759
32760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32761 bits/timex.h.
6e63d5e1 32762
46998f74
UD
327632011-04-01 Ulrich Drepper <drepper@gmail.com>
32764
4c1423ed
UD
32765 * iconv/iconv.h: Fix typo in comment.
32766 * io/fcntl.h: Likewise.
32767 * libio/stdio.h: Likewise.
32768 * posix/spawn.h: Likewise.
32769 * posix/unistd.h: Likewise.
32770 * stdlib/stdlib.h: Likewise.
32771 * time/time.h: Likewise.
32772 * wcsmbs/wchar.h: Likewise.
32773
158648c0
UD
32774 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32775 open_by_handle): Add.
32776 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32777 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32778 Augment a few comments.
32779 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32781 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32783 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32784 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32785 open_by_handle.
32786
46998f74
UD
32787 * io/fcntl.h (AT_EMPTY_PATH): Define.
32788
83fe108b
UD
327892011-03-30 Ulrich Drepper <drepper@gmail.com>
32790
32791 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32792 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32793 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32794 to...
32795 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32796 * Versions.def: Add GLIBC_2.14.
32797 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32798 Export.
83fe108b 32799
bb242059
UD
328002011-03-22 Ulrich Drepper <drepper@gmail.com>
32801
32802 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32803 round counter.
32804 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32805
c97a1282
L
328062011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32807
32808 [BZ #12597]
32809 * string/test-strncmp.c (do_page_test): New function.
32810 (check2): Likewise.
32811 (test_main): Call check2.
32812 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32813
2a115601
UD
328142011-03-20 Ulrich Drepper <drepper@gmail.com>
32815
32816 [BZ #12587]
32817 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32818 Handle cache information in CPU leaf 4.
32819 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32820
8126d904
UD
328212011-03-18 Ulrich Drepper <drepper@gmail.com>
32822
042c49c6 32823 [BZ #12583]
8126d904
UD
32824 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32825 character representation.
32826 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32827
ccfe366e
RA
328282011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32829
32830 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32831 END(__isnan) to END(__isnanf) to match function entry point/label
32832 EALIGN(__isnanf,...).
32833
c6e13027
JJ
328342011-03-10 Jakub Jelinek <jakub@redhat.com>
32835
32836 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32837
33f85a3f
UD
328382011-03-10 Ulrich Drepper <drepper@gmail.com>
32839
028478fa
UD
32840 [BZ #12510]
32841 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32842 copy from the symbol referenced in the relocation to initialize the
32843 used variable.
32844 Patch by Piotr Bury <pbury@goahead.com>.
32845 * elf/Makefile: Add rules to build and tst-unique3.
32846 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32847 * elf/tst-unique3.cc: New file.
32848 * elf/tst-unique3.h: New file.
32849 * elf/tst-unique3lib.cc: New file.
32850 * elf/tst-unique3lib2.cc: New file.
32851
33f85a3f
UD
32852 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32853
03592fc7
MF
328542011-03-10 Mike Frysinger <vapier@gentoo.org>
32855
32856 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32857 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32858 to _start.
03592fc7 32859
6a5ee102
UD
328602011-03-06 Ulrich Drepper <drepper@gmail.com>
32861
32862 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32863 to-be-loaded object along a path to loader is ld.so.
32864
7e4ba49c
HJ
328652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32866 Ulrich Drepper <drepper@gmail.com>
32867
32868 * sysdeps/x86_64/memset.S: After aligning destination, code
32869 branches to different locations depending on the value of
32870 misalignment, when multiarch is enabled. Fix this.
32871
328722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32873
32874 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32875 Set _x86_64_preferred_memory_instruction for AMD processsors.
32876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32877 Set bit_Prefer_SSE_for_memop for AMD processors.
32878
13a804de
UD
328792011-03-04 Ulrich Drepper <drepper@gmail.com>
32880
32881 * libio/fmemopen.c (fmemopen): Optimize a bit.
32882
9d25c392
AS
328832011-03-03 Andreas Schwab <schwab@redhat.com>
32884
32885 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32886
a5543c6a
RM
328872011-03-03 Roland McGrath <roland@redhat.com>
32888
32889 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32890
012d35f7
DM
328912011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32892
7e4ba49c 32893 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32894 __bzero_ultra1 instead of __memset_ultra1.
32895
4bff6e01
AS
328962011-02-23 Andreas Schwab <schwab@redhat.com>
32897 Ulrich Drepper <drepper@gmail.com>
32898
32899 [BZ #12509]
32900 * include/link.h (struct link_map): Add l_orig_initfini.
32901 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32902 returning unsuccessfully.
32903 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32904 close of a file loaded at startup, restore the original l_initfini
32905 list.
32906 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32907 list, store the pointer.
32908 * elf/Makefile ($(objpfx)noload-mem): New rule.
32909 (noload-ENV): Define.
32910 (tests): Add $(objpfx)noload-mem.
32911 * elf/noload.c: Include <memcheck.h>.
32912 (main): Call mtrace. Close all opened handles.
32913
f2092faf
AS
329142011-02-17 Andreas Schwab <schwab@redhat.com>
32915
32916 [BZ #12454]
32917 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32918 dependencies are missing.
32919
6c8a2e88
ST
329202011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32921
f2092faf 32922 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32923 Hurd needs munmap.
32924 * sysdeps/mach/hurd/ifreq.h: New file.
32925
84a42118
PB
329262011-01-27 Petr Baudis <pasky@suse.cz>
32927 Ulrich Drepper <drepper@gmail.com>
32928
071f805e 32929 [BZ 12445]#
84a42118
PB
32930 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32931 to extend_alloca().
32932 * stdio-common/bug23.c: New file.
32933 * stdio-common/Makefile (tests): Add bug23.
32934
e23fe25b
AS
329352010-09-28 Andreas Schwab <schwab@redhat.com>
32936 Ulrich Drepper <drepper@gmail.com>
32937
32938 [BZ #12489]
32939 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32940 before performing relro protection. At old place add assertion
32941 to make sure nothing changed.
32942
d3f02e10
NS
329432011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32944 Glauber de Oliveira Costa <glommer@gmail.com>
32945
32946 * elf/elf.h: Add new ARM TLS relocs.
32947
d55fd7a5
RA
329482011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32949
32950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32951 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32952 cast from r3.
32953 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32954 'tests' variable.
32955 * sysdeps/wordsize-64/tst-writev.c: New file.
32956
2206397e
RA
329572011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32958
32959 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32960 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32961 insns in _dl_start to prevent a TOC reference before relocs are
32962 resolved.
32963
e9433893
UD
329642011-02-15 Ulrich Drepper <drepper@gmail.com>
32965
32966 [BZ #12469]
32967 * Makeconfig: Remove RANLIB definition.
32968 * Makerules: Don't use RANLIB.
32969 * aclocal.m4: Remove ranlib test.
32970 * configure.in: No need to check for ranlib.
32971 * elf/rtld-Rules: Don't use RANLIB.
32972
f75286c6
ST
329732011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32974
8e31c82d
ST
32975 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32976 protection macro.
32977 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32978 inclusion protection macro.
32979
f75286c6
ST
32980 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32981 SIGRTMIN and SIGRTMAX and print information in that case only when
32982 SIGRTMIN is defined.
32983
c1d0e639
JJ
329842011-02-11 Jakub Jelinek <jakub@redhat.com>
32985
32986 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32987 arginfo fn returning -1.
32988
32989 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32990 and thousands string is zero terminated.
32991
edf9294e
AS
329922011-02-03 Andreas Schwab <schwab@redhat.com>
32993
32994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32995 sysdeps/unix/sysv/linux/bits/socket.h.
32996
2b7e92df
ST
329972011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32998
edf9294e
AS
32999 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33000 (__CPU_COUNT): Remove old macros.
33001 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33002 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33003 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33004 (__sched_cpualloc, __sched_cpufree): Add declarations.
33005
a4c7ea7b
UD
330062011-02-05 Ulrich Drepper <drepper@gmail.com>
33007
33008 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33009 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33010 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33011 (readdhstai): Return value of addhstaiX call.
33012 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33013 (addgrbyX): Return value returned by cache_addgr.
33014 (readdgrbyname): Return value returned by addgrbyX.
33015 (readdgrbygid): Likewise.
33016 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33017 (addpwbyX): Return value returned by cache_addpw.
33018 (readdpwbyname): Return value returned by addhstbyX.
33019 (readdpwbyuid): Likewise.
33020 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33021 (addservbyX): Return value returned by cache_addserv.
33022 (readdservbyname): Return value returned by addservbyX:
33023 (readdservbyport): Likewise.
33024 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33025 (addhstbyX): Return value returned by cache_addhst.
33026 (readdhstbyname): Return value returned by addhstbyX.
33027 (readdhstbyaddr): Likewise.
33028 (readdhstbynamev6): Likewise.
33029 (readdhstbyaddrv6): Likewise.
33030 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33031 (readdinitgroups): Return value returned by addinitgroupsX.
33032 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33033 (prune_cache): Keep track of timeout value of re-added entries.
33034 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33035 * nscd/nscd.h: Adjust prototypes of readd* functions.
33036
a0bf67cc
RM
330372011-02-04 Roland McGrath <roland@redhat.com>
33038
33039 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33040 (nis_stats): Likewise.
33041 * nis/nis_modify.c (nis_modify): Likewise.
33042 * nis/nis_remove.c (nis_remove): Likewise.
33043 * nis/nis_add.c (nis_add): Likewise.
33044
33045 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33046
33047 * posix/fnmatch_loop.c: Add some consts.
33048
33049 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33050
435b95eb
L
330512011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33052
33053 [BZ #12460]
33054 * config.make.in (config-cflags-novzeroupper): Define.
33055 * configure.in: Substitute libc_cv_cc_novzeroupper.
33056 * elf/Makefile (AVX-CFLAGS): Define.
33057 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33058 (CFLAGS-tst-auditmod4a.c): Likewise.
33059 (CFLAGS-tst-auditmod4b.c): Likewise.
33060 (CFLAGS-tst-auditmod6b.c): Likewise.
33061 (CFLAGS-tst-auditmod6c.c): Likewise.
33062 (CFLAGS-tst-auditmod7b.c): Likewise.
33063 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33064
8517b15e
UD
330652011-02-02 Ulrich Drepper <drepper@gmail.com>
33066
33067 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33068 function to the callback.
33069 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33070
10a656fe
AS
330712011-02-02 Andreas Schwab <schwab@redhat.com>
33072
33073 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33074 of errno.
33075
968dad0a
UD
330762011-01-19 Ulrich Drepper <drepper@gmail.com>
33077
9f94d2ea 33078 [BZ #11724]
968dad0a
UD
33079 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33080 of constructors.
33081 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33082 of destructors.
33083 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33084
33085 [BZ #11724]
33086 * elf/Makefile: Add rules to build and run new test.
33087 * elf/tst-initorder.c: New file.
33088 * elf/tst-initorder.exp: New file.
33089 * elf/tst-initordera1.c: New file.
33090 * elf/tst-initordera2.c: New file.
33091 * elf/tst-initordera3.c: New file.
33092 * elf/tst-initordera4.c: New file.
33093 * elf/tst-initorderb1.c: New file.
33094 * elf/tst-initorderb2.c: New file.
33095 * elf/tst-order-a1.c: New file.
33096 * elf/tst-order-a2.c: New file.
33097 * elf/tst-order-a3.c: New file.
33098 * elf/tst-order-a4.c: New file.
33099 * elf/tst-order-b1.c: New file.
33100 * elf/tst-order-b2.c: New file.
33101 * elf/tst-order-main.c: New file.
33102 New test case by George Gensure <werkt0@gmail.com>.
33103
86e92359
UD
331042010-10-01 Andreas Schwab <schwab@redhat.com>
33105
33106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33107 decoding ACE if AI_CANONIDN.
33108
5d5732b0
UD
331092011-01-18 Ulrich Drepper <drepper@gmail.com>
33110
33111 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33112
a77e8cbc
UD
331132011-01-17 Ulrich Drepper <drepper@gmail.com>
33114
6392473f
UD
33115 * version.h (RELEASE): Bump for 2.13 release.
33116 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33117
620a0529
UD
33118 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33119
18ba70a5
UD
33120 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33121 MADV_NOHUGEPAGE.
32465c3e
UD
33122 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33123 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33127 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33128
c0dafcf1
UD
33129 * posix/getconf.c: Update copyright year.
33130 * catgets/gencat.c: Likewise.
33131 * csu/version.c: Likewise.
33132 * debug/catchsegv.sh: Likewise.
33133 * debug/xtrace.sh: Likewise.
33134 * elf/ldconfig.c: Likewise.
33135 * elf/ldd.bash.in: Likewise.
33136 * elf/sprof.c (print_version): Likewise.
33137 * iconv/iconv_prog.c: Likewise.
33138 * iconv/iconvconfig.c: Likewise.
33139 * locale/programs/locale.c: Likewise.
33140 * locale/programs/localedef.c: Likewise.
33141 * malloc/memusage.sh: Likewise.
33142 * malloc/mtrace.pl: Likewise.
33143 * nscd/nscd.c (print_version): Likewise.
33144 * nss/getent.c: Likewise.
33145
a77e8cbc
UD
33146 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33147 PF_CAIF, and PF_ALG.
33148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33149
77e8bddf
AS
331502011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33151
1f20b93a
AS
33152 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33153 (modules-names): Use them.
33154 (ifunc-test-modules, ifunc-pie-tests): Define.
33155 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33156 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33157 (test-extras): Likewise.
33158 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33159 $(compile-command.c).
33160 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33161 (all-built-dso): Define.
33162 (check-textrel.out, check-execstack.out): Depend on it.
33163
77e8bddf
AS
33164 * configure.in: Don't override --enable-multi-arch.
33165
bc425b33
UD
331662011-01-15 Ulrich Drepper <drepper@gmail.com>
33167
33168 [BZ #6812]
33169 * nscd/hstcache.c (tryagain): Define.
33170 (cache_addhst): Return tryagain not notfound for temporary errors.
33171 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33172 failed.
33173
794c3ad3
UD
331742011-01-14 Ulrich Drepper <drepper@gmail.com>
33175
70181fdd
UD
33176 [BZ #10563]
33177 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33178 to make the syscall.
33179 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33180
794c3ad3
UD
33181 [BZ #12378]
33182 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33183 and fall back to matching as normal character if the string ends before
33184 the matching ']' is found. This is what POSIX requires.
33185 * posix/testfnm.c: Adjust test result.
33186 * posix/globtest.sh: Adjust test result. Add new test.
33187 * posix/tst-fnmatch.input: Likewise.
33188 * posix/tst-fnmatch2.c: Add new test.
33189
68dc9497
AS
331902010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33191
33192 * elf/Makefile (check-execstack): Revert last change. Depend on
33193 check-execstack.h.
33194 (check-execstack.h): New target.
33195 (generated): Add check-execstack.h.
33196 * elf/check-execstack.c: Include "check-execstack.h".
33197 (main): Revert last change.
33198 (handle_file): Return zero if GNU_STACK is absent and
33199 DEFAULT_STACK_PERMS doesn't include PF_X.
33200
451f001b
UD
332012011-01-13 Ulrich Drepper <drepper@gmail.com>
33202
cfa28e56
UD
33203 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33204 in child fails because the descriptor is already closed.
8cf8ce17
UD
33205 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33206 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33207 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33208
1086d70d
UD
33209 [BZ #12397]
33210 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33211 syscall.
33212
451f001b
UD
33213 [BZ #10484]
33214 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33215 temporary buffer used to handle multi lookups locally.
a85b5cb4 33216 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33217
08769175
UD
332182011-01-12 Ulrich Drepper <drepper@gmail.com>
33219
33220 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33221 loader is ld.so.
33222
5e49c52e
UD
332232011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33224
33225 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33226 alignment for SSE2.
33227
60522a5f
UD
332282011-01-12 Ulrich Drepper <drepper@gmail.com>
33229
33230 [BZ #12394]
33231 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33232 characters. When rounding increased number of integer digits recompute
33233 number of groups.
33234 * stdio-common/tst-grouping.c: New file.
33235 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33236
f257bbd7
UD
332372011-01-09 Ulrich Drepper <drepper@gmail.com>
33238
33239 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33240 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33241
33242 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33243 void.
33244 * bits/select.h: Likewise.
33245
fa9c15cb
UD
332462011-01-08 Ulrich Drepper <drepper@gmail.com>
33247
33248 * po/ja.po: Update from translation team.
33249
16c2895f
DM
332502011-01-04 David S. Miller <davem@sunset.davemloft.net>
33251
33252 [BZ #11155]
33253 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33254 implementation just like for lxstat, fxstatat, et al.
33255
2543fef2
JM
332562010-12-27 Jim Meyering <meyering@redhat.com>
33257
33258 [BZ #12348]
33259 * posix/regexec.c (build_trtable): Return failure indication upon
33260 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33261
98727dbe
UD
332622010-12-25 Ulrich Drepper <drepper@gmail.com>
33263
5bd6dc5c
UD
33264 [BZ #12201]
33265 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33266 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33267 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33268 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33269
97983464
UD
33270 [BZ #12207]
33271 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33272
98727dbe
UD
33273 [BZ #12204]
33274 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33275 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33276
4a531bb0
L
332772010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33278
33279 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33280 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33281 script has SORT_BY_INIT_PRIORITY.
33282 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33283 NO_CTORS_DTORS_SECTIONS is defined.
33284 * elf/soinit.c: Likewise.
33285 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33286 NO_CTORS_DTORS_SECTIONS is defined.
33287 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33288 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33289 * sysdeps/sh/init-first.c: Likewise.
33290 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33291
07eb4b71
UD
332922010-12-24 Ulrich Drepper <drepper@gmail.com>
33293
33294 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33295 always use the slow path.
33296
30950a5f
RA
332972010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33298
33299 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33300 similar rule which adds the sysdep directories to the header search in
33301 order to pick up the correct platform stackinfo.h.
33302 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33303 perform test if it is, otherwise return successfully without testing.
33304 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33305 DEFAULT_STACK_PERMS define in stackinfo.h.
33306 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33307 defined in stackinfo.h.
33308 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33309 DEFAULT_STACK_PERMS defined in stackinfo.h.
33310 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33311 * sysdeps/ia64/stackinfo.h: Likewise.
33312 * sysdeps/s390/stackinfo.h: Likewise.
33313 * sysdeps/sh/stackinfo.h: Likewise.
33314 * sysdeps/sparc/stackinfo.h: Likewise.
33315 * sysdeps/x86_64/stackinfo.h: Likewise.
33316 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33317 PF_X for powerpc64. Retain PF_X for powerpc32.
33318
db753e2c
UD
333192010-12-19 Ulrich Drepper <drepper@gmail.com>
33320
14b697f7
UD
33321 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33322 accurately.
db753e2c
UD
33323 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33324 GETDENTS_64BIT_ALIGNED.
33325
28300719
UD
333262010-12-14 Ulrich Drepper <dreper@gmail.com>
33327
14b697f7 33328 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33329
4f197237
AS
333302010-12-10 Andreas Schwab <schwab@redhat.com>
33331
dbb0472f
AS
33332 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33333 _GNU_SOURCE.
33334
4f197237
AS
33335 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33336 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33337 Remove __restrict.
33338 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33339 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33340
fb88ac72
UD
333412010-12-09 Ulrich Drepper <drepper@gmail.com>
33342
33343 [BZ #11655]
33344 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33345 are initialized.
33346
42acbb92
JJ
333472010-12-09 Jakub Jelinek <jakub@redhat.com>
33348
33349 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33350
c038d98d
UD
333512010-12-03 Ulrich Drepper <drepper@gmail.com>
33352
33353 * po/it.po: Update from translation team.
33354
3a4a2499
L
333552010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33356
33357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33358 unused codes.
33359
1e24cf6e
UD
333602010-11-30 Ulrich Drepper <drepper@gmail.com>
33361
33362 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33363
a7690819
AS
333642010-11-24 Andreas Schwab <schwab@redhat.com>
33365
33366 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33367 specially.
33368 (gaih_getanswer_slice): Likewise.
33369
3bf8d1b1
JJ
333702010-10-20 Jakub Jelinek <jakub@redhat.com>
33371
33372 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33373
6db52fbb
PB
333742010-05-31 Petr Baudis <pasky@suse.cz>
33375
33376 [BZ #11149]
33377 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33378 silently even in the chroot mode.
33379
eaca7569
UD
333802010-11-22 Ulrich Drepper <drepper@gmail.com>
33381
33382 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33383 last patch a bit. Pretty printing
33384
3056dcdb
UD
333852010-05-31 Petr Baudis <pasky@suse.cz>
33386
33387 [BZ #10085]
33388 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33389 initialization of skip_initgroups_dyn.
33390
cf7c9078
UD
333912010-11-19 Ulrich Drepper <drepper@gmail.com>
33392
33393 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33394 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33395
a1fb5e3e
UD
333962010-11-16 Ulrich Drepper <drepper@gmail.com>
33397
33398 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33399
3540d66b
AS
334002010-11-11 Andreas Schwab <schwab@redhat.com>
33401
33402 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33403 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33404 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33405 ($(objpfx)tst-fnmatch-mem): New rule.
33406 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33407 * posix/tst-fnmatch.c (main): Call mtrace.
33408
13b69574
L
334092010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33410
33411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33412 Support Intel processor model 6 and model 0x2c.
33413
da93d214
LM
334142010-11-10 Luis Machado <luisgpm@br.ibm.com>
33415
33416 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33417 signed comparison.
33418
8ca52c6e
L
334192010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33420
33421 [BZ #12205]
33422 * string/test-strncasecmp.c (check_result): New function.
33423 (do_one_test): Use it.
33424 (check1): New function.
33425 (test_main): Use it.
33426 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33427 Support strcasecmp and strncasecmp.
33428
69da074d
UD
334292010-11-08 Ulrich Drepper <drepper@gmail.com>
33430
33431 [BZ #12194]
33432 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33433 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33434
ff02d528
L
334352010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33436
33437 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33438 IFUNC support.
33439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33440 memset-x86-64.
33441 * sysdeps/x86_64/multiarch/bzero.S: New file.
33442 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33443 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33444 * sysdeps/x86_64/multiarch/memset.S: New file.
33445 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33447 Set bit_Prefer_SSE_for_memop for Intel processors.
33448 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33449 Define.
33450 (index_Prefer_SSE_for_memop): Define.
33451 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33452
344d0b54
LM
334532010-11-04 Luis Machado <luisgpm@br.ibm.com>
33454
33455 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33456 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33457
c0dde15b
UD
334582010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33459
33460 [BZ #12191]
33461 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33462 (__x86_64_raw_data_cache_size_half): Likewise.
33463 (__x86_64_raw_shared_cache_size): Likewise.
33464 (__x86_64_raw_shared_cache_size_half): Likewise.
33465
33466 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33467 (__x86_64_raw_data_cache_size_half): Likewise.
33468 (__x86_64_raw_shared_cache_size): Likewise.
33469 (__x86_64_raw_shared_cache_size_half): Likewise.
33470 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33471 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33472 and __x86_64_raw_shared_cache_size_half. Round
33473 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33474 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33475 to multiple of 256 bytes.
33476
0e516e0e
MS
334772010-11-03 Ulrich Drepper <drepper@gmail.com>
33478
33479 [BZ #12167]
33480 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33481 of inacessible symlinks. Verify result of symlink before returning it.
33482 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33483 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33484
0e012e87
ER
334852010-10-28 Erich Ritz <erichritz@gmail.com>
33486
33487 * math/math.h (isinf): Fix typo in comment.
33488
de0ff7bc
UD
334892010-11-01 Ulrich Drepper <drepper@gmail.com>
33490
33491 * po/da.po: Update from translation team.
33492
fa41c84d
UD
334932010-10-26 Ulrich Drepper <drepper@gmail.com>
33494
33495 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33496 is added to the list.
33497
f0967738
AK
334982010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33499 Ulrich Drepper <drepper@gmail.com>
33500
33501 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33502 the global list here. Move code to...
33503 (_dl_add_to_namespace_list): ...here. New function.
33504 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33505 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33506 * elf/dl-load.c (lose): Don't remove the element from the list.
33507 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33508 (_dl_map_object): Likewise.
33509
335102010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33511
33512 [BZ #12159]
33513 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33514 into all bytes of SSE register.
33515 Patch by Richard Li <richardpku@gmail.com>.
33516
f0967738 335172010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33518
33519 [BZ #12140]
33520 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33521 perturbing.
33522
d0b9e94f
MB
335232010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33524
33525 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33526 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33527 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33528 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33530 submachine.
33531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33532
8e9f92e9
AS
335332010-10-22 Andreas Schwab <schwab@redhat.com>
33534
33535 * include/dlfcn.h (__RTLD_SECURE): Define.
33536 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33537 mode & __RTLD_SECURE instead.
33538 (open_path): Rename preloaded parameter to secure.
33539 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33540 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33541 * elf/dl-deps.c (openaux): Likewise.
33542 * elf/rtld.c (struct map_args): Remove is_preloaded.
33543 (map_doit): Don't use it.
33544 (dl_main): Likewise.
33545 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33546 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33547
bc96fbda
AS
335482010-09-09 Andreas Schwab <schwab@redhat.com>
33549
33550 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33551 (sysd-rules-targets): Remove duplicates.
33552 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33553 rtld-%.$o dependency.
33554
22cd1c9b
AS
335552010-10-18 Andreas Schwab <schwab@redhat.com>
33556
33557 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33558 _dl_map_object do it.
33559
18edac48
UD
335602010-10-19 Ulrich Drepper <drepper@gmail.com>
33561
33562 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33563 fast fma builtins, define the macros in the C99 standard.
33564 (FP_FAST_FMAF): Likewise.
33565 (FP_FAST_FMAL): Likewise.
33566 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33567
33568 * bits/mathdef.h: Update copyright year.
33569 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33570
d2050124
MM
335712010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33572
33573 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33574 builtins, define the macros in the C99 standard.
33575 (FP_FAST_FMAF): Likewise.
33576 (FP_FAST_FMAL): Likewise.
33577 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33578 multiply/add.
33579 (FP_FAST_FMAF): Likewise.
33580
475facd1
JJ
335812010-10-15 Jakub Jelinek <jakub@redhat.com>
33582
33583 [BZ #3268]
33584 * math/libm-test.inc (fma_test): Some new testcases.
33585 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33586 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33587 y and infinite z. Do multiplication by C already in long double.
33588 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33590 y and infinite z. Do bitwise or of inexact bit into u.d.
33591 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33592 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33593 * sysdeps/i386/fpu/s_fma.S: Removed.
33594 * sysdeps/i386/fpu/s_fmal.S: Removed.
33595
7c08a05c
JJ
335962010-10-16 Jakub Jelinek <jakub@redhat.com>
33597
33598 [BZ #3268]
33599 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33601 computation is not scheduled after fetestexcept. Fix value
33602 of minimum denormal long double.
33603
f3f7372d
JJ
336042010-10-14 Jakub Jelinek <jakub@redhat.com>
33605
33606 [BZ #3268]
33607 * math/libm-test.inc (fma_test): Add some more tests.
33608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33609 correctly.
33610
14d43591
AS
336112010-10-15 Andreas Schwab <schwab@redhat.com>
33612
33613 * scripts/data/localplt-s390-linux-gnu.data: New file.
33614 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33615
5e908464
JJ
336162010-10-13 Jakub Jelinek <jakub@redhat.com>
33617
33618 [BZ #3268]
33619 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33620 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33621 instead of dbl-64.
33622 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33623 inlines.
33624 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33626 if one of x and y is very large and the other is subnormal.
33627 * sysdeps/s390/fpu/s_fmaf.c: New file.
33628 * sysdeps/s390/fpu/s_fma.c: New file.
33629 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33630 * sysdeps/powerpc/fpu/s_fma.S: New file.
33631 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33632 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33633 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33634
336352010-10-12 Jakub Jelinek <jakub@redhat.com>
33636
33637 [BZ #3268]
33638 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33639 fma tests.
33640 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33641 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33642 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33643 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33644 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33645 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33646 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33647
b833d51f
UD
336482010-10-12 Ulrich Drepper <drepper@redhat.com>
33649
33650 [BZ #12078]
33651 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33652 * posix/bug-regex31.input: Add test case.
33653
1751705d
UD
336542010-10-11 Ulrich Drepper <drepper@gmail.com>
33655
e9b9cbf5
UD
33656 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33657 * posix/bug-regex31.input: New file.
33658
33659 [BZ #12078]
33660 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33661 (parse_sub_exp): Fix last change, use postorder.
33662
ef06edbe
UD
33663 * posix/bug-regex31.c: New file.
33664 * posix/Makefile: Add rules to build and run bug-regex31.
33665
a129c80d
UD
33666 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33667
33668 [BZ #12078]
33669 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33670
b76b818e
UD
33671 [BZ #12108]
33672 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33673 to have entries in sys_siglist.
33674
1751705d
UD
33675 [BZ #12093]
33676 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33677 be NULL.
33678
9ff8d36f
JJ
336792010-10-07 Jakub Jelinek <jakub@redhat.com>
33680
33681 [BZ #3268]
33682 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33683 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33684 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33685 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33686 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33687 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33688 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33689 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33690 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33691 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33692 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33693 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33694 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33695 * math/ftestexcept.c (fetestexcept): Likewise.
33696 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33697 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33698 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33699 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33700 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33701 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33702 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33703
af325969
UD
337042010-10-11 Ulrich Drepper <drepper@gmail.com>
33705
c579b202 33706 [BZ #12107]
af325969
UD
33707 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33708 newline.
33709
67a67b95
UD
337102010-10-06 Ulrich Drepper <drepper@gmail.com>
33711
33712 * string/bug-strstr1.c: New file.
33713 * string/Makefile: Add rules to build and run bug-strstr1.
33714
5fb308bc
EB
337152010-10-05 Eric Blake <eblake@redhat.com>
33716
33717 [BZ #12092]
33718 * string/str-two-way.h (two_way_long_needle): Always clear memory
33719 when skipping input due to the shift table.
33720
45db99c7
UD
337212010-10-03 Ulrich Drepper <drepper@gmail.com>
33722
3b111893
UD
33723 [BZ #12005]
33724 * malloc/mcheck.c: Handle large requests.
33725
45db99c7
UD
33726 [BZ #12077]
33727 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33728 for strncmp and strncasecmp.
33729 * string/stratcliff.c: Add tests for strcmp and strncmp.
33730 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33731
cf7a1eb8
NI
337322010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33733
33734 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33735 __set_fpscr.
33736
6484ba5e
AJ
337372010-09-30 Andreas Jaeger <aj@suse.de>
33738
33739 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33740 (CGROUP_SUPER_MAGIC): Define.
33741 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33742 Handle btrfs and cgroup file systems.
33743 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33744 Likewise.
33745
91c42559
LM
337462010-09-27 Luis Machado <luisgpm@br.ibm.com>
33747
33748 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33749 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33750
87a97932
AK
337512010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33752
33753 [BZ #12067]
33754 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33755 trying to locate the ELF header.
33756
c21cc9bc
AS
337572010-09-27 Andreas Schwab <schwab@redhat.com>
33758
33759 [BZ #11611]
33760 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33761 Mask out sign-bit copies when constructing f_fsid.
33762
315970f6
PB
337632010-09-24 Petr Baudis <pasky@suse.cz>
33764
33765 * debug/stack_chk_fail_local.c: Add missing licence exception.
33766 * debug/warning-nop.c: Likewise.
33767
1ac7a2c7
JM
337682010-09-15 Joseph Myers <joseph@codesourcery.com>
33769
33770 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33771 implementing getdents64 using getdents syscall, set d_type if
33772 __ASSUME_GETDENTS32_D_TYPE.
33773
56801c50
AS
337742010-09-16 Andreas Schwab <schwab@redhat.com>
33775
33776 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33777 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33778
dda51327
UD
337792010-09-21 Ulrich Drepper <drepper@redhat.com>
33780
33781 [BZ #12037]
33782 * posix/unistd.h: Undo change of feature selection for ftruncate from
33783 2010-01-11.
33784
8ffcee4a
UD
337852010-09-20 Ulrich Drepper <drepper@redhat.com>
33786
a545ecd9 33787 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33788 detection.
33789
e24f0a8b
AS
337902010-09-20 Andreas Schwab <schwab@redhat.com>
33791
33792 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33793 fanotify_mark.
33794 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33795
7291c56f
AS
337962010-09-14 Andreas Schwab <schwab@redhat.com>
33797
33798 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33799 variables after CHECK_SP call.
33800 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33801
bc5fb037
AS
338022010-09-13 Andreas Schwab <schwab@redhat.com>
33803 Ulrich Drepper <drepper@redhat.com>
33804
33805 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33806 re-relocationg ld.so.
33807 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33808 _dl_init_paths call.
33809 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33810 here anymore.
33811
e66e7419
UD
338122010-09-14 Ulrich Drepper <drepper@redhat.com>
33813
33814 * resolv/res_init.c (__res_vinit): Count the default server we added.
33815
c044aa75
CLT
338162010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33817 Ulrich Drepper <drepper@redhat.com>
33818
33819 [BZ #11968]
33820 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33821 (____longjmp_chk): Use %ebx for saving value across system call.
33822 Add unwind info.
33823
32cf4069
AS
338242010-09-06 Andreas Schwab <schwab@redhat.com>
33825
33826 * manual/Makefile: Don't mix pattern rules with normal rules.
33827
817328ee
AS
338282010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33829
33830 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33831 operation.
33832 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33833 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33834 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33835 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33837 Likewise.
33838
29fddf61
UD
338392010-09-04 Ulrich Drepper <drepper@redhat.com>
33840
33841 [BZ #11979]
33842 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33843 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33844
0959ffc9
UD
338452010-09-02 Ulrich Drepper <drepper@redhat.com>
33846
33847 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33848 * sysdeps/x86_64/addmul_1.S: Likewise.
33849 * sysdeps/x86_64/lshift.S: Likewise.
33850 * sysdeps/x86_64/mul_1.S: Likewise.
33851 * sysdeps/x86_64/rshift.S: Likewise.
33852 * sysdeps/x86_64/sub_n.S: Likewise.
33853 * sysdeps/x86_64/submul_1.S: Likewise.
33854
ece29840
ST
338552010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33856
0959ffc9
UD
33857 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33858 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33859 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33860 * bits/sched.h [__need_schedparam]
ece29840 33861 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33862 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33863 (__defined_schedparam): Define to 1.
ece29840
ST
33864 (__sched_param): New structure, identical to sched_param.
33865 (__need_schedparam): Undefine.
33866
e53a31fe
MF
338672010-08-31 Mike Frysinger <vapier@gentoo.org>
33868
fdc0c10d
MF
33869 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33870 (epoll_create1): Declare.
33871
e53a31fe
MF
33872 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33873
a726d796
AS
338742010-08-31 Andreas Schwab <schwab@redhat.com>
33875
33876 [BZ #7066]
33877 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33878 shifting retval into place.
33879
2f3e3dc7
UD
338802010-09-01 Ulrich Drepper <drepper@redhat.com>
33881
f2933da9
UD
33882 * nis/rpcsvc/nis.h: Update copyright notice.
33883 * nis/rpcsvc/nis.x: Likewise.
33884 * nis/rpcsvc/nis_callback.h: Likewise.
33885 * nis/rpcsvc/nis_callback.x: Likewise.
33886 * nis/rpcsvc/nis_object.x: Likewise.
33887 * nis/rpcsvc/nis_tags.h: Likewise.
33888 * nis/rpcsvc/yp.h: Likewise.
33889 * nis/rpcsvc/yp.x: Likewise.
33890 * nis/rpcsvc/ypupd.h: Likewise.
33891 * nis/yp_xdr.c: Likewise.
33892 * nis/ypupdate_xdr.c: Likewise.
33893
2f3e3dc7
UD
33894 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33895 mainly the body of pmap_getport. Add parameters to specify timeouts.
33896 (pmap_getport): Use __libc_rpc_getport.
33897 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33898 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33899 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33900
f3dcc2f9
AS
339012010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33902
33903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33904 fanotify_mark.
33905
6d34eb5b
RM
339062010-08-27 Roland McGrath <roland@redhat.com>
33907
33908 * sysdeps/i386/i686/multiarch/Makefile
33909 (CFLAGS-varshift.c): New variable.
33910
9ea3de11
UD
339112010-08-27 Ulrich Drepper <drepper@redhat.com>
33912
c96d23fc
UD
33913 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33914 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33915
9ea3de11
UD
33916 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33917
33918 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33919
623aac7f
L
339202010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33921
33922 * sysdeps/x86_64/strlen.S: Unroll the loop.
33923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33924 strlen-sse2 strlen-sse2-bsf.
33925 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33926 __strlen_no_bsf if bit_Slow_BSF is set.
33927 (__strlen_sse42): Removed.
33928 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33929 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33930
8b2b7715
RM
339312010-08-25 Roland McGrath <roland@redhat.com>
33932
33933 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33934 * sysdeps/x86_64/multiarch/varshift.c: New file.
33935 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33936 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33937 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33938 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33939
e73015f2
L
339402010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33941
33942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33943 strlen-sse2 strlen-sse2-bsf.
33944 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33945 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33946 (__strlen_sse2): Removed.
33947 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33948 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33950 bit_Slow_BSF for Atom.
33951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33952 (index_Slow_BSF): Define.
33953 (HAS_SLOW_BSF): Define.
33954
df24a73e
UD
339552010-08-25 Ulrich Drepper <drepper@redhat.com>
33956
33957 [BZ #10851]
33958 * resolv/res_init.c (__res_vinit): When no server address at all
33959 is given default to loopback.
33960
f2ac4868
RM
339612010-08-24 Roland McGrath <roland@redhat.com>
33962
09055553
RM
33963 * configure.in: Remove config-name.h generation.
33964 * configure: Regenerated.
33965 * config-name.in: File removed.
33966 * scripts/config-uname.sh: New file.
33967 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33968 ($(objdir)config-name.h): New target.
33969
f2ac4868
RM
33970 * sunrpc/rpc_parse.h: Avoid nested comment.
33971
73f27d5e
RH
339722010-08-24 Richard Henderson <rth@redhat.com>
33973 Ulrich Drepper <drepper@redhat.com>
33974 H.J. Lu <hongjiu.lu@intel.com>
33975
33976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33978 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33979 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33980 _mm_alignr_epi8 with _mm_loadu_si128.
33981 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33982 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33983 (__m128i_shift_right): Removed.
33984 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33985 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33986 * sysdeps/x86_64/multiarch/varshift.h: New file.
33987 * sysdeps/x86_64/multiarch/varshift.S: New file.
33988
84b9230c
MF
339892010-08-21 Mike Frysinger <vapier@gentoo.org>
33990
33991 * configure.in: Move assembler checks to before sysdep dir checking.
33992
9bbd0ddc
PB
339932010-08-20 Petr Baudis <pasky@suse.cz>
33994
33995 * LICENSES: Sync the sunrpc license.
33996
9da4bb31
UD
339972010-08-19 Ulrich Drepper <drepper@redhat.com>
33998
a7ab6ec8
UD
33999 * sunrpc/auth_des.c: Update copyright notice once again.
34000 * sunrpc/auth_none.c: Likewise.
34001 * sunrpc/auth_unix.c: Likewise.
34002 * sunrpc/authdes_prot.c: Likewise.
34003 * sunrpc/authuxprot.c: Likewise.
34004 * sunrpc/bindrsvprt.c: Likewise.
34005 * sunrpc/clnt_gen.c: Likewise.
34006 * sunrpc/clnt_perr.c: Likewise.
34007 * sunrpc/clnt_raw.c: Likewise.
34008 * sunrpc/clnt_simp.c: Likewise.
34009 * sunrpc/clnt_tcp.c: Likewise.
34010 * sunrpc/clnt_udp.c: Likewise.
34011 * sunrpc/clnt_unix.c: Likewise.
34012 * sunrpc/des_crypt.c: Likewise.
34013 * sunrpc/des_soft.c: Likewise.
34014 * sunrpc/get_myaddr.c: Likewise.
34015 * sunrpc/getrpcport.c: Likewise.
34016 * sunrpc/key_call.c: Likewise.
34017 * sunrpc/key_prot.c: Likewise.
34018 * sunrpc/openchild.c: Likewise.
34019 * sunrpc/pm_getmaps.c: Likewise.
34020 * sunrpc/pm_getport.c: Likewise.
34021 * sunrpc/pmap_clnt.c: Likewise.
34022 * sunrpc/pmap_prot.c: Likewise.
34023 * sunrpc/pmap_prot2.c: Likewise.
34024 * sunrpc/pmap_rmt.c: Likewise.
34025 * sunrpc/rpc/auth.h: Likewise.
34026 * sunrpc/rpc/auth_unix.h: Likewise.
34027 * sunrpc/rpc/clnt.h: Likewise.
34028 * sunrpc/rpc/des_crypt.h: Likewise.
34029 * sunrpc/rpc/key_prot.h: Likewise.
34030 * sunrpc/rpc/netdb.h: Likewise.
34031 * sunrpc/rpc/pmap_clnt.h: Likewise.
34032 * sunrpc/rpc/pmap_prot.h: Likewise.
34033 * sunrpc/rpc/pmap_rmt.h: Likewise.
34034 * sunrpc/rpc/rpc.h: Likewise.
34035 * sunrpc/rpc/rpc_des.h: Likewise.
34036 * sunrpc/rpc/rpc_msg.h: Likewise.
34037 * sunrpc/rpc/svc.h: Likewise.
34038 * sunrpc/rpc/svc_auth.h: Likewise.
34039 * sunrpc/rpc/types.h: Likewise.
34040 * sunrpc/rpc/xdr.h: Likewise.
34041 * sunrpc/rpc_clntout.c: Likewise.
34042 * sunrpc/rpc_cmsg.c: Likewise.
34043 * sunrpc/rpc_common.c: Likewise.
34044 * sunrpc/rpc_cout.c: Likewise.
34045 * sunrpc/rpc_dtable.c: Likewise.
34046 * sunrpc/rpc_hout.c: Likewise.
34047 * sunrpc/rpc_main.c: Likewise.
34048 * sunrpc/rpc_parse.c: Likewise.
34049 * sunrpc/rpc_parse.h: Likewise.
34050 * sunrpc/rpc_prot.c: Likewise.
34051 * sunrpc/rpc_sample.c: Likewise.
34052 * sunrpc/rpc_scan.c: Likewise.
34053 * sunrpc/rpc_scan.h: Likewise.
34054 * sunrpc/rpc_svcout.c: Likewise.
34055 * sunrpc/rpc_tblout.c: Likewise.
34056 * sunrpc/rpc_util.c: Likewise.
34057 * sunrpc/rpc_util.h: Likewise.
34058 * sunrpc/rpcinfo.c: Likewise.
34059 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34060 * sunrpc/rpcsvc/key_prot.x: Likewise.
34061 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34062 * sunrpc/rpcsvc/mount.x: Likewise.
34063 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34064 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34065 * sunrpc/rpcsvc/rex.x: Likewise.
34066 * sunrpc/rpcsvc/rstat.x: Likewise.
34067 * sunrpc/rpcsvc/rusers.x: Likewise.
34068 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34069 * sunrpc/rpcsvc/spray.x: Likewise.
34070 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34071 * sunrpc/rtime.c: Likewise.
34072 * sunrpc/svc.c: Likewise.
34073 * sunrpc/svc_auth.c: Likewise.
34074 * sunrpc/svc_authux.c: Likewise.
34075 * sunrpc/svc_raw.c: Likewise.
34076 * sunrpc/svc_run.c: Likewise.
34077 * sunrpc/svc_simple.c: Likewise.
34078 * sunrpc/svc_tcp.c: Likewise.
34079 * sunrpc/svc_udp.c: Likewise.
34080 * sunrpc/svc_unix.c: Likewise.
34081 * sunrpc/svcauth_des.c: Likewise.
34082 * sunrpc/xcrypt.c: Likewise.
34083 * sunrpc/xdr.c: Likewise.
34084 * sunrpc/xdr_array.c: Likewise.
34085 * sunrpc/xdr_float.c: Likewise.
34086 * sunrpc/xdr_mem.c: Likewise.
34087 * sunrpc/xdr_rec.c: Likewise.
34088 * sunrpc/xdr_ref.c: Likewise.
34089 * sunrpc/xdr_sizeof.c: Likewise.
34090 * sunrpc/xdr_stdio.c: Likewise.
34091
9da4bb31
UD
34092 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34093 handling.
34094
bdaa77bc
AS
340952010-08-19 Andreas Schwab <schwab@redhat.com>
34096
34097 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34098
fe2f79db
LM
340992010-08-19 Luis Machado <luisgpm@br.ibm.com>
34100
34101 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34102 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34103 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34104 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34105 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34106 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34107 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34108 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34109 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34110 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34111 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34112 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34113 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34114 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34115
b9b42ee0
AB
341162010-07-26 Anton Blanchard <anton@samba.org>
34117
34118 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34119 * malloc/arena.c (heap_trim): Likewise.
34120
1c06ba31
UD
341212010-08-16 Ulrich Drepper <drepper@redhat.com>
34122
34123 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34124 here. Not...
34125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34126 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34127
f8392f40
L
341282010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34129
34130 * sysdeps/i386/elf/Makefile: New file.
34131
3162f12e
AS
341322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34133
34134 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34135 from fanotify_init.
34136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34137 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34138
28c90b2c
UD
341392010-08-15 Ulrich Drepper <drepper@redhat.com>
34140
34141 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34142 of strncasecmp_l.
1feccb6c 34143 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34144
ca6bb004
UD
341452010-08-14 Ulrich Drepper <drepper@redhat.com>
34146
e9f82e0d
UD
34147 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34148 strncase_l-nonascii.
34149 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34150 Add strncase_l-ssse3.
34151 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34152 * sysdeps/x86_64/strcmp.S: Likewise.
34153 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34154 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34155 * sysdeps/x86_64/strncase.S: New file.
34156 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34157 * sysdeps/x86_64/strncase_l.S: New file.
34158 * string/Makefile (strop-tests): Add strncasecmp.
34159 * string/test-strncasecmp.c: New file.
34160
34161 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34162 warning.
34163
ca6bb004
UD
34164 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34165 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34166
052fa7b3
AS
341672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34168
34169 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34170
962dba78
UD
341712010-08-12 Ulrich Drepper <drepper@redhat.com>
34172
34173 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34174 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34175 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34176
bebff237
AM
341772010-05-01 Alan Modra <amodra@gmail.com>
34178
34179 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34180 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34181 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34182 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34183 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34184 tidying. Don't tail-call __sigjmp_save for static lib.
34185 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34186 save location.
34187 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34188 (CALL_MCOUNT): Add eh info, and nop after bl.
34189 (TAIL_CALL_SYSCALL_ERROR): New macro.
34190 (PSEUDO_RET): Use it.
34191 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34192 Correct save location of integer regs and cr.
34193 (_dl_profile_resolve): Correct cr save location. Delete nops
34194 after bl when SHARED. Reduce cfi size a little by better
34195 placement of cfi directives.
34196 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34197 make a stack frame. Instead use parm save area as a temp.
34198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34199 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34201 Don't make a stack frame for parent, use parm save area.
34202 Increase child stack frame to 112 bytes. Don't save unused reg,
34203 and adjust reg usage. Set up cfi on error recovery and
34204 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34206 (__makecontext): Add dummy nop after jump to exit.
34207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34208 Use correct parm save area and cr save, reduce stack frame.
34209 Correct cfi for possible PSEUDO_RET frame setup.
34210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34211 Branch to local label emitted by PSEUDO_RET rather than
34212 __syscall_error.
34213
02637374
AS
342142010-08-12 Andreas Schwab <schwab@redhat.com>
34215
34216 [BZ #11904]
34217 * locale/programs/locale.c (print_assignment): New function.
34218 (show_locale_vars): Use it.
34219
c3e2f19b
UD
342202010-08-11 Ulrich Drepper <drepper@redhat.com>
34221
3cdaa6ad
UD
34222 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34223 field.
34224 (struct statfs64): Likewise.
34225 (_STATFS_F_FLAGS): Define.
34226 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34227 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34228 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34229 (ST_VALID): Define locally.
34230 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34231 __statvfs_getflags, use the provided value.
34232 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34233 __ASSUME_STATFS_F_FLAGS.
34234
754f7da3
UD
34235 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34236
10b3bedc
UD
34237 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34238 Add sys/fanotify.h.
34239 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34240 fanotify_mask for GLIBC_2.13.
34241 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34242 fanotify_init and fanotify_mark.
34243 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34244 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34245
c08fb0d7
UD
34246 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34247 Add prlimit.
34248 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34249 prlimit64 for GLIBC_2.13.
34250 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34251 prlimit64.
34252 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34253 syscall.
34254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34255 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34256 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34257 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34258 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34259 add prlimit alias.
34260 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34261
15bac72b
UD
34262 [BZ #11903]
34263 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34264 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34265
c3e2f19b
UD
34266 * nss/Makefile: Add rules to build and run tst-nss-test1.
34267 * shlib-versions: Add entry for libnss_test1.
34268 * nss/nss_test1.c: New file.
34269 * nss/tst-nss-test1.c: New file.
34270
34271 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34272 (__nss_configure_lookup): Set appropriate entry in
34273 __nss_configure_lookup to true.
34274 * nss/nsswitch.h: Define enum with indeces of databases in
34275 databases and __nss_database_custom arrays. Declare
34276 __nss_database_custom.
34277 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34278 to avoid using nscd when custom rules are installed.
34279 * nss/getXXbyYY_r.c: Likewise.
34280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34281
34282 * nss/nss_files/files-parse.c: Whitespace fixes.
34283
f15ce4d8
UD
342842010-08-09 Ulrich Drepper <drepper@redhat.com>
34285
34286 [BZ #11883]
34287 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34288 * posix/fnmatch_loop.c: Likewise.
34289
d22e4cc9
AK
342902010-07-17 Andi Kleen <ak@linux.intel.com>
34291
34292 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34293 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34294 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34295 * Versions.def [GLIBC_2.13]: Add.
34296
805bc17d
UD
342972010-08-06 Ulrich Drepper <drepper@redhat.com>
34298
34299 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34300 Also fail if tpwd after pwuid call is NULL.
34301
5a42321d
ST
343022010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34303
34304 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34305 when converting to ms.
34306
fd3ebeda
ST
343072010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34308
34309 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34310 EOPNOTSUPP errors with ENOTTY.
34311 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34312 EOPNOTSUPP errors with ENOTTY.
34313
73507d3a
UD
343142010-07-31 Ulrich Drepper <drepper@redhat.com>
34315
34316 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34317 Add strcasecmp_l-ssse3.
34318 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34319 strcasecmp.
34320 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34321 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34322 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34323
fe36dd02
UD
343242010-07-30 Ulrich Drepper <drepper@redhat.com>
34325
66f6765a
UD
34326 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34327
42e08a54
UD
34328 * string/Makefile (strop-tests): Add strcasecmp.
34329 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34330 strcasecmp_l-nonascii.
34331 (gen-as-const-headers): Add locale-defines.sym.
34332 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34333 * sysdeps/x86_64/strcasecmp.S: New file.
34334 * sysdeps/x86_64/strcasecmp_l.S: New file.
34335 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34336 * sysdeps/x86_64/locale-defines.sym: New file.
34337 * string/test-strcasecmp.c: New file.
34338
fe36dd02
UD
34339 * string/test-strcasestr.c: Test both ends of the range of characters.
34340 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34341
48cbc0d6
RM
343422010-07-29 Roland McGrath <roland@redhat.com>
34343
76e6d6bc 34344 [BZ #11856]
48cbc0d6
RM
34345 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34346
880113d9
UD
343472010-07-27 Ulrich Drepper <drepper@redhat.com>
34348
34349 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34350 for ld.so.
34351
deb9cabb
AS
343522010-07-27 Andreas Schwab <schwab@redhat.com>
34353
34354 * manual/memory.texi (Malloc Tunable Parameters): Document
34355 M_PERTURB.
34356
1c7570ff
RM
343572010-07-26 Roland McGrath <roland@redhat.com>
34358
34359 [BZ #11840]
34360 * configure.in (-fgnu89-inline check): Set and substitute
34361 gnu89_inline, not libc_cv_gnu89_inline.
34362 * configure: Regenerated.
34363 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34364
24fb0f88
UD
343652010-07-26 Ulrich Drepper <drepper@redhat.com>
34366
34367 * string/test-strnlen.c: New file.
34368 * string/Makefile (strop-tests): Add strnlen.
34369 * string/tester.c (test_strnlen): Add a few more test cases.
34370 * string/tst-strlen.c: Better error reporting.
34371
34372 * sysdeps/x86_64/strnlen.S: New file.
34373
8e96b93a
UD
343742010-07-24 Ulrich Drepper <drepper@redhat.com>
34375
34376 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34377 lower-latency instructions.
34378
dbc676d4
UD
343792010-07-23 Ulrich Drepper <drepper@redhat.com>
34380
34381 * string/test-strcasestr.c: New file.
34382 * string/test-strstr.c: New file.
34383 * string/Makefile (strop-tests): Add strstr and strcasestr.
34384 * string/str-two-way.h: Don't undefine MAX.
34385 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34386
f6a31e0e
AS
343872010-07-21 Andreas Schwab <schwab@redhat.com>
34388
34389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34390 strcasestr-nonascii.
34391 (CFLAGS-strcasestr-nonascii.c): Define.
34392 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34393 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34394 Remove unused attribute.
34395
5dbc3b6c
RM
343962010-07-20 Roland McGrath <roland@redhat.com>
34397
34398 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34399 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34400 ld.so.cache was broken. With it, there is no way to disable dsocaps
34401 like LD_HWCAP_MASK can disable hwcaps.
34402
23d101d8
EPM
344032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34404
34405 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34406
cc9f2e47
UD
344072010-07-16 Ulrich Drepper <drepper@redhat.com>
34408
34409 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34410 call in strcasestr.
34411 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34412 __strcasestr_sse42_nonascii.
34413 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34414 strcasestr-nonascii.c.
34415 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34416
77c1b069
LM
344172010-06-15 Luis Machado <luisgpm@br.ibm.com>
34418
34419 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34420 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34421 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34422 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34423
440566c3
UD
344242010-07-09 Ulrich Drepper <drepper@redhat.com>
34425
34426 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34427 fcntl.
34428
5be9d05d
AS
344292010-07-06 Andreas Schwab <schwab@redhat.com>
34430
c30b7ee2 34431 [BZ #11577]
5be9d05d
AS
34432 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34433 dl_signal_cerror.
34434
8a492a67
UD
344352010-07-06 Ulrich Drepper <drepper@redhat.com>
34436
34437 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34438 _PC_PIPE_BUF using F_GETPIPE_SZ.
34439
713df3d5
RM
344402010-07-05 Roland McGrath <roland@redhat.com>
34441
34442 * manual/arith.texi (Rounding Functions): Fix rint description
34443 implicit in round description.
34444
702e8f14
UD
344452010-07-02 Ulrich Drepper <drepper@redhat.com>
34446
34447 * elf/Makefile: Fix linking for a few tests to make recent linker
34448 happy.
34449
52ed8be9
AS
344502010-06-30 Andreas Schwab <schwab@redhat.com>
34451
34452 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34453 $(common-objpfx)libc_nonshared.a.
34454
f47c9a11
LM
344552010-06-21 Luis Machado <luisgpm@br.ibm.com>
34456
34457 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34458 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34459 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34460 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34461 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34462 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34463 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34464 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34479 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34480 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34481 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34482 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34483 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34484 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34485 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34486 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34487 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34488 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34489 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34490 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34505
6fb8cbcb
L
345062010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34507
34508 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34509 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34510 * string/memmove.c (memmove): Renamed to ...
34511 (MEMMOVE): ...this. Default to memmove.
34512 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34513 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34514 (END_CHK): Define.
34515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34516 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34517 mempcpy-ssse3-back memmove-ssse3-back.
34518 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34519 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34521 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34522 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34523 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34524 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34525 * sysdeps/x86_64/multiarch/memmove.c: New file.
34526 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34527 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34528 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34529 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34530 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34531 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34532 Define.
34533 (index_Fast_Copy_Backward): Define.
34534 (HAS_ARCH_FEATURE): Define.
34535 (HAS_FAST_REP_STRING): Define.
34536 (HAS_FAST_COPY_BACKWARD): Define.
34537
4e733bac 345382010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34539
34540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34541 Restore proper fallback handling.
34542
63c4ed22
UD
345432010-06-19 Ulrich Drepper <drepper@redhat.com>
34544
ac2b484c
UD
34545 [BZ #11701]
34546 * posix/group_member.c (__group_member): Correct checking loop.
34547
63c4ed22
UD
34548 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34549 OOM in getpwuid_r correctly. Return error number when the caller
34550 should return, otherwise -1.
34551 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34552 call returning > 0 value.
34553 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34554
765ade4b
AS
345552010-06-07 Andreas Schwab <schwab@redhat.com>
34556
34557 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34558 libc_nonshared.a from targets in modules-names.
34559
80da2e09
KS
345602010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34561
34562 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34563 requires it.
34564
158db122
LM
345652010-06-10 Luis Machado <luisgpm@br.ibm.com>
34566
34567 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34568 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34569 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34570 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34571
caa78cf8
AS
345722010-06-02 Andreas Schwab <schwab@redhat.com>
34573
34574 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34575
b2ef2c01
UD
345762010-06-14 Ulrich Drepper <drepper@redhat.com>
34577
34578 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34579 and F_GETPIPE_SZ.
34580 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34584 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34585 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34586
fbd643b6
RM
345872010-06-14 Roland McGrath <roland@redhat.com>
34588
34589 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34590
f32f2869
JJ
345912010-06-07 Jakub Jelinek <jakub@redhat.com>
34592
34593 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34594 __REDIRECT followed by __THROW.
34595 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34596 * posix/getopt.h (getopt): Likewise.
34597
2a50c078
EPM
345982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34599
34600 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34601 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34602 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34603 in AT_FLAGS.
34604 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34605 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34606
eb5ad2eb
LM
346072010-05-28 Luis Machado <luisgpm@br.ibm.com>
34608
34609 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34610
3c88fe1e
L
346112010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34612
34613 [BZ #11640]
34614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34615 Properly check family and model.
34616
d2f73151
TY
346172010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34618
34619 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34620
ebd2e13d
LM
346212010-05-24 Luis Machado <luisgpm@br.ibm.com>
34622
34623 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34624
b32b8b45
UD
346252010-05-21 Ulrich Drepper <drepper@redhat.com>
34626
34627 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34628 symbol reference.
34629
9acbe24d
AS
346302010-05-19 Andreas Schwab <schwab@redhat.com>
34631
34632 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34633 symbol reference.
34634
f0ccf6ea
AS
346352010-05-21 Andreas Schwab <schwab@redhat.com>
34636
3d04ff3a
AS
34637 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34638 and internal_recvmmsg.
34639 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34640 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34641 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34642 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34643
f0ccf6ea
AS
34644 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34645 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34646 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34647
5b08ac57
AS
346482010-05-20 Andreas Schwab <schwab@redhat.com>
34649
34650 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34651
4828935d
LM
346522010-05-17 Luis Machado <luisgpm@br.ibm.com>
34653
34654 POWER7 optimizations.
34655 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34656 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34657
373d545e
UD
346582010-05-19 Ulrich Drepper <drepper@redhat.com>
34659
34660 * version.h: Update for 2.13 development version.
34661
21a2b1ae
AS
346622010-05-12 Andrew Stubbs <ams@codesourcery.com>
34663
34664 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34665 exceptions. Return 0.
34666
3f7dcb2b
RM
346672010-05-07 Roland McGrath <roland@redhat.com>
34668
34669 * elf/ldconfig.c (main): Add a const.
34670
5f24d53a 346712010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34672
a160f8d8
UD
34673 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34674 (args_options): Add no-idn option.
34675 (ahosts_keys_int): Add idn_flags to ai_flags.
34676 (parse_option): Handle 'i' option to clear idn_flags.
34677
5f24d53a
UD
34678 * malloc/malloc.c (_int_free): Possible race in the most recently
34679 added check. Only act on the data if no current modification
34680 happened.
265bb1ce
UD
34681
34682See ChangeLog.17 for earlier changes.