]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix stack overflow due to large AF_INET6 requests
[glibc.git] / ChangeLog
CommitLineData
7cbcdb36
SP
12013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 [BZ #16072]
4 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5 heap for large requests.
6
894f3f10
AM
72013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8
9 [BZ #9954]
10 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11 result if the result has no associated interface.
12 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13 interface for all 127.X.Y.Z addresses.
14
b85545a6
CL
152013-10-24 Chris Leonard <cjl@sugarlabs.org>
16
17 * locale/iso-639.def: Add Ligurian (lij)
18
d1f23d46
OB
192013-10-21 Ondřej Bílka <neleai@seznam.cz>
20
21 [BZ #15825]
22 * sunrpc/rpc_main.c: Document rpcgen -5.
23
4db5b08f
MS
242013-10-19 Michael Stahl <mstahl@redhat.com>
25
26 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27
a471e96a
OB
282013-10-19 Ondřej Bílka <neleai@seznam.cz>
29
d1f23d46 30 [BZ #10278]
a471e96a
OB
31 * posix/glob.c: Match only directories when trailing slash is present.
32 * posix/tst-gnuglob.c (my_opendir): Do not open files.
33 (main): Add testcase.
34
45c30c61
OB
352013-10-19 Ondřej Bílka <neleai@seznam.cz>
36
37 [BZ #15670]
38 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
39
484c12fb
CD
402013-10-18 Carlos O'Donell <carlos@redhat.com>
41
3d7dc513
CD
42 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44 AUTH_DES and cindex for FIPS 140-2.
45 (DES Encryption): Add cindex FIPS 46-3.
46
484c12fb
CD
47 * locale/locarchive.h (struct locarhandle): Add fname.
48 * locale/programs/localedef.c (main): Pass ARGV[remaining]
49 if an optional argument was specified to --list-archive,
50 otherwise NULL.
51 * locale/programs/locarchive.c (show_archive_content): Take new
52 argument fname and pass it via ah.fname to open_archive.
53 * locale/programs/localedef.h: Update decl.
54 (open_archive): If AH->fname is non-null, open that file
55 rather than the default file name, and don't ignore ENOENT.
56 (create_archive): Set AH.fname to NULL.
57 (delete_locales_from_archive): Likewise.
58 (add_locales_to_archive): Likewise.
59 * locale/programs/locfile.c (write_all_categories): Likewise.
60
3c8325fb
JM
612013-10-18 Joseph Myers <joseph@codesourcery.com>
62 Aldy Hernandez <aldyh@redhat.com>
63
64 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
65 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
66 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
67 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
68 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
69 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
70 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
71 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
72 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
73 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
74 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
75 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
76 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
77 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
78 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
79 Likewise.
80 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
81 Likewise.
82 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
83 Likewise.
84 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
85 Likewise.
86 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
87 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
88 Likewise.
89 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
90 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
91 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
92 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
93 Likewise.
94 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
95 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
96 * sysdeps/powerpc/preconfigure: Likewise.
97 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
98 Likewise.
99 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
100 Replace contents of file by #include of <fenv_libc.h>.
101 * sysdeps/powerpc/soft-fp/sfp-machine.h
102 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
103 and <sys/prctl.h>.
104 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
105 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
106 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
107 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
108 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
109 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
111 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
112 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
113 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
114 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
115 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
117 Allow copysignl PLT reference to be missing.
118
5abe0682
RS
1192013-10-18 Richard Sandiford <richard@codesourcery.com>
120 Joseph Myers <joseph@codesourcery.com
121
122 [BZ #15948]
123 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
124 single character.
125 (add_to_tablewc): Assert sequence of wide characters is nonempty.
126
c7738d08
SP
1272013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
128
129 * elf/tst-tls-dlinfo.c: Don't include tls.h.
130 * elf/tst-tls1.c: Likewise.
131 * elf/tst-tls10.h: Likewise.
132 * elf/tst-tls14.c: Likewise.
133 * elf/tst-tls2.c: Likewise.
134 * elf/tst-tls3.c: Likewise.
135 * elf/tst-tls4.c: Likewise.
136 * elf/tst-tls5.c: Likewise.
137 * elf/tst-tls6.c: Likewise.
138 * elf/tst-tls7.c: Likewise.
139 * elf/tst-tls8.c: Likewise.
140 * elf/tst-tls9.c: Likewise.
141 * elf/tst-tlsmod1.c: Likewise.
142 * elf/tst-tlsmod13.c: Likewise.
143 * elf/tst-tlsmod13a.c: Likewise.
144 * elf/tst-tlsmod14a.c: Likewise.
145 * elf/tst-tlsmod16a.c: Likewise.
146 * elf/tst-tlsmod16b.c: Likewise.
147 * elf/tst-tlsmod2.c: Likewise.
148 * elf/tst-tlsmod3.c: Likewise.
149 * elf/tst-tlsmod4.c: Likewise.
150 * elf/tst-tlsmod5.c: Likewise.
151 * elf/tst-tlsmod6.c: Likewise.
152
0bfcf2c7
OB
1532013-10-18 Ondřej Bílka <neleai@seznam.cz>
154
155 [BZ #12486]
156 * malloc/malloc.c: remove checks for statistics.
157
264aad1e
OB
1582013-10-17 Ondřej Bílka <neleai@seznam.cz>
159
160 [BZ #15277]
161 * inet/inet_net.c (inet_network): Detect additional invalid strings.
162 * inet/tst-network.c: Add testcase.
163
b957ced8
AS
1642013-10-17 Andreas Schwab <schwab@suse.de>
165
166 [BZ #15218]
167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
168 to determine canonical name.
169
c5d5d574
OB
1702013-10-17 Ondřej Bílka <neleai@seznam.cz>
171
172 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
173 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
174 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
175 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
176 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
177 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
178 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
179 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
180 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
181 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
182 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
183 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
184 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
185 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
186 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
187 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
188 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
189 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
190 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
191 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
192 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
194 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
195 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
196 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
197 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
198 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
199 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
200 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
201 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
202 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
203 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
204 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
205 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
206 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
207 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
208 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
209 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
210 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
211 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
212 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
213 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
214 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
215 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
216 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
217 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
218 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
219 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
220 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
221 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
222 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
223 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
224 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
225 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
226 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
227 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
228 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
229 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
230
e5c2c2d0
JM
2312013-10-17 Joseph Myers <joseph@codesourcery.com>
232
233 [BZ #16041]
234 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
235 make result into a quiet NaN.
236
51ca9e29
JM
2372013-10-16 Joseph Myers <joseph@codesourcery.com>
238
239 * soft-fp/adddf3.c: Fix horizontal whitespace.
240 * soft-fp/addsf3.c: Likewise.
241 * soft-fp/addtf3.c: Likewise.
242 * soft-fp/divdf3.c: Likewise.
243 * soft-fp/divsf3.c: Likewise.
244 * soft-fp/divtf3.c: Likewise.
245 * soft-fp/double.h: Likewise.
246 * soft-fp/eqdf2.c: Likewise.
247 * soft-fp/eqsf2.c: Likewise.
248 * soft-fp/eqtf2.c: Likewise.
249 * soft-fp/extenddftf2.c: Likewise.
250 * soft-fp/extended.h: Likewise.
251 * soft-fp/extendsfdf2.c: Likewise.
252 * soft-fp/extendsftf2.c: Likewise.
253 * soft-fp/extendxftf2.c: Likewise.
254 * soft-fp/fixdfdi.c: Likewise.
255 * soft-fp/fixdfsi.c: Likewise.
256 * soft-fp/fixdfti.c: Likewise.
257 * soft-fp/fixsfdi.c: Likewise.
258 * soft-fp/fixsfsi.c: Likewise.
259 * soft-fp/fixsfti.c: Likewise.
260 * soft-fp/fixtfdi.c: Likewise.
261 * soft-fp/fixtfsi.c: Likewise.
262 * soft-fp/fixtfti.c: Likewise.
263 * soft-fp/fixunsdfdi.c: Likewise.
264 * soft-fp/fixunsdfsi.c: Likewise.
265 * soft-fp/fixunsdfti.c: Likewise.
266 * soft-fp/fixunssfdi.c: Likewise.
267 * soft-fp/fixunssfsi.c: Likewise.
268 * soft-fp/fixunssfti.c: Likewise.
269 * soft-fp/fixunstfdi.c: Likewise.
270 * soft-fp/fixunstfsi.c: Likewise.
271 * soft-fp/fixunstfti.c: Likewise.
272 * soft-fp/floatdidf.c: Likewise.
273 * soft-fp/floatdisf.c: Likewise.
274 * soft-fp/floatditf.c: Likewise.
275 * soft-fp/floatsidf.c: Likewise.
276 * soft-fp/floatsisf.c: Likewise.
277 * soft-fp/floatsitf.c: Likewise.
278 * soft-fp/floattidf.c: Likewise.
279 * soft-fp/floattisf.c: Likewise.
280 * soft-fp/floattitf.c: Likewise.
281 * soft-fp/floatundidf.c: Likewise.
282 * soft-fp/floatundisf.c: Likewise.
283 * soft-fp/floatunditf.c: Likewise.
284 * soft-fp/floatunsidf.c: Likewise.
285 * soft-fp/floatunsisf.c: Likewise.
286 * soft-fp/floatunsitf.c: Likewise.
287 * soft-fp/floatuntidf.c: Likewise.
288 * soft-fp/floatuntisf.c: Likewise.
289 * soft-fp/floatuntitf.c: Likewise.
290 * soft-fp/fmadf4.c: Likewise.
291 * soft-fp/fmasf4.c: Likewise.
292 * soft-fp/fmatf4.c: Likewise.
293 * soft-fp/gedf2.c: Likewise.
294 * soft-fp/gesf2.c: Likewise.
295 * soft-fp/getf2.c: Likewise.
296 * soft-fp/ledf2.c: Likewise.
297 * soft-fp/lesf2.c: Likewise.
298 * soft-fp/letf2.c: Likewise.
299 * soft-fp/muldf3.c: Likewise.
300 * soft-fp/mulsf3.c: Likewise.
301 * soft-fp/multf3.c: Likewise.
302 * soft-fp/negdf2.c: Likewise.
303 * soft-fp/negsf2.c: Likewise.
304 * soft-fp/negtf2.c: Likewise.
305 * soft-fp/op-1.h: Likewise.
306 * soft-fp/op-2.h: Likewise.
307 * soft-fp/op-4.h: Likewise.
308 * soft-fp/op-8.h: Likewise.
309 * soft-fp/op-common.h: Likewise.
310 * soft-fp/quad.h: Likewise.
311 * soft-fp/single.h: Likewise.
312 * soft-fp/soft-fp.h: Likewise.
313 * soft-fp/sqrtdf2.c: Likewise.
314 * soft-fp/sqrtsf2.c: Likewise.
315 * soft-fp/sqrttf2.c: Likewise.
316 * soft-fp/subdf3.c: Likewise.
317 * soft-fp/subsf3.c: Likewise.
318 * soft-fp/subtf3.c: Likewise.
319 * soft-fp/truncdfsf2.c: Likewise.
320 * soft-fp/trunctfdf2.c: Likewise.
321 * soft-fp/trunctfsf2.c: Likewise.
322 * soft-fp/trunctfxf2.c: Likewise.
323 * soft-fp/unorddf2.c: Likewise.
324 * soft-fp/unordsf2.c: Likewise.
325 * soft-fp/unordtf2.c: Likewise.
326
9ebb0332
JM
3272013-10-15 Joseph Myers <joseph@codesourcery.com>
328
329 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
330 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
331
4b1a6d8b
OB
3322013-10-15 Ondřej Bílka <neleai@seznam.cz>
333
334 * elf/dl-libc.c: Clear initfini list after freeing.
335
1e145589
JM
3362013-10-14 Joseph Myers <joseph@codesourcery.com>
337
338 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
339 * soft-fp/addsf3.c: Likewise.
340 * soft-fp/addtf3.c: Likewise.
341 * soft-fp/divdf3.c: Likewise.
342 * soft-fp/divsf3.c: Likewise.
343 * soft-fp/divtf3.c: Likewise.
344 * soft-fp/double.h: Likewise.
345 * soft-fp/eqdf2.c: Likewise.
346 * soft-fp/eqsf2.c: Likewise.
347 * soft-fp/eqtf2.c: Likewise.
348 * soft-fp/extenddftf2.c: Likewise.
349 * soft-fp/extended.h: Likewise.
350 * soft-fp/extendsfdf2.c: Likewise.
351 * soft-fp/extendsftf2.c: Likewise.
352 * soft-fp/extendxftf2.c: Likewise.
353 * soft-fp/fixdfdi.c: Likewise.
354 * soft-fp/fixdfsi.c: Likewise.
355 * soft-fp/fixdfti.c: Likewise.
356 * soft-fp/fixsfdi.c: Likewise.
357 * soft-fp/fixsfsi.c: Likewise.
358 * soft-fp/fixsfti.c: Likewise.
359 * soft-fp/fixtfdi.c: Likewise.
360 * soft-fp/fixtfsi.c: Likewise.
361 * soft-fp/fixtfti.c: Likewise.
362 * soft-fp/fixunsdfdi.c: Likewise.
363 * soft-fp/fixunsdfsi.c: Likewise.
364 * soft-fp/fixunsdfti.c: Likewise.
365 * soft-fp/fixunssfdi.c: Likewise.
366 * soft-fp/fixunssfsi.c: Likewise.
367 * soft-fp/fixunssfti.c: Likewise.
368 * soft-fp/fixunstfdi.c: Likewise.
369 * soft-fp/fixunstfsi.c: Likewise.
370 * soft-fp/fixunstfti.c: Likewise.
371 * soft-fp/floatdidf.c: Likewise.
372 * soft-fp/floatdisf.c: Likewise.
373 * soft-fp/floatditf.c: Likewise.
374 * soft-fp/floatsidf.c: Likewise.
375 * soft-fp/floatsisf.c: Likewise.
376 * soft-fp/floatsitf.c: Likewise.
377 * soft-fp/floattidf.c: Likewise.
378 * soft-fp/floattisf.c: Likewise.
379 * soft-fp/floattitf.c: Likewise.
380 * soft-fp/floatundidf.c: Likewise.
381 * soft-fp/floatundisf.c: Likewise.
382 * soft-fp/floatunsidf.c: Likewise.
383 * soft-fp/floatunsisf.c: Likewise.
384 * soft-fp/floatuntidf.c: Likewise.
385 * soft-fp/floatuntisf.c: Likewise.
386 * soft-fp/floatuntitf.c: Likewise.
387 * soft-fp/fmadf4.c: Likewise.
388 * soft-fp/fmasf4.c: Likewise.
389 * soft-fp/fmatf4.c: Likewise.
390 * soft-fp/gedf2.c: Likewise.
391 * soft-fp/gesf2.c: Likewise.
392 * soft-fp/getf2.c: Likewise.
393 * soft-fp/ledf2.c: Likewise.
394 * soft-fp/lesf2.c: Likewise.
395 * soft-fp/letf2.c: Likewise.
396 * soft-fp/muldf3.c: Likewise.
397 * soft-fp/mulsf3.c: Likewise.
398 * soft-fp/multf3.c: Likewise.
399 * soft-fp/negdf2.c: Likewise.
400 * soft-fp/negsf2.c: Likewise.
401 * soft-fp/negtf2.c: Likewise.
402 * soft-fp/op-1.h: Likewise.
403 * soft-fp/op-2.h: Likewise.
404 * soft-fp/op-4.h: Likewise.
405 * soft-fp/op-8.h: Likewise.
406 * soft-fp/op-common.h: Likewise.
407 * soft-fp/quad.h: Likewise.
408 * soft-fp/single.h: Likewise.
409 * soft-fp/soft-fp.h: Likewise.
410 * soft-fp/sqrtdf2.c: Likewise.
411 * soft-fp/sqrtsf2.c: Likewise.
412 * soft-fp/sqrttf2.c: Likewise.
413 * soft-fp/subdf3.c: Likewise.
414 * soft-fp/subsf3.c: Likewise.
415 * soft-fp/subtf3.c: Likewise.
416 * soft-fp/truncdfsf2.c: Likewise.
417 * soft-fp/trunctfdf2.c: Likewise.
418 * soft-fp/trunctfsf2.c: Likewise.
419 * soft-fp/trunctfxf2.c: Likewise.
420 * soft-fp/unorddf2.c: Likewise.
421 * soft-fp/unordsf2.c: Likewise.
422 * soft-fp/unordtf2.c: Likewise.
423
17c48a60
OB
4242013-10-14 Ondřej Bílka <neleai@seznam.cz>
425
426 [BZ #15672]
427 * misc/error.c (error_tail): Fix possible buffer overflow.
428
cabba934
OB
4292013-10-14 Aurelien Jarno <aurelien@aurel32.net>
430
431 [BZ #13028]
432 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
433 address.
434
94bf958a
PM
4352013-10-14 P. J. McDermott <pj@pehjota.net>
436
437 [BZ #832]
438 * elf/ldd.bash.in (try_trace): New function. Delete previous code
439 testing pipefail option.
440
71b4dea7
JM
4412013-10-12 Joseph Myers <joseph@codesourcery.com>
442
443 * soft-fp/double.h: Indent preprocessor directives inside #if.
444 * soft-fp/extended.h: Likewise.
445 * soft-fp/op-2.h: Likewise.
446 * soft-fp/op-4.h: Likewise.
447 * soft-fp/op-common.h: Likewise.
448 * soft-fp/quad.h: Likewise.
449 * soft-fp/single.h: Likewise.
450 * soft-fp/soft-fp.h: Likewise.
451
55602758
YC
4522013-10-12 Yuri Chornoivan <yurchor@ukr.net>
453
454 * iconv/iconv_prog.c: Fix typos.
455 * stdio-common/psiginfo-data.h: Likewise.
456
9cd83302
RT
4572013-10-12 Reuben Thomas <rrt@sc3d.org>
458
459 [BZ #15764]
460 * locale/setlocale.c: Fix typo.
461
99fd9f47
JM
4622013-10-12 Joseph Myers <joseph@codesourcery.com>
463
b7ea74f0
JM
464 [BZ #16036]
465 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
466 signaling NaN arguments.
467 * soft-fp/unordsf2.c (__unordsf2): Likewise.
468 * soft-fp/unordtf2.c (__unordtf2): Likewise.
469
8a509447
JM
470 [BZ #14910]
471 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
472 unordered operands.
473 * soft-fp/gesf2.c (__gesf2): Likewise.
474 * soft-fp/getf2.c (__getf2): Likewise.
475 * soft-fp/ledf2.c (__ledf2): Likewise.
476 * soft-fp/lesf2.c (__lesf2): Likewise.
477 * soft-fp/letf2.c (__letf2): Likewise.
478
98998e9f
JM
479 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
480 * soft-fp/eqsf2.c (__eqsf2): Likewise.
481 * soft-fp/eqtf2.c (__eqtf2): Likewise.
482 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
483 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
484 * soft-fp/fixdfti.c (__fixdfti): Likewise.
485 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
486 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
487 * soft-fp/fixsfti.c (__fixsfti): Likewise.
488 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
489 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
490 * soft-fp/fixtfti.c (__fixtfti): Likewise.
491 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
492 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
493 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
494 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
495 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
496 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
497 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
498 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
499 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
500 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
501 * soft-fp/floatdisf.c (__floatdisf): Likewise.
502 * soft-fp/floatsisf.c (__floatsisf): Likewise.
503 * soft-fp/floattidf.c (__floattidf): Likewise.
504 * soft-fp/floattisf.c (__floattisf): Likewise.
505 * soft-fp/floattitf.c (__floattitf): Likewise.
506 * soft-fp/floatundidf.c (__floatundidf): Likewise.
507 * soft-fp/floatundisf.c (__floatundisf): Likewise.
508 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
509 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
510 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
511 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
512 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
513 * soft-fp/gesf2.c (__gesf2): Likewise.
514 * soft-fp/getf2.c (__getf2): Likewise.
515 * soft-fp/ledf2.c (__ledf2): Likewise.
516 * soft-fp/lesf2.c (__lesf2): Likewise.
517 * soft-fp/letf2.c (__letf2): Likewise.
518
8edc4a11
JM
519 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
520 Undefine and redefine.
521 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
522 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
523 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
524 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
525 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
526 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
527 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
528 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
529 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
530 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
531 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
532 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
533 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
534 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
535 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
536
8399acaf
JM
537 [BZ #16032]
538 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
539 without decrementing exponent if mantissa >= that for the
540 denominator, not >.
541 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
542 denominator, not >. Decrement exponent in < case instead of
543 incrementing in >= case.
544 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
545 without decrementing exponent if mantissa >= that for the
546 denominator, not >.
547
99fd9f47
JM
548 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
549 computing saturated result for unsigned overflow.
550
10e1cf6b
SP
5512013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
552 Jeff Law <law@redhat.com>
553
554 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
555 (atan2Mp): Add systemtap probe marker.
556 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
557 (__ieee754_log): Add systemtap probe marker.
558 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
559 (atanMp): Add systemtap probe marker.
560 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
561 (tanMp): Add systemtap probe marker.
562 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
563 (__slowexp): Add systemtap probe marker.
564 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
565 (__slowpow): Add systemtap probe marker.
566 * manual/probes.texi: Document probes.
567
3d110c7c
EB
5682013-10-11 Eric Biggers <ebiggers3@gmail.com>
569
570 [BZ #15362]
571 * libio/fileops.c (_IO_new_file_write): Return count of bytes
572 written.
573 (_IO_new_file_xsputn): Don't return EOF if nothing has been
574 written.
575 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
576 written to buffer but not flushed.
577 * libio/iofwrite_u.c: Likewise.
578 * libio/iopadn.c: Return bytes returned even if EOF was
579 encountered.
580 * libio/iowpadn.c: Likewise.
581 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
582 if _IO_padn does not write the whole buffer.
583 [!COMPILE_WPRINTF] (PAD): Likewise.
584
75b4202a
DM
5852013-10-10 David S. Miller <davem@davemloft.net>
586
587 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
588 directory block.
589
6c6352e6
JM
5902013-10-10 Joseph Myers <joseph@codesourcery.com>
591
33b853c3
JM
592 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
593 instead of FSF address.
594 * soft-fp/fixdfti.c: Likewise.
595 * soft-fp/fixsfti.c: Likewise.
596 * soft-fp/fixtfti.c: Likewise.
597 * soft-fp/fixunsdfti.c: Likewise.
598 * soft-fp/fixunssfti.c: Likewise.
599 * soft-fp/fixunstfti.c: Likewise.
600 * soft-fp/floattidf.c: Likewise.
601 * soft-fp/floattisf.c: Likewise.
602 * soft-fp/floattitf.c: Likewise.
603 * soft-fp/floatuntidf.c: Likewise.
604 * soft-fp/floatuntisf.c: Likewise.
605 * soft-fp/floatuntitf.c: Likewise.
606 * soft-fp/trunctfxf2.c: Likewise.
607
6c6352e6
JM
608 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
609 * soft-fp/fixdfti.c: Likewise.
610 * soft-fp/fixsfti.c: Likewise.
611 * soft-fp/fixtfti.c: Likewise.
612 * soft-fp/fixunsdfti.c: Likewise.
613 * soft-fp/fixunssfti.c: Likewise.
614 * soft-fp/fixunstfti.c: Likewise.
615 * soft-fp/floattidf.c: Likewise.
616 * soft-fp/floattisf.c: Likewise.
617 * soft-fp/floattitf.c: Likewise.
618 * soft-fp/floatuntidf.c: Likewise.
619 * soft-fp/floatuntisf.c: Likewise.
620 * soft-fp/floatuntitf.c: Likewise.
621 * soft-fp/trunctfxf2.c: Likewise.
622
3bf78b71
DM
6232013-10-10 David S. Miller <davem@davemloft.net>
624
625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
626
6f10289e
JM
6272013-10-10 Joseph Myers <joseph@codsourcery.com>
628
bd878fc0
JM
629 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
630 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
631 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
632 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
633 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
634 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
635 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
636
6f10289e
JM
637 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
638 for NaNs before doing comparisons on argument.
639 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
640 Likewise.
641
321e2684
WN
6422013-10-10 Will Newton <will.newton@linaro.org>
643
644 * malloc/hooks.c (memalign_check): Ensure the value of bytes
645 passed to _int_memalign does not overflow.
646
40fefba1
TR
6472013-10-10 Torvald Riegel <triegel@redhat.com>
648
649 * scripts/bench.pl: Add include-sources directive.
650 * benchtests/README: Update documentation.
651
2ae21ed2
JM
6522013-10-10 Joseph Myers <joseph@codesourcery.com>
653
dcc2dd3f
JM
654 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
655 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
656 instead of FP_INIT_ROUNDMODE.
657 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
658 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
659
2ae21ed2
JM
660 [BZ #16034]
661 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
662 copy class of input value.
663 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
664 not handle exceptions.
665 * soft-fp/negsf2.c (__negsf2): Likewise.
666 * soft-fp/negtf2.c (__negtf2): Likewise.
667 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
668
cb8f9562
JM
6692013-10-09 Joseph Myers <joseph@codesourcery.com>
670
671 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
672 semicolon. From Linux kernel.
673
5b60c59d
AB
6742013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
675
676 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
677
b86835ca
YC
6782013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
679
680 [BZ #156]
681 * manual/socket.texi: Added statement about buffer
682 for gethostbyname2_r.
683
e7044ea7
OB
6842013-10-08 Ondřej Bílka <neleai@seznam.cz>
685
686 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
687 Use .p2align directive instead, throughout.
688 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
689 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
690 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
691 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
692 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
693 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
694 * sysdeps/x86_64/strchr.S: Likewise.
695 * sysdeps/x86_64/strrchr.S: Likewise.
696
09544cbc
SP
6972013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
698
88576635
SP
699 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
700
e7b2d1dd
SP
701 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
702
09544cbc
SP
703 * sysdeps/generic/math_private.h (__mpsin1): Remove
704 declaration.
705 (__mpcos1): Likewise.
706 (__mpsin): New argument __range_reduce.
707 (__mpcos): Likewise.
708 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
709 (slow): Use __mpsin and __mpcos.
710 (slow1): Likewise.
711 (slow2): Likewise.
712 (sloww): Likewise.
713 (sloww1): Likewise.
714 (sloww2): Likewise.
715 (bsloww): Likewise.
716 (bsloww1): Likewise.
717 (bsloww2): Likewise.
718 (cslow2): Likewise.
719 (csloww): Likewise.
720 (csloww1): Likewise.
721 (csloww2): Likewise.
722 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
723 range_reduce. Merge in __mpsin1.
724 (__mpcos): Likewise.
725 (__mpsin1): Remove.
726 (__mpcos1): Likewise.
727
7602d070
JM
7282013-10-07 Joseph Myers <joseph@codesourcery.com>
729
730 * locale/loadlocale.c (_nl_intern_locale_data): Use
731 LOCFILE_ALIGNED_P.
732 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
733 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
734 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
735 obstack data is appropriately aligned.
736 (obstack_int32_grow_fast): Likewise.
737 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
738 * locale/programs/locfile.c (add_locale_uint32): Likewise.
739 (add_locale_uint32_array): Likewise.
740
a357259b
SP
7412013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
742
743 * benchtests/Makefile: Remove ARGLIST and RET variables.
744 ($(objpfx)bench-%.c): Pass only function name to the script.
745 * benchtests/README: Update documentation.
746 * benchtests/acos-inputs: Add new directives.
747 * benchtests/acosh-inputs: Likewise.
748 * benchtests/asin-inputs: Likewise.
749 * benchtests/asinh-inputs: Likewise.
750 * benchtests/atan-inputs: Likewise.
751 * benchtests/atanh-inputs: Likewise.
752 * benchtests/cos-inputs: Likewise.
753 * benchtests/cosh-inputs: Likewise.
754 * benchtests/exp-inputs: Likewise.
755 * benchtests/log-inputs: Likewise.
756 * benchtests/pow-inputs: Likewise.
757 * benchtests/rint-inputs: Likewise.
758 * benchtests/sin-inputs: Likewise.
759 * benchtests/sinh-inputs: Likewise.
760 * benchtests/tan-inputs: Likewise.
761 * benchtests/tanh-inputs: Likewise.
762 * scripts/bench.pl: Add support for new directives.
763
9ec1b13d
AM
7642013-10-07 Alan Modra <amodra@gmail.com>
765
766 * README: Fix careless merge.
767
8b7d57cd
AM
7682013-10-05 Alan Modra <amodra@gmail.com>
769
770 * NEWS: Mention powerpc64le support and bugs fixed.
771 * README: Both big-endian and little-endian powerpc64 supported.
772
7b7bab13
ST
7732013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
774
775 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
776 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
777 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
778 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
779
d39baad1
RA
7802013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
781
782 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
783 match prototype.
784
cd78f7e7
JM
7852013-10-04 Joseph Myers <joseph@codesourcery.com>
786
29d73d86
JM
787 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
788 Move -mhard-float appending from
789 ports/sysdeps/powerpc/powerpc32/Makefile.
790 [$(with-fp) = yes] (ASFLAGS): Likewise.
791 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
792 * sysdeps/powerpc/nofpu: Move directory from
793 ports/sysdeps/powerpc/nofpu.
794 * sysdeps/powerpc/soft-fp: Move directory from
795 ports/sysdeps/powerpc/soft-fp.
796 * sysdeps/powerpc/powerpc32/405: Move directory from
797 ports/sysdeps/powerpc/powerpc32/405.
798 * sysdeps/powerpc/powerpc32/440: Move directory from
799 ports/sysdeps/powerpc/powerpc32/440.
800 * sysdeps/powerpc/powerpc32/464: Move directory from
801 ports/sysdeps/powerpc/powerpc32/464.
802 * sysdeps/powerpc/powerpc32/476: Move directory from
803 ports/sysdeps/powerpc/powerpc32/476.
804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
805 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
807 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
809 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
811 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
813 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
814 * README: Update for powerpc-*-linux-gnu software floating point
815 support in libc.
816
e246b347
JM
817 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
818 case to powerpc/powerpc32*.
819 * sysdeps/unix/sysv/linux/configure: Regenerated.
820
89c2003e
JM
821 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
822 (_FPU_MASK_OM): Define as 0x04.
823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
825 0x00c10080.
826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
827 0x0000003c.
828 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
829
cd78f7e7
JM
830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
831 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
832 getcontext_e500.
833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
834 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
835 setcontext_e500.
836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
837 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
838 and setcontext_e500.
839
c755294d
CL
8402013-10-04 Chris Leonard <cjl@sugarlabs,.org>
841
842 * locale/iso-3166.def: Update iso-1366.def and related occurrences
843
e16d221c
SP
8442013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
845
846 * manual/threads.texi (Default Thread Attributes): Fix typo.
847
215c7d43
WN
8482013-10-04 Will Newton <will.newton@linaro.org>
849
850 * malloc/Makefile: Add tst-memalign.
851 * malloc/tst-memalign.c: New file.
852
27d0461b
WN
853 * malloc/tst-posix_memalign.c: Add comments.
854 (do_test): Add comments and call free on all potentially
855 allocated pointers. Add space after cast.
856
1bc92709
WN
857 * malloc/tst-pvalloc.c: Add comments.
858 (do_test): Add comments and call free on all potentially
859 allocated pointers. Remove duplicate check for NULL pointer.
860 Add space after cast.
861
66a9be9d
WN
862 * malloc/tst-valloc.c: Add comments.
863 (do_test): Add comments and call free on all potentially
864 allocated pointers. Remove duplicate check for NULL pointer.
865 Add space after cast.
866
4cb81307
AM
8672013-10-04 Alan Modra <amodra@gmail.com>
868
869 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
870 Use stdint types in rather than __attribute__((mode())).
871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
872
f8e3e9f3
AM
8732013-10-04 Alan Modra <amodra@gmail.com>
874
875 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
876 Correct handling of unaligned relocs for little-endian.
877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
878
8f9ebb08
AM
8792013-10-04 Alan Modra <amodra@gmail.com>
880
881 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
882 * configure: Regenerate.
883 * nptl/shlib-versions: Powerpc*le starts at 2.18.
884 * shlib-versions: Likewise.
885
0edf96c2
AM
8862013-10-04 Alan Modra <amodra@gmail.com>
887
888 * string/tester.c (test_memrchr): Increment reported test cycle.
889
e0f7a380
AM
8902013-10-04 Alan Modra <amodra@gmail.com>
891
892 * string/test-memcpy.c (do_one_test): When reporting errors, print
893 string address and don't overrun end of string.
894
466b0393
AM
8952013-10-04 Alan Modra <amodra@gmail.com>
896
897 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
898 insrdi. Make better use of reg selection to speed exit slightly.
899 Schedule entry path a little better. Remove useless "are we done"
900 checks on entry to main loop. Handle wrapping around zero address.
901 Correct main loop count. Handle single left-over word from main
902 loop inline rather than by using loop_small. Remove extra word
903 case in loop_small caused by wrong loop count. Add little-endian
904 support.
905 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
906 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
907 cache hint.
908 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
909 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
910 support. Avoid rlwimi.
911 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
912
3be87c77
AM
9132013-10-04 Alan Modra <amodra@gmail.com>
914
915 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 916 insrdi. Formatting.
3be87c77
AM
917 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
918 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
919 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
920 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
921 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
922 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
923
759cfef3
AM
9242013-10-04 Alan Modra <amodra@gmail.com>
925
926 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
927 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
928 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
929 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
930 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
931 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
932 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
933 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
934 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
935 use of regs. Use power7 mtocrf. Tidy function tails.
936
fe6e95d7
AM
9372013-10-04 Alan Modra <amodra@gmail.com>
938
939 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
940 Formatting. Consistently use rXXX register defines or rN defines.
941 Use early exit labels that avoid restoring unused non-volatile regs.
942 Make cr field use more consistent with rWORDn compares. Rename
943 regs used as shift registers for unaligned loop, using rN defines
944 for short lifetime/multiple use regs.
945 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
946 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
947 addi 1,1,64 to pop stack frame. Simplify return value code.
948 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
949
664318c3
AM
9502013-10-04 Alan Modra <amodra@gmail.com>
951
952 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
953 support. Correct typos, formatting. Optimize tail. Use insrdi
954 rather than rlwimi.
955 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
956 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
957 little-endian support. Correct typos.
958 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
959 rather than rlwimi.
960 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
961 in loop and entry code to keep "and." results.
962 (strchr): Add little-endian support. Comment. Move cntlzd
963 earlier in tail.
964 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
965
43b84013
AM
9662013-10-04 Alan Modra <amodra@gmail.com>
967
968 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
969 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
970 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
971 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
972
8a7413f9
AM
9732013-10-04 Alan Modra <amodra@gmail.com>
974
975 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
976 (rTMP): Define as r11.
977 (strcmp): Add little-endian support. Optimise tail.
978 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
979 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
980 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
981 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
982 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
983 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
984 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
985
33ee81de
AM
9862013-10-04 Alan Modra <amodra@gmail.com>
987
988 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
989 little-endian support. Remove unnecessary "are we done" tests.
990 Handle "s" wrapping around zero and extremely large "size".
991 Correct main loop count. Handle single left-over word from main
992 loop inline rather than by using small_loop. Correct comments.
993 Delete "zero" tail, use "end_max" instead.
994 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
995
db9b4570
AM
9962013-10-04 Alan Modra <amodra@gmail.com>
997
998 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
999 support. Don't branch over align.
1000 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1001 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1002 support. Rearrange tmp reg use to suit. Comment.
1003 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1004
f7c399cf
AM
10052013-10-04 Alan Modra <amodra@gmail.com>
1006
1007 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1008
0b2c2ace
AM
10092013-10-04 Alan Modra <amodra@gmail.com>
1010
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1012 conditional form of branch and link when obtaining pc.
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1014
02f04a6c
AM
10152013-10-04 Alan Modra <amodra@gmail.com>
1016
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1018 HIWORD/LOWORD.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1021
9b874b2f
AM
10222013-10-04 Alan Modra <amodra@gmail.com>
1023
1024 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1025 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1026 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1027 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1028 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1029 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1030 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1031 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1032 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1033 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1034
be1e5d31
AB
10352013-10-04 Anton Blanchard <anton@au1.ibm.com>
1036 Alistair Popple <alistair@ozlabs.au.ibm.com>
1037 Alan Modra <amodra@gmail.com>
1038
1039 [BZ #15723]
1040 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1041 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1042 _dl_hwcap access for little-endian.
1043 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1044 destroy vmx regs when saving unaligned.
1045 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1046 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1047 destroy vmx regs when saving unaligned.
1048
fef13a78
AM
10492013-10-04 Alan Modra <amodra@gmail.com>
1050
1051 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1052 Don't use a union to pack hi/low value.
1053
76a66d51
AB
10542013-10-04 Anton Blanchard <anton@au1.ibm.com>
1055
1056 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1057 for little-endian.
1058 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1059 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1060 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1061 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1062 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1063
6a31fe7f
AM
10642013-10-04 Alan Modra <amodra@gmail.com>
1065
1066 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1067 constants to usual value for .cst8 section, and remove redundant
1068 high address load.
1069 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1070 constant for 0x1p52. Load little-endian words of double from
1071 correct stack offsets.
1072
7b88401f
AM
10732013-10-04 Alan Modra <amodra@gmail.com>
1074
1075 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1076 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1077 words of double from correct stack offsets.
1078 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1079 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1080 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1081 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1082 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1083 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1084 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1085 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1086 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1087 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1088 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1089 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1090 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1091 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1092 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1093 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1094 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1095
9c008155
AM
10962013-10-04 Alan Modra <amodra@gmail.com>
1097
1098 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1099 64-bit int/double union.
1100 (_FPU_SETCW): Likewise.
1101 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1102 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1103
da13146d
AM
11042013-10-04 Alan Modra <amodra@gmail.com>
1105
1106 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1107 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1108
603e8410
AM
11092013-10-04 Alan Modra <amodra@gmail.com>
1110
1111 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1112 use vector int constants.
1113 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1114
4a28b3ca
AB
11152013-10-04 Anton Blanchard <anton@au1.ibm.com>
1116
1117 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1118 array with long long.
1119 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1120 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1121 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1122 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1123 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1124 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1125 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1126 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1127 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1128 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1129 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1130 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1131 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1132
2ca85d2b
AB
11332013-10-04 Anton Blanchard <anton@au1.ibm.com>
1134
1135 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1136 (__signbit): Likewise. Correct for little-endian.
1137 (__signbitl): Call __signbit.
1138 (lrint): Correct for little-endian.
1139 (lrintf): Call lrint.
1140
62a728ae
AM
11412013-10-04 Alan Modra <amodra@gmail.com>
1142
1143 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1144 union 32-bit int array member with 64-bit int array.
1145 (t515, tm256): Double rather than long double.
1146 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1147
32c301df
AM
11482013-10-04 Alan Modra <amodra@gmail.com>
1149
1150 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1151 Delete.
1152 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1153 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1154 version of math_ldbl.h.
1155
650ef4bd
AM
11562013-10-04 Alan Modra <amodra@gmail.com>
1157
1158 [BZ #15734], [BZ #15735]
1159 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1160 all uses of ieee875 long double macros and unions. Simplify test
1161 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1162 ldbl_extract_mantissa value for ix,iy exponents. Properly
1163 normalize after ldbl_extract_mantissa, and don't add hidden bit
1164 already handled. Don't treat low word of ieee854 mantissa like
1165 low word of IBM long double and mask off bit when testing for
1166 zero.
1167 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1168 all uses of ieee875 long double macros and unions. Simplify tests
1169 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1170 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1171 two1022, instead use their values. Recognise that tests for large
1172 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1173 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1174 Rewrite all uses of ieee875 long double macros and unions. Simplify
1175 test for 0.0L and nan. Correct negation.
1176 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1177 ieee875 long double macros and unions. Correct output for large
1178 magnitude x. Correct absolute value calculation.
1179 (__erfcl): Likewise.
1180 * math/libm-test.inc: Add tests for errors discovered in IBM long
1181 double versions of fmodl, remainderl, erfl and erfcl.
1182
765714ca
AM
11832013-10-04 Alan Modra <amodra@gmail.com>
1184
1185 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1186 all uses of ieee854 long double macros and unions. Simplify tests
1187 for long doubles that are fully specified by the high double.
1188 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1189 Likewise.
1190 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1191 Remove dead code too.
1192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1193 (__ieee754_ynl): Likewise.
1194 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1195 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1196 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1197 Remove dead code too.
1198 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1199 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1200 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1201 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1202 Simplify.
1203 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1204 Simplify.
1205 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1206 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1207 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1208 Comment on variable precision.
1209 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1210 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1211 Likewise.
1212 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1213 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1214 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1215 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1216 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1217
4ebd120c
AM
12182013-10-04 Alan Modra <amodra@gmail.com>
1219
1220 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1221 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1222 all uses of ieee854 long double macros and unions.
1223 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1225 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1226 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1227 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1228 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1229 Likewise.
1230 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1231 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1232 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1233 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1234 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1235 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1236 Simplify sign and nan test too.
1237 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1238 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1239 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1240 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1241 Likewise.
1242 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1243 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1244 Likewise.
1245 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1246 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1247 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1248 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1249 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1251
1b6adf88
AM
12522013-10-04 Alan Modra <amodra@gmail.com>
1253
1254 * stdio-common/printf_size.c (__printf_size): Don't use
1255 union ieee854_long_double in fpnum union.
1256 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1257 signbit macro to retrieve sign from long double.
1258 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1259 retrieve sign from long double.
1260 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1261 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1262 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1263 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1264 * math/test-misc.c (main): Don't use union ieee854_long_double.
1265
4cf69995
AM
12662013-10-04 Alan Modra <amodra@gmail.com>
1267
1268 [BZ #15680]
1269 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1270 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1271 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1272 calculation. Remove unnecessary test for denormal exponent.
1273 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1274 Correct handling of denormals. Avoid undefined shift behaviour.
1275 Correct normalisation of low mantissa when low double is denormal.
1276 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1277 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1278 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1279 Correct normalisation of low mantissa. Test for overflow of high
1280 mantissa and normalise.
1281 (ldbl_nearbyint): Use more readable constant for two52.
1282 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1283 (__mpn_construct_long_double): Fix test for overflow of high
1284 mantissa and correct normalisation. Avoid undefined shift.
1285
9605ca6c
AM
12862013-10-04 Alan Modra <amodra@gmail.com>
1287
1288 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1289 (union ibm_extended_long_double): Define as an array of ieee754_double.
1290 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1291 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1292 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1293 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1294 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1295 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1297 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1300 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1301
975569d0
JM
13022013-10-03 Joseph Myers <joseph@codesourcery.com>
1303
d3d23756
JM
1304 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1305 page size instead of calling getpagesize.
1306
975569d0
JM
1307 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1308 (LOCFILE_ALIGN_MASK): Likewise.
1309 (LOCFILE_ALIGN_UP): Likewise.
1310 (LOCFILE_ALIGNED_P): Likewise.
1311 * locale/programs/ld-collate.c (collate_output): Use the new
1312 macros instead of __alignof__ (int32_t).
1313 * locale/weight.h (findidx): Likewise.
1314
b1fe1f2b
OB
13152013-10-03 Ondřej Bílka <neleai@seznam.cz>
1316
1317 [BZ #431]
1318 * manual/string.texi: Fix strncat and wcsncat.
1319
5f855e35
BM
13202013-10-03 Brooks Moses <bmoses@google.com>
1321
1322 [BZ #15915]
1323 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1324 * Makerules: ...here, and adjust associated comments.
1325
3cef6009
WN
13262013-10-02 Will Newton <will.newton@linaro.org>
1327
1328 * malloc/Makefile: Add tst-pvalloc.
1329 * malloc/tst-pvalloc.c: New file.
1330
7815420b
WN
13312013-10-02 Will Newton <will.newton@linaro.org>
1332
1333 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1334 improve test coverage.
1335
4868b204
WN
13362013-10-02 Will Newton <will.newton@linaro.org>
1337
1338 * malloc/Makefile: Add tst-posix_memalign.
1339 * malloc/tst-posix_memalign.c: New file.
1340
29c793b3
EB
13412013-10-01 Eric Blake <eblake@redhat.com>
1342
1343 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1344 Use __THROWNL rather than __THROW on static functions.
1345
fd967522
PM
13462013-09-30 Petr Machata <pmachata@redhat.com>
1347
1348 * elf/elf.h (R_AARCH64_ABS16): New macro.
1349 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1350 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1351 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1352 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1353 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1354 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1355 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1356 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1357 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1358 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1359 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1360 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1361 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1362 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1363 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1364 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1365 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1366 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1367 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1368 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1369 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1370 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1371 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1372 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1373 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1374 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1375 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1376 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1377 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1378 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1379 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1380 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1381 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1382 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1383 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1384 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1385 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1386 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1387 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1388 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1389 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1390 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1391 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1392 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1393 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1394 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1395 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1396 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1397 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1398 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1399 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1400 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1401 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1402 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1403 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1404 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1405 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1406 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1407 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1408 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1409 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1410 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1411 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1412 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1413 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1414 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1415 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1416 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1417 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1418 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1419 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1420 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1421 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1422 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1423 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1424 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1425 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1426 (R_AARCH64_TLSDESC_LDR): Likewise.
1427 (R_AARCH64_TLSDESC_ADD): Likewise.
1428 (R_AARCH64_TLSDESC_CALL): Likewise.
1429
b2179107
AS
14302013-09-30 Andreas Schwab <schwab@suse.de>
1431
1432 [BZ #15048]
1433 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1434 the nss database lookup.
1435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1437
47f28d0a
MF
14382013-09-28 Mike Frysinger <vapier@gentoo.org>
1439
1440 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1441
14422013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1443
1444 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1445 ${Bash-specific parameter/pattern/string} parameter expansion.
1446 * sysdeps/unix/make-syscalls.sh: Likewise.
1447
f4518a17
KK
14482013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1449
1450 * sysdeps/sh/stackguard-macros.h: New file.
1451
dc1a95c7
OB
14522013-09-26 Ondřej Bílka <neleai@seznam.cz>
1453
1454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1455 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1456 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1457 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1458 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1459 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1460
5ebbff8f
AZ
14612013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1462
1463 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1464 Fix thread ID register.
1465
4fd2cf9f
JM
14662013-09-25 Joseph Myers <joseph@codesourcery.com>
1467
1468 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1469 [POSIX || UNIX98]: Require rather than permitting all symbols from
1470 <time.h>.
1471 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1472 element of struct sched_param.
1473 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1474 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1475 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1476 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1477 constant.
1478
12c22bc4
OL
14792013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1480
1481 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1482 argument calculation.
1483
a03d8ea7
JM
14842013-09-24 Joseph Myers <joseph@codesourcery.com>
1485
1486 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1487 Expect macro.
1488 [POSIX] (pthread_attr_t): Do not require type.
1489 [POSIX] (pthread_cond_t): Likewise.
1490 [POSIX] (pthread_condattr_t): Likewise.
1491 [POSIX] (pthread_key_t): Likewise.
1492 [POSIX] (pthread_mutex_t): Likewise.
1493 [POSIX] (pthread_mutexattr_t): Likewise.
1494 [POSIX] (pthread_once_t): Likewise.
1495 [POSIX] (pthread_t): Likewise.
1496 [POSIX-based standards] (pthread_atfork): Expect function.
1497
6055173a
JM
14982013-09-24 Joseph Myers <joseph@codesourcery.com>
1499 Richard Sandiford <richard@codesourcery.com>
1500
1501 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1502 (swap_endianness_p): New extern variable.
1503 (set_big_endian): New inline function.
1504 (maybe_swap_uint32): Likewise.
1505 (maybe_swap_uint32_array): Likewise.
1506 (maybe_swap_uint32_obstack): Likewise.
1507 * locale/programs/locfile.c: Include <stdbool.h>.
1508 (swap_endianness_p): New variable.
1509 (add_locale_uint32): Call maybe_swap_uint32.
1510 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1511 (write_locale_data): Call maybe_swap_uint32_array.
1512 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1513 maybe_swap_uint32.
1514 (obstack_int32_grow_fast): Likewise.
1515 (output_weightwc): Call maybe_swap_uint32_obstack.
1516 (collate_output): Likewise.
1517 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1518 (OPT_LITTLE_ENDIAN): Likewise.
1519 (options): Add --little-endian and --big-endian options.
1520 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1521 * locale/programs/locarchive.c: Include "locfile.h".
1522 (GET): New macro.
1523 (SET): Likewise.
1524 (INC): Likewise.
1525 (create_archive): Use the new macros to access fields of
1526 structures directly mapped from or written to locale archives.
1527 (oldlocrecentcmp): Likewise.
1528 (enlarge_archive): Likewise.
1529 (insert_name): Likewise.
1530 (add_alias): Likewise.
1531 (add_locale): Likewise.
1532 (delete_locales_from_archive): Likewise.
1533 (show_archive_content): Likewise.
1534 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1535 locale data.
1536
39bf0bb4
RM
15372013-09-24 Roland McGrath <roland@hack.frob.com>
1538
1539 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1540 http://www.gnu.org/doc/freemanuals.texi.
1541 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1542
f02eed10
WN
15432013-09-24 Will Newton <will.newton@linaro.org>
1544
1545 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1546 macro.
1547
a3a6c312
JM
15482013-09-23 Joseph Myers <joseph@codesourcery.com>
1549
1550 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1551 unsigned char.
1552
107375ac
MR
15532013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1554
1555 * manual/threads.texi (POSIX Threads): Fix a typo.
1556
141f3a77
SP
15572013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1558
303e567a
SP
1559 [BZ #14547]
1560 * string/tst-strcoll-overflow.c: New test case.
1561 * string/Makefile (xtests): Add tst-strcoll-overflow.
1562 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1563 cache if string sizes may cause integer overflow.
1564
141f3a77
SP
1565 [BZ #14547]
1566 * string/strcoll_l.c (coll_seq): New members rule, idx,
1567 save_idx and back_us.
1568 (get_next_seq_nocache): New function.
1569 (do_compare_nocache): New function.
1570 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1571 when malloc fails.
1572
c61b4d41
CD
15732013-09-23 Carlos O'Donell <carlos@redhat.com>
1574
0b1f8e35
CD
1575 [BZ #15754]
1576 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1577 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1578 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1579
c61b4d41
CD
1580 [BZ #15754]
1581 * elf/Makefile (tests): Add tst-ptrguard1.
1582 (tests-static): Add tst-ptrguard1-static.
1583 (tst-ptrguard1-ARGS): Define.
1584 (tst-ptrguard1-static-ARGS): Define.
1585 * elf/tst-ptrguard1.c: New file.
1586 * elf/tst-ptrguard1-static.c: New file.
1587 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1588 * sysdeps/i386/stackguard-macros.h: Likewise.
1589 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1590 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1591 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1592 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1593 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1594 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1595
15962013-09-23 Hector Marco <hecmargi@upv.es>
1597 Ismael Ripoll <iripoll@disca.upv.es>
1598 Carlos O'Donell <carlos@redhat.com>
1599
1600 [BZ #15754]
1601 * sysdeps/generic/stackguard-macros.h: Define
1602 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1603 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1604 Define __pointer_chk_guard_local.
1605 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1606 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1607
f5f4e7b4
VV
16082013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1609
1610 [BZ #15859]
1611 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1612
5bb43a43
AS
16132013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1614
1615 * include/string.h (__ffs): Declare as hidden.
1616 * string/ffs.c (__ffs): Define as hidden.
1617 * sysdeps/i386/ffs.c (__ffs): Likewise.
1618 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1619 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1620 * sysdeps/s390/ffs.c (__ffs): Likewise.
1621 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1622
3ea5be54
AO
16232013-09-20 Alexandre Oliva <aoliva@redhat.com>
1624
ffb89e53
AO
1625 * NEWS: Mention malloc probes.
1626
322dea08
AO
1627 * malloc/arena.c (new_heap): New memory_heap_new probe.
1628 (grow_heap): New memory_heap_more probe.
1629 (shrink_heap): New memory_heap_less probe.
1630 (heap_trim): New memory_heap_free probe.
1631 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1632 (systrim): New memory_sbrk_less probe.
1633 * manual/probes.texi: Document them.
1634
655673f3
AO
1635 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1636 * manual/probes.texi: Document it.
1637
35fed6f1
AO
1638 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1639 (__libc_realloc): Add memory_realloc_retry probe.
1640 (__libc_memalign): Add memory_memalign_retry probe.
1641 (__libc_valloc): Add memory_valloc_retry probe.
1642 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1643 (__libc_calloc): Add memory_calloc_retry probe.
1644 * manual/probes.texi: Document them.
1645
6999d38c
AO
1646 * malloc/arena.c (get_free_list): Add probe
1647 memory_arena_reuse_free_list.
1648 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1649 and memory_arena_reuse.
1650 (arena_get2) [!PER_THREAD]: Likewise.
1651 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1652 memory_arena_reuse_realloc.
1653 * manual/probes.texi: Document them.
1654
0653427f
AO
1655 * malloc/malloc.c (__libc_free): Add
1656 memory_mallopt_free_dyn_thresholds probe.
1657 (__libc_mallopt): Add multiple memory_mallopt probes.
1658 * manual/probes.texi: Document them.
1659
3ea5be54
AO
1660 * malloc/malloc.c: Include stap-probe.h.
1661 (__libc_mallopt): Add memory_mallopt probe.
1662 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1663 * manual/probes.texi: New.
1664 * manual/Makefile (chapters): Add probes.
1665 * manual/threads.texi: Set next node.
1666
e35696c3 16672013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1668
e35696c3
CL
1669 [BZ #15963, #13985]
1670 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1671 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1672 Add `Chinese' to `nan' entry name.
1673
4aafb73c
SP
16742013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1675
1676 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1677 (POLYNOMIAL): Likewise.
1678 (TAYLOR_SINCOS): Likewise.
1679 (TAYLOR_SLOW): Likewise.
1680 (__sin): Use TAYLOR_SINCOS.
1681 (__cos): Likewise.
1682 (slow): Use TAYLOR_SLOW.
1683 (sloww): Likewise.
1684 (bsloww): Likewise.
1685 (csloww): Likewise.
1686
d84f25c7
LD
16872013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1688
1689 * stdlib/strtod_l.c: Fix buffer overrun.
1690
5eea0404
SP
16912013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1692
7849ff93
SP
1693 * benchtests/Makefile (bench): Add sincos.
1694 * benchtests/bench-sincos.c: New file.
1695
cfa3c886
SP
1696 * math/libm-test.inc (cos_test_data): New test inputs.
1697 (sin_test_data): Likewise.
1698
b348e1e3
SP
1699 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1700 macro.
1701 (__sin): Use it.
1702 (__cos): Likewise.
1703 (slow1): Likewise.
1704 (slow2): Likewise.
1705 (sloww1): Likewise.
1706 (sloww2): Likewise.
1707 (bsloww1): Likewise.
1708 (bsloww2): Likewise.
1709 (cslow2): Likewise.
1710 (csloww1): Likewise.
1711 (csloww2): Likewise.
1712
6cce25f8
SP
1713 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1714 function.
1715 (__sin): Use it.
1716 (__cos): Likewise.
1717
5eea0404
SP
1718 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1719 gotos.
1720 (__cos): Likewise.
1721
9c21573c
MR
17222013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1723
1724 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1725 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1726 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1727 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1728 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1729 * elf/cache.c (print_entry): Handle the new cache flags.
1730
24d22e65
JM
17312013-09-18 Joseph Myers <joseph@codesourcery.com>
1732 Aldy Hernandez <aldyh@redhat.com>
1733
1734 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1735 Change condition to [_SOFT_FLOAT].
1736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1738 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1739 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1740 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1741 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1743 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1744 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1748 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1751 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1752 declaration.
1753
d13ef066
JM
17542013-09-18 Joseph Myers <joseph@codesourcery.com>
1755
2e071de0
JM
1756 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1757 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1758 (__longjmp): Use LOAD_GP to load saved GPRs.
1759 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1760 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1761 (__sigsetjmp): Use SAVE_GP to save GPRs.
1762
d13ef066
JM
1763 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1764 Do not append -msoft-float.
1765 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1766
97a0650b
SP
17672013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1768
1769 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1770
11ca09e9
JM
17712013-09-17 Joseph Myers <joseph@codesourcery.com>
1772
1773 [BZ #15966]
1774 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1775 (_FPU_GETCW): Use initial "__" on variable and field names but not
1776 on macro parameter name.
1777 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1778 parentheses around reference to macro parameter.
1779
08ffcf34
RS
17802013-09-13 Richard Sandiford <richard@codesourcery.com>
1781
1782 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1783 prototype.
1784 (ctype_startup): Use uint32_t in cast and sizeof for
1785 ctype->charnames.
1786
ae7080d3
JL
17872013-09-11 Jia Liu <proljc@gmail.com>
1788
1789 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1790 __daddr_t_defined.
1791 [__FreeBSD__]: Likewise.
1792
5905e7b3
OB
17932013-09-11 Ondřej Bílka <neleai@seznam.cz>
1794
1795 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1796 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1797 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1798 (strchr): Remove __strchr_sse42 ifunc selection.
1799 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1800 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1801
b987c776
WN
18022013-09-11 Will Newton <will.newton@linaro.org>
1803
1804 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1805 parameter to RES. Remove hardcoded 1000 value.
1806 * benchtests/bench-skeleton.c (main): Pass RES parameter
1807 to TIMING_INIT and multiply result by 1000.
1808
ddf985af
AZ
18092013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1810
1811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1812
ffdd3181
AS
18132013-09-11 Andreas Schwab <schwab@suse.de>
1814
1815 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1816 if not defined.
1817 (O_TMPFILE) [__USE_GNU]: Define.
1818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1819 Define.
1820
b73ed247
WN
18212013-09-11 Will Newton <will.newton@linaro.org>
1822
1823 [BZ #15857]
1824 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1825 does not overflow.
1826
55e17aad
WN
18272013-09-11 Will Newton <will.newton@linaro.org>
1828
1829 [BZ #15856]
1830 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1831 does not overflow.
1832
1159a193
WN
18332013-09-11 Will Newton <will.newton@linaro.org>
1834
1835 [BZ #15855]
1836 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1837 does not overflow.
1838
5905e7b3 18392013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1840
1841 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1842 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1843 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1844 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1845 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1846
cdfc721b
AM
18472013-09-10 Allan McRae <allan@archlinux.org>
1848
aa04af00
AM
1849 [BZ #15748]
1850 * manual/arith.texi (Parsing of Floats): Clarify
1851 cross-reference.
1852
cdfc721b
AM
1853 [BZ #15849]
1854 * manual/install.texi (Running make install): Mention
1855 --enable-pt-chown.
1856 * INSTALL: Regenerated.
1857
95e7cf29
MR
18582013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1859
1860 * csu/init-first.c (_init): Remove the !SHARED condition around
1861 FPU control word initialization.
1862 * elf/dl-support.c (_dl_fpu_control): New variable.
1863 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1864 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1865 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1866 * math/test-fpucw-static.c: New file.
1867 * math/test-fpucw-ieee.c: New file.
1868 * math/test-fpucw-ieee-static.c: New file.
1869 * math/Makefile (tests): Add `test-fpucw-ieee' and
1870 `$(tests-static)'.
1871 (tests-static): New variable.
1872 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1873 dependency to...
1874 [($(build-shared),yes)]
1875 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1876 ... this.
1877 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1878 New dependency.
1879
83e43bf0
AM
18802013-09-09 Allan McRae <allan@archlinux.org>
1881
a9f5ce09
AM
1882 [BZ #15939]
1883 * manual/string.texi (Collation Functions): Fix typo in
1884 strcoll example.
1885 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1886
34829bc2
AM
1887 [BZ #15893]
1888 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1889
3932737d
AM
1890 [BZ #15892]
1891 * libio/memstream.c (open_memstream): Fix memory leak.
1892 * libio/wmemstream.c (open_wmemstream): Likewise.
1893
83e43bf0
AM
1894 [BZ #15895]
1895 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1896
0c66b8e9
WN
18972013-09-09 Will Newton <will.newton@linaro.org>
1898
1899 * malloc/Makefile: Add tst-realloc to tests.
1900 * malloc/tst-realloc.c: New file.
1901
f6b00fd1
AM
19022013-09-09 Allan McRae <allan@archlinux.org>
1903
1904 [BZ #15844]
1905 * COPYING: Update from GNU website to fix FSF address.
1906 * COPYING.LIB: Likewise.
1907
eec55e16
DM
19082013-09-06 David S. Miller <davem@davemloft.net>
1909
1910 * po/zh_TW.po: Update Chinese (traditional) translation from
1911 translation project.
1912
1ecbb381
RS
19132013-09-06 Richard Sandiford <richard@codesourcery.com>
1914 Joseph Myers <joseph@codesourcery.com>
1915
1916 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1917 "localeinfo.h".
1918 (obstack_chunk_alloc): New macro.
1919 (obstack_chunk_free): Likewise.
1920 (record_offset): New function.
1921 (init_locale_data): Likewise.
1922 (align_locale_data): Likewise.
1923 (add_locale_empty): Likewise.
1924 (add_locale_raw_data): Likewise.
1925 (add_locale_raw_obstack): Likewise.
1926 (add_locale_string): Likewise.
1927 (add_locale_wstring): Likewise.
1928 (add_locale_uint32): Likewise.
1929 (add_locale_uint32_array): Likewise.
1930 (add_locale_char): Likewise.
1931 (start_locale_structure): Likewise.
1932 (end_locale_structure): Likewise.
1933 (start_locale_prelude): Likewise.
1934 (end_locale_prelude): Likewise.
1935 (write_locale_data): Take locale_file structure rather than an
1936 iovec.
1937 * locale/programs/locfile.h: Include "obstack.h".
1938 (struct locale_file): Change to store locale file contents instead
1939 of header.
1940 (init_locale_data): New prototype.
1941 (align_locale_data): Likewise.
1942 (add_locale_empty): Likewise.
1943 (add_locale_raw_data): Likewise.
1944 (add_locale_raw_obstack): Likewise.
1945 (add_locale_string): Likewise.
1946 (add_locale_wstring): Likewise.
1947 (add_locale_uint32): Likewise.
1948 (add_locale_uint32_array): Likewise.
1949 (add_locale_char): Likewise.
1950 (start_locale_structure): Likewise.
1951 (end_locale_structure): Likewise.
1952 (start_locale_prelude): Likewise.
1953 (end_locale_prelude): Likewise.
1954 (write_locale_data): Update prototype.
1955 * locale/programs/3level.h (struct TABLE): Remove result field.
1956 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1957 Use new locale_file interface.
1958 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1959 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1960 * locale/programs/ld-address.c (address_output): Use new
1961 locale_file interface.
1962 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1963 NO_ADD_LOCALE.
1964 (collate_finish): Don't call collseq_table_finalize.
1965 (collate_output): Use new locale_file interface.
1966 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1967 in file.
1968 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1969 (TABLE): Move defines earlier in file.
1970 (ELEMENT): Likewise.
1971 (DEFAULT): Likewise.
1972 (wctrans_table_add): Move macro and inline function earlier in
1973 file.
1974 (struct wctype_table): Move type earlier in file.
1975 (add_locale_wctype_table): New static prototype.
1976 (struct locale_ctype_t): Use logical types instead of struct iovec
1977 pointers for members.
1978 (ctype_output): Use new locale_file interface.
1979 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1980 new locale_file interface.
1981 (allocate_arrays): Update for use of new locale_file interface.
1982 * locale/programs/ld-identification.c (identification_output): Use
1983 new locale_file interface.
1984 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1985 * locale/programs/ld-messages.c (messages_output): Likewise.
1986 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1987 * locale/programs/ld-name.c (name_output): Likewise.
1988 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1989 * locale/programs/ld-paper.c (paper_output): Likewise.
1990 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1991 * locale/programs/ld-time.c (time_output): Likewise.
1992
e029e2e5
AZ
19932013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1994
1995 * benchtests/Makefile: Add memrchr benchmark.
1996 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1997 benchmark as memrchr.
1998 * benchtests/bench-memrchr-ifunc.c: New file.
1999 * benchtests/bench-memrchr.c: New file.
2000
bbf6e8e4
WN
20012013-09-06 Will Newton <will.newton@linaro.org>
2002
2003 * benchtests/Makefile (string-bench): Add memcpy.
2004
6c82a2f8
CD
20052013-09-05 Carlos O'Donell <carlos@redhat.com>
2006 Cong Wang <amwang@redhat.com>
2007
2008 * sysdeps/unix/sysv/linux/bits/in.h
2009 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2010 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2011 before __USE_KERNEL_IPV6_DEFS uses.
2012 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2013 IPPROTO_BEETPH.
2014 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2015 sockaddr_in6, or ipv6_mreq.
2016
5430fc65
AZ
20172013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018
2019 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2020 memory access for final bytes in some large inputs.
2021 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2022
4660856c
AZ
20232013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2024
2025 * string/test-memrchr.c: New file.
2026 * string/test-memrchr-ifunc.c: New file.
2027 * string/Makefile: Add new memrchr testcase.
2028
bb8ea713
MF
20292013-09-05 Mike Frysinger <vapier@gentoo.org>
2030
2031 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2032 fanotify_init returns EPERM.
2033
b92a20b5
JM
20342013-09-04 Joseph Myers <joseph@codesourcery.com>
2035
2036 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2037 errors.
2038 (top level): Treat second token from macro or constant entries for
2039 allowed headers as allowed.
2040 * include/complex.h: Condition internal declarations on
2041 [!_ISOMAC].
2042 * include/fenv.h: Condition include of <stdbool.h> and internal
2043 declarations on [!_ISOMAC].
7447ccd9
CL
2044
20452013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2046
3e181dda 2047 [BZ #15923]
7447ccd9
CL
2048 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2049
3f2e46a4
JM
20502013-09-04 Joseph Myers <joseph@codesourcery.com>
2051
2052 * configure.in (--enable-versioning): Remove configure option.
2053 (libc_cv_asm_symver_directive): Remove configure test.
2054 (libc_cv_ld_version_script_option): Likewise.
2055 (VERSIONING): Remove variable and AC_SUBST.
2056 (DO_VERSIONING): Remove AC_DEFINE.
2057 * configure: Regenerated.
2058 * config.h.in (DO_VERSIONING): Remove macro.
2059 * Makerules [$(versioning) = yes]: Change conditionals to
2060 [$(build-shared) = yes].
2061 * config.make.in (versioning): Remove variable.
2062 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2063 [$(build-shared) = yes].
2064 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2065 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2066 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2067 [$(build-shared) = yes].
2068 * extra-lib.mk [$(versioning) = yes]: Likewise.
2069 * hurd/Makefile [$(versioning) = yes]: Likewise.
2070 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2071 [SHARED].
2072 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2073 [SHARED].
2074 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2075 [SHARED && !NO_HIDDEN].
2076 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2077 [SHARED].
2078 [SHARED && DO_VERSIONING]: Likewise..
2079 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2080 [$(build-shared) = yes].
2081 * manual/install.texi (--disable-versioning): Remove
2082 documentation.
2083 * INSTALL: Regenerated.
2084 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2085 to [SHARED].
2086 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2087 [$(build-shared) = yes].
2088 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2089 * sysdeps/i386/i686/multiarch/strstr-c.c
2090 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2091 [SHARED && !NO_HIDDEN].
2092 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2093 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2094 * sysdeps/powerpc/powerpc32/dl-machine.c
2095 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2096 * sysdeps/powerpc/powerpc32/sysdep.h
2097 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2098 to [SHARED && PIC && !NO_HIDDEN].
2099 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2100 conditional to [SHARED].
2101
44558701
WN
21022013-09-04 Will Newton <will.newton@linaro.org>
2103
2104 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2105 * benchtests/bench-string.h: Include bench-timing.h instead
2106 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2107 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2108 call to HP_TIMING_DIFF_INIT.
2109 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2110 instead of hp-timing.h macros.
2111 * benchtests/bench-memchr.c: Likewise.
2112 * benchtests/bench-memcmp.c: Likewise.
2113 * benchtests/bench-memcpy.c: Likewise.
2114 * benchtests/bench-memmem.c: Likewise.
2115 * benchtests/bench-memmove.c: Likewise.
2116 * benchtests/bench-memset.c: Likewise.
2117 * benchtests/bench-rawmemchr.c: Likewise.
2118 * benchtests/bench-strcasecmp.c: Likewise.
2119 * benchtests/bench-strcasestr.c: Likewise.
2120 * benchtests/bench-strcat.c: Likewise.
2121 * benchtests/bench-strchr.c: Likewise.
2122 * benchtests/bench-strcmp.c: Likewise.
2123 * benchtests/bench-strcpy.c: Likewise.
2124 * benchtests/bench-strcpy_chk.c: Likewise.
2125 * benchtests/bench-strlen.c: Likewise.
2126 * benchtests/bench-strncasecmp.c: Likewise.
2127 * benchtests/bench-strncat.c: Likewise.
2128 * benchtests/bench-strncmp.c: Likewise.
2129 * benchtests/bench-strncpy.c: Likewise.
2130 * benchtests/bench-strnlen.c: Likewise.
2131 * benchtests/bench-strpbrk.c: Likewise.
2132 * benchtests/bench-strrchr.c: Likewise.
2133 * benchtests/bench-strspn.c: Likewise.
2134 * benchtests/bench-strstr.c: Likewise.
2135
cae16d66
WN
21362013-09-04 Will Newton <will.newton@linaro.org>
2137
2138 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2139
ffa3cd7f
JM
21402013-09-03 Joseph Myers <joseph@codesourcery.com>
2141
2142 [BZ #15427]
2143 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2144 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2145 * math/libm-test.inc (lgamma_test_data): Add more tests.
2146 * sysdeps/i386/fpu/libm-test-ulps: Update.
2147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2148
8f02859f
OB
21492013-09-03 Ondřej Bílka <neleai@seznam.cz>
2150
2151 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2152 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2153 Add ifunc.
2154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2155 Add strcmp-sse2-unaligned
2156 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2157
18d43716
MF
21582013-09-02 Mike Frysinger <vapier@gentoo.org>
2159
2160 * Versions.def (libc): Add GLIBC_2.19.
2161
ac444012
MF
21622013-09-02 Mike Frysinger <vapier@gentoo.org>
2163
2164 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2165 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2166
b7835e32
JM
21672013-09-02 Joseph Myers <joseph@codesourcery.com>
2168
2169 [BZ #14155]
2170 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2171 intermediate calculations in recurrence.
2172 (__ieee754_ynf): Likewise.
2173 * math/libm-test.inc (jn_test_data): Do not allow spurious
2174 underflow exception. Add more tests.
2175 (yn_test_data): Add more tests.
2176 * sysdeps/i386/fpu/libm-test-ulps: Update.
2177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2178
8220f4f0
OB
21792013-09-02 Ondřej Bílka <neleai@seznam.cz>
2180
2181 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2182
f24a6d08
OB
21832013-08-30 Ondřej Bílka <neleai@seznam.cz>
2184
2185 * csu/init-first.c: Fix then/than typos.
2186 * locale/programs/ld-collate.c: Likewise.
2187 * locale/programs/linereader.h: Likewise.
2188 * manual/charset.texi: Likewise.
2189 * manual/filesys.texi: Likewise.
2190 * manual/stdio.texi: Likewise.
2191 * manual/string.texi: Likewise.
2192 * stdlib/fmtmsg.c: Likewise.
2193 * sysdeps/i386/stpncpy.S: Likewise.
2194 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2195 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2196 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2197 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2198
382466e0
OB
21992013-08-30 Ondřej Bílka <neleai@seznam.cz>
2200
2201 * elf/dl-open.c: Fix typos.
2202 * iconvdata/gbbig5.c: Likewise.
2203 * iconvdata/iso-2022-jp.c: Likewise.
2204 * iconv/gconv_int.h: Likewise.
2205 * iconv/loop.c: Likewise.
2206 * nis/rpcsvc/nis.h: Likewise.
2207 * resolv/ns_name.c: Likewise.
2208 * stdio-common/vfscanf.c: Likewise.
2209 * streams/stropts.h: Likewise.
2210 * sunrpc/rpc_thread.c: Likewise.
2211 * sysdeps/i386/strpbrk.S: Likewise.
2212 * sysdeps/ieee754/k_standard.c: Likewise.
2213 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2215 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2216 * sysdeps/mach/hurd/profil.c: Likewise.
2217 * sysdeps/s390/dl-procinfo.h: Likewise.
2218 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2219 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2220 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2221 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2222 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2223
0186c6e9
OB
22242013-08-30 Ondřej Bílka <neleai@seznam.cz>
2225
2226 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2227 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2228
d4e16af1
OB
22292013-08-29 Ondřej Bílka <neleai@seznam.cz>
2230
2231 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2232 aix specific files.
2233 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2234 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2235 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2236 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2237 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2238 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2239 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2240 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2241
88335980
TS
22422013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2243 Roland McGrath <roland@hack.frob.com>
2244
2245 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2246 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2247
ed479b02
ST
22482013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2249
2250 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2251 __executable_start symbol instead of _start.
2252
f1cc4c86
TS
22532013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2254
d821f07c
TS
2255 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2256 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2257 Move macros to...
2258 * sysdeps/gnu/ldsodefs.h: ... this new file.
2259
c54290cf
TS
2260 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2261 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2262 instead of ELFOSABI_LINUX.
2263
0007fc9b 2264 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2265 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2266 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2267 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2268 Likewise.
2269 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2270 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2271 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2272 Likewise.
2273 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2274 (ibm_extended_long_double): Add ieee_nan member.
2275 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2276 (do_test): New function.
2277
f1cc4c86
TS
2278 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2279 TEST_TRUNC.
2280 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2281 functions, renamed from truncdfsf_test, trunctfsf_test,
2282 trunctfdf_test.
2283 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2284 functions.
2285 (do_test): Run all these.
2286
6f65e668
OB
22872013-08-29 Ondřej Bílka <neleai@seznam.cz>
2288
2289 * argp/argp-help.c: Fix typos.
2290 * argp/argp-parse.c: Likewise.
2291 * debug/backtracesyms.c: Likewise.
2292 * elf/elf.h: Likewise.
2293 * malloc/malloc.c: Likewise.
2294 * nis/nis_print.c: Likewise.
2295 * resolv/res_comp.c: Likewise.
2296 * stdlib/stdlib.h: Likewise.
2297 * sunrpc/clnt_tcp.c: Likewise.
2298 * sunrpc/clnt_udp.c: Likewise.
2299 * sunrpc/clnt_unix.c: Likewise.
2300 * sysdeps/unix/bsd/ptsname.c: Likewise.
2301 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2302 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2304 Likewise.
2305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2306 Likewise.
2307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2308 Likewise.
6f65e668
OB
2309 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2310
3a309239
SP
23112013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2312
2313 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2315
3b813b29
MF
23162013-08-27 Mike Frysinger <vapier@gentoo.org>
2317
2318 [BZ #15897]
2319 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2320 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2321 ($(objpfx)bug-dl-leaf): New rule.
2322 ($(objpfx)bug-dl-leaf.so): Likewise.
2323 ($(objpfx)bug-dl-leaf.out): Likewise.
2324 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2325 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2326 * dlfcn/bug-dl-leaf.c: New test.
2327 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2328 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2329 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2330 (dlclose): Likewise.
2331 (dlmopen): Likewise.
2332
8cc3269f
RM
23332013-08-27 Roland McGrath <roland@hack.frob.com>
2334
7f9d0034
RM
2335 * include/netdb.h [!_ISOMAC]:
2336 Don't include <tls.h>.
2337 (h_errno, __libc_h_errno): Move declaration and macros out of
2338 [_LIBC_REENTRANT].
2339
fb431262
RM
2340 * include/resolv.h [_RESOLV_H_]:
2341 Don't include <tls.h>.
2342 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2343 * resolv/res_libc.c: Don't include <tls.h>.
2344 (_res): Use __attribute__ ((nocommon)) in place of
2345 __attribute__ ((section (".bss"))).
2346
bd81123a
RM
2347 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2348 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2349
c4e42566
RM
2350 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2351
f890a59b
RM
2352 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2353 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2354
2355 * resolv/res_mkquery.c: Include <sys/time.h>.
2356
5d1f0a09
RM
2357 * inet/ifreq.c: Moved to ...
2358 * sysdeps/unix/ifreq.c: ... here.
2359 * inet/ifreq.c: New file, true stub version.
2360
6fcf28b3
RM
2361 * socket/sa_len.c: New file.
2362 * socket/Makefile (aux): Add it.
2363 * sysdeps/unix/sysv/linux/Makefile
2364 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2365 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2366 and #include <socket/sa_len.c>.
2367 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2368 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2369
e041fb8b
RM
2370 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2371 * bits/socket.h: ... here.
2372
8cc3269f
RM
2373 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2374 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2375 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2376
5d228a43
AS
23772013-08-27 Andreas Schwab <schwab@suse.de>
2378
45b8accc
AS
2379 [BZ #15736]
2380 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2381 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2382 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2383 * string/test-strcasecmp.c (test_main): Run tests in several
2384 locales.
2385 * string/test-strncasecmp.c (test_main): Likewise.
2386
5d228a43
AS
2387 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2388 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2389 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2390 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2391 (__strncasecmp_ssse3) [PIC]: Likewise.
2392
59d112a4
RM
23932013-08-26 Roland McGrath <roland@hack.frob.com>
2394
53234cc3
RM
2395 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2396
59d112a4
RM
2397 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2398 instead of explicitly declaring xdecrypt.
2399 * nis/nss_nis/nis-publickey.c: Likewise.
2400
595aba70
SP
24012013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2402
2403 [BZ #15890]
2404 * nscd/aicache.c: Include res_hconf.h.
2405 (addhstaiX): Initialize res_hconf.
2406
ffabd393
AS
24072013-08-26 Andreas Schwab <schwab@suse.de>
2408
2409 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2410 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2411
e0a69f5c
SP
24122013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2413
2414 * nscd/aicache.c (addhstaiX): Fix indentation.
2415
8c12f01d
MF
24162013-08-25 Mike Frysinger <vapier@gentoo.org>
2417
2418 * configure.ac: Quote $build_pt_chown test.
2419 * configure: Regenerated.
2420
8fe89494
JM
24212013-08-23 Joseph Myers <joseph@codesourcery.com>
2422
2423 [BZ #15532]
2424 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2425 * math/s_cexpf.c (__cexpf): Likewise.
2426 * math/s_cexpl.c (__cexpl): Likewise.
2427 * math/libm-test.inc (cexp_test_data): Correct expected return
2428 value for NaN + i0. Add another test.
2429
75b181d6
DM
24302013-08-22 David S. Miller <davem@davemloft.net>
2431
2432 * po/ca.po: Update Catalan translation from translation project.
936241e4 2433 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2434
acd06bb1
JM
24352013-08-21 Joseph Myers <joseph@codesourcery.com>
2436
2437 [BZ #15797]
2438 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2439 is infinite, not alongside NaN test.
2440 * math/s_fdimf.c (__fdimf): Likewise.
2441 * math/s_fdiml.c (__fdiml): Likewise.
2442 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2443 errno is unchanged.
2444
c0c3f78a
OB
24452013-08-21 Ondřej Bílka <neleai@seznam.cz>
2446
2447 * argp/argp-help.c: Fix typos.
2448 * crypt/speeds.c: Likewise.
2449 * csu/check_fds.c: Likewise.
2450 * elf/dl-load.c: Likewise.
2451 * elf/dl-open.c: Likewise.
2452 * elf/reldep3.c: Likewise.
2453 * elf/reldep.c: Likewise.
2454 * elf/sprof.c: Likewise.
2455 * iconv/iconv_charmap.c: Likewise.
2456 * iconv/skeleton.c: Likewise.
2457 * iconv/strtab.c: Likewise.
2458 * io/lockf64.c: Likewise.
2459 * libio/libioP.h: Likewise.
2460 * resolv/gai_notify.c: Likewise.
2461 * resolv/ns_name.c: Likewise.
2462 * resolv/ns_samedomain.c: Likewise.
2463 * resolv/res_send.c: Likewise.
2464 * stdlib/random.c: Likewise.
2465 * sunrpc/rpc/xdr.h: Likewise.
2466 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2467 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2468 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2469 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2470 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2471 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2473 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2474 * sysdeps/mach/hurd/check_fds.c: Likewise.
2475 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2476 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2478 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2479 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2480 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2481 * sysdeps/pthread/aio_notify.c: Likewise.
2482 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2483 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2484 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2485 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2486 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2487
46ed1038
LD
24882013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2489
2490 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2491 version if bit_Slow_SSE4_2 is set.
2492 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2493 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2494
d400dcac
AZ
24952013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2496
2497 [BZ #15867]
2498 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2499 trampoline stack frame information.
2500 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2501 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2502 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2503 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2504 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2505 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2506 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2507 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2508 sa_flags value.
2509 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2510 interrupting a syscall and set with option SA_SIGINFO.
2511
42c8fdd8
JM
25122013-08-20 Joseph Myers <joseph@codesourcery.com>
2513
c980f2f4
JM
2514 [BZ #15531]
2515 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2516 argument is infinite.
2517 * math/s_cprojf.c (__cprojf): Likewise.
2518 * math/s_cprojl.c (__cprojl): Likewise.
2519 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2520 * math/libm-test.inc (cproj_test_data): Add more tests.
2521
0716c4fc
JM
2522 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2523
42c8fdd8
JM
2524 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2525 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2526 size. Use __ffs to determine corresponding shift.
2527
b31469d0
JM
25282013-08-20 Joseph Myers <joseph@codesourcery.com>
2529 Roland McGrath <roland@hack.frob.com>
2530
2531 * Makefile (INSTALL): Remove trailing blank lines from output of
2532 makeinfo.
2533
4e39af6e
AK
25342013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2535
2536 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2537 Align 32 bit compat elf_greg to 8 bytes.
2538
f315524e
AA
25392013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2540
2541 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2542
1326ba1a
SP
25432013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2544
2545 * string/strcoll_l.c (coll_seq): New structure.
2546 (get_next_seq_cached): New function.
2547 (get_next_seq): New function.
2548 (do_compare): New function.
2549 (STRCOLL): Use GNU style definition. Simplify implementation
2550 by using get_next_seq, get_next_seq_cached and do_compare.
2551
91ce4085
FW
25522013-08-16 Florian Weimer <fweimer@redhat.com>
2553
2554 [BZ #14699]
2555 CVE-2013-4237
2556 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2557 member.
2558 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2559 member.
2560 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2561 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2562 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2563 conditional.
2564 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2565 GETDENTS_64BIT_ALIGNED.
2566 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2567 * manual/filesys.texi (Reading/Closing Directory): Document
2568 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2569 strongly.
2570 * manual/conf.texi (Limits for Files): Add portability note to
2571 NAME_MAX, PATH_MAX.
2572 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2573
ca0a6bc4
AS
25742013-08-13 Andreas Schwab <schwab@suse.de>
2575
2576 [BZ #15749]
2577 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2578 of fabs.
2579 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2580 LDBL_MAX_EXP >= 16384]: Add tests for it.
2581
6c1fd795
DM
25822013-08-12 David S. Miller <davem@davemloft.net>
2583
2584 * version.h (RELEASE): Set to "development".
2585 (VERSION): Set to "2.18.90".
2586 * NEWS: Add 2.19 section.
2587
31ad488d
DM
25882013-08-03 David S. Miller <davem@davemloft.net>
2589
2590 * po/ko.po: Update Korean translation from translation project.
2591
db24e684
DM
25922013-08-01 David S. Miller <davem@davemloft.net>
2593
2594 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2595 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2596 Bilka.
2597
f723285b
DM
25982013-07-30 David S. Miller <davem@davemloft.net>
2599
2600 * po/fr.po: Update French translation from translation project.
2601
3cbc52db
DM
26022013-07-28 David S. Miller <davem@davemloft.net>
2603
30bbc0cc
DM
2604 * po/cs.po: Update Czech translation from translation project.
2605
3cbc52db
DM
2606 * po/sv.po: Update Swedish translation from translation project.
2607
d492e6d0
DM
26082013-07-27 David S. Miller <davem@davemloft.net>
2609
f1a7f492
DM
2610 * po/eo.po: Update Esperanto translation from translation project.
2611
90e62a4a
DM
2612 * po/vi.po: Update Vietnamese translation from translation project.
2613
d492e6d0
DM
2614 * po/de.po: Update German translation from translation project.
2615
d4baa62d
DM
26162013-07-26 David S. Miller <davem@davemloft.net>
2617
641aa7b4
DM
2618 * po/bg.po: Update Bulgarian translation from translation project.
2619
d4baa62d
DM
2620 * po/nl.po: Update Dutch translation from translation project.
2621 * po/pl.po: Update Polish translation from translation project.
2622 * po/ru.po: Update Russian translation from translation project.
2623
61a9dcb9
DM
26242013-07-24 David S. Miller <davem@davemloft.net>
2625
2626 * po/libc.pot: Update.
2627
7b1f8b58
AZ
26282013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2629
2630 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2631 variable page size.
2632 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2633 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2634 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2635
a8fc7a03
AK
26362013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2637
2638 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2639
e4608715
CD
26402013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2641 Andreas Schwab <schwab@suse.de>
2642 Roland McGrath <roland@hack.frob.com>
2643 Joseph Myers <joseph@codesourcery.com>
2644 Carlos O'Donell <carlos@redhat.com>
2645
2646 [BZ #15755]
2647 * config.h.in: Define HAVE_PT_CHOWN.
2648 * config.make.in (build-pt-chown): New variable.
2649 * configure.in (--enable-pt_chown): New configure option.
2650 * configure: Regenerate.
2651 * login/Makefile: Include Makeconfig. Build pt_chown only if
2652 build-pt-chown is enabled.
2653 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2654 pt_chown to fix pty ownership.
2655 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2656 CLOSE_ALL_FDS.
2657 * manual/install.texi (Configuring and compiling): Mention
2658 --enable-pt_chown. Add @findex for grantpt.
2659 * INSTALL: Regenerate.
2660
da2d62df
DM
26612013-07-20 David S. Miller <davem@davemloft.net>
2662
2663 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2664 difference between 32-bit and 64-bit.
2665
d7e06450
CD
26662013-07-15 Carlos O'Donell <carlos@redhat.com>
2667
2668 [BZ #15711]
2669 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2670 Avoid system header dependency with -ffreestanding.
2671 ($(objpfx)bits/syscall%d): Likewise.
2672
f959cfd7
DM
26732013-07-13 David S. Miller <davem@davemloft.net>
2674
2675 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2676 underflows from atanl/atan2l due to bug 15319.
2677 (casinh_test_data): Likewise.
2678
c61f8513
DM
26792013-07-07 David S. Miller <davem@davemloft.net>
2680
2681 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2682
72c90ed0
JA
26832013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2684
2685 * sysdeps/i386/fpu/libm-test-ulps: Update.
2686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2687
52dfbe13
SP
26882013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2689
2690 * configure.in (--enable-lock-elision): Fix message text.
2691 * INSTALL: Regenerate.
2692 * configure: Regenerate.
2693
3f169543
AZ
26942013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2695
2696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2697
521c6785
AJ
26982013-07-03 Andreas Jaeger <aj@suse.de>
2699
2700 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2701 define.
2702 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2703 (ptrace_peeksiginfo_args): Add.
2704 (__ptrace_peeksiginfo_flags): Add.
2705 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2706 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2707 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2708
d2cc15cb
AM
27092013-07-03 Allan McRae <allan@archlinux.org>
2710
2711 * sysdeps/i386/fpu/libm-test-ulps: Update.
2712
3aaeeca7
DM
27132013-07-02 David S. Miller <davem@davemloft.net>
2714
2715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2716
5314ed1a
MT
27172013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2718
2719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2720
67338156
JM
27212013-07-02 Joseph Myers <joseph@codesourcery.com>
2722
2723 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2725
1717da59
AK
27262013-07-02 Andi Kleen <ak@linux.intel.com>
2727
2728 * config.h.in (ENABLE_LOCK_ELISION): Add.
2729 * configure.in (--enable-lock-elision): Add option.
2730 * manual/install.texi: Document --enable lock elision.
2731 * configure: Regenerate
2732 * INSTALL: Regenerate.
2733
1c81621c
L
27342013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2735
2736 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2737 SSE4.2 strcasecmp for libc.a.
2738 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2739
77f01ab5
JM
27402013-07-02 Joseph Myers <joseph@codesourcery.com>
2741
2742 [BZ #13304]
2743 * soft-fp/op-common.h (_FP_FMA): New macro.
2744 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2745 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2746 (_FP_MUL_MEAT_1_imm): ... here.
2747 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2748 (_FP_MUL_MEAT_1_wide): ... here.
2749 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2750 (_FP_MUL_MEAT_1_hard): ... here.
2751 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2752 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2753 (_FP_MUL_MEAT_2_wide): ... here.
2754 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2755 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2756 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2757 (_FP_MUL_MEAT_2_gmp): ... here.
2758 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2759 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2760 (_FP_MUL_MEAT_4_wide): ... here.
2761 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2762 (_FP_MUL_MEAT_4_gmp): ... here.
2763 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2764 (_FP_WFRACBITS_DW_S): Likewise.
2765 (_FP_WFRACXBITS_DW_S): Likewise.
2766 (_FP_HIGHBIT_DW_S): Likewise.
2767 (FP_FMA_S): Likewise.
2768 (_FP_FRAC_HIGH_DW_S): Likewise.
2769 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2770 (_FP_WFRACBITS_DW_D): Likewise.
2771 (_FP_WFRACXBITS_DW_D): Likewise.
2772 (_FP_HIGHBIT_DW_D): Likewise.
2773 (FP_FMA_D): Likewise.
2774 (_FP_FRAC_HIGH_DW_D): Likewise.
2775 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2776 (_FP_WFRACBITS_DW_E): Likewise.
2777 (_FP_WFRACXBITS_DW_E): Likewise.
2778 (_FP_HIGHBIT_DW_E): Likewise.
2779 (FP_FMA_E): Likewise.
2780 (_FP_FRAC_HIGH_DW_E): Likewise.
2781 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2782 (_FP_WFRACBITS_DW_Q): Likewise.
2783 (_FP_WFRACXBITS_DW_Q): Likewise.
2784 (_FP_HIGHBIT_DW_Q): Likewise.
2785 (FP_FMA_Q): Likewise.
2786 (_FP_FRAC_HIGH_DW_Q): Likewise.
2787 * soft-fp/fmasf4.c: New file.
2788 * soft-fp/fmadf4.c: Likewise.
2789 * soft-fp/fmatf4.c: Likewise.
2790
6308fd9a
LD
27912013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2792
2793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2794 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2795 Silvermont.
2796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2797 macro.
2798 (index_Slow_SSE4_2): Likewise.
2799 (index_Prefer_PMINUB_for_stringop): Likewise.
2800 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2801 bit_Slow_SSE4_2 is set.
2802 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2803 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2804
89cd9569
RA
28052013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2806
2807 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2808 rtld_global._dl_hwcap2.
2809 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2810 POWER8.
2811 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2812 POWER8 feature descriptions defined in _dl_hwcap2.
2813 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2814 string handling for POWER8 feature bits.
2815 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2816 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2817 _dl_powerpc_cap_flags.
2818 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2819 * sysdeps/powerpc/rtld-global-offsets.sym
2820 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2821 _dl_hwcap2 in the rtld_global_ro structure.
2822
1ae8bfe0
RA
28232013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2824
2825 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2826 hardware capabilities in support of AT_HWCAP2.
2827 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2828 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2829 GLRO(dl_hwcap2).
2830 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2831 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2832 explicitly the unknown a_type display mechanism is used.
2833 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2834 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2835 struct member.
2836 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2837 to macro prototype for AT_HWCAP2 support.
2838 * sysdeps/i386/dl-procinfo.h: Likewise.
2839 * sysdeps/s390/dl-procinfo.h: Likewise.
2840 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2841 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2842 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2843 return -1 for unknown a_type display fallback.
2844 * sysdeps/sparc/dl-procinfo.h: Likewise.
2845 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2846 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2847
8fbec010
JM
28482013-06-28 Joseph Myers <joseph@codesourcery.com>
2849
2850 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2851 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2852
0432680e
PY
28532013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2854
2855 [BZ #12492]
2856 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2857 mprotect making __stack_prot writable.
2858
ce61a2ad
NF
28592013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2860 Joseph Myers <joseph@codesourcery.com>
2861
2862 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2863 as being properly aligned.
2864
f91f1c0f
MR
28652013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2866
3d0f5d0c
MR
2867 * dlfcn/modstatic5.c: New file.
2868 * dlfcn/tststatic5.c: New file.
2869 * dlfcn/Makefile (tests): Add tststatic5.
2870 (tests-static): Likewise.
2871 (modules-names): Add modstatic5.
2872 (tststatic5-ENV): New variable.
2873 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2874
f91f1c0f
MR
2875 [BZ #15022]
2876 * elf/dl-support.c (_dl_main_map): New variable.
2877 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2878 (_dl_nns, _dl_load_adds): Set to 1.
2879 (_dl_initial_searchlist): Refer to _dl_main_map.
2880 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2881 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2882 call to _dl_get_origin.
2883 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2884 around call_map.
2885 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2886 * dlfcn/modstatic3.c: New file.
2887 * dlfcn/tststatic3.c: New file.
2888 * dlfcn/tststatic4.c: New file.
2889 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2890 (tests-static): Likewise.
2891 (modules-names): Add modstatic3.
2892 (tststatic3-ENV, tststatic4-ENV): New variables.
2893 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2894 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2895
cbe7d24b
JM
28962013-06-26 Joseph Myers <joseph@codesourcery.com>
2897
2898 * configure.in (CC): Require GCC version 4.4 or later.
2899 * configure: Regenerated.
2900 * manual/install.texi (Tools for Compilation): Update GCC version
2901 requirement.
2902 * INSTALL: Regenerated.
2903
11b8a0e1
LD
29042013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2905
2906 [BZ #15674]
bb5bb87c
L
2907 * string/test-memcmp.c (check2): New.
2908 (main): Call check2.
2909
11b8a0e1
LD
2910 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2911
b0037103
MR
29122013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2913
2914 [BZ #15022]
2915 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2916 over to...
2917 (dl_open_worker) [!SHARED]: ... here.
2918
c18c701d
RA
29192013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2920
2921 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2922
1d17fa5f
RH
29232013-06-25 Richard Henderson <rth@redhat.com>
2924
2925 * locale/programs/locarchive.c: Include <libc-internal.h>
2926
8fcb833a
JM
29272013-06-25 Joseph Myers <joseph@codesourcery.com>
2928
2929 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2930 trailing whitespace removed.
2931
17db6e8d
MF
29322013-06-24 Mike Frysinger <vapier@gentoo.org>
2933
2934 [BZ #10283]
17db6e8d
MF
2935 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2936 * locale/programs/locarchive.c: Include libc-mmap.h.
2937 (prepare_address_space): Take two new outputs (the mmap base and len).
2938 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2939 values.
2940 (create_archive): Declare new mmap base and len values for
2941 prepare_address_space, and store the result in ah.
2942 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2943 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2944 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2945 Declare new mmap base and len values for
2946 prepare_address_space, and store the result in new_ah.
2947 (open_archive): Declare new mmap base and len values for
2948 prepare_address_space, and store the result in ah.
2949 (close_archive): If ah->mmap_base is not NULL, use that and
2950 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2951 * sysdeps/generic/libc-mmap.h: New file.
2952
d605071e
MF
29532013-06-24 Mike Frysinger <vapier@gentoo.org>
2954
2955 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2956 (ALIGN_UP): Likewise.
2957 (PTR_ALIGN_DOWN): Likewise.
2958 (PTR_ALIGN_UP): Likewise.
2959
2f063a6e
RA
29602013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2961
2962 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2963 entry mapped to PPC_PLATFORM_POWER8.
2964 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2965 POWER8.
2966 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2967 (_dl_string_platform): Add case for exporting platform position for
2968 POWER8.
2969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2970 search path to sysdeps/powerpc/powerpc32/power8 directory.
2971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2972 search path to sysdeps/powerpc/powerpc64/power8 directory.
2973 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2974 power7 directories.
2975 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2976 power7 directories.
2977
a31ee4b3
SP
29782013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2979
a74ca98f
SP
2980 * INSTALL: Regenerate.
2981
a31ee4b3
SP
2982 * nscd/connections.c (nscd_init): Fix comment.
2983
695c378f
JM
29842013-06-22 Joseph Myers <joseph@codesourcery.com>
2985
d8412221
JM
2986 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2987
695c378f
JM
2988 [BZ #15667]
2989 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2990 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2991
d1d54715
MR
29922013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2993
2994 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2995 DL_DST_REQ_STATIC.
2996 (DL_DST_REQ_STATIC): Remove macro.
2997
8fdda7af
JM
29982013-06-21 Joseph Myers <joseph@codesourcery.com>
2999
3000 [BZ #7006]
3001 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3002 with a shift of 0 bits.
3003
f3bc5e5a
MR
30042013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3005
3006 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3007 $(tststatic-ENV).
3008
be09e8c9
KK
30092013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3010
3011 [BZ #15655]
3012 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3013
85c2e611
AZ
30142013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3015
3016 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3017 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3018 accepts -fno-tree-loop-distribute-patterns.
3019 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3020 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3021 recursive call.
3022 * string/memset.c (memset): Likewise.
3023 * string/test-memmove.c (simple_memmove): Disable loop transformation
3024 to library calls.
3025 * string/test-memset.c (simple_memset): Likewise.
3026 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3027 * benchtests/bench-memset.c (simple_memset): Likewise.
3028 * configure: Regenerated.
3029
c91e0825
JM
30302013-06-20 Joseph Myers <joseph@codesourcery.com>
3031
b8c792af
JM
3032 * math/test-misc.c (main): Ignore fesetround failure when failures
3033 of subsequent rounding tests would be ignored.
3034
c91e0825
JM
3035 [BZ #15654]
3036 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3037 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3038 * math/fegetenv.c (__fegetenv): Return 0.
3039 * math/fegetexcept.c (fegetexcept): Return 0.
3040 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3041 FE_TONEAREST.
3042 * math/feholdexcpt.c (feholdexcept): Return 0.
3043 * math/fesetenv.c (__fesetenv): Return 0.
3044 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3045 argument FE_TONEAREST.
3046 * math/feupdateenv.c (__feupdateenv): Return 0.
3047 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3048
bfcacbde
RM
30492013-06-18 Roland McGrath <roland@hack.frob.com>
3050
3051 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3052 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3053 ($(objpfx)rtld-%.os rules): Use them.
3054
e55a9b25
AZ
30552013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3056
3057 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3058 fields.
3059
346d65b3
RM
30602013-06-17 Roland McGrath <roland@hack.frob.com>
3061
12086fb4
RM
3062 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3063 length of target pattern, then descending length of dependency pattern.
3064 * configure.in (AWK): Require gawk 3.1.2 or newer.
3065 * manual/install.texi (Tools for Compilation): Say that we do.
3066 * configure: Regenerated.
3067
346d65b3
RM
3068 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3069 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3070 * scripts/sysd-rules.awk: ... this new script.
3071 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3072 than a glob-style pattern.
3073
1a846317
JM
30742013-06-17 Joseph Myers <joseph@codesourcery.com>
3075
3076 * math/test-misc.c (main): Do not treat incorrectly rounded
3077 conversions as failure unless ROUNDING_TESTS passes.
3078
8fc75e6f
JM
30792013-06-15 Joseph Myers <joseph@codesourcery.com>
3080
3711a167
JM
3081 [BZ #15631]
3082 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3083 restore exception state around main square root computation, then
3084 check for inexactness explicitly.
3085
8fc75e6f
JM
3086 * math/libm-test.inc (fma_test_data): Add another test.
3087
61dd6208
SP
30882013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3089
adf23d2c
SP
3090 * manual/threads.texi (Non-POSIX Extensions): New document
3091 node. Document pthread_getattr_default_np and
3092 pthread_setattr_default_np.
3093
61dd6208
SP
3094 * Versions.def (libpthread): Add GLIBC_2.18.
3095 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3097 Likewise.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3099 Likewise.
3100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3101 Likewise.
3102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3103 Likewise.
3104 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3105 Likewise.
3106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3107 Likewise.
3108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3109 Likewise.
3110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3111 Likewise.
3112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3113 Likewise.
3114
d086fc7b
LD
31152013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3116
3117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3118 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3119
747ef469
SP
31202013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3121 H.J. Lu <hjl.tools@gmail.com>
3122
3123 [BZ #15627]
3124 * sysdeps/x86_64/rtld-memset.c: Remove file.
3125 * sysdeps/x86_64/rtld-memset.S: New file.
3126
1b2feed2
JM
31272013-06-14 Joseph Myers <joseph@codesourcery.com>
3128
3129 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3130 (test_in_one_mode): Take arguments for whether the rounding mode
3131 is supported for each floating-point type.
3132 (do_test): Pass new arguments to test_in_one_mode using
3133 ROUNDING_TESTS.
3134
a58ad3f8
RM
31352013-06-13 Roland McGrath <roland@hack.frob.com>
3136
3137 * posix/tst-waitid.c (do_test): Distinguish different instances of
3138 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3139 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3140 before entering the kernel for waitpid.
3141
c204ab28
SP
31422013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3143
3144 * NEWS: Fix note on clock function precision. Text by Roland
3145 McGrath.
3146
f4a29fba
RM
31472013-06-13 Roland McGrath <roland@hack.frob.com>
3148
3149 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3150 it into place only when and if the sanity check passes.
3151
1f24b9ad
JM
31522013-06-13 Joseph Myers <joseph@codesourcery.com>
3153
3154 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3155 output for whether conversion result is exact. Take argument
3156 indicating whether type is IBM long double.
3157 (round_for_all): Change need_exact field to ibm_ld.
3158 * stdlib/tst-strtod-round.c (struct exactness): New type.
3159 (struct test): Change bool ld_ok field to struct exactness exact.
3160 (TEST): Update all definitions for change to field.
3161 (tests): Regenerate array contents.
3162 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3163 field value. Check for IBM long double here.
3164 (do_test): Update calls to test_in_one_mode.
3165
58206c68
SP
31662013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3167
3168 [BZ #12515]
3169 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3170 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3171
2d6f4c5b 31722013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3173
3174 [BZ #15605]
3175 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3176 generated by the compiler on loop optimizations.
3177 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3178 general definitions.
3179
94f2c076
JM
31802013-06-12 Joseph Myers <joseph@codesourcery.com>
3181
3182 * math/bug-nextafter.c: Include <math-tests.h>.
3183 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3184 the relevant type.
3185 * math/bug-nexttoward.c: Include <math-tests.h>.
3186 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3187 the relevant type.
3188 * math/test-misc.c: Include <math-tests.h>.
3189 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3190 the relevant type.
3191
e0e50a0a
AJ
31922013-06-12 Andreas Jaeger <aj@suse.de>
3193
3194 * po/ia.po: Update Interlingua translation from translation
3195 project.
3196
25061094
SP
31972013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3198
3199 * include/fenv.h: Include stdbool.h.
3200 (struct rm_ctx): New structure.
3201 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3202 Define macro.
3203 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3204 (SET_RESTORE_ROUNDF): Likewise.
3205 (SET_RESTORE_ROUNDL): Likewise.
3206 (SET_RESTORE_ROUND_NOEX): Likewise.
3207 (SET_RESTORE_ROUND_NOEXF): Likewise.
3208 (SET_RESTORE_ROUND_NOEXL): Likewise.
3209 (SET_RESTORE_ROUND_53BIT): Likewise.
3210 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3211 (libc_feresetround_noexf_ctx): Likewise.
3212 (libc_feresetround_noexl_ctx): Likewise.
3213 (libc_feholdsetround_53bit_ctx): Likewise.
3214 (libc_feresetround_53bit_ctx): Likewise.
3215 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3216 (libc_feholdexcept_setround_sse_ctx): New function.
3217 (libc_fesetenv_sse_ctx): Likewise.
3218 (libc_feupdateenv_sse_ctx): Likewise.
3219 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3220 (libc_feholdexcept_setround_387_ctx): Likewise.
3221 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3222 (libc_feholdsetround_387_prec_ctx): Likewise.
3223 (libc_feholdsetround_387_ctx): Likewise.
3224 (libc_feholdsetround_387_53bit_ctx): Likewise.
3225 (libc_feholdsetround_sse_ctx): Likewise.
3226 (libc_feresetround_sse_ctx): Likewise.
3227 (libc_feresetround_387_ctx): Likewise.
3228 (libc_feupdateenv_387_ctx): Likewise.
3229 (libc_feholdexcept_setroundf_ctx): Define macro.
3230 (libc_fesetenvf_ctx): Likewise.
3231 (libc_feupdateenvf_ctx): Likewise.
3232 (libc_feholdsetroundf_ctx): Likewise.
3233 (libc_feresetroundf_ctx): Likewise.
3234 (libc_feholdexcept_setround_ctx): Likewise.
3235 (libc_fesetenv_ctx): Likewise.
3236 (libc_feupdateenv_ctx): Likewise.
3237 (libc_feholdsetround_ctx): Likewise.
3238 (libc_feresetround_ctx): Likewise.
3239 (libc_feholdexcept_setroundl_ctx): Likewise.
3240 (libc_feupdateenvl_ctx): Likewise.
3241 (libc_feholdsetroundl_ctx): Likewise.
3242 (libc_feresetroundl_ctx): Likewise.
3243 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3244 (libc_feresetround_53bit_ctx): Likewise.
3245
59b30555
SP
32462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3247
3248 * locale/iso-639.def: Convert to UTF-8.
3249
f1d73d30
JM
32502013-06-11 Joseph Myers <joseph@codesourcery.com>
3251
3252 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3253 (EXCEPTION_TESTS_double): Likewise.
3254 (EXCEPTION_TESTS_long_double): Likewise.
3255 (EXCEPTION_TESTS): Likewise.
3256 * math/libm-test.inc (test_exceptions): Only test exceptions if
3257 EXCEPTION_TESTS (FLOAT).
3258
94aca5e7
SP
32592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3260
3261 * benchtests/Makefile (string-bench): Add strcpy_chk and
3262 stpcpy_chk.
3263 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3264 * benchtests/bench-stpcpy_chk.c: New file.
3265 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3266 * benchtests/bench-strcpy_chk.c: New file.
3267 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3268 code.
3269 (do_test): Likewise.
3270
fac0c5f2
RA
32712013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3272
3273 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3274 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3275 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3276 with tabs where appropriate.
3277 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3278 dl-procinfo.h.
3279 [PPC_PLATFORM_PPC440]: Likewise.
3280 [PPC_PLATFORM_PPC464]: Likewise.
3281 [PPC_PLATFORM_PPC476]: Likewise.
3282 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3283 ppc464, and ppc476 platform strings merging from ports/
3284 dl-procinfo.h.
3285
f22bc486
AS
32862013-06-11 Andreas Schwab <schwab@suse.de>
3287
3288 [BZ #14991]
3289 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3290 (from_ucs4_idx): Regenerate.
3291 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3292 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3293 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3294 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3295 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3296 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3297 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3298 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3299 from FROM_LOOP and TO_LOOP specific macros.
3300 (BODY): Handle combining characters.
3301 * iconvdata/BIG5HKSCS.irreversible: Update.
3302 * iconvdata/BIG5HKSCS.precomposed: New file.
3303 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3304 characters.
3305 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3306
c1f75dc3
SP
33072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3308
4eacded2
SP
3309 * include/sys/time.h: Fix indentation and add copyright header.
3310
fec799f8
SP
3311 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3312 (do_test): Likewise.
3313 * string/test-memchr.c (do_one_test): Likewise.
3314 (do_test): Likewise.
3315 * string/test-memcmp.c (do_one_test): Likewise.
3316 (do_test): Likewise.
3317 * string/test-memcpy.c (do_one_test): Likewise.
3318 (do_test): Likewise.
3319 * string/test-memmem.c (do_one_test): Likewise.
3320 (do_test): Likewise.
3321 (do_random_tests): Likewise.
3322 * string/test-memmove.c (do_one_test): Likewise.
3323 (do_test): Likewise.
3324 * string/test-memset.c (do_one_test): Likewise.
3325 (do_test): Likewise.
3326 * string/test-rawmemchr.c (do_one_test): Likewise.
3327 (do_test): Likewise.
3328 * string/test-strcasecmp.c (do_one_test): Likewise.
3329 (do_test): Likewise.
3330 * string/test-strcasestr.c (do_one_test): Likewise.
3331 (do_test): Likewise.
3332 * string/test-strcat.c (do_one_test): Likewise.
3333 (do_test): Likewise.
3334 * string/test-strchr.c (do_one_test): Likewise.
3335 (do_test): Likewise.
3336 * string/test-strcmp.c (do_one_test): Likewise.
3337 (do_test): Likewise.
3338 * string/test-strcpy.c (do_one_test): Likewise.
3339 (do_test): Likewise.
3340 * string/test-string.h: Likewise.
3341 (test_init): Likewise.
3342 * string/test-strlen.c (do_one_test): Likewise.
3343 (do_test): Likewise.
3344 * string/test-strncasecmp.c (do_one_test): Likewise.
3345 (do_test): Likewise.
3346 * string/test-strncat.c (do_one_test): Likewise.
3347 (do_test): Likewise.
3348 * string/test-strncmp.c (do_one_test): Likewise.
3349 (do_test_limit): Likewise.
3350 (do_test): Likewise.
3351 * string/test-strncpy.c (do_one_test): Likewise.
3352 (do_test): Likewise.
3353 * string/test-strnlen.c (do_one_test): Likewise.
3354 (do_test): Likewise.
3355 * string/test-strpbrk.c (do_one_test): Likewise.
3356 (do_test): Likewise.
3357 * string/test-strrchr.c (do_one_test): Likewise.
3358 (do_test): Likewise.
3359 * string/test-strspn.c (do_one_test): Likewise.
3360 (do_test): Likewise.
3361 * string/test-strstr.c (do_one_test): Likewise.
3362 (do_test): Likewise.
3363
97020474
SP
3364 * benchtests/Makefile (string-bench): Add string benchmarks.
3365 * benchtests/bench-bcopy-ifunc.c: New file.
3366 * benchtests/bench-bcopy.c: New file.
3367 * benchtests/bench-bzero-ifunc.c: New file.
3368 * benchtests/bench-bzero.c: New file.
3369 * benchtests/bench-memccpy-ifunc.c: New file.
3370 * benchtests/bench-memccpy.c: New file.
3371 * benchtests/bench-memchr-ifunc.c: New file.
3372 * benchtests/bench-memchr.c: New file.
3373 * benchtests/bench-memcmp-ifunc.c: New file.
3374 * benchtests/bench-memcmp.c: New file.
3375 * benchtests/bench-memmem-ifunc.c: New file.
3376 * benchtests/bench-memmem.c: New file.
3377 * benchtests/bench-memmove-ifunc.c: New file.
3378 * benchtests/bench-memmove.c: New file.
3379 * benchtests/bench-mempcpy-ifunc.c: New file.
3380 * benchtests/bench-mempcpy.c: New file.
3381 * benchtests/bench-memset-ifunc.c: New file.
3382 * benchtests/bench-memset.c: New file.
3383 * benchtests/bench-rawmemchr-ifunc.c: New file.
3384 * benchtests/bench-rawmemchr.c: New file.
3385 * benchtests/bench-stpcpy-ifunc.c: New file.
3386 * benchtests/bench-stpcpy.c: New file.
3387 * benchtests/bench-stpncpy-ifunc.c: New file.
3388 * benchtests/bench-stpncpy.c: New file.
3389 * benchtests/bench-strcasecmp-ifunc.c: New file.
3390 * benchtests/bench-strcasecmp.c: New file.
3391 * benchtests/bench-strcasestr-ifunc.c: New file.
3392 * benchtests/bench-strcasestr.c: New file.
3393 * benchtests/bench-strcat-ifunc.c: New file.
3394 * benchtests/bench-strcat.c: New file.
3395 * benchtests/bench-strchr-ifunc.c: New file.
3396 * benchtests/bench-strchr.c: New file.
3397 * benchtests/bench-strchrnul-ifunc.c: New file.
3398 * benchtests/bench-strchrnul.c: New file.
3399 * benchtests/bench-strcmp-ifunc.c: New file.
3400 * benchtests/bench-strcmp.c: New file.
3401 * benchtests/bench-strcpy-ifunc.c: New file.
3402 * benchtests/bench-strcpy.c: New file.
3403 * benchtests/bench-strcspn-ifunc.c: New file.
3404 * benchtests/bench-strcspn.c: New file.
3405 * benchtests/bench-strlen-ifunc.c: New file.
3406 * benchtests/bench-strlen.c: New file.
3407 * benchtests/bench-strncasecmp-ifunc.c: New file.
3408 * benchtests/bench-strncasecmp.c: New file.
3409 * benchtests/bench-strncat-ifunc.c: New file.
3410 * benchtests/bench-strncat.c: New file.
3411 * benchtests/bench-strncmp-ifunc.c: New file.
3412 * benchtests/bench-strncmp.c: New file.
3413 * benchtests/bench-strncpy-ifunc.c: New file.
3414 * benchtests/bench-strncpy.c: New file.
3415 * benchtests/bench-strnlen-ifunc.c: New file.
3416 * benchtests/bench-strnlen.c: New file.
3417 * benchtests/bench-strpbrk-ifunc.c: New file.
3418 * benchtests/bench-strpbrk.c: New file.
3419 * benchtests/bench-strrchr-ifunc.c: New file.
3420 * benchtests/bench-strrchr.c: New file.
3421 * benchtests/bench-strspn-ifunc.c: New file.
3422 * benchtests/bench-strspn.c: New file.
3423 * benchtests/bench-strstr-ifunc.c: New file.
3424 * benchtests/bench-strstr.c: New file.
3425
c1f75dc3
SP
3426 * benchtests/Makefile: Disable parallel execution of targets.
3427 (string-bench): Add memcpy.
3428 (benchset): New variable to store a list of benchmark sets.
3429 (bench-func): Renamed from bench.
3430 (bench-set): New target.
3431 (bench): Depend on bench-func and bench-set.
3432 * benchtests/README: Add section on benchmark sets.
3433 * benchtests/bench-memcpy-ifunc.c: New file.
3434 * benchtests/bench-memcpy.c: New file.
3435 * benchtests/bench-string.h: New file.
3436
50fd745b
AS
34372013-06-11 Andreas Schwab <schwab@suse.de>
3438
3439 [BZ #15577]
3440 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3441 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3442 values in the triple.
3443 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3444 terminator in the group key.
3445
3ee7e9fe
AJ
34462013-06-11 Andreas Jaeger <aj@suse.de>
3447
3448 * po/zh_TW.po: Update Chinese (traditional) translation from
3449 translation project.
3450
89fb6835
SP
34512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3452
3453 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3454 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3455 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3456 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3457 (clock_getcpuclockid): Likewise.
3458 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3459 Add weak_alias and libc_hidden_def.
3460 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3461 * rt/clock_gettime.c (clock_gettime): Rename to
3462 __clock_gettime. Add weak_alias and libc_hidden_def.
3463 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3464 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3465 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3466 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3467 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3468 Likewise.
3469 * rt/clock_settime.c (clock_settime): Rename to
3470 __clock_settime. Add weak_alias and libc_hidden_def.
3471 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3472
0efa6f8b
JM
34732013-06-10 Joseph Myers <joseph@codesourcery.com>
3474
b8c61b4b
JM
3475 * mach/err_boot.sub: Remove trailing whitespace.
3476 * mach/err_ipc.sub: Likewise.
3477 * mach/err_mach.sub: Likewise.
3478
0efa6f8b
JM
3479 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3480 (ROUNDING_TESTS_double): Likewise.
3481 (ROUNDING_TESTS_long_double): Likewise.
3482 (ROUNDING_TESTS): Likewise.
3483 * math/libm-test.inc: Include <math-tests.h>.
3484 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3485 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3486 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3487 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3488
50b818bf
SP
34892013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3490
3491 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3492 of assigning.
3493
60d2f8f3
JM
34942013-06-08 Joseph Myers <joseph@codesourcery.com>
3495
4902d2c3
JM
3496 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3497 otherwise empty TRANS lines.
3498 * sysdeps/gnu/errlist.c: Regenerated.
3499
60d2f8f3
JM
3500 * catgets/gencat.c (error_print): Use (void) in function
3501 definition.
3502 * crypt/crypt_util.c (__init_des): Likewise.
3503 * crypt/speeds.c (Stop): Likewise.
3504 (main): Likewise.
3505 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3506 * inet/ruserpass.c (token): Likewise.
3507 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3508 * intl/localealias.c (extend_alias_table): Likewise.
3509 * intl/plural-exp.c (init_germanic_plural): Likewise.
3510 * libio/fcloseall.c (__fcloseall): Likewise.
3511 * libio/genops.c (_IO_flush_all): Likewise.
3512 (_IO_flush_all_linebuffered): Likewise.
3513 (_IO_cleanup): Likewise.
3514 (_IO_iter_begin): Likewise.
3515 (_IO_iter_end): Likewise.
3516 (_IO_list_lock): Likewise.
3517 (_IO_list_unlock): Likewise.
3518 (_IO_list_resetlock): Likewise.
3519 * libio/getchar.c (getchar): Likewise.
3520 * libio/getchar_u.c (getchar_unlocked): Likewise.
3521 * libio/getwchar.c (getwchar): Likewise.
3522 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3523 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3524 * login/getpt.c (__getpt): Likewise.
3525 * login/tst-utmp.c (main): Likewise.
3526 * malloc/hooks.c (__malloc_check_init): Likewise.
3527 * malloc/malloc.c (__malloc_stats): Likewise.
3528 * malloc/mtrace.c (tr_break): Likewise.
3529 (mtrace): Likewise.
3530 (muntrace): Likewise.
3531 * misc/fstab.c (endfsent): Likewise.
3532 * misc/getclktck.c (__getclktck): Likewise.
3533 * misc/getdtsz.c (__getdtablesize): Likewise.
3534 * misc/gethostid.c (gethostid): Likewise.
3535 * misc/getpagesize.c (__getpagesize): Likewise.
3536 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3537 (__get_nprocs): Likewise.
3538 (__get_phys_pages): Likewise.
3539 (__get_avphys_pages): Likewise.
3540 * misc/getttyent.c (getttyent): Likewise.
3541 (setttyent): Likewise.
3542 (endttyent): Likewise.
3543 * misc/getusershell.c (getusershell): Likewise.
3544 (endusershell): Likewise.
3545 (setusershell): Likewise.
3546 (initshells): Likewise.
3547 * misc/hsearch.c (__hdestroy): Likewise.
3548 * misc/sync.c (sync): Likewise.
3549 * misc/syslog.c (closelog_internal): Likewise.
3550 (closelog): Likewise.
3551 * misc/ttyslot.c (ttyslot): Likewise.
3552 * misc/vhangup.c (vhangup): Likewise.
3553 * posix/fork.c (__fork): Likewise.
3554 * posix/getegid.c (__getegid): Likewise.
3555 * posix/geteuid.c (__geteuid): Likewise.
3556 * posix/getgid.c (__getgid): Likewise.
3557 * posix/getpid.c (__getpid): Likewise.
3558 * posix/getppid.c (__getppid): Likewise.
3559 * posix/getuid.c (__getuid): Likewise.
3560 * posix/pause.c (pause): Likewise.
3561 * posix/setpgrp.c (setpgrp): Likewise.
3562 * posix/setsid.c (__setsid): Likewise.
3563 * posix/test-vfork.c (noop): Likewise.
3564 * resolv/gethnamaddr.c (_endhtent): Likewise.
3565 (_gethtent): Likewise.
3566 (ht_endhostent): Likewise.
3567 (gethostent): Likewise.
3568 (dns_service): Likewise.
3569 * stdlib/drand48.c (drand48): Likewise.
3570 * stdlib/lrand48.c (lrand48): Likewise.
3571 * stdlib/mrand48.c (mrand48): Likewise.
3572 * stdlib/rand.c (rand): Likewise.
3573 * stdlib/random.c (__random): Likewise.
3574 * stdlib/setenv.c (clearenv): Likewise.
3575 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3576 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3577 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3578 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3579 (__get_nprocs): Likewise.
3580 (__get_phys_pages): Likewise.
3581 (__get_avphys_pages): Likewise.
3582 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3583 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3584 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3585 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3586 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3587 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3588 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3589 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3590 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3591 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3592 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3593 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3594 * sysdeps/posix/clock.c (clock): Likewise.
3595 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3596 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3597 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3598 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3599 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3600 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3601 (__get_nprocs_conf): Likewise.
3602 (__get_phys_pages): Likewise.
3603 (__get_avphys_pages): Likewise.
3604 * time/clock.c (clock): Likewise.
3605 * time/tzset.c (__tzname_max): Likewise.
3606
2e09a79a
JM
36072013-06-07 Joseph Myers <joseph@codesourcery.com>
3608
3609 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3610 (__bswap_32): Do not use "register".
3611 * crypt/crypt.c (_ufc_doit_r): Likewise.
3612 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3613 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3614 * gmon/gmon.c (__monstartup): Likewise.
3615 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3616 * hurd/hurdmalloc.c (more_memory): Likewise.
3617 (malloc): Likewise.
3618 (free): Likewise.
3619 (realloc): Likewise.
3620 (malloc_fork_prepare): Likewise.
3621 (malloc_fork_parent): Likewise.
3622 (malloc_fork_child): Likewise.
3623 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3624 (_svcauth_des): Likewise.
3625 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3626 * inet/inet_net.c (inet_network): Likewise.
3627 * inet/inet_netof.c (inet_netof): Likewise.
3628 * inet/rcmd.c (__validuser2_sa): Likewise.
3629 * io/fts.c (fts_open): Likewise.
3630 (fts_load): Likewise.
3631 (fts_close): Likewise.
3632 (fts_read): Likewise.
3633 (fts_children): Likewise.
3634 (fts_build): Likewise.
3635 (fts_stat): Likewise.
3636 (fts_sort): Likewise.
3637 (fts_alloc): Likewise.
3638 (fts_lfree): Likewise.
3639 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3640 (_IO_file_xsgetn): Likewise.
3641 (_IO_file_xsgetn_mmap): Likewise.
3642 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3643 (_IO_cookie_write): Likewise.
3644 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3645 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3646 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3647 * malloc/obstack.c (_obstack_begin): Likewise.
3648 (_obstack_begin_1): Likewise.
3649 (_obstack_newchunk): Likewise.
3650 (_obstack_allocated_p): Likewise.
3651 (obstack_free): Likewise.
3652 (_obstack_memory_used): Likewise.
3653 * misc/getttyent.c (getttynam): Likewise.
3654 (getttyent): Likewise.
3655 (skip): Likewise.
3656 (value): Likewise.
3657 * misc/getusershell.c (initshells): Likewise.
3658 * misc/syslog.c (__vsyslog_chk): Likewise.
3659 * misc/ttyslot.c (ttyslot): Likewise.
3660 * nis/nis_hash.c (__nis_hash): Likewise.
3661 * posix/fnmatch_loop.c (FCT): Likewise.
3662 * posix/getconf.c (print_all): Likewise.
3663 (main): Likewise.
3664 * posix/getopt.c (exchange): Likewise.
3665 * posix/glob.c (globfree): Likewise.
3666 (prefix_array): Likewise.
3667 (__glob_pattern_type): Likewise.
3668 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3669 (NS_GET32): Likewise.
3670 (NS_PUT16): Likewise.
3671 (NS_PUT32): Likewise.
3672 * resolv/gethnamaddr.c (getanswer): Likewise.
3673 (gethostbyname2): Likewise.
3674 (gethostbyaddr): Likewise.
3675 (_gethtent): Likewise.
3676 (_gethtbyname2): Likewise.
3677 (_gethtbyaddr): Likewise.
3678 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3679 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3680 * resolv/res_init.c (__res_vinit): Likewise.
3681 (net_mask): Likewise.
3682 * resolv/res_mkquery.c (outchar): Likewise.
3683 (PRINT): Likewise.
3684 * stdio-common/printf_fp.c (outchar): Likewise.
3685 (PRINT): Likewise.
3686 * stdio-common/printf_fphex.c (outchar): Likewise.
3687 (PRINT): Likewise.
3688 * stdio-common/printf_size.c (outchar): Likewise.
3689 (PRINT): Likewise.
3690 * stdio-common/test_rdwr.c (main): Likewise.
3691 * stdio-common/tfformat.c (matches): Likewise.
3692 * stdio-common/vfprintf.c (outchar): Likewise.
3693 (printf_unknown): Likewise.
3694 (buffered_vfprintf): Likewise.
3695 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3696 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3697 (ReadFile): Likewise.
3698 * stdlib/qsort.c (SWAP): Likewise.
3699 (_quicksort): Likewise.
3700 * stdlib/setenv.c (__add_to_environ): Likewise.
3701 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3702 * stdlib/strtol_l.c (__strtol_l): Likewise.
3703 * stdlib/tst-strtod.c (main): Likewise.
3704 * stdlib/tst-strtol.c (main): Likewise.
3705 * stdlib/tst-strtoll.c (main): Likewise.
3706 * string/bits/string2.h (__strcmp_cc): Likewise.
3707 (__strcmp_cg): Likewise.
3708 (__strcspn_c1): Likewise.
3709 (__strcspn_c2): Likewise.
3710 (__strcspn_c3): Likewise.
3711 (__strspn_c1): Likewise.
3712 (__strspn_c2): Likewise.
3713 (__strspn_c3): Likewise.
3714 (__strsep_1c): Likewise.
3715 (__strsep_2c): Likewise.
3716 (__strsep_3c): Likewise.
3717 * string/memccpy.c (__memccpy): Likewise.
3718 * string/stpcpy.c (__stpcpy): Likewise.
3719 * string/strcmp.c (strcmp): Likewise.
3720 * string/strrchr.c (strrchr): Likewise.
3721 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3722 Likewise.
3723 * sysdeps/mach/hurd/getcwd.c
3724 (_hurd_canonicalize_directory_name_internal): Likewise.
3725 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3726 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3727 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3728 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3729 Likewise, in both definitions.
3730 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3731 definitions.
3732 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3733 64] (__bswap_64): Likewise.
3734 * time/test_time.c (main): Likewise.
3735 * time/tzfile.c (__tzfile_read): Likewise.
3736 (__tzfile_compute): Likewise.
3737 * time/tzset.c (__tzset_parse_tz): Likewise.
3738 (tzset_internal): Likewise.
3739 (compute_change): Likewise.
3740 * wcsmbs/wcscat.c (__wcscat): Likewise.
3741 * wcsmbs/wcschr.c (wcschr): Likewise.
3742 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3743 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3744 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3745 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3746 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3747 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3748 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3749 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3750 * wcsmbs/wmemset.c (wmemset): Likewise.
3751
9e54314b
JM
37522013-06-06 Joseph Myers <joseph@codesourcery.com>
3753
3754 * scripts/config.guess: Update to version 2013-05-16.
3755 * scripts/config.sub: Update to version 2013-04-24.
3756 * scripts/install-sh: Update to version 2011-11-20.07.
3757 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3758 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3759
350635a5
OB
37602013-06-06 Ondřej Bílka <neleai@seznam.cz>
3761
3762 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3763 * elf/sln.c: Likewise.
3764 * hurd/hurd/ioctl.h: Likewise.
3765 * hurd/hurdmalloc.c: Likewise.
3766 * hurd/xattr.c: Likewise.
3767 * include/shlib-compat.h: Likewise.
3768 * inet/ruserpass.c: Likewise.
3769 * libio/iofgets_u.c: Likewise.
3770 * libio/iofgetws_u.c: Likewise.
3771 * locale/programs/ld-identification.c: Likewise.
3772 * locale/programs/ld-time.c: Likewise.
3773 * mach/msg-destroy.c: Likewise.
3774 * nss/nss_files/files-netgrp.c: Likewise.
3775 * resolv/res_data.c: Likewise.
3776 * soft-fp/op-1.h: Likewise.
3777 * soft-fp/op-2.h: Likewise.
3778 * soft-fp/op-4.h: Likewise.
3779 * soft-fp/op-common.h: Likewise.
3780 * stdio-common/printf_fphex.c: Likewise.
3781 * stdlib/strtod_l.c: Likewise.
3782 * sunrpc/rpc/clnt.h: Likewise.
3783 * sysdeps/generic/framestate.c: Likewise.
3784 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3785 * sysdeps/i386/bsd-setjmp.S: Likewise.
3786 * sysdeps/i386/__longjmp.S: Likewise.
3787 * sysdeps/i386/setjmp.S: Likewise.
3788 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3789 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3790 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3791 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3792 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3795 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3796 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3798 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3799 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3800 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3801 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3802 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3803 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3804 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3805 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3806 * sysdeps/ieee754/support.c: Likewise.
3807 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3808 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3809 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3810 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3811 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3812 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3813 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3814 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3815 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3816 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3817 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3818 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3819 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3820 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3821 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3822 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3823 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3825
44a988af
OB
38262013-06-05 Ondřej Bílka <neleai@seznam.cz>
3827
25506f09 3828 * posix/transbug.c: Remove executable mode.
44a988af 3829
9c84384c
JM
38302013-06-05 Joseph Myers <joseph@codesourcery.com>
3831
3832 * crypt/speeds.c: Remove trailing whitespace.
3833 * dlfcn/default.c: Likewise.
3834 * elf/ifuncdep2.c: Likewise.
3835 * elf/ifuncmain1.c: Likewise.
3836 * elf/ifuncmain1vis.c: Likewise.
3837 * elf/testobj.h: Likewise.
3838 * elf/tst-stackguard1.c: Likewise.
3839 * gmon/sys/gmon.h: Likewise.
3840 * hurd/hurdmsg.c: Likewise.
3841 * hurd/new-fd.c: Likewise.
3842 * hurd/ports-get.c: Likewise.
3843 * iconvdata/ibm1008_420.c: Likewise.
3844 * inet/tst-getni1.c: Likewise.
3845 * inet/tst-getni2.c: Likewise.
3846 * libio/ioungetc.c: Likewise.
3847 * libio/wfiledoalloc.c: Likewise.
3848 * manual/libm-err-tab.pl: Likewise.
3849 * math/w_dremf.c: Likewise.
3850 * misc/ftruncate.c: Likewise.
3851 * posix/bug-glob2.c: Likewise.
3852 * posix/tst-pcre.c: Likewise.
3853 * posix/wait4.c: Likewise.
3854 * resolv/README: Likewise.
3855 * resolv/res_debug.h: Likewise.
3856 * resolv/tst-inet_ntop.c: Likewise.
3857 * setjmp/bug269-setjmp.c: Likewise.
3858 * soft-fp/extended.h: Likewise.
3859 * soft-fp/op-1.h: Likewise.
3860 * soft-fp/op-2.h: Likewise.
3861 * soft-fp/op-4.h: Likewise.
3862 * soft-fp/op-8.h: Likewise.
3863 * soft-fp/testit.c: Likewise.
3864 * stdio-common/bug16.c: Likewise.
3865 * stdlib/random.c: Likewise.
3866 * sunrpc/rpcsvc/rquota.x: Likewise.
3867 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3868 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3869 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3870 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3871 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3872 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3873 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3874 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3875 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3876 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3877 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3878 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3879 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3881 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3883 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3885 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3886 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3887 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3894 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3896 * sysdeps/ieee754/s_lib_version.c: Likewise.
3897 * sysdeps/mach/hurd/check_fds.c: Likewise.
3898 * sysdeps/mach/hurd/getsockname.c: Likewise.
3899 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3900 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3901 * sysdeps/powerpc/bits/link.h: Likewise.
3902 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3903 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3904 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3905 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3906 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3907 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3908 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3909 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3910 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3911 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3912 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3913 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3914 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3915 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3916 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3917 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3918 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3919 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3920 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3921 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3922 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3923 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3924 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3925 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3926 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3927 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3928 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3929 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3930 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3931 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3932 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3933 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3934 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3935 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3936 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3937 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3938 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3939 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3940 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3941 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3942 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3943 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3944 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3945 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3946 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3947 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3948 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3949 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3950 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3951 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3952 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3953 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3954 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3955 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3956 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3957 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3958 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3959 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3960 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3961 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3962 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3963 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3964 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3965 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3966 * sysdeps/powerpc/sysdep.h: Likewise.
3967 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3968 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3969 * sysdeps/sh/dl-trampoline.S: Likewise.
3970 * sysdeps/sh/memset.S: Likewise.
3971 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3972 * sysdeps/sh/strlen.S: Likewise.
3973 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3974 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3975 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3976 * sysdeps/sparc/sparc32/rem.S: Likewise.
3977 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3978 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3979 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3980 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3981 * sysdeps/sparc/sparc32/urem.S: Likewise.
3982 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3983 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3984 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3985 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3986 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3987 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3988 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3989 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3990 * sysdeps/unix/bsd/times.c: Likewise.
3991 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3992 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3996 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3997 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3998 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3999 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4000 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4001 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4002 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4003 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4004 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4005 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4006 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4007 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4008 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4009 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4010 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4011 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4012 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4013 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4014 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4015 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4016 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4017 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4018 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4019 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4020 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4021 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4022 * sysdeps/x86_64/strcspn.S: Likewise.
4023
869378a5
RA
40242013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4025
4026 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4027 generated file. Regenerate properly from gen-translit.pl.
4028 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4029 locale/C-translit.h.
4030
840e2943
AS
40312013-06-05 Andreas Schwab <schwab@suse.de>
4032
4033 [BZ #15100]
4034 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4035 week as 6 instead of -1.
4036 * time/tst-strptime.c (day_tests): Add test case.
4037
4c60cb0c
SP
40382013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4039
4040 * sysdeps/generic/math_private.h
4041 (libc_feholdexcept_setround_53bit): Replace with
4042 libc_feholdsetround_53bit.
4043 (libc_feupdateenv_53bit): Replace with
4044 libc_feresetround_53bit.
4045 (SET_RESTORE_ROUND_53BIT): Adjust.
4046
d180203e
SP
40472013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4048
96df079a
SP
4049 * string/test-strchrnul.c: Add copyright header.
4050
d180203e
SP
4051 * posix/tst-getaddrinfo4.c: Increase test timeout.
4052
8b0ccb2d
CD
40532013-06-03 Carlos O'Donell <carlos@redhat.com>
4054
4055 [BZ #15536]
4056 * math/libm-test.inc (MAX_EXP): Remove
4057 (MIN_EXP): Define.
4058 (ulp): Use MIN_EXP - MANT_DIG.
4059 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4060
3b3c4d40
CD
40612013-05-31 Carlos O'Donell <carlos@redhat.com>
4062
4063 * po/be.po: Revert last change.
4064 * po/zh_CN.po: Likewise.
4065 * po/header.pot: Likewise.
4066
fab7ce3f
JM
40672013-05-31 Joseph Myers <joseph@codesourcery.com>
4068
4069 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4070 link-libc-deps to empty as target-specific variable.
4071 * Makerules (link-libc-args): New variable.
4072 (libc-for-link): Likewise.
4073 (link-libc-deps): Likewise.
4074 (lib%.so): Depend on $(link-libc-deps). Link with
4075 $(link-libc-args).
4076 (build-module): Link with $(link-libc-args).
4077 (build-module-asneeded): Likewise.
4078 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4079 list of objects.
4080 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4081 target-specific variable.
4082 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4083 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4084 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4085 libc.
4086 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4087 libc and ld.so.
4088 ($(objpfx)libpcprofile.so): Likewise.
4089 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4090 libc_nonshared.a.
4091 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4092 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4093 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4094 $(link-libc-deps).
4095 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4096 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4097 * login/Makefile ($(objpfx)libutil.so): Likewise.
4098 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4099 * math/Makefile ($(objpfx)libm.so): Likewise.
4100 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4101 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4102 variable instead of depending directly on libc.
4103 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4104 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4105 $(link-libc-deps).
4106 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4107 libc.
4108 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4109 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4110 ($(objpfx)libanl.so): Likewise.
4111 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4112 ld.so.
4113 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4114 $(link-libc-deps).
4115 * sysdeps/i386/fpu/Makefile: Remove file.
4116 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4117 ($(objpfx)libm.so): Remove dependency on ld.so.
4118
eca5920c
PF
41192013-05-30 Patsy Franklin <pfrankli@redhat.com>
4120
4121 [BZ # 15553]
4122 * nis/yp_xdr.c (XDRMAXNAME): Define.
4123 (XDRMAXRECORD): Define.
4124 (xdr_domainname): Use XDRMAXNAME.
4125 (xdr_mapname): Likewise.
4126 (xdr_peername): Likewise.
4127 (xdr_keydat): Use XDRMAXRECORD.
4128 (xdr_valdat): Likewise.
4129
41302013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4131
4132 [BZ #14256]
4133 * manual/errno.texi (ESTALE): Update to account for more than
4134 just NFS file systems.
4135 * sysdeps/gnu/errlist.c: Regenerated.
4136
b9375348
SP
41372013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4138
4139 [BZ #15465]
4140 * elf/Makefile (tests): Add tst-null-argv.
4141 (modules-names): Add tst-null-argv-lib.
4142 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4143 (tst-null-argv-ENV): Set environment for tst-null-argv.
4144 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4145 (RTLD_PROGNAME): New macro.
4146 * elf/tst-null-argv.c: New test case.
4147 * elf/tst-null-argv-lib.c: Library for test case.
4148 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4149 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4150 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4151 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4152 * elf/dl-init.c (call_init): Likewise.
4153 (_dl_init): Likewise.
4154 * elf/dl-load.c (print_search_path): Likewise.
4155 (_dl_map_object): Likewise.
4156 * elf/dl-lookup.c (do_lookup_x): Likewise.
4157 (add_dependency): Likewise.
4158 (_dl_lookup_symbol_x): Likewise.
4159 (_dl_debug_bindings): Likewise.
4160 * elf/dl-open.c (_dl_show_scope): Likewise.
4161 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4162 * elf/dl-version.c (match_symbol): Likewise.
4163 (_dl_check_map_versions): Likewise.
4164 * elf/rtld.c (dl_main): Likewise.
4165 (print_unresolved): Use RTLD_PROGNAME.
4166 (print_missing_version): Likewise.
4167 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4168 (elf_machine_rela): Likewise.
4169 * sysdeps/powerpc/powerpc32/dl-machine.c
4170 (__process_machine_rela): Likewise.
4171 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4172 Likewise.
4173 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4174 Likewise.
4175 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4176 Likewise.
4177 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4178 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4179 Likewise.
4180 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4181 Likewise.
4182 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4183
8a9f20c8
CD
41842013-05-28 Carlos O'Donell <carlos@redhat.com>
4185
4186 * po/be.po: Add descriptive title.
4187 * po/zh_CN.po: Likewise.
4188 * po/header.pot: Likewise.
4189
0e60d68e
MF
41902013-05-28 Mike Frysinger <vapier@gentoo.org>
4191
4192 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4193 error message.
4194 (enlarge_archive): Likewise.
4195
56b672e9
BN
41962013-05-28 Ben North <ben@redfrontdoor.org>
4197
4198 * manual/arith.texi (frexp): It is the magnitude of the return
4199 value which lies in [0.5, 1), not the return value itself.
4200
5e056687
AZ
42012013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4202
4203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4204
2b66ef5d
TS
42052013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4206
528c2405
TS
4207 * stdio-common/bug26.c (main): Correct fscanf template.
4208
07b4c13d
TS
4209 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4210 declare _dl_skip_args.
4211
ec9dd97c
TS
4212 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4213 Don't declare.
4214
2b66ef5d
TS
4215 * manual/platform.texi: Add missing @end deftypefun.
4216
4f8dfe27
JM
42172013-05-24 Joseph Myers <joseph@codesourcery.com>
4218
0323d086
JM
4219 [BZ #15529]
4220 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4221 bit of mantissa of 2^16382.
4222 * math/libm-test.inc (hypot_test_data): Add more tests.
4223
dd4259b9
JM
4224 * math/libm-test.inc: Add drem and pow10 to list of tested
4225 functions.
4226 (pow10_test): New function.
4227 (drem_test): Likewise.
4228 (drem_test_tonearest): Likewise.
4229 (drem_test_towardzero): Likewise.
4230 (drem_test_downward): Likewise.
4231 (drem_test_upward): Likewise.
4232 (main): Call the new functions.
4233
4f8dfe27
JM
4234 * math/libm-test.inc (finite_test_data): Remove.
4235 (finite_test): Run tests from isfinite_test_data.
4236 (gamma_test_data): Remove.
4237 (gamma_test): Run tests from lgamma_test_data.
4238 * sysdeps/i386/fpu/libm-test-ulps: Update.
4239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4240
d116b7c4
AZ
42412013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4242
4243 * manual/platform.texi: Add PowerPC PPR function set documentation.
4244 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4245 implementation.
4246
e96e3767
CD
42472013-05-24 Carlos O'Donell <carlos@redhat.com>
4248
4249 * math/libm-test.inc (MAX_EXP): Define.
4250 (ULPDIFF): Define.
4251 (ulp): New function.
4252 (check_float_internal): Use ULPDIFF.
4253 (cpow_test): Disable failing test.
4254 (check_ulp): Test ulp() implemetnation.
4255 (main): Call check_ulp before starting tests.
4256
b679a606
JM
42572013-05-24 Joseph Myers <joseph@codesourcery.com>
4258
e8bdba36
JM
4259 * math/gen-libm-test.pl (generate_testfile): Do not handle
4260 START_DATA and END_DATA.
4261 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4262 END_DATA.
4263 (acos_tonearest_test_data): Likewise.
4264 (acos_towardzero_test_data): Likewise.
4265 (acos_downward_test_data): Likewise.
4266 (acos_upward_test_data): Likewise.
4267 (acosh_test_data): Likewise.
4268 (asin_test_data): Likewise.
4269 (asin_tonearest_test_data): Likewise.
4270 (asin_towardzero_test_data): Likewise.
4271 (asin_downward_test_data): Likewise.
4272 (asin_upward_test_data): Likewise.
4273 (asinh_test_data): Likewise.
4274 (atan_test_data): Likewise.
4275 (atanh_test_data): Likewise.
4276 (atan2_test_data): Likewise.
4277 (cabs_test_data): Likewise.
4278 (cacos_test_data): Likewise.
4279 (cacosh_test_data): Likewise.
4280 (carg_test_data): Likewise.
4281 (casin_test_data): Likewise.
4282 (casinh_test_data): Likewise.
4283 (catan_test_data): Likewise.
4284 (catanh_test_data): Likewise.
4285 (cbrt_test_data): Likewise.
4286 (ccos_test_data): Likewise.
4287 (ccosh_test_data): Likewise.
4288 (ceil_test_data): Likewise.
4289 (cexp_test_data): Likewise.
4290 (cimag_test_data): Likewise.
4291 (clog_test_data): Likewise.
4292 (clog10_test_data): Likewise.
4293 (conj_test_data): Likewise.
4294 (copysign_test_data): Likewise.
4295 (cos_test_data): Likewise.
4296 (cos_tonearest_test_data): Likewise.
4297 (cos_towardzero_test_data): Likewise.
4298 (cos_downward_test_data): Likewise.
4299 (cos_upward_test_data): Likewise.
4300 (cosh_test_data): Likewise.
4301 (cosh_tonearest_test_data): Likewise.
4302 (cosh_towardzero_test_data): Likewise.
4303 (cosh_downward_test_data): Likewise.
4304 (cosh_upward_test_data): Likewise.
4305 (cpow_test_data): Likewise.
4306 (cproj_test_data): Likewise.
4307 (creal_test_data): Likewise.
4308 (csin_test_data): Likewise.
4309 (csinh_test_data): Likewise.
4310 (csqrt_test_data): Likewise.
4311 (ctan_test_data): Likewise.
4312 (ctan_tonearest_test_data): Likewise.
4313 (ctan_towardzero_test_data): Likewise.
4314 (ctan_downward_test_data): Likewise.
4315 (ctan_upward_test_data): Likewise.
4316 (ctanh_test_data): Likewise.
4317 (ctanh_tonearest_test_data): Likewise.
4318 (ctanh_towardzero_test_data): Likewise.
4319 (ctanh_downward_test_data): Likewise.
4320 (ctanh_upward_test_data): Likewise.
4321 (erf_test_data): Likewise.
4322 (erfc_test_data): Likewise.
4323 (exp_test_data): Likewise.
4324 (exp_tonearest_test_data): Likewise.
4325 (exp_towardzero_test_data): Likewise.
4326 (exp_downward_test_data): Likewise.
4327 (exp_upward_test_data): Likewise.
4328 (exp10_test_data): Likewise.
4329 (exp2_test_data): Likewise.
4330 (expm1_test_data): Likewise.
4331 (fabs_test_data): Likewise.
4332 (fdim_test_data): Likewise.
4333 (finite_test_data): Likewise.
4334 (floor_test_data): Likewise.
4335 (fma_test_data): Likewise.
4336 (fma_towardzero_test_data): Likewise.
4337 (fma_downward_test_data): Likewise.
4338 (fma_upward_test_data): Likewise.
4339 (fmax_test_data): Likewise.
4340 (fmin_test_data): Likewise.
4341 (fmod_test_data): Likewise.
4342 (fpclassify_test_data): Likewise.
4343 (frexp_test_data): Likewise.
4344 (gamma_test_data): Likewise.
4345 (hypot_test_data): Likewise.
4346 (ilogb_test_data): Likewise.
4347 (isfinite_test_data): Likewise.
4348 (isgreater_test_data): Likewise.
4349 (isgreaterequal_test_data): Likewise.
4350 (isinf_test_data): Likewise.
4351 (isless_test_data): Likewise.
4352 (islessequal_test_data): Likewise.
4353 (islessgreater_test_data): Likewise.
4354 (isnan_test_data): Likewise.
4355 (isnormal_test_data): Likewise.
4356 (issignaling_test_data): Likewise.
4357 (isunordered_test_data): Likewise.
4358 (j0_test_data): Likewise.
4359 (j1_test_data): Likewise.
4360 (jn_test_data): Likewise.
4361 (ldexp_test_data): Likewise.
4362 (lgamma_test_data): Likewise.
4363 (lrint_test_data): Likewise.
4364 (lrint_tonearest_test_data): Likewise.
4365 (lrint_towardzero_test_data): Likewise.
4366 (lrint_downward_test_data): Likewise.
4367 (lrint_upward_test_data): Likewise.
4368 (llrint_test_data): Likewise.
4369 (llrint_tonearest_test_data): Likewise.
4370 (llrint_towardzero_test_data): Likewise.
4371 (llrint_downward_test_data): Likewise.
4372 (llrint_upward_test_data): Likewise.
4373 (log_test_data): Likewise.
4374 (log10_test_data): Likewise.
4375 (log1p_test_data): Likewise.
4376 (log2_test_data): Likewise.
4377 (logb_test_data): Likewise.
4378 (logb_downward_test_data): Likewise.
4379 (lround_test_data): Likewise.
4380 (llround_test_data): Likewise.
4381 (modf_test_data): Likewise.
4382 (nearbyint_test_data): Likewise.
4383 (nextafter_test_data): Likewise.
4384 (nexttoward_test_data): Likewise.
4385 (pow_test_data): Likewise.
4386 (pow_tonearest_test_data): Likewise.
4387 (pow_towardzero_test_data): Likewise.
4388 (pow_downward_test_data): Likewise.
4389 (pow_upward_test_data): Likewise.
4390 (remainder_test_data): Likewise.
4391 (remainder_tonearest_test_data): Likewise.
4392 (remainder_towardzero_test_data): Likewise.
4393 (remainder_downward_test_data): Likewise.
4394 (remainder_upward_test_data): Likewise.
4395 (remquo_test_data): Likewise.
4396 (rint_test_data): Likewise.
4397 (rint_tonearest_test_data): Likewise.
4398 (rint_towardzero_test_data): Likewise.
4399 (rint_downward_test_data): Likewise.
4400 (rint_upward_test_data): Likewise.
4401 (round_test_data): Likewise.
4402 (scalb_test_data): Likewise.
4403 (scalbn_test_data): Likewise.
4404 (scalbln_test_data): Likewise.
4405 (signbit_test_data): Likewise.
4406 (sin_test_data): Likewise.
4407 (sin_tonearest_test_data): Likewise.
4408 (sin_towardzero_test_data): Likewise.
4409 (sin_downward_test_data): Likewise.
4410 (sin_upward_test_data): Likewise.
4411 (sincos_test_data): Likewise.
4412 (sinh_test_data): Likewise.
4413 (sinh_tonearest_test_data): Likewise.
4414 (sinh_towardzero_test_data): Likewise.
4415 (sinh_downward_test_data): Likewise.
4416 (sinh_upward_test_data): Likewise.
4417 (sqrt_test_data): Likewise.
4418 (tan_test_data): Likewise.
4419 (tan_tonearest_test_data): Likewise.
4420 (tan_towardzero_test_data): Likewise.
4421 (tan_downward_test_data): Likewise.
4422 (tan_upward_test_data): Likewise.
4423 (tanh_test_data): Likewise.
4424 (tgamma_test_data): Likewise.
4425 (trunc_test_data): Likewise.
4426 (y0_test_data): Likewise.
4427 (y1_test_data): Likewise.
4428 (yn_test_data): Likewise.
4429 (significand_test_data): Likewise.
4430
b679a606
JM
4431 * math/gen-libm-test.pl (@functions): Remove variable.
4432 (generate_testfile): Don't handle START and END lines.
4433 * math/libm-test.inc (START): New macro.
4434 (END): Likewise.
4435 (END_COMPLEX): Likewise.
4436 (acos_test): Use END macro without arguments.
4437 (acos_test_tonearest): Likewise.
4438 (acos_test_towardzero): Likewise.
4439 (acos_test_downward): Likewise.
4440 (acos_test_upward): Likewise.
4441 (acosh_test): Likewise.
4442 (asin_test): Likewise.
4443 (asin_test_tonearest): Likewise.
4444 (asin_test_towardzero): Likewise.
4445 (asin_test_downward): Likewise.
4446 (asin_test_upward): Likewise.
4447 (asinh_test): Likewise.
4448 (atan_test): Likewise.
4449 (atanh_test): Likewise.
4450 (atan2_test): Likewise.
4451 (cabs_test): Likewise.
4452 (cacos_test): Use END_COMPLEX macro without arguments.
4453 (cacosh_test): Likewise.
4454 (carg_test): Use END macro without arguments.
4455 (casin_test): Use END_COMPLEX macro without arguments.
4456 (casinh_test): Likewise.
4457 (catan_test): Likewise.
4458 (catanh_test): Likewise.
4459 (cbrt_test): Use END macro without arguments.
4460 (ccos_test): Use END_COMPLEX macro without arguments.
4461 (ccosh_test): Likewise.
4462 (ceil_test): Use END macro without arguments.
4463 (cexp_test): Use END_COMPLEX macro without arguments.
4464 (cimag_test): Use END macro without arguments.
4465 (clog_test): Use END_COMPLEX macro without arguments.
4466 (clog10_test): Likewise.
4467 (conj_test): Likewise.
4468 (copysign_test): Use END macro without arguments.
4469 (cos_test): Likewise.
4470 (cos_test_tonearest): Likewise.
4471 (cos_test_towardzero): Likewise.
4472 (cos_test_downward): Likewise.
4473 (cos_test_upward): Likewise.
4474 (cosh_test): Likewise.
4475 (cosh_test_tonearest): Likewise.
4476 (cosh_test_towardzero): Likewise.
4477 (cosh_test_downward): Likewise.
4478 (cosh_test_upward): Likewise.
4479 (cpow_test): Use END_COMPLEX macro without arguments.
4480 (cproj_test): Likewise.
4481 (creal_test): Use END macro without arguments.
4482 (csin_test): Use END_COMPLEX macro without arguments.
4483 (csinh_test): Likewise.
4484 (csqrt_test): Likewise.
4485 (ctan_test): Likewise.
4486 (ctan_test_tonearest): Likewise.
4487 (ctan_test_towardzero): Likewise.
4488 (ctan_test_downward): Likewise.
4489 (ctan_test_upward): Likewise.
4490 (ctanh_test): Likewise.
4491 (ctanh_test_tonearest): Likewise.
4492 (ctanh_test_towardzero): Likewise.
4493 (ctanh_test_downward): Likewise.
4494 (ctanh_test_upward): Likewise.
4495 (erf_test): Use END macro without arguments.
4496 (erfc_test): Likewise.
4497 (exp_test): Likewise.
4498 (exp_test_tonearest): Likewise.
4499 (exp_test_towardzero): Likewise.
4500 (exp_test_downward): Likewise.
4501 (exp_test_upward): Likewise.
4502 (exp10_test): Likewise.
4503 (exp2_test): Likewise.
4504 (expm1_test): Likewise.
4505 (fabs_test): Likewise.
4506 (fdim_test): Likewise.
4507 (finite_test): Likewise.
4508 (floor_test): Likewise.
4509 (fma_test): Likewise.
4510 (fma_test_towardzero): Likewise.
4511 (fma_test_downward): Likewise.
4512 (fma_test_upward): Likewise.
4513 (fmax_test): Likewise.
4514 (fmin_test): Likewise.
4515 (fmod_test): Likewise.
4516 (fpclassify_test): Likewise.
4517 (frexp_test): Likewise.
4518 (gamma_test): Likewise.
4519 (hypot_test): Likewise.
4520 (ilogb_test): Likewise.
4521 (isfinite_test): Likewise.
4522 (isgreater_test): Likewise.
4523 (isgreaterequal_test): Likewise.
4524 (isinf_test): Likewise.
4525 (isless_test): Likewise.
4526 (islessequal_test): Likewise.
4527 (islessgreater_test): Likewise.
4528 (isnan_test): Likewise.
4529 (isnormal_test): Likewise.
4530 (issignaling_test): Likewise.
4531 (isunordered_test): Likewise.
4532 (j0_test): Likewise.
4533 (j1_test): Likewise.
4534 (jn_test): Likewise.
4535 (ldexp_test): Likewise.
4536 (lgamma_test): Likewise.
4537 (lrint_test): Likewise.
4538 (lrint_test_tonearest): Likewise.
4539 (lrint_test_towardzero): Likewise.
4540 (lrint_test_downward): Likewise.
4541 (lrint_test_upward): Likewise.
4542 (llrint_test): Likewise.
4543 (llrint_test_tonearest): Likewise.
4544 (llrint_test_towardzero): Likewise.
4545 (llrint_test_downward): Likewise.
4546 (llrint_test_upward): Likewise.
4547 (log_test): Likewise.
4548 (log10_test): Likewise.
4549 (log1p_test): Likewise.
4550 (log2_test): Likewise.
4551 (logb_test): Likewise.
4552 (logb_test_downward): Likewise.
4553 (lround_test): Likewise.
4554 (llround_test): Likewise.
4555 (modf_test): Likewise.
4556 (nearbyint_test): Likewise.
4557 (nextafter_test): Likewise.
4558 (nexttoward_test): Likewise.
4559 (pow_test): Likewise.
4560 (pow_test_tonearest): Likewise.
4561 (pow_test_towardzero): Likewise.
4562 (pow_test_downward): Likewise.
4563 (pow_test_upward): Likewise.
4564 (remainder_test): Likewise.
4565 (remainder_test_tonearest): Likewise.
4566 (remainder_test_towardzero): Likewise.
4567 (remainder_test_downward): Likewise.
4568 (remainder_test_upward): Likewise.
4569 (remquo_test): Likewise.
4570 (rint_test): Likewise.
4571 (rint_test_tonearest): Likewise.
4572 (rint_test_towardzero): Likewise.
4573 (rint_test_downward): Likewise.
4574 (rint_test_upward): Likewise.
4575 (round_test): Likewise.
4576 (scalb_test): Likewise.
4577 (scalbn_test): Likewise.
4578 (scalbln_test): Likewise.
4579 (signbit_test): Likewise.
4580 (sin_test): Likewise.
4581 (sin_test_tonearest): Likewise.
4582 (sin_test_towardzero): Likewise.
4583 (sin_test_downward): Likewise.
4584 (sin_test_upward): Likewise.
4585 (sincos_test): Likewise.
4586 (sinh_test): Likewise.
4587 (sinh_test_tonearest): Likewise.
4588 (sinh_test_towardzero): Likewise.
4589 (sinh_test_downward): Likewise.
4590 (sinh_test_upward): Likewise.
4591 (sqrt_test): Likewise.
4592 (tan_test): Likewise.
4593 (tan_test_tonearest): Likewise.
4594 (tan_test_towardzero): Likewise.
4595 (tan_test_downward): Likewise.
4596 (tan_test_upward): Likewise.
4597 (tanh_test): Likewise.
4598 (tgamma_test): Likewise.
4599 (trunc_test): Likewise.
4600 (y0_test): Likewise.
4601 (y1_test): Likewise.
4602 (yn_test): Likewise.
4603 (significand_test): Likewise.
4604
bae143d2
OB
46052013-05-24 Ondřej Bílka <neleai@seznam.cz>
4606
4607 [BZ #15381]
4608 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4609
9323d39b
EM
46102013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4611
d4ea44a0 4612 [BZ #14894]
9323d39b
EM
4613 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4614 __ppc_mdoio and __ppc_mdoom.
4615 * manual/platform.texi: Document new functions __ppc_yield,
4616 __ppc_mdoio and __ppc_mdoom.
4617
13e23af7
CD
46182013-05-22 Carlos O'Donell <carlos@redhat.com>
4619
4620 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4621 (main): Mention "tls" pseudo-hwcap is legacy.
4622 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4623
351fe550
JM
46242013-05-22 Joseph Myers <joseph@codesourcery.com>
4625
4626 * math/gen-libm-test.pl (parse_args): Output only string of
4627 arguments as text for test name, not full call or descriptions of
4628 tests for extra outputs.
4629 (generate_testfile): Do not pass function name to parse_args.
4630 Generate this_func variable from START.
4631 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4632 field to arg_str.
4633 (struct test_ff_f_data): Likewise.
4634 (test_ff_f_data_nexttoward): Likewise.
4635 (struct test_fi_f_data): Likewise.
4636 (struct test_fl_f_data): Likewise.
4637 (struct test_if_f_data): Likewise.
4638 (struct test_fff_f_data): Likewise.
4639 (struct test_c_f_data): Likewise.
4640 (struct test_f_f1_data): Likewise. Remove field extra_name.
4641 (struct test_fF_f1_data): Likewise.
4642 (struct test_ffI_f1_data): Likewise.
4643 (struct test_c_c_data): Rename test_name field to arg_str.
4644 (struct test_cc_c_data): Likewise.
4645 (struct test_f_i_data): Likewise.
4646 (struct test_ff_i_data): Likewise.
4647 (struct test_f_l_data): Likewise.
4648 (struct test_f_L_data): Likewise.
4649 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4650 and extra2_name.
4651 (COMMON_TEST_SETUP): New macro.
4652 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4653 (COMMON_TEST_CLEANUP): Likewise.
4654 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4655 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4656 macros.
4657 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4658 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4659 macros.
4660 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4661 (RUN_TEST_fff_f): Take argument string. Call new setup and
4662 cleanup macros.
4663 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4664 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4665 macros.
4666 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4667 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4668 macros.
4669 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4670 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4671 cleanup macros.
4672 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4673 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4674 cleanup macros.
4675 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4676 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4677 cleanup macros.
4678 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4679 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4680 macros.
4681 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4682 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4683 macros.
4684 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4685 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4686 macros.
4687 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4688 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4689 cleanup macros.
4690 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4691 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4692 cleanup macros.
4693 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4694 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4695 macros.
4696 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4697 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4698 cleanup macros.
4699 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4700 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4701 macros.
4702 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4703 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4704 macros.
4705 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4706 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4707 cleanup macros.
4708 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4709
85118d4d
EBM
47102013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4711
4712 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4713 to _sifields.sigfault.
4714 (si_addr_lsb): Define new macro.
4715 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4716 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4717 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4718
7a44c18f
CD
47192013-05-03 Carlos O'Donell <carlos at redhat.com>
4720
4721 [BZ #15441]
4722 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4723 returns -1.
4724 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4725 null return -1.
4726 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4727 loading the domain.
4728
b50a7181
JM
47292013-05-22 Joseph Myers <joseph@codesourcery.com>
4730
4731 * math/gen-libm-test.pl (parse_args): Do not include expected
4732 result in test name.
4733 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4734 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4735 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4736 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4737 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4739
051063c8
SP
47402013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4741
3ce9e010
SP
4742 * benchtests/Makefile: Sort function entries.
4743
051063c8
SP
4744 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4745 tanh, asinh, acosh, atanh.
4746 * benchtests/acos-inputs: New file.
4747 * benchtests/acosh-inputs: New file.
4748 * benchtests/asin-inputs: New file.
4749 * benchtests/asinh-inputs: New file.
4750 * benchtests/atanh-inputs: New file.
4751 * benchtests/cosh-inputs: New file.
4752 * benchtests/log-inputs: New file.
4753 * benchtests/sinh-inputs: New file.
4754 * benchtests/tanh-inputs: New file.
4755
47c22455
DL
47562013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4757
4758 [BZ #15339]
4759 * posix/tst-getaddrinfo4.c: New test.
4760 * posix/Makefile (tests): Add it.
4761
3d04f5db
SP
47622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4763
4764 [BZ #15339]
4765 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4766 when no services were used.
4767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4768 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4769
d5dd6189
AS
47702013-05-21 Andreas Schwab <schwab@suse.de>
4771
4772 [BZ #15014]
4773 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4774 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4775 successful.
4776 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4777 redundant variable declarations and reallocation of buffer when
4778 parsing as IPv6 address. Always set NSS status when called from
4779 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4780 buffer too small. Correct computation of needed size.
4781 * nss/Makefile (tests): Add test-digits-dots.
4782 * nss/test-digits-dots.c: New test.
4783
fef94eab
SP
47842013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4785
4786 * benchtests/Makefile: Remove instructions for adding
4787 benchmark tests.
4788 * benchtests/README: New file to explain how to execute and
4789 enhance the benchmark tests.
4790
e39adf43
AS
47912013-05-21 Andreas Schwab <schwab@suse.de>
4792
4793 [BZ #15493]
4794 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4795 * setjmp/tst-sigsetjmp.c: New test.
4796
b2b671b6
OB
47972013-05-20 Ondřej Bílka <neleai@seznam.cz>
4798
4799 * sysdeps/x86_64/memset.S (memset): New implementation.
4800 (__bzero): Likewise.
4801 (__memset_tail): New function.
4802
2d48b41c
OB
48032013-05-20 Ondřej Bílka <neleai@seznam.cz>
4804
4805 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4806 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4807 __memcpy_sse2_unaligned ifunc selection.
4808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4809 Add memcpy-sse2-unaligned.S.
4810 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4811 Add: __memcpy_sse2_unaligned.
4812
f16cc3eb
JM
48132013-05-19 Joseph Myers <joseph@codesourcery.com>
4814
3e694268
JM
4815 [BZ #15490]
4816 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4817 math_force_eval before restoring floating-point envrionment.
4818 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4819 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4820 Likewise.
4821 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4822 <math_private.h>.
4823 (__nearbyintl): Use math_force_eval before restoring
4824 floating-point environment.
4825 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4826
db62a907
JM
4827 * math/gen-libm-test.pl (special_functions): Remove.
4828 (parse_args): Don't handle TEST_extra. Handle functions with no
4829 return value.
4830 * math/libm-test.inc (struct test_sincos_data): Replace with
4831 struct test_fFF_11_data.
4832 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4833 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4834 (sincos_test_data): Change element type to struct
4835 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4836 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4837 RUN_TEST_LOOP_sincos.
4838 * math/README.libm-test: Don't mention special handling of
4839 individual functions.
4840 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4841 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4842 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4843 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4844 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4846
f16cc3eb
JM
4847 * math/gen-libm-test.pl (get_variable): Remove function.
4848 (parse_args): Don't show pointer parameters to call in test
4849 names. Use "extra output N" in test names for extra outputs
4850 rather than naming variables.
4851
3779b5b6
JM
48522013-05-18 Joseph Myers <joseph@codesourcery.com>
4853
2ee094ff
JM
4854 [BZ #15488]
4855 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4856 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4857 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4858 double tests.
4859 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4860 disable.
4861 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4862 check_long_double.
4863
3779b5b6
JM
4864 * math/gen-libm-test.pl (@tests): Remove variable.
4865 ($count): Likewise.
4866 (new_test): Remove function.
4867 (show_exceptions): New function.
4868 (special_functions): Use show_exceptions instead of new_test.
4869 (parse_args): Likewise.
4870 (generate_testfile): Pass only function name in generated call to
4871 print_max_error or print_complex_max_error.
4872 (get_ulps): Do not handle complex tests specially.
4873 (output_test): Rename to ...
4874 (get_all_ulps_for_test): ... this. Return a string rather than
4875 printing to a file. Require ulps to be present.
4876 (output_ulps): Generate arrays rather than #defines.
4877 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4878 (struct ulp_data): New type.
4879 (BUILD_COMPLEX_ULP): Remove macro.
4880 (compare_ulp_data): New function.
4881 (find_ulps): Likewise.
4882 (find_test_ulps): Likewise.
4883 (find_function_ulps): Likewise.
4884 (find_complex_function_ulps): Likewise.
4885 (print_max_error): Determine allowed ulps using
4886 find_function_ulps.
4887 (print_complex_max_error): Determine allowed ulps using
4888 find_complex_function_ulps.
4889 (check_float_internal): Determine max ulps using find_test_ulps.
4890 (check_float): Do not take max_ulp parameter. Update call to
4891 check_float_internal.
4892 (check_complex): Likewise.
4893 (check_int): Do not take max_ulp parameter.
4894 (check_long): Likewise.
4895 (check_bool): Likewise.
4896 (check_longlong): Likewise.
4897 (struct test_f_f_data): Remove max_ulp field.
4898 (struct test_ff_f_data): Likewise.
4899 (struct test_ff_f_data_nexttoward): Likewise.
4900 (struct test_fi_f_data): Likewise.
4901 (struct test_fl_f_data): Likewise.
4902 (struct test_if_f_data): Likewise.
4903 (struct test_fff_f_data): Likewise.
4904 (struct test_c_f_data): Likewise.
4905 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4906 (struct test_fF_f1_data): Likewise.
4907 (struct test_ffI_f1_data): Likewise.
4908 (struct test_c_c_data): Remove max_ulp field.
4909 (struct test_cc_c_data): Likewise.
4910 (struct test_f_i_data): Likewise.
4911 (struct test_ff_i_data): Likewise.
4912 (struct test_f_l_data): Likewise.
4913 (struct test_f_L_data): Likewise.
4914 (struct test_sincos_data): Likewise.
4915 (RUN_TEST_f_f): Do not handle ulps.
4916 (RUN_TEST_LOOP_f_f): Likewise.
4917 (RUN_TEST_2_f): Likewise.
4918 (RUN_TEST_LOOP_2_f): Likewise.
4919 (RUN_TEST_fff_f): Likewise.
4920 (RUN_TEST_LOOP_fff_f): Likewise.
4921 (RUN_TEST_c_f): Likewise.
4922 (RUN_TEST_LOOP_c_f): Likewise.
4923 (RUN_TEST_f_f1): Likewise.
4924 (RUN_TEST_LOOP_f_f1): Likewise.
4925 (RUN_TEST_fF_f1): Likewise.
4926 (RUN_TEST_LOOP_fF_f1): Likewise.
4927 (RUN_TEST_fI_f1): Likewise.
4928 (RUN_TEST_LOOP_fI_f1): Likewise.
4929 (RUN_TEST_ffI_f1): Likewise.
4930 (RUN_TEST_LOOP_ffI_f1): Likewise.
4931 (RUN_TEST_c_c): Likewise.
4932 (RUN_TEST_LOOP_c_c): Likewise.
4933 (RUN_TEST_cc_c): Likewise.
4934 (RUN_TEST_LOOP_cc_c): Likewise.
4935 (RUN_TEST_f_i): Likewise.
4936 (RUN_TEST_LOOP_f_i): Likewise.
4937 (RUN_TEST_f_i_tg): Likewise.
4938 (RUN_TEST_LOOP_f_i_tg): Likewise.
4939 (RUN_TEST_ff_i_tg): Likewise.
4940 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4941 (RUN_TEST_f_b): Likewise.
4942 (RUN_TEST_LOOP_f_b): Likewise.
4943 (RUN_TEST_f_b_tg): Likewise.
4944 (RUN_TEST_LOOP_f_b_tg): Likewise.
4945 (RUN_TEST_f_l): Likewise.
4946 (RUN_TEST_LOOP_f_l): Likewise.
4947 (RUN_TEST_f_L): Likewise.
4948 (RUN_TEST_LOOP_f_L): Likewise.
4949 (RUN_TEST_sincos): Likewise.
4950 (RUN_TEST_LOOP_sincos): Likewise.
4951
8269107f
JM
49522013-05-17 Joseph Myers <joseph@codesourcery.com>
4953
bb38759d
JM
4954 [BZ #15480]
4955 [BZ #15485]
4956 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4957 main case of finite arguments, set rounding mode to FE_TONEAREST
4958 and discard exceptions.
4959 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4960 exceptions.
4961 (remainder_tonearest_test_data): New variable.
4962 (remainder_test_tonearest): New function.
4963 (remainder_towardzero_test_data): New variable.
4964 (remainder_test_towardzero): New function.
4965 (remainder_downward_test_data): New variable.
4966 (remainder_test_downward): New function.
4967 (remainder_upward_test_data): New variable.
4968 (remainder_test_upward): New function.
4969 (main): Call the new test functions.
4970
a00bdcf0
JM
4971 * math/libm-test.inc (struct test_f_f1_data): Remove field
4972 extra_init.
4973 (struct test_fF_f1_data): Likewise.
4974 (struct test_ffI_f1_data): Likewise.
4975 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4976 based on value of EXTRA_EXPECTED.
4977 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4978 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4979 EXTRA_VAR based on value of EXTRA_EXPECTED.
4980 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4981 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4982 EXTRA_VAR based on value of EXTRA_EXPECTED.
4983 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4984 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4985 EXTRA_VAR based on value of EXTRA_EXPECTED.
4986 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4987 * math/gen-libm-test.pl (parse_args): Don't output initializers
4988 for extra output values.
4989
de407f79
JM
4990 * math/libm-test.inc (check_int): Expect result to be exactly
4991 equal to expected value and do not handle ulps.
4992 (check_long): Likewise.
4993 (check_longlong): Likewise.
4994
8269107f
JM
4995 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4996 exceptions.
4997 (cimag_test_data): Likewise.
4998 (conj_test_data): Likewise.
4999 (copysign_test_data): Likewise.
5000 (cproj_test_data): Likewise.
5001 (creal_test_data): Likewise.
5002 (fabs_test_data): Likewise.
5003 (fdim_test_data): Likewise.
5004 (finite_test_data): Likewise.
5005 (floor_test_data): Likewise.
5006 (fmax_test_data): Likewise.
5007 (fmin_test_data): Likewise.
5008 (fmod_test_data): Likewise.
5009 (fpclassify_test_data): Likewise.
5010 (frexp_test_data): Likewise.
5011 (ilogb_test_data): Likewise.
5012 (isfinite_test_data): Likewise.
5013 (isgreater_test_data): Likewise.
5014 (isgreaterequal_test_data): Likewise.
5015 (isinf_test_data): Likewise.
5016 (isless_test_data): Likewise.
5017 (islessequal_test_data): Likewise.
5018 (islessgreater_test_data): Likewise.
5019 (isnan_test_data): Likewise.
5020 (isnormal_test_data): Likewise.
5021 (issignaling_test_data): Likewise.
5022 (isunordered_test_data): Likewise.
5023 (ldexp_test_data): Likewise.
5024 (lrint_test_data): Likewise.
5025 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5026 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5027 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5028 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5029 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5030 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5031 test input.
5032 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5033 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5034 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5035 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5036 that test input.
5037 (lrint_downward_test_data): Test for "inexact" exceptions.
5038 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5039 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5040 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5041 test input.
5042 (lrint_upward_test_data): Test for "inexact" exceptions.
5043 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5044 test input.
5045 (llrint_test_data): Test for "inexact" exceptions.
5046 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5047 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5048 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5049 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5050 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5051 (llrint_downward_test_data): Test for "inexact" exceptions.
5052 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5053 (llrint_upward_test_data): Test for "inexact" exceptions.
5054 (logb_test_data): Likewise.
5055 (logb_downward_test_data): Likewise.
5056 (nextafter_test_data): Likewise.
5057 (nexttoward_test_data): Likewise.
5058 (remainder_test_data): Likewise.
5059 (remquo_test_data): Likewise.
5060 (scalbn_test_data): Likewise.
5061 (scalbln_test_data): Likewise.
5062 (signbit_test_data): Likewise.
5063 (sqrt_test_data): Likewise.
5064 (significand_test_data): Likewise.
5065
48a18de1
SP
50662013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5067
5068 [BZ #15424]
5069 * benchtests/bench-modf.c (struct args): Mark arg0 as
5070 volatile.
5071 * scripts/bench.pl: Mark members of struct args as volatile.
5072
13d3b41a
AZ
50732013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5074
68191c1d 5075 [BZ # 15497]
13d3b41a
AZ
5076 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5077 negative infinity on POWER6 or lower.
5078 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5079
2848b105
MR
50802013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5081
5082 [BZ #15442]
5083 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5084 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5085 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5086 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5087 (_FP_SETQNAN): New macro.
5088 (_FP_SETQNAN_SEMIRAW): Likewise.
5089 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5090 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5091 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5092 (FP_EXTEND): Use _FP_FRAC_SNANP.
5093 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5094 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5095 into account.
5096 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5097 New macro.
5098 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5099 Likewise.
5100
323e5cb7
JM
51012013-05-16 Joseph Myers <joseph@codesourcery.com>
5102
c58b274f
JM
5103 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5104 with DIVIDE_BY_ZERO_EXCEPTION.
5105 (gamma_test_data): Likewise.
5106 (lgamma_test_data): Likewise.
5107 (log_test_data): Likewise.
5108 (log10_test_data): Likewise.
5109 (log2_test_data): Likewise.
5110 (tgamma_test_data): Likewise.
5111
0ab34904
JM
5112 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5113 (acos_test_tonearest): Likewise.
5114 (acos_test_towardzero): Likewise.
5115 (acos_test_downward): Likewise.
5116 (acos_test_upward): Likewise.
5117 (acosh_test): Likewise.
5118 (asin_test): Likewise.
5119 (asin_test_tonearest): Likewise.
5120 (asin_test_towardzero): Likewise.
5121 (asin_test_downward): Likewise.
5122 (asin_test_upward): Likewise.
5123 (asinh_test): Likewise.
5124 (atan_test): Likewise.
5125 (atanh_test): Likewise.
5126 (atan2_test): Likewise.
5127 (cabs_test): Likewise.
5128 (cacos_test): Likewise.
5129 (cacosh_test): Likewise.
5130 (casin_test): Likewise.
5131 (casinh_test): Likewise.
5132 (catan_test): Likewise.
5133 (catanh_test): Likewise.
5134 (cbrt_test): Likewise.
5135 (ccos_test): Likewise.
5136 (ccosh_test): Likewise.
5137 (cexp_test): Likewise.
5138 (clog_test): Likewise.
5139 (clog10_test): Likewise.
5140 (cos_test): Likewise.
5141 (cos_test_tonearest): Likewise.
5142 (cos_test_towardzero): Likewise.
5143 (cos_test_downward): Likewise.
5144 (cos_test_upward): Likewise.
5145 (cosh_test): Likewise.
5146 (cosh_test_tonearest): Likewise.
5147 (cosh_test_towardzero): Likewise.
5148 (cosh_test_downward): Likewise.
5149 (cosh_test_upward): Likewise.
5150 (cpow_test): Likewise.
5151 (csin_test): Likewise.
5152 (csinh_test): Likewise.
5153 (csqrt_test): Likewise.
5154 (ctan_test): Likewise.
5155 (ctan_test_tonearest): Likewise.
5156 (ctan_test_towardzero): Likewise.
5157 (ctan_test_downward): Likewise.
5158 (ctan_test_upward): Likewise.
5159 (ctanh_test): Likewise.
5160 (ctanh_test_tonearest): Likewise.
5161 (ctanh_test_towardzero): Likewise.
5162 (ctanh_test_downward): Likewise.
5163 (ctanh_test_upward): Likewise.
5164 (erf_test): Likewise.
5165 (erfc_test): Likewise.
5166 (exp_test): Likewise.
5167 (exp_test_tonearest): Likewise.
5168 (exp_test_towardzero): Likewise.
5169 (exp_test_downward): Likewise.
5170 (exp_test_upward): Likewise.
5171 (exp10_test): Likewise.
5172 (exp2_test): Likewise.
5173 (expm1_test): Likewise.
5174 (fmod_test): Likewise.
5175 (gamma_test): Likewise.
5176 (hypot_test): Likewise.
5177 (j0_test): Likewise.
5178 (j1_test): Likewise.
5179 (jn_test): Likewise.
5180 (lgamma_test): Likewise.
5181 (log_test): Likewise.
5182 (log10_test): Likewise.
5183 (log1p_test): Likewise.
5184 (log2_test): Likewise.
5185 (logb_test_downward): Likewise.
5186 (pow_test): Likewise.
5187 (pow_test_tonearest): Likewise.
5188 (pow_test_towardzero): Likewise.
5189 (pow_test_downward): Likewise.
5190 (pow_test_upward): Likewise.
5191 (remainder_test): Likewise.
5192 (remquo_test): Likewise.
5193 (sin_test): Likewise.
5194 (sin_test_tonearest): Likewise.
5195 (sin_test_towardzero): Likewise.
5196 (sin_test_downward): Likewise.
5197 (sin_test_upward): Likewise.
5198 (sincos_test): Likewise.
5199 (sinh_test): Likewise.
5200 (sinh_test_tonearest): Likewise.
5201 (sinh_test_towardzero): Likewise.
5202 (sinh_test_downward): Likewise.
5203 (sinh_test_upward): Likewise.
5204 (sqrt_test): Likewise.
5205 (tan_test): Likewise.
5206 (tan_test_tonearest): Likewise.
5207 (tan_test_towardzero): Likewise.
5208 (tan_test_downward): Likewise.
5209 (tan_test_upward): Likewise.
5210 (tanh_test): Likewise.
5211 (tgamma_test): Likewise.
5212 (y0_test): Likewise.
5213 (y1_test): Likewise.
5214 (yn_test): Likewise.
5215
323e5cb7
JM
5216 * math/gen-libm-test.pl (adjust_arg): Remove function.
5217 (special_function): Remove argument $in_func. Only handle
5218 generating output for tables of tests, not inside functions.
5219 (parse_args): Likewise.
5220 (generate_testfile): Remove variable $in_func. Update call to
5221 parse_args.
5222 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5223 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5224 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5225 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5226 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5227 (MAX_VALUE_INIT): Rename macro to max_value.
5228 (MIN_VALUE_INIT): Rename macro to min_value.
5229 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5230 (plus_zero): Remove variable.
5231 (minus_zero): Likewise.
5232 (plus_infty): Likewise.
5233 (minus_infty): Likewise.
5234 (qnan_value): Likewise.
5235 (max_value): Likewise.
5236 (min_value): Likewise.
5237 (min_subnorm_value): Likewise.
5238
e054f494
RA
52392013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5240
5241 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5242 uint64_t or uint32_t usage.
5243 * crypt/sha256-block.c: Likewise.
5244 * crypt/sha256-crypt.c: Likewise.
5245 * crypt/sha256.c: Likewise.
5246 * crypt/sha512-block.c: Likewise.
5247 * crypt/sha512-crypt.c: Likewise.
5248 * crypt/sha512.c: Likewise.
5249 * debug/backtrace-tst.c: Likewise.
5250 * debug/pcprofiledump.c: Likewise.
5251 * elf/cache.c: Likewise.
5252 * elf/dl-cache.c: Likewise.
5253 * elf/dl-misc.c: Likewise.
5254 * elf/dl-profile.c: Likewise.
5255 * elf/dl-support.c: Likewise.
5256 * elf/ldconfig.c: Likewise.
5257 * elf/sprof.c: Likewise.
5258 * iconv/dummy-repertoire.c: Likewise.
5259 * iconv/iconv_charmap.c: Likewise.
5260 * iconv/skeleton.c: Likewise.
5261 * iconvdata/8bit-generic.c: Likewise.
5262 * iconvdata/cp737.h: Likewise.
5263 * iconvdata/cp775.h: Likewise.
5264 * iconvdata/ibm1008.h: Likewise.
5265 * iconvdata/ibm1025.h: Likewise.
5266 * iconvdata/ibm1046.h: Likewise.
5267 * iconvdata/ibm1097.h: Likewise.
5268 * iconvdata/ibm1112.h: Likewise.
5269 * iconvdata/ibm1122.h: Likewise.
5270 * iconvdata/ibm1123.h: Likewise.
5271 * iconvdata/ibm1124.h: Likewise.
5272 * iconvdata/ibm1129.h: Likewise.
5273 * iconvdata/ibm1130.h: Likewise.
5274 * iconvdata/ibm1132.h: Likewise.
5275 * iconvdata/ibm1133.h: Likewise.
5276 * iconvdata/ibm1137.h: Likewise.
5277 * iconvdata/ibm1140.h: Likewise.
5278 * iconvdata/ibm1141.h: Likewise.
5279 * iconvdata/ibm1142.h: Likewise.
5280 * iconvdata/ibm1143.h: Likewise.
5281 * iconvdata/ibm1144.h: Likewise.
5282 * iconvdata/ibm1145.h: Likewise.
5283 * iconvdata/ibm1146.h: Likewise.
5284 * iconvdata/ibm1147.h: Likewise.
5285 * iconvdata/ibm1148.h: Likewise.
5286 * iconvdata/ibm1149.h: Likewise.
5287 * iconvdata/ibm1153.h: Likewise.
5288 * iconvdata/ibm1154.h: Likewise.
5289 * iconvdata/ibm1155.h: Likewise.
5290 * iconvdata/ibm1156.h: Likewise.
5291 * iconvdata/ibm1157.h: Likewise.
5292 * iconvdata/ibm1158.h: Likewise.
5293 * iconvdata/ibm1160.h: Likewise.
5294 * iconvdata/ibm1161.h: Likewise.
5295 * iconvdata/ibm1162.h: Likewise.
5296 * iconvdata/ibm1163.h: Likewise.
5297 * iconvdata/ibm1164.h: Likewise.
5298 * iconvdata/ibm1166.h: Likewise.
5299 * iconvdata/ibm1167.h: Likewise.
5300 * iconvdata/ibm12712.h: Likewise.
5301 * iconvdata/ibm1390.h: Likewise.
5302 * iconvdata/ibm1399.h: Likewise.
5303 * iconvdata/ibm16804.h: Likewise.
5304 * iconvdata/ibm4517.h: Likewise.
5305 * iconvdata/ibm4899.h: Likewise.
5306 * iconvdata/ibm4909.h: Likewise.
5307 * iconvdata/ibm4971.h: Likewise.
5308 * iconvdata/ibm5347.h: Likewise.
5309 * iconvdata/ibm803.h: Likewise.
5310 * iconvdata/ibm856.h: Likewise.
5311 * iconvdata/ibm901.h: Likewise.
5312 * iconvdata/ibm902.h: Likewise.
5313 * iconvdata/ibm9030.h: Likewise.
5314 * iconvdata/ibm9066.h: Likewise.
5315 * iconvdata/ibm921.h: Likewise.
5316 * iconvdata/ibm922.h: Likewise.
5317 * iconvdata/ibm9448.h: Likewise.
5318 * iconvdata/isiri-3342.h: Likewise.
5319 * iconvdata/jis0201.h: Likewise.
5320 * include/link.h: Likewise.
5321 * include/netdb.h: Likewise.
5322 * inet/check_native.c: Likewise.
5323 * inet/check_pf.c: Likewise.
5324 * inet/getipv4sourcefilter.c: Likewise.
5325 * inet/getnameinfo.c: Likewise.
5326 * inet/getsourcefilter.c: Likewise.
5327 * inet/htonl.c: Likewise.
5328 * inet/setipv4sourcefilter.c: Likewise.
5329 * inet/setsourcefilter.c: Likewise.
5330 * inet/test-inet6_opt.c: Likewise.
5331 * inet/tst-network.c: Likewise.
5332 * locale/C-collate.c: Likewise.
5333 * locale/C-ctype.c: Likewise.
5334 * locale/C-time.c: Likewise.
5335 * locale/C-translit.h: Likewise.
5336 * locale/loadarchive.c: Likewise.
5337 * locale/programs/3level.h: Likewise.
5338 * locale/programs/charmap.c: Likewise.
5339 * locale/programs/charmap.h: Likewise.
5340 * locale/programs/ld-address.c: Likewise.
5341 * locale/programs/ld-collate.c: Likewise.
5342 * locale/programs/ld-ctype.c: Likewise.
5343 * locale/programs/ld-identification.c: Likewise.
5344 * locale/programs/ld-measurement.c: Likewise.
5345 * locale/programs/ld-messages.c: Likewise.
5346 * locale/programs/ld-monetary.c: Likewise.
5347 * locale/programs/ld-name.c: Likewise.
5348 * locale/programs/ld-numeric.c: Likewise.
5349 * locale/programs/ld-paper.c: Likewise.
5350 * locale/programs/ld-telephone.c: Likewise.
5351 * locale/programs/ld-time.c: Likewise.
5352 * locale/programs/linereader.c: Likewise.
5353 * locale/programs/locale.c: Likewise.
5354 * locale/programs/locarchive.c: Likewise.
5355 * locale/programs/locfile.h: Likewise.
5356 * locale/programs/repertoire.c: Likewise.
5357 * locale/programs/simple-hash.c: Likewise.
5358 * locale/programs/simple-hash.h: Likewise.
5359 * malloc/memusage.c: Likewise.
5360 * malloc/memusagestat.c: Likewise.
5361 * nis/nis_defaults.c: Likewise.
5362 * nis/nis_hash.c: Likewise.
5363 * nis/nis_print.c: Likewise.
5364 * nis/nis_xdr.c: Likewise.
5365 * nscd/connections.c: Likewise.
5366 * nscd/hstcache.c: Likewise.
5367 * nscd/nscd_gethst_r.c: Likewise.
5368 * nscd/nscd_getserv_r.c: Likewise.
5369 * nscd/nscd_helper.c: Likewise.
5370 * nscd/servicescache.c: Likewise.
5371 * nss/makedb.c: Likewise.
5372 * nss/nss_db/db-XXX.c: Likewise.
5373 * nss/nss_db/db-initgroups.c: Likewise.
5374 * nss/nss_db/db-netgrp.c: Likewise.
5375 * nss/nss_files/files-network.c: Likewise.
5376 * nss/nss_files/files-parse.c: Likewise.
5377 * posix/bug-regex5.c: Likewise.
5378 * posix/fnmatch_loop.c: Likewise.
5379 * posix/regcomp.c: Likewise.
5380 * posix/regexec.c: Likewise.
5381 * posix/tst-rfc3484-2.c: Likewise.
5382 * posix/tst-rfc3484-3.c: Likewise.
5383 * posix/tst-rfc3484.c: Likewise.
5384 * resolv/nss_dns/dns-canon.c: Likewise.
5385 * resolv/nss_dns/dns-network.c: Likewise.
5386 * resolv/res_init.c: Likewise.
5387 * resolv/res_mkquery.c: Likewise.
5388 * resolv/tst-aton.c: Likewise.
5389 * stdlib/cxa_atexit.c: Likewise.
5390 * stdlib/cxa_finalize.c: Likewise.
5391 * stdlib/gen-fpioconst.c: Likewise.
5392 * stdlib/strtol_l.c: Likewise.
5393 * string/tst-endian.c: Likewise.
5394 * sunrpc/auth_des.c: Likewise.
5395 * sunrpc/clnt_udp.c: Likewise.
5396 * sunrpc/rtime.c: Likewise.
5397 * sunrpc/svcauth_des.c: Likewise.
5398 * sunrpc/xdr.c: Likewise.
5399 * sunrpc/xdr_intXX_t.c: Likewise.
5400 * sunrpc/xdr_rec.c: Likewise.
5401 * sysdeps/generic/ldconfig.h: Likewise.
5402 * sysdeps/generic/ldsodefs.h: Likewise.
5403 * sysdeps/generic/memusage.h: Likewise.
5404 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5407 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5409 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5414 * sysdeps/posix/getaddrinfo.c: Likewise.
5415 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5416 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5417 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5418 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5419 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5420 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5421 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5422 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5423 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5424 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5425 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5426 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5427 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5428 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5429 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5430 * sysdeps/x86_64/dl-tls.h: Likewise.
5431 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5432 * time/alt_digit.c: Likewise.
5433 * time/era.c: Likewise.
5434 * wcsmbs/tst-c16c32-1.c: Likewise.
5435
8c75f674
JM
54362013-05-16 Joseph Myers <joseph@codesourcery.com>
5437
5438 * math/libm-test.inc (struct test_sincos_data): New type.
5439 (RUN_TEST_LOOP_sincos): New macro.
5440 (sincos_test_data): New variable.
5441 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5442
e6e49e59
RH
54432013-05-16 Richard Henderson <rth@redhat.com>
5444
5445 * math/atest-exp2.c (LIMB64): New macro.
5446 (CONSTSZ): New macro.
5447 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5448 (hexdig): Move ...
5449 (print_mpn_fp): ... to function scope.
5450 (read_mpn_hex): Remove.
5451 (get_log2): Remove.
5452 (exp2_mpn): Use mp_log2.
5453 (main): Use mp_exp1.
5454
15c7c18d
JM
54552013-05-16 Joseph Myers <joseph@codesourcery.com>
5456
105a07df
JM
5457 * math/libm-test.inc: Remove comment about not testing "inexact"
5458 exceptions.
5459 (INEXACT_EXCEPTION): New macro.
5460 (NO_INEXACT_EXCEPTION): Likewise.
5461 (INVALID_EXCEPTION_OK): Update value.
5462 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5463 (OVERFLOW_EXCEPTION_OK): Likewise.
5464 (UNDERFLOW_EXCEPTION_OK): Likewise.
5465 (IGNORE_ZERO_INF_SIGN): Likewise.
5466 (ERRNO_UNCHANGED): Likewise.
5467 (ERRNO_EDOM): Likewise.
5468 (ERRNO_ERANGE): Likewise.
5469 (test_exceptions): Handle testing "inexact" exceptions.
5470 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5471 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5472 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5473 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5474 INEXACT_EXCEPTION.
5475 (rint_towardzero_test_data): Likewise.
5476 (rint_downward_test_data): Likewise.
5477 (rint_upward_test_data): Likewise.
5478
e9eee333
JM
5479 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5480 with OVERFLOW_EXCEPTION.
5481 (exp10_test_data): Likewise.
5482 (exp2_test_data): Likewise.
5483 (expm1_test_data): Likewise.
5484 (lgamma_test_data): Likewise.
5485 (pow_test_data): Likewise.
5486 (tgamma_test_data): Likewise.
5487 (yn_test_data): Remove duplicate test of overflow.
5488
1c38ff73
JM
5489 * math/libm-test.inc (struct test_cc_c_data): New type.
5490 (RUN_TEST_LOOP_cc_c): New macro.
5491 (cpow_test_data): New variable.
5492 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5493
15c7c18d
JM
5494 * math/libm-test.inc (struct test_f_L_data): New type.
5495 (RUN_TEST_LOOP_f_L): New macro.
5496 (llrint_test_data): New variable.
5497 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5498 (llrint_tonearest_test_data): New variable.
5499 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5500 (llrint_towardzero_test_data): New variable.
5501 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5502 (llrint_downward_test_data): New variable.
5503 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5504 (llrint_upward_test_data): New variable.
5505 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5506 (llround_test_data): New variable.
5507 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5508
f137ff13
PC
55092013-05-13 Peter Collingbourne <pcc@google.com>
5510
5511 * math/atest-exp2.c (get_log2): Remove const attribute.
5512
3608cb24
JM
55132013-05-15 Joseph Myers <joseph@codesourcery.com>
5514
5515 * math/libm-test.inc (struct test_f_l_data): New type.
5516 (RUN_TEST_LOOP_f_l): New macro.
5517 (lrint_test_data): New variable.
5518 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5519 (lrint_tonearest_test_data): New variable.
5520 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5521 (lrint_towardzero_test_data): New variable.
5522 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5523 (lrint_downward_test_data): New variable.
5524 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5525 (lrint_upward_test_data): New variable.
5526 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5527 (lround_test_data): New variable.
5528 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5529
39b1f617
PC
55302013-05-15 Peter Collingbourne <pcc@google.com>
5531
1deff3dc
PC
5532 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5533 (EXTRACT_WORDS64) Use where appropriate.
5534 (INSERT_WORDS64) Likewise.
5535
791f3ba0
PC
5536 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5537 constraints with x constraints.
5538 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5539
39b1f617
PC
5540 * malloc/obstack.c (_obstack_compat): Add initializer.
5541
12fba011
EM
55422013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5543
5544 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5545 si_trapno and add si_addr_lsb to _sifields.sigfault.
5546 (si_trapno): Remove macro.
5547 (si_addr_lsb): Define new macro.
5548 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5549
d369f531
JM
55502013-05-15 Joseph Myers <joseph@codesourcery.com>
5551
b861c6c4
JM
5552 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5553 instead of TEST_f_l.
5554 (llrint_test_tonearest): Likewise.
5555 (llrint_test_towardzero): Likewise.
5556 (llrint_test_downward): Likewise.
5557 (llrint_test_upward): Likewise.
5558 (llround_test): Likewise.
5559
7abeee12
JM
5560 * math/libm-test.inc (struct test_f_i_data): Add comment.
5561 (RUN_TEST_LOOP_f_b): New macro.
5562 (RUN_TEST_LOOP_f_b_tg): Likewise.
5563 (finite_test_data): New variable.
5564 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5565 (isfinite_test_data): New variable.
5566 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5567 (isinf_test_data): New variable.
5568 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5569 (isnan_test_data): New variable.
5570 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5571 (isnormal_test_data): New variable.
5572 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5573 (issignaling_test_data): New variable.
5574 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5575 (signbit_test_data): New variable.
5576 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5577
cbe8c4d3
JM
5578 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5579 with INVALID_EXCEPTION.
5580 (acosh_test_data): Likewise.
5581 (asin_test_data): Likewise.
5582 (atanh_test_data): Likewise.
5583 (fmod_test_data): Likewise.
5584 (log_test_data): Likewise.
5585 (log10_test_data): Likewise.
5586 (log2_test_data): Likewise.
5587 (pow_test_data): Likewise.
5588 (sqrt_test_data): Likewise.
5589 (y0_test_data): Likewise.
5590 (y1_test_data): Likewise.
5591 (yn_test_data): Likewise.
5592
5575c0e5
JM
5593 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5594 function contents.
5595
d369f531
JM
5596 * math/libm-test.inc (struct test_ff_i_data): New type.
5597 (RUN_TEST_LOOP_ff_i_tg): New macro.
5598 (isgreater_test_data): New variable.
5599 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5600 (isgreaterequal_test_data): New variable.
5601 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5602 (isless_test_data): New variable.
5603 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5604 (islessequal_test_data): New variable.
5605 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5606 (islessgreater_test_data): New variable.
5607 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5608 (isunordered_test_data): New variable.
5609 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5610
781fd748
DM
56112013-05-14 David S. Miller <davem@davemloft.net>
5612
5613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5614
87aa21df
JM
56152013-05-14 Joseph Myers <joseph@codesourcery.com>
5616
5e908270
JM
5617 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5618
f71172e5
JM
5619 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5620 extra_test to int.
5621 (struct test_f_i_data): Change type of max_ulp to int.
5622
8cfa635a
JM
5623 * math/libm-test.inc (test_ffI_f1_data): New type.
5624 (RUN_TEST_LOOP_ffI_f1): New macro.
5625 (remquo_test_data): New variable.
5626 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5627
2bcb36b2
JM
5628 * setjmp/tst-setjmp-fp.c: New file.
5629 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5630 (link-libm): New variable.
5631 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5632
acbd839a
JM
5633 * math/libm-test.inc (struct test_f_i_data): New type.
5634 (RUN_TEST_LOOP_f_i): New macro.
5635 (RUN_TEST_LOOP_f_i_tg): Likewise.
5636 (fpclassify_test_data): New variable.
5637 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5638 (ilogb_test_data): New variable.
5639 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5640
e414d745
JM
5641 * math/libm-test.inc (scalbln_test): Correct function name in END
5642 call.
5643
d9c2a0fd
JM
5644 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5645 (RUN_TEST_LOOP_fI_f1): New macro.
5646 (frexp_test_data): New variable.
5647 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5648
9dc9095d
JM
5649 * math/libm-test.inc (struct test_fF_f1_data): New type.
5650 (RUN_TEST_LOOP_fF_f1): New macro.
5651 (modf_test_data): New variable.
5652 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5653
87aa21df
JM
5654 * math/libm-test.inc (struct test_f_f1_data): New type.
5655 (RUN_TEST_LOOP_f_f1): New macro.
5656 (gamma_test_data): New variable.
5657 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5658 (lgamma_test_data): New variable.
5659 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5660
141af660
CD
56612013-05-13 Carlos O'Donell <carlos@redhat.com>
5662
5663 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5664 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5665 (main): Comment "tls" pseudo-hwcap.
5666
6d33265c
JM
56672013-05-13 Joseph Myers <joseph@codesourcery.com>
5668
68fc074c
JM
5669 * math/libm-test.inc (struct test_fl_f_data): New type.
5670 (RUN_TEST_LOOP_fl_f): New variable.
5671 (scalbln_test_data): New variable.
5672 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5673
243216e1
JM
5674 * math/libm-test.inc (struct test_fi_f_data): New type.
5675 (RUN_TEST_LOOP_fi_f): New macro.
5676 (ldexp_test_data): New variable.
5677 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5678 (scalbn_test_data): New variable.
5679 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5680
6a1992e2
JM
5681 * math/libm-test.inc (struct test_c_f_data): New type.
5682 (RUN_TEST_LOOP_c_f): New macro.
5683 (cabs_test_data): New variable.
5684 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5685 (carg_test_data): New variable.
5686 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5687 (cimag_test_data): New variable.
5688 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5689 (creal_test_data): New variable.
5690 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5691
0e400df5
JM
5692 * math/libm-test.inc (struct test_if_f_data): New type.
5693 (RUN_TEST_LOOP_if_f): New macro.
5694 (jn_test_data): New variable.
5695 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5696 (yn_test_data): New variable.
5697 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5698
6d33265c
JM
5699 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5700
f98ece5f
AZ
57012013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5702
5703 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5704 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5705
0f7d347b
SP
57062013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5707
43fe811b
SP
5708 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5709 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5710 (bench-deps): Add bench-timing.h.
5711 * benchtests-bench-skeleton.c: Include bench-timing.h.
5712 (main): Use TIMING_* macros instead of clock_gettime.
5713 * benchtests/bench-timing.h: New file.
5714
0f7d347b
SP
5715 [BZ #14582]
5716 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5717 Renamed from _LIB_VERSION.
5718 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5719
601a3a5f
JM
57202013-05-12 Joseph Myers <joseph@codesourcery.com>
5721
4f184d30
JM
5722 * math/libm-test.inc (struct test_fff_f_data): New type.
5723 (RUN_TEST_LOOP_fff_f): New macro.
5724 (fma_test_data): New variable.
5725 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5726 (fma_towardzero_test_data): New variable.
5727 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5728 (fma_downward_test_data): New variable.
5729 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5730 (fma_upward_test_data): New variable.
5731 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5732
08198877
JM
5733 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5734 (struct test_c_c_data): New type.
5735 (RUN_TEST_LOOP_c_c): New macro.
5736 (cacos_test_data): New variable.
5737 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5738 (cacosh_test_data): New variable.
5739 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5740 (casin_test_data): New variable.
5741 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5742 (casinh_test_data): New variable.
5743 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5744 (catan_test_data): New variable.
5745 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5746 (catanh_test_data): New variable.
5747 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5748 (ccos_test_data): New variable.
5749 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5750 (ccosh_test_data): New variable.
5751 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5752 (cexp_test_data): New variable.
5753 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5754 (clog_test_data): New variable.
5755 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5756 (clog10_test_data): New variable.
5757 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5758 (conj_test_data): New variable.
5759 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5760 (cproj_test_data): New variable.
5761 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5762 (csin_test_data): New variable.
5763 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5764 (csinh_test_data): New variable.
5765 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5766 (csqrt_test_data): New variable.
5767 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5768 (ctan_test_data): New variable.
5769 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5770 (ctan_tonearest_test_data): New variable.
5771 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5772 (ctan_towardzero_test_data): New variable.
5773 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5774 (ctan_downward_test_data): New variable.
5775 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5776 (ctan_upward_test_data): New variable.
5777 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5778 (ctanh_test_data): New variable.
5779 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5780 (ctanh_tonearest_test_data): New variable.
5781 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5782 (ctanh_towardzero_test_data): New variable.
5783 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5784 (ctanh_downward_test_data): New variable.
5785 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5786 (ctanh_upward_test_data): New variable.
5787 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5788 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5789 of BUILD_COMPLEX.
5790
601a3a5f
JM
5791 * math/libm-test.inc (struct test_ff_f_data): New type.
5792 (struct test_ff_f_data_nexttoward): Likewise.
5793 (RUN_TEST_LOOP_2_f): New macro.
5794 (RUN_TEST_LOOP_ff_f): Likewise.
5795 (atan2_test_data): New variable.
5796 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5797 (copysign_test_data): New variable.
5798 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5799 (fdim_test_data): New variable.
5800 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5801 (fmax_test_data): New variable.
5802 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5803 (fmin_test_data): New variable.
5804 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5805 (fmod_test_data): New variable.
5806 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5807 (hypot_test_data): New variable.
5808 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5809 (nextafter_test_data): New variable.
5810 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5811 (nexttoward_test_data): New variable.
5812 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5813 (pow_test_data): New variable.
5814 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5815 (pow_tonearest_test_data): New variable.
5816 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5817 (pow_towardzero_test_data): New variable.
5818 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5819 (pow_downward_test_data): New variable.
5820 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5821 (pow_upward_test_data): New variable.
5822 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5823 (remainder_test_data): New variable.
5824 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5825 (scalb_test_data): New variable.
5826 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5827 * sysdeps/i386/fpu/libm-test-ulps: Update.
5828
74c57478
JM
58292013-05-11 Joseph Myers <joseph@codesourcery.com>
5830
8329e4da
JM
5831 * math/libm-test.inc (fma_test): Use max_value instead of local
5832 variable fltmax.
5833 (nextafter_test): Likewise.
5834
74c57478
JM
5835 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5836 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5837 (acos_downward_test_data): New variable.
5838 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5839 (acos_upward_test_data): New variable.
5840 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5841 (acosh_test_data): New variable.
5842 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5843 (asin_test_data): New variable.
5844 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5845 (asin_tonearest_test_data): New variable.
5846 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5847 (asin_towardzero_test_data): New variable.
5848 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5849 (asin_downward_test_data): New variable.
5850 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5851 (asin_upward_test_data): New variable.
5852 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5853 (asinh_test_data): New variable.
5854 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5855 (atan_test_data): New variable.
5856 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5857 (atanh_test_data): New variable.
5858 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5859 (cbrt_test_data): New variable.
5860 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5861 (ceil_test_data): New variable.
5862 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5863 (cos_test_data): New variable.
5864 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5865 (cos_tonearest_test_data): New variable.
5866 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5867 (cos_towardzero_test_data): New variable.
5868 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5869 (cos_downward_test_data): New variable.
5870 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5871 (cos_upward_test_data): New variable.
5872 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5873 (cosh_test_data): New variable.
5874 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5875 (cosh_tonearest_test_data): New variable.
5876 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5877 (cosh_towardzero_test_data): New variable.
5878 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5879 (cosh_downward_test_data): New variable.
5880 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5881 (cosh_upward_test_data): New variable.
5882 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5883 (erf_test_data): New variable.
5884 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5885 (erfc_test_data): New variable.
5886 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5887 (exp_test_data): New variable.
5888 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5889 (exp_tonearest_test_data): New variable.
5890 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5891 (exp_towardzero_test_data): New variable.
5892 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5893 (exp_downward_test_data): New variable.
5894 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5895 (exp_upward_test_data): New variable.
5896 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5897 (exp10_test_data): New variable.
5898 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5899 (exp2_test_data): New variable.
5900 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5901 (expm1_test_data): New variable.
5902 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5903 (fabs_test_data): New variable.
5904 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5905 (floor_test_data): New variable.
5906 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5907 (j0_test_data): New variable.
5908 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5909 (j1_test_data): New variable.
5910 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5911 (log_test_data): New variable.
5912 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5913 (log10_test_data): New variable.
5914 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5915 (log1p_test_data): New variable.
5916 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5917 (log2_test_data): New variable.
5918 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5919 (logb_test_data): New variable.
5920 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5921 (logb_downward_test_data): New variable.
5922 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5923 (nearbyint_test_data): New variable.
5924 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5925 (rint_test_data): New variable.
5926 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5927 (rint_tonearest_test_data): New variable.
5928 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5929 (rint_towardzero_test_data): New variable.
5930 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5931 (rint_downward_test_data): New variable.
5932 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5933 (rint_upward_test_data): New variable.
5934 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5935 (round_test_data): New variable.
5936 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5937 (sin_test_data): New variable.
5938 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5939 (sin_tonearest_test_data): New variable.
5940 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5941 (sin_towardzero_test_data): New variable.
5942 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5943 (sin_downward_test_data): New variable.
5944 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5945 (sin_upward_test_data): New variable.
5946 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5947 (sinh_test_data): New variable.
5948 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5949 (sinh_tonearest_test_data): New variable.
5950 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5951 (sinh_towardzero_test_data): New variable.
5952 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5953 (sinh_downward_test_data): New variable.
5954 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5955 (sinh_upward_test_data): New variable.
5956 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5957 (sqrt_test_data): New variable.
5958 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5959 (tan_test_data): New variable.
5960 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5961 (tan_tonearest_test_data): New variable.
5962 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5963 (tan_towardzero_test_data): New variable.
5964 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5965 (tan_downward_test_data): New variable.
5966 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5967 (tan_upward_test_data): New variable.
5968 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5969 (tanh_test_data): New variable.
5970 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5971 (tgamma_test_data): New variable.
5972 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5973 (trunc_test_data): New variable.
5974 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5975 (y0_test_data): New variable.
5976 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5977 (y1_test_data): New variable.
5978 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5979 (significand_test_data): New variable.
5980 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5981
7187d844
CG
59822013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5983
5984 [BZ #12387]
5985 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5986
f63fae73
PT
59872013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5988
5989 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5990
8a67a4b3
AJ
59912013-05-10 Andreas Jaeger <aj@suse.de>
5992
5993 [BZ #15448]
5994 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5995 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5996
51df539d
JM
59972013-05-10 Joseph Myers <joseph@codesourcery.com>
5998
5999 * math/gen-libm-test.pl (adjust_arg): New function.
6000 (special_functions): Handle generating output in both functions
6001 and arrays.
6002 (parse_args): Likewise.
6003 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6004 $in_func argument to parse_args.
6005 * math/libm-test.inc (struct test_f_f_data): New type.
6006 (IF_ROUND_INIT_): New macro.
6007 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6008 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6009 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6010 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6011 (ROUND_RESTORE_): Likewise.
6012 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6013 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6014 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6015 (ROUND_RESTORE_FE_UPWARD): Likewise.
6016 (RUN_TEST_LOOP_f_f): New macro.
6017 (acos_test_data): New variable.
6018 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6019 (acos_tonearest_test_data): New variable.
6020 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6021
5c637fe5
SP
60222013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6023
6024 * benchtests/bench-skeleton.c (startup): Fix coding style.
6025
ab2b9461
JM
60262013-05-10 Joseph Myers <joseph@codesourcery.com>
6027
6028 [BZ #6809]
6029 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6030 negative infinity argument.
6031 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6032 negative infinity argument.
6033 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6034 negative infinity argument.
6035 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6036 domain errors.
6037
4c0fe6fe
FW
60382013-05-10 Florian Weimer <fweimer@redhat.com>
6039
6040 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6041 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6042 * iconv/iconv_prog.c (main): Likewise.
6043 * locale/programs/charmap-dir.c (charmap_readdir)
6044 (fopen_uncompressed): Likewise.
6045 * locale/programs/locfile.c (siblings_uncached)
6046 (write_locale_data): Use lstat64 instead of lstat.
6047 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6048 stat.
6049
a3375d29
AJ
60502013-05-10 Andreas Jaeger <aj@suse.de>
6051
6052 [BZ #15395]
6053 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6054 localization.
6055 Include <locale.h>.
6056
36129722
CD
60572013-05-09 Carlos O'Donell <carlos@redhat.com>
6058
6059 * elf/dl-close.c (_dl_close_worker): Add comments.
6060
faa7f811
JM
60612013-05-09 Joseph Myers <joseph@codesourcery.com>
6062
ed41ffef
JM
6063 [BZ #15359]
6064 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6065 high part of pi/2.
6066 (__ieee754_rem_pio2l): Update comments.
6067
d0213cd0
JM
6068 [BZ #15429]
6069 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6070 high part of pi/2.
6071 (__ieee754_rem_pio2l): Update comments.
6072
0d3e777a
JM
6073 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6074 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6075
24f56066
JM
6076 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6077 M_PI_4l.
6078
faa7f811
JM
6079 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6080 (M_PI_34_LOG10El): Likewise.
6081 (M_PI2_LOG10El): Likewise.
6082 (M_PI4_LOG10El): Likewise.
6083 (M_PI_LOG10El): Likewise.
6084
e9a5e0fd
AZ
60852013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6086
6087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6088
d8cd06db
JM
60892013-05-08 Joseph Myers <joseph@codesourcery.com>
6090
a0d9f9d7
JM
6091 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6092 (MINUS_ZERO_INIT): Likewise.
6093 (PLUS_INFTY_INIT): Likewise.
6094 (MINUS_INFTY_INIT): Likewise.
6095 (QNAN_VALUE_INIT): Likewise.
6096 (MAX_VALUE_INIT): Likewise.
6097 (MIN_VALUE_INIT): Likewise.
6098 (MIN_SUBNORM_VALUE_INIT): Likewise.
6099 (plus_zero): Initialize with PLUS_ZERO_INIT.
6100 (minus_zero): Initialize with MINUS_ZERO_INIT.
6101 (plus_infty): Initialize with PLUS_INFTY_INIT.
6102 (minus_infty): Initialize with MINUS_INFTY_INIT.
6103 (qnan_value): Initialize with QNAN_VALUE_INIT.
6104 (max_value): Initialize with MAX_VALUE_INIT.
6105 (min_value): Initialize with MIN_VALUE_INIT.
6106 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6107
ae08db3b
JM
6108 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6109 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6110 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6111 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6112
f44bf14a
JM
6113 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6114 (RUN_TEST_2_f): Likewise.
6115 (RUN_TEST_ff_f): Likewise.
6116 (RUN_TEST_fi_f): Likewise.
6117 (RUN_TEST_fl_f): Likewise.
6118 (RUN_TEST_fff_f): Likewise.
6119 (RUN_TEST_c_f): Likewise.
6120 (RUN_TEST_f_f1): Likewise.
6121 (RUN_TEST_fF_f1): Likewise.
6122 (RUN_TEST_fI_f1): Likewise.
6123 (RUN_TEST_ffI_f1): Likewise.
6124 (RUN_TEST_c_c): Likewise.
6125 (RUN_TEST_cc_c): Likewise.
6126 (RUN_TEST_f_i): Likewise.
6127 (RUN_TEST_f_i_tg): Likewise.
6128 (RUN_TEST_ff_i_tg): Likewise.
6129 (RUN_TEST_f_b): Likewise.
6130 (RUN_TEST_f_b_tg): Likewise.
6131 (RUN_TEST_f_l): Likewise.
6132 (RUN_TEST_f_L): Likewise.
6133 (RUN_TEST_sincos): Likewise.
6134 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6135 whether to show exceptions. Do not include ");\n" in return
6136 value.
6137 (special_functions): Output call to RUN_TEST_sincos instead of
6138 check_float calls. Update calls to new_test.
6139 (parse_args): Output call to single RUN_TEST_* macro instead of
6140 check_* calls and other assignments. Update calls to new_test.
6141
d8cd06db
JM
6142 [BZ #2546]
6143 [BZ #2560]
6144 [BZ #5159]
6145 [BZ #15426]
6146 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6147 input to result for tgamma overflow.
6148 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6149 (gamma_coeff): New variable.
6150 (NCOEFF): New macro.
6151 (gamma_positive): New function.
6152 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6153 underflow here. Use gamma_positive instead of exp (lgamma) for
6154 other arguments.
6155 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6156 (gamma_coeff): New variable.
6157 (NCOEFF): New macro.
6158 (gammaf_positive): New function.
6159 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6160 underflow here. Use gamma_positive instead of exp (lgamma) for
6161 other arguments.
6162 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6163 (gamma_coeff): New variable.
6164 (NCOEFF): New macro.
6165 (gammal_positive): New function.
6166 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6167 underflow here. Use gamma_positive instead of exp (lgamma) for
6168 other arguments.
6169 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6170 (gamma_coeff): New variable.
6171 (NCOEFF): New macro.
6172 (gammal_positive): New function.
6173 (__ieee754_gammal_r): Handle positive infinity, overflow and
6174 underflow here. Handle NaN the same as positive infinity. Remove
6175 check x < 0xffffffff for negative integers. Use gamma_positive
6176 instead of exp (lgamma) for other arguments.
6177 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6178 (gamma_coeff): New variable.
6179 (NCOEFF): New macro.
6180 (gammal_positive): New function.
6181 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6182 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6183 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6185 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6186 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6187 * sysdeps/generic/math_private.h (__gamma_productf): New
6188 prototype.
6189 (__gamma_product): Likewise.
6190 (__gamma_productl): Likewise.
6191 * math/Makefile (libm-calls): Add gamma_product.
6192 * math/libm-test.inc (tgamma_test): Add more tests.
6193 * sysdeps/i386/fpu/libm-test-ulps: Update.
6194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6195
bb7cf681
OB
61962013-05-08 Ondřej Bílka <neleai@seznam.cz>
6197
6198 * benchtests/bench-skeleton.c (main): Preheat CPU.
6199
ba853947
AJ
62002013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6201
6202 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6203
8347c74c
RM
62042013-05-07 Roland McGrath <roland@hack.frob.com>
6205
6206 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6207 and _dl_skip_args_internal.
6208
e8dd4791
CD
62092013-05-07 Carlos O'Donell <carlos@redhat.com>
6210
6211 * manual/message.texi (Message Translation): Talk about users.
6212 Message to key mapping impacts design.
6213
c7405830
RM
62142013-05-06 Roland McGrath <roland@hack.frob.com>
6215
a9173057
RM
6216 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6217
976e2f03
RM
6218 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6219
9723ffc5
RM
6220 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6221 * sysdeps/wordsize-64/glob64.c: ... here.
6222
962e6658
RM
6223 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6224 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6225 New macros.
6226
ee586a6d
RM
6227 * debug/getlogin_r_chk.c: Moved to ...
6228 * login/getlogin_r_chk.c: ... here.
6229 * debug/Makefile (routines): Move getlogin_r_chk to ...
6230 * login/Makefile (routines): ... here.
6231 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6232 * login/Versions (libc: GLIBC_2.4): ... here.
6233
355f9165
RM
6234 * io/poll.c (__poll): Renamed from poll.
6235 Add libc_hidden_def.
6236 (poll): Define as weak alias.
6237
bd9ffde6
RM
6238 * debug/ptsname_r_chk.c: Moved to ...
6239 * login/ptsname_r_chk.c: ... here.
6240 * debug/Makefile (routines): Move ptsname_r_chk to ...
6241 * login/Makefile (routines): ... here.
6242 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6243 * login/Versions (libc: GLIBC_2.4): ... here.
6244
8fb16a04
RM
6245 * posix/getlogin.c: Moved to ...
6246 * login/getlogin.c: ... here.
6247 * posix/getlogin_r.c: Moved to ...
6248 * login/getlogin_r.c: ... here.
6249 * posix/getlogin_r.c: Moved to ...
6250 * login/getlogin_r.c: ... here.
6251 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6252 * login/Makefile (routines): ... here.
6253 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6254 * login/Versions (libc: GLIBC_2.0): ... here.
6255
b99b892f
RM
6256 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6257 (setrlimit): Define as weak alias.
6258
c7405830
RM
6259 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6260 Call __ names for open, ftruncate, and close.
6261 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6262 (truncate): Define as weak alias.
6263
5bf96de5
JM
62642013-05-06 Joseph Myers <joseph@codesourcery.com>
6265
9ea3513c
JM
6266 * math/gen-libm-test.pl (parse_args): Initialize x before each
6267 test of frexp, modf and remquo.
6268
5bf96de5
JM
6269 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6270 test signgam value.
6271
16e616a7
AZ
62722013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6273
6274 [BZ #15418]
6275 [BZ #15419]
6276 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6277 internal tests.
6278 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6279
d5e82754
RM
62802013-05-06 Roland McGrath <roland@hack.frob.com>
6281
6282 * elf/dl-writev.h: New file.
6283 * elf/dl-misc.c: Include it.
6284 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6285 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6286
a7548d41
JM
62872013-05-04 Joseph Myers <joseph@codesourcery.com>
6288
b7dab1e4
JM
6289 * math/libm-test.inc (noXFails): Remove variable.
6290 (noXPasses): Likewise.
6291 (BUILD_COMPLEX_INT): Remove macro.
6292 (print_screen): Remove xfail argument.
6293 (print_screen_max_error): Likewise.
6294 (update_stats): Likewise.
6295 (print_max_error): Likewise. Update calls to other affected
6296 functions.
6297 (print_complex_max_error): Likewise.
6298 (test_single_exception): Update calls to print_screen.
6299 (test_single_errno): Likewise.
6300 (check_float_internal): Remove xfail argument. Update calls to
6301 other affected functions.
6302 (check_float): Likewise.
6303 (check_complex): Likewise.
6304 (check_int): Likewise.
6305 (check_long): Likewise.
6306 (check_bool): Likewise.
6307 (check_longlong): Likewise.
6308 (main): Don't print noXFails and noXPasses.
6309 * math/gen-libm-test.pl (top level): Don't mention expected
6310 failure handling in comment.
6311 (new_test): Don't handle expected failures.
6312 (parse_args): Don't mention expected failure handling in comment.
6313 (generate_testfile): Don't handle expected failures.
6314 (parse_ulps): Likewise.
6315 (print_ulps_file): Likewise.
6316 (get_failure): Remove function.
6317 (output_test): Don't handle expected failures.
6318 * make/README.libm-test: Don't mention expected failure handling.
6319
a7548d41
JM
6320 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6321 (minus_zero): Likewise.
6322 (plus_infty): Likewise.
6323 (minus_infty): Likewise.
6324 (qnan_value): Likewise.
6325 (max_value): Likewise.
6326 (min_value): Likewise.
6327 (min_subnorm_value): Likewise.
6328 (initialize): Do not initialize those variables dynamically.
6329
60bfd54c
RM
63302013-05-03 Roland McGrath <roland@hack.frob.com>
6331
cc0e6ed8
RM
6332 * io/open.c (__open_2): Moved to ...
6333 * io/open_2.c: ... this new file.
6334 * io/open64.c (__open64_2): Moved to ...
6335 * io/open64_2.c: ... this new file.
6336 * io/openat.c (__openat_2): Moved to ...
6337 * io/openat_2.c: ... this new file.
6338 * io/openat64.c (__openat64_2): Moved to ...
6339 * io/openat64_2.c: ... this new file.
6340 * io/Makefile (routines): Add them.
6341 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6342 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6343 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6344 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6345 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6346 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6347 (__openat64): Add hidden_ver.
6348 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6349 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6350
60bfd54c
RM
6351 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6352 Separately conditionalize setting of GLRO(dl_sysinfo) so
6353 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6354 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6355
83e7640f
AZ
63562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357
6358 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6359 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6360 definition.
6361 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6362 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6363 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6364 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6365 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6366
d5dc2af3
JM
63672013-05-03 Joseph Myers <joseph@codesourcery.com>
6368
c31a5b1e
JM
6369 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6370 test signgam value.
6371
d5dc2af3
JM
6372 * math/libm-test.inc (hypot_test): Do not use
6373 IGNORE_ZERO_INF_SIGN.
6374
164fd39d
AJ
63752013-05-03 Andreas Jaeger <aj@suse.de>
6376
6377 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6378 Linux 3.9.
6379 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6380 (PF_MAX): Adjust for VSOCK change.
6381
8237f48c
AZ
63822013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6383
6384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6385
9df02941
CD
63862013-05-02 Carlos O'Donell <carlos@redhat.com>
6387
6388 [BZ #15264]
6389 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6390 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6391 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6392
d422395e
DM
63932013-05-02 David S. Miller <davem@davemloft.net>
6394
6395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6396
a07c5731
OB
63972013-05-01 Ondřej Bílka <neleai@seznam.cz>
6398
6399 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6400
1324e37f
RM
64012013-05-01 Roland McGrath <roland@hack.frob.com>
6402
6403 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6404
0695940b
RS
64052013-05-01 Richard Smith <richard@metafoo.co.uk>
6406
bb5f27ad 6407 [BZ #14952]
0695940b
RS
6408 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6409 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6410 Use __attribute__ ((__gnu_inline__)).
6411 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6412 Don't use __attribute__ ((__gnu_inline__)).
6413
10de07f5
JM
64142013-05-01 Joseph Myers <joseph@codesourcery.com>
6415
6416 [BZ #15423]
6417 * math/s_catan.c (__catan): Handle small real or imaginary part of
6418 input specially to avoid spurious underflow.
6419 * math/s_catanf.c (__catanf): Likewise.
6420 * math/s_catanh.c (__catanh): Likewise.
6421 * math/s_catanhf.c (__catanhf): Likewise.
6422 * math/s_catanhl.c (__catanhl): Likewise.
6423 * math/s_catanl.c (__catanl): Likewise.
6424 * math/libm-test.inc (catan_test): Add more tests.
6425 (catanh_test): Likewise.
6426 * sysdeps/i386/fpu/libm-test-ulps: Update.
6427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6428
cb4d5414
AZ
64292013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6430
6431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6432
caf84319
JM
64332013-04-30 Joseph Myers <joseph@codesourcery.com>
6434
6435 [BZ #15416]
6436 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6437 accurately for denominator in atan2.
6438 * math/s_catanf.c (__catanf): Likewise.
6439 * math/s_catanh.c (__catanh): Likewise.
6440 * math/s_catanhf.c (__catanhf): Likewise.
6441 * math/s_catanhl.c (__catanhl): Likewise.
6442 * math/s_catanl.c (__catanl): Likewise.
6443 * math/libm-test.inc (catan_test): Add more tests.
6444 (catanh_test): Likewise.
6445 * sysdeps/i386/fpu/libm-test-ulps: Update.
6446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6447
d569c6ee
SP
64482013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6449
6dbe713d
SP
6450 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6451
f0ee064b
SP
6452 * benchtests/Makefile (bench): Remove slow benchmarks.
6453 * benchtests/atan-inputs: Add slow benchmark inputs.
6454 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6455 (BENCH_FUNC): Accept variant offset.
6456 (VARIANT): Define.
6457 * benchtests/bench-skeleton.c (main): Run benchmark for each
6458 variant.
6459 * benchtests/cos-inputs: Add slow benchmark inputs.
6460 * benchtests/exp-inputs: Likewise.
6461 * benchtests/pow-inputs: Likewise.
6462 * benchtests/sin-inputs: Likewise.
6463 * benchtests/slowatan-inputs: Remove.
6464 * benchtests/slowatan.c: Remove.
6465 * benchtests/slowcos-inputs: Remove.
6466 * benchtests/slowcos.c: Remove.
6467 * benchtests/slowexp-inputs: Remove.
6468 * benchtests/slowexp.c: Remove.
6469 * benchtests/slowpow-inputs: Remove.
6470 * benchtests/slowpow.c: Remove.
6471 * benchtests/slowsin-inputs: Remove.
6472 * benchtests/slowsin.c: Remove.
6473 * benchtests/slowtan-inputs: Remove.
6474 * benchtests/slowtan.c: Remove.
6475 * benchtests/tan-inputs: Add slow benchmark inputs.
6476 * scripts/bench.pl: Parse comments and directives.
6477
d569c6ee
SP
6478 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6479 in CPPFLAGS.
6480 ($(objpfx)bench-%.c): Remove *-ITER.
6481 * benchtests/bench-modf.c: Remove definition of ITER.
6482 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6483 (main): Loop for DURATION seconds instead of fixed number of
6484 iterations.
6485 * scripts/bench.pl: Don't expect iterations in parameters.
6486
a6a242fe
RM
64872013-04-29 Roland McGrath <roland@hack.frob.com>
6488
6489 * io/fchdir.c (__fchdir): Renamed from fchdir.
6490 (fchdir): Define as weak alias.
6491
f2da7793
JM
64922013-04-29 Joseph Myers <joseph@codesourcery.com>
6493
6494 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6495 (ERRNO_EDOM): Likewise.
6496 (ERRNO_ERANGE): Likewise.
6497 (noErrnoTests): New variable.
6498 (init_max_error): Set errno to 0.
6499 (test_single_errno): New function.
6500 (test_errno): Likewise.
6501 (check_float_internal): Call test_errno. Set errno to 0.
6502 (check_complex): Refer to errno tests in comment.
6503 (check_int): Call test_errno. Set errno to 0.
6504 (check_long): Likewise.
6505 (check_bool): Likewise.
6506 (check_longlong): Likewise.
6507 (cos_test): Use ERRNO_* flags for errno tests instead of
6508 check_int.
6509 (expm1_test): Likewise.
6510 (fmod_test): Likewise.
6511 (ilogb_test): Likewise.
6512 (lgamma_test): Likewise.
6513 (pow_test): Likewise.
6514 (remainder_test): Likewise.
6515 (sin_test): Likewise.
6516 (tan_test): Likewise.
6517 (yn_test): Likewise.
6518 (initialize): Set errno to 0.
6519 (main): Print number of errno tests.
6520 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6521
b1a36ceb
AJ
65222013-04-29 Andreas Jaeger <aj@suse.de>
6523
c3ed8088
AJ
6524 [BZ #15084]
6525 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6526 and RES_USEVC.
6527
f1a24198
AJ
6528 [BZ #15085]
6529 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6530 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6531 unimplemented.
6532
9ce3b2cb
AJ
6533 [BZ #15380]
6534 * stdlib/random.c (__initstate): Return NULL if
6535 __initstate fails.
6536
f1a24198 6537 [BZ #15086]
b1a36ceb
AJ
6538 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6539 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6540 RES_SNGLKUPREOP.
6541
7e7b6f36
AZ
65422013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6543
6544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6545
4d14f449
JM
65462013-04-29 Joseph Myers <joseph@codesourcery.com>
6547
6548 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6549 of individual tests.
6550 (casin_test): Likewise.
6551 (casinh_test): Likewise.
6552
5b4217d7
JM
65532013-04-27 Joseph Myers <joseph@codesourcery.com>
6554
6555 [BZ #15409]
6556 * math/s_catan.c (__catan): Handle arguments with large real or
6557 imaginary part separately without squaring.
6558 * math/s_catanf.c (__catanf): Likewise.
6559 * math/s_catanh.c (__catanh): Likewise.
6560 * math/s_catanhf.c (__catanhf): Likewise.
6561 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6562 and redefine.
6563 (__catanhl): Handle arguments with large real or imaginary part
6564 separately without squaring.
6565 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6566 and redefine.
6567 (__catanl): Handle arguments with large real or imaginary part
6568 separately without squaring.
6569 * math/libm-test.inc (catan_test): Add more tests.
6570 (catanh_test): Likewise.
6571 * sysdeps/i386/fpu/libm-test-ulps: Update.
6572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6573
4220c3ef
AJ
65742013-04-27 Andreas Jaeger <aj@suse.de>
6575
6576 [BZ #15007]
6577 * stdlib/stdlib.h: Update guards for qecvt.
6578 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6579 <stdlib.h>.
6580
4721b2d1
AM
65812013-04-27 Allan McRae <allan@archlinux.org>
6582
6583 * sysdeps/i386/fpu/libm-test-ulps: Update.
6584
f0302940
JM
65852013-04-26 Joseph Myers <joseph@codesourcery.com>
6586
9457fd95
JM
6587 [BZ #15406]
6588 * math/s_catan.c: Include <float.h>.
6589 (__catan): Ensure underflow exception occurs for underflowed
6590 result.
6591 * math/s_catanf.c: Include <float.h>.
6592 (__catanf): Ensure underflow exception occurs for underflowed
6593 result.
6594 * math/s_catanh.c: Include <float.h>.
6595 (__catanh): Ensure underflow exception occurs for underflowed
6596 result.
6597 * math/s_catanhf.c: Include <float.h>.
6598 (__catanhf): Ensure underflow exception occurs for underflowed
6599 result.
6600 * math/s_catanhl.c: Include <float.h>.
6601 (__catanhl): Ensure underflow exception occurs for underflowed
6602 result.
6603 * math/s_catanl.c: Include <float.h>.
6604 (__catanl): Ensure underflow exception occurs for underflowed
6605 result.
6606 * math/libm-test.inc (catan_test): Add more tests.
6607 (catanh_test): Likewise.
6608
f0302940
JM
6609 [BZ #15405]
6610 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6611 underflowed result.
6612 * math/s_ccoshf.c (__ccoshf): Likewise.
6613 * math/s_ccoshl.c (__ccoshl): Likewise.
6614 * math/s_csin.c (__csin): Likewise.
6615 * math/s_csinf.c (__csinf): Likewise.
6616 * math/s_csinh.c (__csinh): Likewise.
6617 * math/s_csinhf.c (__csinhf): Likewise.
6618 * math/s_csinhl.c (__csinhl): Likewise.
6619 * math/s_csinl.c (__csinl): Likewise.
6620 * math/libm-test.inc (ccos_test): Add more tests.
6621 (ccosh_test): Likewise.
6622 (csin_test): Likewise.
6623 (csinh_test): Likewise.
6624
aa630f59
AZ
66252013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6626
6627 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6628 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6629 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6630 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6631 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6632 powerpc/power5+/fpu folders.
6633 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6634
6635
1b835983
MT
66362013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6637
6638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6639
73709b26
JM
66402013-04-25 Joseph Myers <joseph@codesourcery.com>
6641
6642 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6643 additions to variable.
6644 [$(config-machine) = x86_64] (modules-names): Likewise.
6645 ($(objpfx)tst-audit3): Remove dependency.
6646 ($(objpfx)tst-audit3.out): Likewise.
6647 ($(objpfx)tst-audit4): Likewise.
6648 ($(objpfx)tst-audit4.out): Likewise.
6649 ($(objpfx)tst-audit5): Likewise.
6650 ($(objpfx)tst-audit5.out): Likewise.
6651 ($(objpfx)tst-audit6): Likewise.
6652 ($(objpfx)tst-audit6.out): Likewise.
6653 ($(objpfx)tst-audit7): Likewise.
6654 ($(objpfx)tst-audit7.out): Likewise.
6655 (tst-audit3-ENV): Remove variable.
6656 (tst-audit4-ENV): Likewise.
6657 (tst-audit5-ENV): Likewise.
6658 (tst-audit6-ENV): Likewise.
6659 (tst-audit7-ENV): Likewise.
6660 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6661 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6662 addition to variable.
6663 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6664 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6665 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6666 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6667 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6668 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6669 tst-audit3, tst-audit4 and tst-audit5.
6670 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6671 tst-audit6 and tst-audit7.
6672 [$(subdir) = elf] (modules-names): Add audit modules for those
6673 tests.
6674 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6675 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6676 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6677 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6678 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6679 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6680 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6681 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6682 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6683 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6684 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6685 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6686 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6687 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6688 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6689 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6690 Likewise.
6691 [$(subdir) = elf && $(config-cflags-avx) = yes]
6692 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6693 [$(subdir) = elf && $(config-cflags-avx) = yes]
6694 (CFLAGS-tst-auditmod4a.c): Likewise.
6695 [$(subdir) = elf && $(config-cflags-avx) = yes]
6696 (CFLAGS-tst-auditmod4b.c): Likewise.
6697 [$(subdir) = elf && $(config-cflags-avx) = yes]
6698 (CFLAGS-tst-auditmod6b.c): Likewise.
6699 [$(subdir) = elf && $(config-cflags-avx) = yes]
6700 (CFLAGS-tst-auditmod6c.c): Likewise.
6701 [$(subdir) = elf && $(config-cflags-avx) = yes]
6702 (CFLAGS-tst-auditmod7b.c): Likewise.
6703 * elf/tst-audit3.c: Move to ...
6704 * sysdeps/x86_64/tst-audit3.c: ... here.
6705 * elf/tst-audit4.c: Move to ...
6706 * sysdeps/x86_64/tst-audit4.c: ... here.
6707 * elf/tst-audit5.c: Move to ...
6708 * sysdeps/x86_64/tst-audit5.c: ... here.
6709 * elf/tst-audit6.c: Move to ...
6710 * sysdeps/x86_64/tst-audit6.c: ... here.
6711 * elf/tst-audit7.c: Move to ...
6712 * sysdeps/x86_64/tst-audit7.c: ... here.
6713 * elf/tst-auditmod3a.c: Move to ...
6714 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6715 * elf/tst-auditmod3b.c: Move to ...
6716 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6717 * elf/tst-auditmod4a.c: Move to ...
6718 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6719 * elf/tst-auditmod4b.c: Move to ...
6720 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6721 * elf/tst-auditmod5a.c: Move to ...
6722 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6723 * elf/tst-auditmod5b.c: Move to ...
6724 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6725 * elf/tst-auditmod6a.c: Move to ...
6726 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6727 * elf/tst-auditmod6b.c: Move to ...
6728 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6729 * elf/tst-auditmod6c.c: Move to ...
6730 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6731 * elf/tst-auditmod7a.c: Move to ...
6732 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6733 * elf/tst-auditmod7b.c: Move to ...
6734 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6735
1ef74943
PP
67362013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6737
6738 [BZ #15366]
6739 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6740 define unconditionally.
6741 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6742 define unconditionally.
6743 (INT8_C, INT16_C, etc.): Likewise.
6744
93fd48c5
MR
67452013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6746
ae9552cf
MR
6747 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6748 __ehdr_start with hidden visibility.
6749
93fd48c5
MR
6750 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6751
418601aa
CD
67522013-04-24 Carlos O'Donell <carlos@redhat.com>
6753
6754 * math/libm-test.inc (cos_test): Use accurate hex constants.
6755 (sincost_test): Likewise.
6756
2f38fbfe
JM
67572013-04-24 Joseph Myers <joseph@codesourcery.com>
6758
5e221800
JM
6759 * math/libm-test.inc (catan_test): Add more tests.
6760 (catanh_test): Likewise.
6761
77f143fd
JM
6762 * math/s_catanf.c (__catanf): Use suffixed floating-point
6763 constants.
6764 * math/s_catanhf.c (__catanhf): Likewise.
6765 * math/s_catanhl.c (__catanhl): Likewise.
6766 * math/s_catanl.c (__catanl): Likewise.
6767
2f38fbfe
JM
6768 [BZ #15394]
6769 * math/s_catan.c (__catan): Calculate imaginary part of result
6770 with log1p not log unless computing log of number close to 0.
6771 * math/s_catanf.c (__catanf): Likewise.
6772 * math/s_catanl.c (__catanl): Likewise.
6773 * math/s_catanh.c (__catanh): Calculate real part of result with
6774 log1p not log unless computing log of number close to 0.
6775 * math/s_catanhf.c (__catanhf): Likewise.
6776 * math/s_catanhl.c (__catanhl): Likewise.
6777 * math/libm-test.inc (catan_test): Add more tests.
6778 (catanh_test): Likewise.
6779 * sysdeps/i386/fpu/libm-test-ulps: Update.
6780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6781
45d69176
SP
67822013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6783
6784 * benchtests/Makefile: Mention files in which fast and slow
6785 paths of math functions are implemented.
6786
87f51853
RM
67872013-04-23 Roland McGrath <roland@hack.frob.com>
6788
6789 * sysdeps/posix/timespec_get.c: New file.
6790
3c026539
AZ
67912013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6792
6793 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6794 POWER.
6795 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6796 for POWER.
6797 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6798 powerpc/power5/fpu folders.
6799 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6800 * benchtests/Makefile: Add modf testcase.
6801 * benchtests/bench-modf.c: New file: Benchmark test for mo
6802
ff491d14
SP
68032013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6804
6805 [BZ #14888]
6806 * time/Makefile (tests): Add tst-strptime-whitespace.
6807 * time/strptime_l.c (get_number): Use ISSPACE.
6808 (__strptime_internal): Likewise.
6809 * time/tst-strptime-whitespace.c: New test case.
6810
7ed3f4e8
AS
68112013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6812
6813 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6814 member.
6815 (_nss_files_init): Set it here.
6816
5c95f7b6
HC
68172013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6818
6819 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6820 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6821 unsigned.
6822
d34c9158
JBG
68232013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6824
6825 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6826
2169712d
SP
68272013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6828
6829 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6830 size just once.
6831
29c5de99
DM
68322013-04-21 David S. Miller <davem@davemloft.net>
6833
6834 * po/ru.po: Update Russion translation from translation project.
6835
ccdad15d
AC
68362013-04-17 Adam Conrad <adconrad@0c3.net>
6837
6838 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6839 and setfsgid.
6840
0f122b8d
CD
68412013-04-17 Carlos O'Donell <carlos@redhat.com>
6842
5c5b07da 6843 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6844 * configure: Regenerate.
5c5b07da 6845 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6846 Add example to error message.
6847 * sysdeps/i386/configure: Regenerate.
6848
037714dd
SP
68492013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6850
6851 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6852 slowtan.
6853 * benchtests/cos-inputs: New file.
6854 * benchtests/slowcos-inputs: New file.
6855 * benchtests/slowcos.c: New file.
6856 * benchtests/slowtan-inputs: New file.
6857 * benchtests/slowtan.c: New file.
6858 * benchtests/tan-inputs: New file.
6859
e913141d
RM
68602013-04-16 Roland McGrath <roland@hack.frob.com>
6861
6862 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6863 considered kosher.
6864
a2964074
SP
68652013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6866
4856bcd2
SP
6867 * benchtests/Makefile: Include cppflags-iterator.mk to add
6868 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6869
a2964074
SP
6870 * Makefile.in (bench-clean): New target.
6871 * benchtests/Makefile (bench-clean): Likewise.
6872
9fbf9aca
DH
68732013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6874
6875 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6876
207d1e2a
TS
68772013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6878
6879 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6880
306dfba9
AS
68812013-04-15 Andreas Schwab <schwab@suse.de>
6882
6883 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6884 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6885 * nscd/pwdcache.c (cache_addpw): Likewise.
6886 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6887 more than recsize.
6888
206a6699
SP
68892013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6890
6891 * benchtests/Makefile (bench): Write all output to
6892 bench-out.tmp together.
6893
0582f6b3
AS
68942013-04-15 Andreas Schwab <schwab@suse.de>
6895
6896 * nscd/nscd.c (main): Don't fork again after closing files.
6897
acb4325f
SP
68982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6899
5cb26d0a
SP
6900 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6901
acb4325f
SP
6902 * benchtests/Rules (bench-deps): Collect dependencies into a
6903 single variable. Add Makefile to dependencies.
6904 ($(objpfx)bench-%.c): Depend on bench-deps.
6905
47792506
RM
69062013-04-12 Roland McGrath <roland@hack.frob.com>
6907 Xavier Roche <roche+kml2@exalead.com>
6908
6909 [BZ #15361]
6910 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6911 just that it's a file descriptor.
6912 * manual/llio.texi (Synchronizing AIO Operations): Update description
6913 for EBADF error from aio_fsync.
6914
8fc1bee5
SP
69152013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6916
6917 * Rules (bench): Move target definition...
6918 * benchtests/Makefile: ... here.
6919
aba5e333
CD
69202013-04-11 Carlos O'Donell <carlos@redhat.com>
6921
6922 * math/libm-test.inc (cos_test): Fix PI/2 test.
6923 (sincos_test): Likewise.
6924 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6925 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6926
273cdee8
AS
69272013-04-11 Andreas Schwab <schwab@suse.de>
6928
6ecec3b6
AS
6929 [BZ #13988]
6930 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6931 accept exponent character only when digits were seen.
6932 * stdio-common/Makefile (tests): Add bug26.
6933 * stdio-common/bug26.c: New file.
6934
273cdee8
AS
6935 [BZ #14293]
6936 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6937 non-freeable.
6938
8da491f5
SP
69392013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6940
01dc6df9
SP
6941 * Makeconfig (rtld-prefix): Define built linker prefix.
6942 * Rules (run-bench): Use it.
6943 * math/Makefile (run-regen-ulps): Likewise.
6944
8da491f5
SP
6945 * Rules (bench): Remove eval.
6946
abe7f530
SP
69472013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6948 Roland McGrath <roland@hack.frob.com>
6949 Ondrej Bilka <neleai@seznam.cz>
6950
6951 [BZ #15346]
6952 * time/getdate.c: Include ctype.h and alloca.h.
6953 (__getdate_r): Trim leading and trailing spaces of input.
6954 * time/tst-getdate.c (tests): Add tests with leading and
6955 trailing spaces.
6956
61c23e62
RM
69572013-04-08 Roland McGrath <roland@hack.frob.com>
6958
6959 [BZ #14280]
6960 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6961 when computing value.
6962
7208a313
CD
69632013-04-06 Carlos O'Donell <carlos@redhat.com>
6964
085b2d41
CD
6965 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6966 Use testrun.sh to run libm tests.
6967
7208a313
CD
6968 [BZ #15309]
6969 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6970
872c0acd
MM
69712013-04-06 Marko Myllynen <myllynen@redhat.com>
6972
6973 [BZ #15264]
6974 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6975
26510bdd
CD
69762013-04-06 Carlos O'Donell <carlos@redhat.com>
6977
6978 * Makefile.in (regen-ulps): New target.
6979 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6980 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6981 [ifneq (no,$(PERL)] (regen-ulps): New target.
6982 [ifeq (no,$(PERL)] (regen-ulps): New target.
6983 * math/libm-test.inc (ulps_file_name): Define.
6984 (output_dir): New variable.
6985 (options): Add "output-dir" option.
6986 (parse_opt): Handle 'o' case.
6987 (main): If output_dir is non-NULL use it as a prefix
6988 otherwise use "".
6989 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6990
a01f19c8
CD
69912013-04-06 Carlos O'Donell <carlos@redhat.com>
6992
6993 [BZ #10060, #10062]
6994 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6995 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6996 fail configure if __sync_val_compare_and_swap is not inlined.
6997 * sysdeps/i386/configure: Regenerate.
6998 * configure.in: Build for i686 when configured for i386.
6999 * configure: Regenerate.
7000 * README: Remove i386 reference.
7001
b7a329a5
CD
70022013-04-06 Carlos O'Donell <carlos@redhat.com>
7003
7004 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7005 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7006
bf0f50df
TS
70072013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7008
ee091edf
TS
7009 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7010 (lmsnanval): New variables.
7011 (F): Add conversion tests.
7012 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7013 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7014
a8b792d6
TS
7015 * stdio-common/tstdiomisc.c (F): Properly collect individual
7016 tests' results.
7017
a1cbf437
TS
7018 [BZ #14686, #15336]
7019 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7020 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7021 Instead, use input NaN values or generate a qNaN by arithmetic
7022 operation. Also fix bugs to comply with the standard.
7023 * math/libm-test.inc (remainder_test): Add more tests.
7024
8b43a0c9
TS
7025 [BZ #15335, #15342]
7026 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7027 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7028 input NaN values or generate a qNaN by arithmetic operation.
7029
d91da4ce
TS
7030 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7031 unreachable code.
7032
bf0f50df
TS
7033 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7034 definitions.
7035
05e166c8
JM
70362013-04-03 Joseph Myers <joseph@codesourcery.com>
7037
7038 [BZ #14478]
7039 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7040 underflowed result.
7041 * math/s_cexpf.c (__cexpf): Likewise.
7042 * math/s_cexpl.c (__cexpl): Likewise.
7043 * math/libm-test.inc (cexp_test): Add more tests.
7044
1cef1b19
AS
70452013-04-03 Andreas Schwab <schwab@suse.de>
7046
7047 [BZ #15330]
7048 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7049 order arrays from heap if bigger than alloca cutoff.
7050
74d87055
TS
70512013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7052
7053 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7054 (SNAN_TESTS_double): Refer to GCC PR56831.
7055 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7056 GCC PR56828.
7057
d755bba4
SP
70582013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7059
90d5d5bb
SP
7060 * Rules (bench): Move bench.out after the run is complete.
7061
73e0cd5d
SP
7062 * Rules (bench): Echo currently running benchmark.
7063
64aabd4b
SP
7064 * benchtests/Makefile (bench): Add atan and slowatan.
7065 * benchtests/atan-inputs: New file.
7066 * benchtests/slowatan-inputs: New file.
7067 * benchtests/slowatan.c: New file.
7068
c871eccd
SP
7069 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7070 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7071 its value.
7072
d755bba4
SP
7073 [BZ #15305]
7074 * sysdeps/unix/sysv/linux/kernel-features.h
7075 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7076 __ASSUME_XFS_RESTRICTED_CHOWN.
7077 * sysdeps/unix/sysv/linux/pathconf.c
7078 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7079 Save and restore errno.
7080
52ce4860
JM
70812013-04-02 Joseph Myers <joseph@codesourcery.com>
7082
7083 [BZ #15327]
7084 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7085 arguments using __kernel_casinh.
7086 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7087 arguments using __kernel_casinhf.
7088 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7089 arguments using __kernel_casinhl.
7090 * math/libm-test.inc (cacosh_test): Add more tests.
7091 * sysdeps/i386/fpu/libm-test-ulps: Update.
7092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7093
81f311c2
SP
70942013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7095
e7906a47
SP
7096 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7097 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7098
92e3664b
SP
7099 * bench/Makefile (bench): Add sin and slowsin.
7100 * benchtests/sin-inputs: New file.
7101 * benchtests/slowsin-inputs: New file.
7102 * benchtests/slowsin.c: New file.
7103
81f311c2
SP
7104 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7105 (bench): Add slowexp and slowpow.
7106 (exp-ITER): Increase iterations.
7107 (pow-ITER): Likewise.
7108 * benchtests/exp-inputs: Change input.
7109 * benchtests/pow-inputs: Likewise.
7110 * benchtests/slowexp-inputs: New file.
7111 * benchtests/slowexp.c: New file.
7112 * benchtests/slowpow-inputs: New file.
7113 * benchtests/slowpow.c: New file.
7114
ab0f1aa9
AZ
71152013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7116
7117 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7118 instructions.
7119 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7120 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7121 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7122 * benchtests/Makefile: Add rint benchtest.
7123 * benchtests/rint-inputs: Input for rint benchtest.
7124
57267616
TS
71252013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7126
7127 * Versions.def (libm): Add GLIBC_2.18.
7128 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7129 hidden libm prototypes.
7130 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7131 * math/Makefile (libm-calls): Add s_issignaling.
7132 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7133 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7134 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7135 declaration.
7136 * math/math.h [__USE_GNU] (issignaling): New macro.
7137 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7138 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7139 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7140 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7143 * manual/arith.texi (issignaling): New section.
7144 * manual/libm-err-tab.pl (@all_functions): Update comment.
7145 * math/gen-libm-test.pl (parse_args): Apply special handling for
7146 issignaling.
7147 * math/libm-test.inc (print_float, issignaling_test): New
7148 functions.
7149 (check_float_internal): Add issignaling checks.
7150 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7151 default definition.
7152 * sysdeps/powerpc/math-tests.h: New file.
7153 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7154 tests.
7155 * math/test-snan.c (TEST_FUNC): Likewise.
7156
6142896d
DM
71572013-03-30 David S. Miller <davem@davemloft.net>
7158
7159 * po/de.po: Update from translation team.
7160
ccc8cadf
JM
71612013-03-30 Joseph Myers <joseph@codesourcery.com>
7162
7163 [BZ #10357]
7164 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7165 imaginary part less than 1.0 and real part less than 0.5
7166 specially.
7167 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7168 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7169 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7170 (cacos_test): Add more tests.
7171 (casin_test): Likewise.
7172 (casinh_test): Likewise.
7173 * sysdeps/i386/fpu/libm-test-ulps: Update.
7174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7175
0f6a8d4b
SP
71762013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7177
0d1029de
SP
7178 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7179 ONE with its value.
7180
c2d94018
SP
7181 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7182 (__pow_mp): Replace ONE and MONE with their values.
7183 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7184 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7185 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7186 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7187 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7188 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7189
27ec37f1
SP
7190 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7191
a64d7e0e
SP
7192 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7193 (__pow_mp): Replace ZERO and MZERO with their values.
7194 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7195 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7196 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7197 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7198 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7199 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7200 (__sqr): Likewise.
7201
d26dd3eb
SP
7202 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7203
0f6a8d4b
SP
7204 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7205
e57b0c61
RM
72062013-03-28 Roland McGrath <roland@hack.frob.com>
7207
7208 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7209 Declare with __attribute__ ((weak)).
7210 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7211 Call __call_tls_dtors only if it's not NULL.
7212
356b3480
RM
72132013-03-28 Roland McGrath <roland@hack.frob.com>
7214
288f7d79
RM
7215 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7216 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7217 magic __ehdr_start linker symbol if it's defined.
7218 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7219 them up here if it was already done.
7220
dc0a0263
RM
7221 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7222 (_dl_aux_init): Use const in cast when setting it.
7223 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7224 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7225 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7226
3d3436ae
RM
7227 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7228 Declare them here.
7229 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7230 * csu/libc-tls.c: Nor here.
7231 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7232
356b3480
RM
7233 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7234 (__libc_message): Never call vsyslog.
7235
b0f1246a
AM
72362013-03-28 Alan Modra <amodra@gmail.com>
7237
7238 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7239 Define as empty.
7240 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7241 Likewise.
7242
fbbe2b9a
AZ
72432013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7244
7245 [BZ #15214]
7246 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7247 underflow.
7248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7249
1728ab37
SP
72502013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7251
7a86be6e
SP
7252 [BZ #15304]
7253 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7254 Don't add gid passed as argument.
7255
1728ab37
SP
7256 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7257
3a7182a1
JM
72582013-03-27 Joseph Myers <joseph@codesourcery.com>
7259
7260 [BZ #15307]
7261 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7262 imaginary part between 1.0 and 1.5 and real part less than 0.5
7263 specially.
7264 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7265 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7266 * math/libm-test.inc (cacos_test): Add more tests.
7267 (casin_test): Likewise.
7268 (casinh_test): Likewise.
7269 * sysdeps/i386/fpu/libm-test-ulps: Update.
7270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7271
6f2e90e7
SP
72722013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7273
5739f705
SP
7274 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7275 constants.
7276 (norm): Likewise.
7277 (denorm): Likewise.
7278 (__dbl_mp): Likewise.
7279 (add_magnitudes): Likewise.
7280 (sub_magnitudes): Likewise.
7281 (__add): Likewise.
7282 (__sub): Likewise.
7283 (__mul): Likewise.
7284 (__sqr): Likewise.
7285 (__inv): Likewise.
7286 (__dvd): Likewise.
7287
e375e83d
SP
7288 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7289 commented code.
7290 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7291 (__dubcos): Likewise.
7292 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7293 (__ieee754_acos): Likewise.
7294 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7295 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7296 (__exp1): Likewise.
7297 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7298 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7299 (log1): Likewise.
7300 (my_log2): Likewise.
7301 (checkint): Likewise.
7302 * sysdeps/ieee754/dbl-64/e_remainder.c
7303 (__ieee754_remainder): Likewise.
7304 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7305 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7306 (bsloww): Likewise.
7307 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7308
6f2e90e7
SP
7309 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7310 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7311 MANTISSA_STORE_T to store computations on mantissa. Use
7312 macros for rounding and division.
7313 (denorm): Likewise.
7314 (__dbl_mp): Likewise.
7315 (add_magnitudes): Likewise.
7316 (sub_magnitudes): Likewise.
7317 (__mul): Likewise.
7318 (__sqr): Likewise.
7319 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7320 powers of two in terms of TWOPOW macro.
7321 (mp_no): Make type of mantissa as MANTISSA_T.
7322 [!RADIXI]: Define RADIXI.
7323 [!TWO52]: Define TWO52.
7324 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7325
fce14d4e
AZ
73262013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7327
7328 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7329 llroundl symbol when building for PPC32.
7330
9ad027fb
MW
73312013-03-24 Mark H Weaver <mhw@netris.org>
7332
7333 * manual/arith.texi (Normalization Functions): Fix prototypes for
7334 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7335
e42a38dd
AZ
73362013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7337
7338 [BZ #13889]
7339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7340 high value to check if expl overflow.
7341 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7342 to check for underflow and overflow.
7343 * math/libm-test.inc: Add exp test.
7344
2e0fb521
DL
73452013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7346
7347 [BZ #11120]
7348 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7349 with NOT_IN_libc.
7350
b5784d95
AZ
73512013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7352
7353 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7354 symbol.
7355
5aa4a1a1
TS
73562013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7357
bdef0be7
TS
7358 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7359 wrap blocks consisting of several statements.
7360
5aa4a1a1
TS
7361 * sysdeps/generic/math-tests.h: New file.
7362 * sysdeps/i386/fpu/math-tests.h: Likewise.
7363 * math/test-snan.c: Include it.
7364 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7365
98c48fe5
JM
73662013-03-21 Joseph Myers <joseph@codesourcery.com>
7367
7368 [BZ #15285]
7369 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7370 (__ieee754_j0l): Do not improve calculations using cos of twice
7371 input for inputs above LDBL_MAX / 2.0L.
7372 (__ieee754_y0l): Likewise.
7373 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7374 (__ieee754_j1l): Do not improve calculations using cos of twice
7375 input for inputs above LDBL_MAX / 2.0L.
7376 (__ieee754_y1l): Likewise.
7377 * math/libm-test.inc (j0_test): Add another test.
7378 (j1_test): Likewise.
7379 (y0_test): Likewise.
7380 (y1_test): Likewise.
7381 * sysdeps/i386/fpu/libm-test-ulps: Update.
7382
3775a8bc
SP
73832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7384
7385 * Rules ($(objpfx)bench-%.c): Include code from a C source
7386 file.
7387
0a1b2ae6
JM
73882013-03-21 Joseph Myers <joseph@codesourcery.com>
7389
7390 [BZ #15287]
7391 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7392 imaginary part 1.0 and real part less than 0.5 specially.
7393 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7394 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7395 * math/libm-test.inc (cacos_test): Add more tests.
7396 (casin_test): Likewise.
7397 (casinh_test): Likewise.
7398 * sysdeps/i386/fpu/libm-test-ulps: Update.
7399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7400
b33d4ce4
SP
74012013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7402
7403 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7404 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7405
bef0b507
JM
74062013-03-20 Joseph Myers <joseph@codesourcery.com>
7407
7408 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7409 * config.make.in (config-cflags-sse4): Remove variable.
7410 (config-cflags-avx): Likewise.
7411 (config-cflags-sse2avx): Likewise.
7412 (config-cflags-novzeroupper): Likewise.
7413 (config-asflags-i686): Likewise.
7414 (have-mfma4): Likewise.
7415 (have-as-vis3): Likewise.
7416 (MIG): Likewise.
7417 * configure.in (MIG): Do not AC_SUBST.
7418 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7419 (libc_cv_cc_sse4): Do not AC_SUBST.
7420 (libc_cv_cc_avx): Likewise.
7421 (libc_cv_cc_sse2avx): Likewise.
7422 (libc_cv_cc_novzeroupper): Likewise.
7423 (libc_cv_cc_fma4): Likewise.
7424 (libc_cv_as_i686): Likewise.
7425 (libc_cv_sparc_as_vis3): Likewise.
7426 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7427 LIBC_CONFIG_VAR.
7428 (config-asflags-i686): Likewise.
7429 (config-cflags-avx): Likewise.
7430 (config-cflags-sse2avx): Likewise.
7431 (have-mfma4): Likewise.
7432 (config-cflags-novzeroupper): Likewise.
7433 * sysdeps/mach/configure.in (MIG): Likewise.
7434 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7435 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7436 LIBC_CONFIG_VAR.
7437 (config-cflags-avx): Likewise.
7438 (config-cflags-sse2avx): Likewise.
7439 (have-mfma4): Likewise.
7440 (config-cflags-novzeroupper): Likewise.
7441 * configure: Regenerated.
7442 * sysdeps/i386/configure: Likewise.
7443 * sysdeps/mach/configure: Likewise.
7444 * sysdeps/sparc/configure: Likewise.
7445 * sysdeps/x86_64/configure: Likewise.
7446
912cc4b3
RM
74472013-03-20 Roland McGrath <roland@hack.frob.com>
7448
7449 [BZ #14812]
7450 * locale/programs/localedef.c (options): Put N_ translation marker
7451 on argument names, not just descriptions.
7452
04eed2b0
MS
74532013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7454
7455 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7456
a065ceff
OB
74572013-03-20 Ondřej Bílka <neleai@seznam.cz>
7458
9bb2a810 7459 [BZ #14176]
a065ceff
OB
7460 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7461
a600e5ce
RM
74622013-03-19 Roland McGrath <roland@hack.frob.com>
7463
7464 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7465 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7466 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7467 [!BEFORE_ABORT] (before_abort): New function.
7468 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7469 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7470 (writev_for_fatal): New function.
7471 (WRITEV_FOR_FATAL): New macro; call that.
7472 (backtrace_and_maps): New function.
7473 (BEFORE_ABORT): New macro; call that.
7474 (struct str_list): Type removed.
7475 (__libc_message, __libc_fatal): Functions removed.
7476 Include <sysdeps/posix/libc_fatal.c> instead.
7477
6b18bea6
JM
74782013-03-19 Joseph Myers <joseph@codesourcery.com>
7479
7480 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7481 constants.
7482 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7483 double constants.
7484
aaa8cb4b
AS
74852013-03-19 Andreas Schwab <schwab@suse.de>
7486
44673770
AS
7487 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7488 * sysdeps/gnu/configure: Regenerate.
7489
aaa8cb4b
AS
7490 * configure.in: Substitute libc_cv_rtlddir.
7491 * configure: Regenerate.
7492 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7493 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7494 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7495 * elf/Makefile (install-others, CFLAGS-interp.c)
7496 (ldso_install, common-ldd-rewrite): Likewise.
7497 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7498 $(inst_slibdir)/$(rtld-installed-name).
7499 * scripts/rellns-sh: Add -p option.
7500 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7501 for source.
7502
d3cfc668
SP
75032013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7504
7505 * manual/nptl.texi: Renamed to ...
7506 * manual/threads.texi: ... this.
7507 * manual/Makefile (chapters): Update.
7508
0e2b9cdd
RM
75092013-03-18 Roland McGrath <roland@hack.frob.com>
7510
7511 [BZ #14812]
7512 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7513 on argument names, not just descriptions.
0e2b9cdd
RM
7514 * malloc/memusagestat.c (options): Likewise.
7515 * nss/getent.c (options): Likewise.
63270c24
RM
7516
75172013-03-18 Benno Schulenberg <bensberg@justemail.net>
7518
7519 [BZ #14812]
7520 * iconv/iconv_prog.c (options): Put N_ translation marker
7521 on argument names, not just descriptions.
7522 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7523
b2e1393c
OB
75242013-03-18 Ondrej Bilka <neleai@seznam.cz>
7525
7526 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7527 implementation which is faster on all x86_64 architectures.
7528 Tested on AMD, Intel Nehalem, SNB, IVB.
7529 * sysdeps/x86_64/strnlen.S: Likewise.
7530
7531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7532 Remove all multiarch strlen and strnlen versions.
7533 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7534 Remove strlen and strnlen related parts.
7535
7536 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7537 Inline strlen part.
7538 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7539
7540 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7541 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7542 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7543 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7544 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7545 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7546
ec4ff04d
CD
75472013-03-17 Carlos O'Donell <carlos@redhat.com>
7548
7549 * manual/memory.texi (Malloc Tunable Parameters):
7550 Sort parameters alphabetically. Add comments for missing entries.
7551
cd18e90a
DM
75522013-03-17 David S. Miller <davem@davemloft.net>
7553
7554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7555
2a185d32
JM
75562013-03-16 Joseph Myers <joseph@codesourcery.com>
7557
d2f9799e
JM
7558 [BZ #15283]
7559 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7560 for arguments at most half maximum finite value.
7561 * math/libm-test.inc (j0_test): Add more tests.
7562 (j1_test): Likewise.
7563 (y0_test): Likewise.
7564 (y1_test): Likewise.
7565 * sysdeps/i386/fpu/libm-test-ulps: Update.
7566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7567
2a185d32
JM
7568 [BZ #14155]
7569 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7570 1 / x and functions P and Q for arguments above 0x1p256L.
7571 (__ieee754_y0l): Likewise.
7572 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7573 (__ieee754_y1l): Likewise.
7574 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7575 (j1_test): Likewise.
7576 (y0_test): Likewise.
7577 (y1_test): Likewise.
7578
6cbec759
TS
75792013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7580
7581 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7582 variable.
7583
bc16e260
RM
75842013-03-15 Roland McGrath <roland@hack.frob.com>
7585
aefc9b8c
RM
7586 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7587 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7588 zero since it's initialized to EXEC_PAGESIZE.
7589
bc16e260
RM
7590 * sysdeps/unix/sysv/linux/ldsodefs.h
7591 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7592 * sysdeps/generic/ldsodefs.h: ... here.
7593
a57da955
TS
75942013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7595
af00a34d
TS
7596 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7597
495ded2c
TS
7598 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7599 math/test-snan.c.
7600 * math/test-snan.c: Renamed from
7601 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7602 * math/Makefile (tests): Add test-snan.
7603 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7604 test-powerpc-snan.
7605
777b0332
TS
7606 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7607 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7608 functions.
7609 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7610 __builtin_nan family of functions.
7611 * math/libm-test.inc (initialize): Initialize qnan_value with
7612 __builtin_nan family of functions.
7613 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7614 Remove variables.
7615 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7616 Remove functions.
7617 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7618 storage class. Initialize qNaN_var and sNaN_var with
7619 __builtin_nan and __builtin_nans families of functions,
7620 respectively.
7621
64d063b8
TS
7622 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7623 (sqrt_test): Remove duplicate test with qNaN input.
7624 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7625 (round_test, signbit_test, significand_test): Note missing +/-Inf
7626 as well as qNaN tests.
7627
67e971f1
TS
7628 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7629 qNaN_var. Fix a few strings, too.
7630 * math/libm-test.inc (nan_value): Rename to qnan_value.
7631 * math/gen-libm-test.pl (%beautify): Adjust to that.
7632 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7633 * math/test-misc.c (main): Likewise.
7634 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7635 to __qnan_bytes, and __qnan_union, respectively.
7636 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7637 Likewise.
7638 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7639 and lqnanval, respectively.
7640 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7641 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7642 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7643 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7644
64487e12
TS
7645 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7646 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7647 doubles.
7648
e015e27b
TS
7649 * math/test-misc.c (main): Fix copy'n'pastos.
7650 * misc/tst-efgcvt.c (special): Likewise.
7651
a57da955
TS
7652 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7653 Remove declarations.
7654
1e380345
SP
76552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7656
7657 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7658 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7659 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7660 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7661
ef26eece
AZ
76622013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7663
7664 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7665 macro to return vdso values correctly in IFUNC implementations.
7666 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7667 Optimization by using IFUNC.
7668
8cfdb7e0
SP
76692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7670 Richard Henderson <rth@redhat.com>
7671 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7672
7673 * Makefile.in (bench): New target.
7674 * NEWS: Mention the benchmark framework.
7675 * Rules (bench): Likewise.
7676 (binaries-bench): Generate binaries for functions to
7677 benchmark.
7678 * benchtests/Makefile: New makefile for benchmark tests.
7679 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7680 programs.
7681 * benchtests/exp-inputs: New input file for EXP function.
7682 * benchtests/pow-inputs: New input file for POW function.
7683 * scripts/bench.pl: New script to generate source files for
7684 benchmark programs.
7685
bcda9880
SP
76862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7687
d22ca8cd
SP
7688 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7689 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7690 computations on mantissa. Use macros for rounding and
7691 division.
7692 (denorm): Likewise.
7693 (__dbl_mp): Likewise.
7694 (add_magnitudes): Likewise.
7695 (sub_magnitudes): Likewise.
7696 (__mul): Likewise.
7697 (__sqr): Likewise.
7698 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7699 powers of two in terms of TWOPOW macro.
7700 (mp_no): Make type of mantissa as MANTISSA_T.
7701 [!RADIXI]: Define RADIXI.
7702 [!TWO52]: Define TWO52.
7703 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7704
bcda9880
SP
7705 * manual/nptl.texi (cindex): Modify threads to pthreads.
7706
06d5adfb
JM
77072013-03-15 Joseph Myers <joseph@codesourcery.com>
7708
7709 * sysdeps/x86_64/preconfigure: Regenerated.
7710
41c7328e
JM
77112013-03-14 Joseph Myers <joseph@codesourcery.com>
7712
7713 [BZ #14155]
7714 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7715 0x1p28 and above.
7716 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7717 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7718 0x1p28 and above.
7719 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7720 * math/libm-test.inc (j0_test): Do not allow one spurious
7721 underflow exception.
7722 (y1_test): Likewise.
7723
e25cfa60
SP
77242013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7725
0409959c
SP
7726 * manual/Makefile (chapters): Add nptl.
7727 * manual/debug.texi (Debugging Support): Add link to Threads
7728 chapter.
7729 * manual/nptl.texi: New file.
7730
e25cfa60
SP
7731 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7732
58a1335e
PB
77332013-03-14 Petr Baudis <pasky@ucw.cz>
7734
7735 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7736 for non-NULL pointer before the memory validity test. Pointed
7737 out by Holger Brunck <holger.brunck@keymile.com>.
7738
9dc7c64f
AS
77392013-03-13 Andreas Schwab <schwab@suse.de>
7740
7741 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7742 instead of .os.
7743
54206aa6
JM
77442013-03-13 Joseph Myers <joseph@codesourcery.com>
7745
7746 * timezone/zic.c: Update from tzcode 2013b.
7747
e98cdb38
CD
77482013-03-12 Carlos O'Donell <carlos@redhat.com>
7749
7750 * manual/install.texi (Configuring and compiling):
7751 Mention i686 and i586.
7752 * INSTALL: Regenerate.
7753
9967e003
RM
77542013-03-12 Roland McGrath <roland@hack.frob.com>
7755
7756 * sysdeps/init_array/elf-init.c: New file.
7757 * csu/elf-init.c
7758 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7759 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7760
7761 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7762 __gmon_start__ as global, but as static with a .preinit_array pointer.
7763 * sysdeps/init_array/gmon-start.c: New file. Use that.
7764 * sysdeps/init_array/crti.S: New file, empty except for comments.
7765 * sysdeps/init_array/crtn.S: Likewise.
7766
e6b5a293 77672013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7768
7769 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7770 definining bcopy.
80f844c9
OB
7771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7772 Remove Prefer_SSE_for_memop.
7773 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7774 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7775 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7777 memset-x86-64.
80f844c9 7778 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7779 Remove bzero, memset ifunc support.
80f844c9
OB
7780 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7781 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7782 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7783 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7784
fb6b0fcb
AS
77852013-03-11 Andreas Schwab <schwab@suse.de>
7786
7787 [BZ #15234]
7788 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7789 by SHLIB_COMPAT.
7790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7791 (GLIBC_2.16): Remove pthread_atfork.
7792
3e6bd4b1
PP
77932013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7794
7795 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7796 (ptestcases.h): Likewise.
7797
222d7f00
RM
77982013-03-08 Roland McGrath <roland@hack.frob.com>
7799
7800 * Makeconfig ($(common-objpfx)config.status): Depend on
7801 sysdeps/*/preconfigure{,.in} too.
7802
1ba4f030
JM
78032013-03-08 Joseph Myers <joseph@codesourcery.com>
7804
a222d91a
JM
7805 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7806 (__free_hook): Use void * instead of __malloc_ptr_t.
7807 (__malloc_hook): Likewise.
7808 (__realloc_hook): Likewise.
7809 (__memalign_hook): Likewise.
7810 (__after_morecore_hook): Likewise.
7811 * malloc/arena.c (save_malloc_hook): Likewise.
7812 (save_free_hook): Likewise.
7813 * malloc/hooks.c (malloc_hook_ini): Likewise.
7814 (realloc_hook_ini): Likewise.
7815 (memalign_hook_ini): Likewise.
7816 * malloc/malloc.c (malloc_hook_ini): Likewise.
7817 (realloc_hook_ini): Likewise.
7818 (memalign_hook_ini): Likewise.
7819 (__free_hook): Likewise.
7820 (__malloc_hook): Likewise.
7821 (__realloc_hook): Likewise.
7822 (__memalign_hook): Likewise.
7823 (__libc_malloc): Likewise.
7824 (__libc_free): Likewise.
7825 (__libc_realloc): Likewise.
7826 (__libc_memalign): Likewise.
7827 (__libc_valloc): Likewise.
7828 (__libc_pvalloc): Likewise.
7829 (__libc_calloc): Likewise.
7830 (__posix_memalign): Likewise.
7831 * malloc/morecore.c (__sbrk): Likewise.
7832 (__default_morecore): Likewise.
7833
5cc45e10
JM
7834 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7835
dd54b864
JM
7836 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7837 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7838 __malloc_ptrdiff_t.
7839
1ba4f030
JM
7840 * malloc/malloc.h (__malloc_size_t): Remove macro.
7841 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7842 __malloc_size_t.
7843 (old_memalign_hook): Likewise.
7844 (old_realloc_hook): Likewise.
7845 (struct hdr): Likewise.
7846 (flood): Likewise.
7847 (mallochook): Likewise.
7848 (memalignhook): Likewise.
7849 (reallochook): Likewise.
7850 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7851 (tr_old_realloc_hook): Likewise.
7852 (tr_old_memalign_hook): Likewise.
7853 (tr_mallochook): Likewise.
7854 (tr_reallochook): Likewise.
7855 (tr_memalignhook): Likewise.
7856
edf66e57
AZ
78572013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7858
7859 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7860 default_ldbl_pack and using as default implementation.
7861 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7862 implementation.
7863 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7864 redundant definition.
7865 (ldbl_insert_mantissa): Likewise.
7866 (ldbl_canonicalize): Likewise.
7867 (ldbl_nearbyint): Likewise.
7868 (ldbl_pack): Rename to ldbl_pack_ppc.
7869 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7870 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7871 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7872
6d9145d8
SP
78732013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7874
7875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7876 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7877 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7878 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7880 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7881 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7882 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7883
4dd4e157
AJ
78842013-03-07 Andreas Jaeger <aj@suse.de>
7885
7886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7887 bits/mman-linux.h.
7888
adbb8027
SP
78892013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7890
ce544b5b
SP
7891 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7892 Include mpa.h and declare __MPEXP.
7893 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7894 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7895 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7896 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7897 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7898 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7899 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7900
4cc149fd
SP
7901 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7902 (__slowpow): Use long double EXPL and LOGL functions to
7903 compute POW.
7904 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7905 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7906 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7907 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7908 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7909 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7910
e6ebd4a7
SP
7911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7912 intermediate variable to calculate exponent.
7913 (__sqr): Likewise.
7914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7915 Likewise.
7916 (__sqr): Likewise.
7917
82a9811d
SP
7918 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7919 [!NO__SQR]: Define __sqr.
7920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7921 and NO__SQR. Remove all code except __mul and __sqr. Include
7922 sysdeps/ieee754/dbl-64/mpa.c.
7923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7924
adbb8027
SP
7925 [BZ #12723]
7926 * posix/Makefile (tests): Add tst-pathconf.
7927 * posix/tst-pathconf.c: New test case.
7928 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7929 _PC_PIPE_BUF.
7930 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7931
39120df9
PF
79322013-03-06 Patsy Franklin <pfrankli@redhat.com>
7933
7934 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7935
67525cb8
AJ
79362013-03-06 Andreas Jaeger <aj@suse.de>
7937
664a9ce4
AJ
7938 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7939 definition via __MAP_ANONYMOUS.
7940
8e39047d
AJ
7941 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7942 it's not part of Linux headers.
7943
67525cb8
AJ
7944 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7945 (MAP_HUGE_MASK): Define.
7946
7947 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7948 Define.
7949 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7950 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7951 Define.
7952 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7953 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7954 Define.
7955 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7956 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7957 Define.
7958 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7959
7960 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7961 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7962 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7963 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7964 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7965 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7966
7967 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7968 Handle f2fs.
7969
7970 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7971 Handle f2fs and efivarfs.
7972
7973 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7974 f2fs.
7975
7976 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7977 (EFIVARFS_MAGIC): Add.
7978 (F2FS_LINK_MAX): Add.
7979
e1b42695
PP
79802013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7981
7982 * stdio-common/vfprintf.c: Replace __builtin_expect with
7983 __glibc_unlikely.
7984
2d67d91a
JM
79852013-03-06 Joseph Myers <joseph@codesourcery.com>
7986
7987 [BZ #13550]
7988 * sysdeps/generic/bp-sym.h: Remove file.
7989 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7990 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7991 <bp-sym.h> and <bp-asm.h>.
7992 (__longjmp): Don't use BP_SYM.
7993 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7994 and <bp-asm.h>.
7995 (memcpy): Don't use BP_SYM.
7996 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7997 <bp-sym.h> and <bp-asm.h>.
7998 (memcpy): Don't use BP_SYM.
7999 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8000 <bp-asm.h>.
8001 (memcpy): Don't use BP_SYM.
8002 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8003 <bp-asm.h>.
8004 (memset): Don't use BP_SYM.
8005 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8006 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8007 (__bzero): Don't use BP_SYM.
8008 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8009 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8010 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8011 <bp-sym.h> and <bp-asm.h>.
8012 (memcmp): Don't use BP_SYM. Remove comment about bounded
8013 pointers.
8014 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8015 <bp-sym.h> and <bp-asm.h>.
8016 (memcpy): Don't use BP_SYM.
8017 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8018 <bp-sym.h> and <bp-asm.h>.
8019 (memset): Don't use BP_SYM.
8020 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8021 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8022 (__bzero): Don't use BP_SYM.
8023 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8024 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8025 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8026 <bp-sym.h> and <bp-asm.h>.
8027 (strncmp): Don't use BP_SYM. Remove comment about bounded
8028 pointers.
8029 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8030 <bp-sym.h> and <bp-asm.h>.
8031 (memcpy): Don't use BP_SYM.
8032 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8033 <bp-sym.h> and <bp-asm.h>.
8034 (memset): Don't use BP_SYM.
8035 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8036 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8037 (__bzero): Don't use BP_SYM.
8038 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8039 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8040 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8041 <bp-sym.h> and <bp-asm.h>.
8042 (__memchr): Don't use BP_SYM.
8043 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8044 <bp-sym.h> and <bp-asm.h>.
8045 (memcmp): Don't use BP_SYM. Remove comment about bounded
8046 pointers.
8047 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8048 <bp-sym.h> and <bp-asm.h>.
8049 (memcpy): Don't use BP_SYM.
8050 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8051 <bp-sym.h> and <bp-asm.h>.
8052 (__mempcpy): Don't use BP_SYM.
8053 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8054 <bp-sym.h> and <bp-asm.h>.
8055 (__memrchr): Don't use BP_SYM.
8056 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8057 <bp-sym.h> and <bp-asm.h>.
8058 (memset): Don't use BP_SYM.
8059 (__bzero): Likewise.
8060 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8061 <bp-sym.h> and <bp-asm.h>.
8062 (__rawmemchr): Don't use BP_SYM.
8063 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8064 <bp-sym.h> and <bp-asm.h>.
8065 (__STRCMP): Don't use BP_SYM.
8066 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8067 <bp-sym.h> and <bp-asm.h>.
8068 (strchr): Don't use BP_SYM.
8069 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8070 <bp-sym.h> and <bp-asm.h>.
8071 (__strchrnul): Don't use BP_SYM.
8072 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8073 <bp-sym.h> and <bp-asm.h>.
8074 (strlen): Don't use BP_SYM.
8075 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8076 <bp-sym.h> and <bp-asm.h>.
8077 (strncmp): Don't use BP_SYM. Remove comment about bounded
8078 pointers.
8079 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8080 <bp-sym.h> and <bp-asm.h>.
8081 (__strnlen): Don't use BP_SYM.
8082 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8083 <bp-sym.h> and <bp-asm.h>.
8084 (__GI__setjmp): Don't use BP_SYM.
8085 (_setjmp): Likewise.
8086 (__sigsetjmp): Likewise.
8087 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8088 (L(start_addresses)): Don't use BP_SYM.
8089 (_start): Likewise.
8090 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8091 <bp-asm.h>.
8092 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8093 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8094 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8095 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8096 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8097 <bp-asm.h>.
8098 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8099 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8100 about bounded pointers.
8101 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8102 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8103 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8104 <bp-asm.h>.
8105 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8106 about bounded pointers. Remove GKM FIXME comments.
8107 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8108 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8109 <bp-asm.h>.
8110 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8111 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8112 Remove GKM FIXME comments.
8113 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8114 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8115 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8116 <bp-asm.h>.
8117 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8118 about bounded pointers. Remove GKM FIXME comment.
8119 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8120 and <bp-asm.h>.
8121 (strncmp): Don't use BP_SYM. Remove comment about bounded
8122 pointers.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8124 <bp-sym.h> and <bp-asm.h>.
8125 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8127 <bp-sym.h> and <bp-asm.h>.
8128 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8129 comment.
8130
cdcf361f
PP
81312013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8132
8133 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8134 call free(NULL).
8135
3c4a2b15
DM
81362013-03-05 David S. Miller <davem@davemloft.net>
8137
8138 * po/es.po: Update from translation team.
8139
cdcf361f 81402013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8141
8142 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8143 <bits/mman-linux.h>.
8144 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8145 is fine.
8146 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8147 <bits/mman-linux.h> to end of file.
8148 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8149 is fine.
8150 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8151 <bits/mman-linux.h> to end of file.
8152 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8153 is fine.
8154 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8155 <bits/mman-linux.h> to end of file.
8156
8157 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8158 (MCL_CURRENT, MCL_FUTURE): Define here.
8159
5f67c04f
AK
81602013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8161
8a4473cc 8162 [BZ #15232]
5f67c04f
AK
8163 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8164 attribute_hidden.
8165 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8166
c3e94a95
AK
81672013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8168
8169 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8170 fourth parameter needed for rt_sigprocmask syscall.
8171 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8172 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8173 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8174 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8175 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8176 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8177
cfb6382a
JM
81782013-03-04 Joseph Myers <joseph@codesourcery.com>
8179
8180 [BZ #13550]
8181 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8182 comment about bounded pointers.
8183 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8184 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8185
539d8e01
AJ
81862013-03-04 Andreas Jaeger <aj@suse.de>
8187
8188 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8189 common definitions.
8190
8191 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8192 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8193 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8194 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8195 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8196 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8197
2e167a70 81982013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8199
8200 [BZ #15055]
8201 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8202 __ieee754_sqrl instead of __sqrl.
8203
68508633
JM
82042013-03-01 Joseph Myers <joseph@codesourcery.com>
8205
8206 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8207 * sysdeps/powerpc/fpu_control.h: ... here.
8208 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8209 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8210 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8211 * sysdeps/powerpc/bits/mathinline.h: ... here.
8212
7775448e
RM
82132013-03-01 Roland McGrath <roland@hack.frob.com>
8214
8215 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8216 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8217 to just [NEED_DL_SYSINFO_DSO].
8218 * elf/dl-support.c: Likewise.
8219 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8220 * elf/rtld.c (dl_main): Likewise.
8221 * elf/setup-vdso.h (setup_vdso): Likewise.
8222 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8223 * sysdeps/unix/sysv/linux/dl-sysdep.c
8224 (_dl_discover_osversion): Likewise.
8225
4e9b5995
CD
82262013-03-01 Carlos O'Donell <carlos@redhat.com>
8227
8228 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8229 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8230
e23872c8
SP
82312013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8232
e5c74c63
SP
8233 * NEWS: Mention libm performance improvements and non-x86 PI
8234 futex support.
8235
e23872c8
SP
8236 * csu/libc-start.c (__pthread_initialize_minimal): Change
8237 function arguments.
8238 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8239
b5510883
JM
82402013-02-28 Joseph Myers <joseph@codesourcery.com>
8241
8242 [BZ #13550]
8243 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8244 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8245 <bp-sym.h> and <bp-asm.h>.
8246 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8247 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8248 and <bp-asm.h>.
8249 (memcpy): Don't use BP_SYM.
8250 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8251 <bp-asm.h>.
8252 (__mpn_add_n): Don't use BP_SYM.
8253 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8254 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8255 and <bp-asm.h>.
8256 (__mpn_addmul_1): Don't use BP_SYM.
8257 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8258 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8259 <bp-sym.h>.
8260 (_setjmp): Don't use BP_SYM.
8261 (__novmx_setjmp): Likewise.
8262 (__GI__setjmp): Likewise.
8263 (__vmx_setjmp): Likewise.
8264 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8265 <bp-sym.h>.
8266 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8267 (__bzero): Don't use BP_SYM.
8268 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8269 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8270 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8271 <bp-sym.h> and <bp-asm.h>.
8272 (memcpy): Don't use BP_SYM.
8273 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8274 <bp-sym.h> and <bp-asm.h>.
8275 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8276 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8277 <bp-sym.h> and <bp-asm.h>.
8278 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8279 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8280 <bp-asm.h>.
8281 (__mpn_lshift): Don't use BP_SYM.
8282 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8283 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8284 <bp-asm.h>.
8285 (memset): Don't use BP_SYM.
8286 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8287 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8288 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8289 <bp-asm.h>.
8290 (__mpn_mul_1): Don't use BP_SYM.
8291 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8292 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8293 <bp-sym.h> and <bp-asm.h>.
8294 (memcmp): Don't use BP_SYM.
8295 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8296 <bp-sym.h> and <bp-asm.h>.
8297 (memcpy): Don't use BP_SYM.
8298 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8299 <bp-sym.h> and <bp-asm.h>.
8300 (memset): Don't use BP_SYM.
8301 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8302 <bp-sym.h> and <bp-asm.h>.
8303 (strncmp): Don't use BP_SYM.
8304 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8305 <bp-sym.h> and <bp-asm.h>.
8306 (memcpy): Don't use BP_SYM.
8307 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8308 <bp-sym.h> and <bp-asm.h>.
8309 (memset): Don't use BP_SYM.
8310 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8311 <bp-sym.h> and <bp-asm.h>.
8312 (__memchr): Don't use BP_SYM.
8313 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8314 <bp-sym.h> and <bp-asm.h>.
8315 (memcmp): Don't use BP_SYM.
8316 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8317 <bp-sym.h> and <bp-asm.h>.
8318 (memcpy): Don't use BP_SYM.
8319 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8320 <bp-sym.h> and <bp-asm.h>.
8321 (__mempcpy): Don't use BP_SYM.
8322 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8323 <bp-sym.h> and <bp-asm.h>.
8324 (__memrchr): Don't use BP_SYM.
8325 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8326 <bp-sym.h> and <bp-asm.h>.
8327 (memset): Don't use BP_SYM.
8328 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8329 <bp-sym.h> and <bp-asm.h>.
8330 (__rawmemchr): Don't use BP_SYM.
8331 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8332 <bp-sym.h> and <bp-asm.h>.
8333 (__STRCMP): Don't use BP_SYM.
8334 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8335 <bp-sym.h> and <bp-asm.h>.
8336 (strchr): Don't use BP_SYM.
8337 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8338 <bp-sym.h> and <bp-asm.h>.
8339 (__strchrnul): Don't use BP_SYM.
8340 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8341 <bp-sym.h> and <bp-asm.h>.
8342 (strlen): Don't use BP_SYM.
8343 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8344 <bp-sym.h> and <bp-asm.h>.
8345 (strncmp): Don't use BP_SYM.
8346 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8347 <bp-sym.h> and <bp-asm.h>.
8348 (__strnlen): Don't use BP_SYM.
8349 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8350 <bp-asm.h>.
8351 (__mpn_rshift): Don't use BP_SYM.
8352 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8353 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8354 <bp-sym.h> and <bp-asm.h>.
8355 (__sigsetjmp): Don't use BP_SYM.
8356 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8357 (L(start_addresses)): Don't use BP_SYM.
8358 (_start): Likewise.
8359 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8360 <bp-asm.h>.
8361 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8362 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8363 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8364 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8365 <bp-asm.h>.
8366 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8367 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8368 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8369 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8370 <bp-asm.h>.
8371 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8372 comments.
8373 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8374 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8375 <bp-asm.h>.
8376 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8377 FIXME comments.
8378 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8379 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8380 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8381 <bp-asm.h>.
8382 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8383 comment.
8384 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8385 and <bp-asm.h>.
8386 (strncmp): Don't use BP_SYM,
8387 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8388 <bp-asm.h>.
8389 (__mpn_sub_n): Don't use BP_SYM.
8390 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8391 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8392 and <bp-asm.h>.
8393 (__mpn_submul_1): Don't use BP_SYM.
8394 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8396 <bp-sym.h> and <bp-asm.h>.
8397 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8399 <bp-sym.h> and <bp-asm.h>.
8400 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8401 comment.
8402
8d19fe64
SP
84032013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8404
8405 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8406 Use ZK to minimize writes to Z.
8407 (sub_magnitudes): Simplify code a bit.
8408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8409 Use ZK to minimize writes to Z.
8410 (sub_magnitudes): Simplify code a bit.
8411
85bd816a
RM
84122013-02-27 Roland McGrath <roland@hack.frob.com>
8413
8414 * csu/gmon-start.c: Add special exception to license text.
8415
b5977bf2
RH
84162013-02-27 Richard Henderson <rth@redhat.com>
8417
8418 * scripts/config.guess: Update from config.git.
8419 * scripts/config.sub: Likewise.
8420
11d6e2f2
SP
84212013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8422
09c14ed2
SP
8423 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8424
a688864e
SP
8425 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8426
6295157a
SP
8427 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8428
b8de2202
SP
8429 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8430
11d6e2f2
SP
8431 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8432
7e80ddb8
RM
84332013-02-26 Roland McGrath <roland@hack.frob.com>
8434
8435 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8436 [$(build-shared = yes].
7e80ddb8 8437
7da6d9ed
SP
84382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8439
45f05884
SP
8440 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8441 (__mul): Reduce iterations for calculating mantissa.
8442
2236d359
SP
8443 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8444 MPTWO.
8445 (__mpranred): Likewise.
8446
7da6d9ed
SP
8447 [BZ #15160]
8448 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8449 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8450
b7688c42
PE
84512013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8452
8453 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8454 Define __attribute__.
8455
53a5c423
SP
84562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8457
8458 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8459 unused.
8460 * posix/regex_internal.h (__attribute): Remove.
8461 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8462 (re_string_context_at): Likewise.
8463 (bitset_not): Use __attribute__ and mark function as possibly
8464 unused.
8465 (bitset_merge): Likewise.
8466 (bitset_mask): Likewise.
8467 (re_string_char_size_at): Likewise.
8468 (re_string_wchar_at): Likewise.
8469 (re_string_elem_size_at): Likewise.
8470
60f5a8b5
SP
84712013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8472
2a983a2e
SP
8473 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8474 code.
8475 (cc32): Likewise.
8476
e69804d1
SP
8477 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8478 (__acr): Likewise.
8479 (__cpy): Likewise.
8480 (norm): Likewise.
8481 (denorm): Likewise.
8482 (__dbl_mp): Likewise.
8483 (add_magnitudes): Likewise.
8484 (sub_magnitudes): Likewise.
8485 (__mul): Likewise.
8486 (__inv): Likewise.
8487
2f22a1e8
SP
8488 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8489 style.
8490
8930ddc7
SP
8491 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8492 style.
8493
dc60cb11
SP
8494 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8495 code.
8496
60f5a8b5
SP
8497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8498 up changes with default code.
8499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8500 Likewise.
8501
b4d1fd33
AM
85022013-02-24 Allan McRae <allan@archlinux.org>
8503
faf6f8bc
AM
8504 * manual/socket.texi (The Internet Namespace): Order menu items
8505 to match that in the file.
8506
b4d1fd33
AM
8507 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8508 node listing of the info page menu.
8509
2366713d
JM
85102013-02-21 Joseph Myers <joseph@codesourcery.com>
8511
8512 [BZ #13550]
8513 * sysdeps/i386/bp-asm.h: Remove file.
8514 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8515 (PARMS): Do not use macros from bp-asm.h.
8516 (S1): Likewise.
8517 (S2): Likewise.
8518 (SIZE): Likewise.
8519 (__mpn_add_n): Do not use BP_SYM
8520 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8521 "bp-asm.h".
8522 (PARMS): Do not use macros from bp-asm.h.
8523 (S1): Likewise.
8524 (SIZE): Likewise.
8525 (__mpn_addmul_1): Do not use BP_SYM
8526 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8527 "bp-asm.h".
8528 (PARMS): Do not use macros from bp-asm.h.
8529 (SIGMSK): Likewise.
8530 (_setjmp): Likewise. Do not use BP_SYM.
8531 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8532 "bp-asm.h".
8533 (PARMS): Do not use macros from bp-asm.h.
8534 (SIGMSK): Likewise.
8535 (setjmp): Likewise. Do not use BP_SYM.
8536 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8537 "bp-asm.h".
8538 (PARMS): Do not use macros from bp-asm.h.
8539 (__frexp): Do not use BP_SYM.
8540 (frexp): Likewise.
8541 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8542 "bp-asm.h".
8543 (PARMS): Do not use macros from bp-asm.h.
8544 (__frexpf): Do not use BP_SYM.
8545 (frexpf): Likewise.
8546 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8547 "bp-asm.h".
8548 (PARMS): Do not use macros from bp-asm.h.
8549 (__frexpl): Do not use BP_SYM.
8550 (frexpl): Likewise.
8551 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8552 "bp-asm.h".
8553 (PARMS): Do not use macros from bp-asm.h.
8554 (__remquo): Do not use BP_SYM.
8555 (remquo): Likewise.
8556 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8557 "bp-asm.h".
8558 (PARMS): Do not use macros from bp-asm.h.
8559 (__remquof): Do not use BP_SYM.
8560 (remquof): Likewise.
8561 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8562 "bp-asm.h".
8563 (PARMS): Do not use macros from bp-asm.h.
8564 (__remquol): Do not use BP_SYM.
8565 (remquol): Likewise.
8566 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8567 "bp-asm.h".
8568 (PARMS): Do not use macros from bp-asm.h.
8569 (DEST): Likewise.
8570 (SRC): Likewise.
8571 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8572 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8573 "bp-asm.h".
8574 (PARMS): Do not use macros from bp-asm.h.
8575 (strlen): Do not use BP_SYM.
8576 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8577 "bp-asm.h".
8578 (PARMS): Do not use macros from bp-asm.h.
8579 (S1): Likewise.
8580 (S2): Likewise.
8581 (SIZE): Likewise.
8582 (__mpn_add_n): Do not use BP_SYM.
8583 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8584 "bp-asm.h".
8585 (PARMS): Do not use macros from bp-asm.h.
8586 (S1): Likewise.
8587 (SIZE): Likewise.
8588 (__mpn_addmul_1): Do not use BP_SYM.
8589 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8590 weak_alias.
8591 (bzero): Likewise.
8592 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8593 "bp-asm.h".
8594 (PARMS): Do not use macros from bp-asm.h.
8595 (S): Likewise.
8596 (SIZE): Likewise.
8597 (__mpn_lshift): Do not use BP_SYM.
8598 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8599 "bp-asm.h".
8600 (PARMS): Do not use macros from bp-asm.h.
8601 (DEST): Likewise.
8602 (SRC): Likewise.
8603 (LEN): Likewise.
8604 (memcpy): Likewise. Do not use BP_SYM.
8605 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8606 libc_hidden_def and weak_alias.
8607 (mempcpy): Do not use BP_SYM in weak_alias.
8608 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8609 "bp-asm.h".
8610 (PARMS): Do not use macros from bp-asm.h.
8611 (DEST): Likewise.
8612 (LEN): Likewise.
8613 [!BZERO_P] (CHR): Likewise.
8614 (memset): Likewise. Do not use BP_SYM.
8615 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8616 "bp-asm.h".
8617 (PARMS): Do not use macros from bp-asm.h.
8618 (S1): Likewise.
8619 (SIZE): Likewise.
8620 (__mpn_mul_1): Do not use BP_SYM.
8621 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8622 "bp-asm.h".
8623 (PARMS): Do not use macros from bp-asm.h.
8624 (S): Likewise.
8625 (SIZE): Likewise.
8626 (__mpn_rshift): Do not use BP_SYM.
8627 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8628 "bp-asm.h".
8629 (PARMS): Do not use macros from bp-asm.h.
8630 (STR): Likewise.
8631 (CHR): Likewise.
8632 (strchr): Likewise. Do not use BP_SYM.
8633 (index): Do not use BP_SYM in weak_alias.
8634 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8635 "bp-asm.h".
8636 (PARMS): Do not use macros from bp-asm.h.
8637 (DEST): Likewise.
8638 (SRC): Likewise.
8639 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8640 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8641 "bp-asm.h".
8642 (PARMS): Do not use macros from bp-asm.h.
8643 (strlen): Do not use BP_SYM.
8644 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8645 "bp-asm.h".
8646 (PARMS): Do not use macros from bp-asm.h.
8647 (S1): Likewise.
8648 (S2): Likewise.
8649 (SIZE): Likewise.
8650 (__mpn_sub_n): Do not use BP_SYM.
8651 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8652 "bp-asm.h".
8653 (PARMS): Do not use macros from bp-asm.h.
8654 (S1): Likewise.
8655 (SIZE): Likewise.
8656 (__mpn_submul_1): Do not use BP_SYM.
8657 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8658 "bp-asm.h".
8659 (PARMS): Do not use macros from bp-asm.h.
8660 (S1): Likewise.
8661 (S2): Likewise.
8662 (SIZE): Likewise.
8663 (__mpn_add_n): Do not use BP_SYM.
8664 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8665 weak_alias.
8666 (bzero): Likewise.
8667 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8668 "bp-asm.h".
8669 (PARMS): Do not use macros from bp-asm.h.
8670 (BLK2): Likewise.
8671 (LEN): Likewise.
8672 (memcmp): Do not use BP_SYM.
8673 (bcmp): Do not use BP_SYM in weak_alias.
8674 * sysdeps/i386/i686/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
8681 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8682 "bp-asm.h".
8683 (PARMS): Do not use macros from bp-asm.h.
8684 (DEST): Likewise.
8685 (SRC): Likewise.
8686 (LEN): Likewise.
8687 (memmove): Likewise. Do not use BP_SYM.
8688 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8689 "bp-asm.h".
8690 (PARMS): Do not use macros from bp-asm.h.
8691 (DEST): Likewise.
8692 (SRC): Likewise.
8693 (LEN): Likewise.
8694 (__mempcpy): Likewise. Do not use BP_SYM.
8695 (mempcpy): Do not use BP_SYM in weak_alias.
8696 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8697 "bp-asm.h".
8698 (PARMS): Do not use macros from bp-asm.h.
8699 (DEST): Likewise.
8700 (LEN): Likewise.
8701 [!BZERO_P] (CHR): Likewise.
8702 (memset): Likewise. Do not use BP_SYM.
8703 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8704 "bp-asm.h".
8705 (PARMS): Do not use macros from bp-asm.h.
8706 (STR2): Likewise.
8707 (strcmp): Do not use BP_SYM.
8708 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8709 "bp-asm.h".
8710 (PARMS): Do not use macros from bp-asm.h.
8711 (STR): Likewise.
8712 (DELIM): Likewise.
8713 [USE_AS_STRTOK_R] (SAVE): Likewise.
8714 (FUNCTION): Likewise. Do not use BP_SYM.
8715 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8716 aliases.
8717 (strtok_r): Likewise.
8718 (__GI___strtok_r): Likewise.
8719 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8720 (PARMS): Do not use macros from bp-asm.h.
8721 (S): Likewise.
8722 (SIZE): Likewise.
8723 (__mpn_lshift): Do not use BP_SYM.
8724 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8725 (PARMS): Do not use macros from bp-asm.h.
8726 (STR): Likewise.
8727 (CHR): Likewise.
8728 (__memchr): Do not use BP_SYM.
8729 (memchr): Do not use BP_SYM in weak_alias.
8730 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8731 (PARMS): Do not use macros from bp-asm.h.
8732 (BLK2): Likewise.
8733 (LEN): Likewise.
8734 (memcmp): Do not use BP_SYM.
8735 (bcmp): Do not use BP_SYM in weak_alias.
8736 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8737 (PARMS): Do not use macros from bp-asm.h.
8738 (S1): Likewise.
8739 (SIZE): Likewise.
8740 (__mpn_mul_1): Do not use BP_SYM.
8741 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8742 "bp-asm.h".
8743 (PARMS): Do not use macros from bp-asm.h.
8744 (STR): Likewise.
8745 (CHR): Likewise.
8746 (__rawmemchr): Do not use BP_SYM.
8747 (rawmemchr): Do not use BP_SYM in weak_alias.
8748 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8749 (PARMS): Do not use macros from bp-asm.h.
8750 (S): Likewise.
8751 (SIZE): Likewise.
8752 (__mpn_rshift): Do not use BP_SYM.
8753 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8754 (PARMS): Do not use macros from bp-asm.h.
8755 (SIGMSK): Likewise.
8756 (__sigsetjmp): Likewise. Do not use BP_SYM.
8757 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8758 (_start): Do not use BP_SYM.
8759 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8760 (PARMS): Do not use macros from bp-asm.h.
8761 (DEST): Likewise.
8762 (SRC): Likewise.
8763 (__stpcpy): Likewise. Do not use BP_SYM.
8764 (stpcpy): Do not use BP_SYM in weak_alias.
8765 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8766 "bp-asm.h".
8767 (PARMS): Do not use macros from bp-asm.h.
8768 (DEST): Likewise.
8769 (SRC): Likewise.
8770 (LEN): Likewise.
8771 (__stpncpy): Likewise. Do not use BP_SYM.
8772 (stpncpy): Do not use BP_SYM in weak_alias.
8773 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8774 (PARMS): Do not use macros from bp-asm.h.
8775 (STR): Likewise.
8776 (CHR): Likewise.
8777 (strchr): Likewise. Do not use BP_SYM.
8778 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8779 "bp-asm.h".
8780 (PARMS): Do not use macros from bp-asm.h.
8781 (STR): Likewise.
8782 (CHR): Likewise.
8783 (__strchrnul): Likewise. Do not use BP_SYM.
8784 (strchrnul): Do not use BP_SYM in weak_alias.
8785 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8786 "bp-asm.h".
8787 (PARMS): Do not use macros from bp-asm.h.
8788 (STOP): Likewise.
8789 (strcspn): Do not use BP_SYM.
8790 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8791 "bp-asm.h".
8792 (PARMS): Do not use macros from bp-asm.h.
8793 (STR): Likewise.
8794 (STOP): Likewise.
8795 (strpbrk): Likewise. Do not use BP_SYM.
8796 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8797 "bp-asm.h".
8798 (PARMS): Do not use macros from bp-asm.h.
8799 (STR): Likewise.
8800 (CHR): Likewise.
8801 (strrchr): Likewise. Do not use BP_SYM.
8802 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8803 (PARMS): Do not use macros from bp-asm.h.
8804 (SKIP): Likewise.
8805 (strspn): Do not use BP_SYM.
8806 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8807 (PARMS): Do not use macros from bp-asm.h.
8808 (STR): Likewise.
8809 (DELIM): Likewise.
8810 (SAVE): Likewise.
8811 (FUNCTION): Likewise. Do not use BP_SYM.
8812 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8813 aliases.
8814 (strtok_r): Likewise.
8815 (__GI___strtok_r): Likewise.
8816 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8817 (PARMS): Do not use macros from bp-asm.h.
8818 (S1): Likewise.
8819 (S2): Likewise.
8820 (SIZE): Likewise.
8821 (__mpn_sub_n): Do not use BP_SYM.
8822 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8823 "bp-asm.h".
8824 (PARMS): Do not use macros from bp-asm.h.
8825 (S1): Likewise.
8826 (SIZE): Likewise.
8827 (__mpn_submul_1): Do not use BP_SYM.
8828 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8829 <bp-sym.h>.
8830 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8831 and <bp-asm.h>.
8832 (PARMS): Do not use macros from bp-asm.h.
8833 (FLAGS): Likewise.
8834 (PTID): Likewise.
8835 (TLS): Likewise.
8836 (CTID): Likewise.
8837 (__clone): Do not use BP_SYM.
8838 (clone): Do not use BP_SYM in weak_alias.
8839 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8840 and <bp-asm.h>.
8841 (PARMS): Do not use macros from bp-asm.h.
8842 (LEN): Likewise.
8843 (__mmap64): Do not use BP_SYM.
8844 (mmap64): Do not use BP_SYM in weak_alias.
8845 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8846 <bp-sym.h> and <bp-asm.h>.
8847 (PARMS): Do not use macros from bp-asm.h.
8848 (__posix_fadvise64_l64): Do not use BP_SYM.
8849 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8850 (PARMS): Do not use macros from bp-asm.h.
8851 (NSOPS): Likewise.
8852 (semtimedop): Do not use BP_SYM.
8853 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8854 and <bp-asm.h>.
8855
582a3cff
AM
88562013-02-21 Allan McRae <allan@archlinux.org>
8857
8858 * manual/message.texi (Charset conversion in gettext):
8859 Move @end statement to beginning of line.
8860
bab8a695
SP
88612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8862
80945231
SP
8863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8864 static.
8865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8866 Likewise.
8867
bab8a695
SP
8868 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8869 (denorm): Likewise.
8870 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8872
e21d7aa7
AK
88732013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8874
8875 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8876 tail-call to the resolved function if pltexit isn't needed.
8877
4c7a4263
SP
88782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8879
8880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8881 or Y being zero as being unlikely.
8882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8883 Likewise.
8884
41f49342
CD
88852013-02-20 Carlos O'Donell <carlos@redhat.com>
8886
8887 * manual/nss.texi (System Databases and Name Service Switch):
8888 Remove frobnicate @pxref.
8889
50022a93
TS
88902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8891
8892 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8893 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8894
08cbd996
PM
88952013-02-20 Petr Machata <pmachata@redhat.com>
8896
8897 * elf/elf.h (R_ARM_TARGET1): New macro.
8898 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8899 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8900 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8901 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8902 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8903 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8904 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8905 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8906 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8907 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8908 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8909 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8910 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8911 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8912 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8913 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8914 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8915 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8916 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8917 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8918 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8919 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8920 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8921 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8922 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8923 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8924 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8925 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8926 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8927 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8928 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8929 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8930 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8931 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8932 (R_ARM_THM_GOT_BREL12): Likewise.
8933 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8934 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8935 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8936 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8937 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8938 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8939 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8940 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8941 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8942
c7b275d6
TS
89432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8944
8945 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8946 __attribute_used__ to __attribute__ ((unused)).
8947
20cd7fb3
SP
89482013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8949
8950 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8951 powerpc mpa.c.
8952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8953 comment formatting.
8954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8955
92945b52
JM
89562013-02-19 Joseph Myers <joseph@codesourcery.com>
8957
8958 [BZ #13550]
8959 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8960 Remove macro.
8961 (ENTER): Remove both macro definitions.
8962 (LEAVE): Likewise.
8963 (CHECK_BOUNDS_LOW): Likewise.
8964 (CHECK_BOUNDS_HIGH): Likewise.
8965 (CHECK_BOUNDS_BOTH): Likewise.
8966 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8967 (RETURN_BOUNDED_POINTER): Likewise.
8968 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8969 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8970 (POP_ERRNO_LOCATION_RETURN): Likewise.
8971 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8972 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8973 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8974 macros.
8975 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8976 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8977 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8978 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8979 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8980 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8981 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8982 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8983 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8984 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8985 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8986 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8987 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8988 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8989 removed macros.
8990 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8991 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8992 macros.
8993 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8994 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8995 * sysdeps/i386/i586/memset.S (memset): Likewise.
8996 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8997 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8998 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8999 macros.
9000 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9001 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9002 Change uses of L(2) to L(out).
9003 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9004 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9005 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9006 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9007 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9008 removed macros.
9009 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9010 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9011 macros.
9012 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9013 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9014 (RETURN): Do not use macro LEAVE.
9015 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9016 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9017 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9018 * sysdeps/i386/i686/memset.S (memset): Likewise.
9019 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9020 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9021 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9022 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9023 Likewise.
9024 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9025 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9026 L(1_2) and L(1_3) into L(1).
9027 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9028 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9029 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9030 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9031 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9032 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9033 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9034 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9035 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9036 macros.
9037 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9038 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9039 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9040 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9041 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9042 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9043 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9044 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9045 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9046 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9047 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9048 * sysdeps/i386/strspn.S (strspn): Likewise.
9049 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9050 conditional code.
9051 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9052 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9053 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9054 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9055 L(1_3) into L(1_1).
9056 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9057 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9058 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9059 macros.
9060 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9061
2389741a
JJ
90622013-02-19 Jakub Jelinek <jakub@redhat.com>
9063
9064 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9065 macro.
9066
2016b3cd
SP
90672013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9068
e4f22324
SP
9069 * math/atest-exp.c (exp_mpn): Remove ROUND.
9070 * math/atest-exp2.c (exp_mpn): Likewise.
9071 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9072
2016b3cd
SP
9073 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9074 * stdlib/tst-tls-atexit-lib.c: Likewise.
9075 * stdlib/tst-tls-atexit.c: Likewise.
9076
4be9b544
MF
90772013-02-18 Mike Frysinger <vapier@gentoo.org>
9078
9079 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9080 and __attribute_alloc_size__.
9081
2f62b9ee
MF
90822013-02-18 Mike Frysinger <vapier@gentoo.org>
9083
9084 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9085 __attribute_alloc_size__.
9086 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9087 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9088
6ff444c4
MF
90892013-02-18 Mike Frysinger <vapier@gentoo.org>
9090
9091 * include/programs/xmalloc.h: New file.
9092 * catgets/gencat.c: Include it.
9093 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9094 * elf/pldd.c: Likewise.
9095 * iconv/iconv_charmap.c: Likewise.
9096 * iconv/iconvconfig.c: Likewise.
9097 * iconv/strtab.c: Likewise.
9098 * locale/programs/locale.c: Likewise.
9099 * locale/programs/localedef.h: Likewise.
9100 * locale/programs/simple-hash.c: Likewise.
9101 * nscd/nscd.h: Likewise.
9102 * nss/makedb.c: Likewise.
9103 * sysdeps/generic/ldconfig.h: Likewise.
9104
be179c8a
SP
91052013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9106
ba384f6e
SP
9107 * Versions.def: Add GLIBC_2.18.
9108 * include/link.h (struct link_map): New member l_tls_dtor_count.
9109 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9110 (__call_tls_dtors): Likewise.
9111 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9112 __cxa_thread_atexit_impl.
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9114 Likewise.
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9116 Likewise.
9117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9118 Likewise.
9119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9120 Likewise.
9121 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9123 Likewise.
9124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9125 Likewise.
9126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9128 Likewise.
9129 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9130 (tests): Add test case tst-tls-atexit.
9131 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9132 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9133 (GLIBC_PRIVATE): Add __call_tls_dtors.
9134 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9135 for libstdc++.
9136 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9137 * stdlib/tst-tls-atexit.c: New test case.
9138 * stdlib/tst-tls-atexit-lib.c: New test case.
9139
ffaa74cf 9140 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9141
be179c8a
SP
9142 * elf/Versions (ld): Add _dl_find_dso_for_object.
9143 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9144 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9145 (dl_open_worker): Use _dl_find_dso_for_object.
9146 * elf/dl-sym.c (do_sym): Likewise.
9147 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9148
f78b5caa
AK
91492013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9150
9151 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9152 Syntactic changes only.
9153 (_dl_runtime_profile): Do a tail-call to the resolved function.
9154
29691210
JM
91552013-02-17 Joseph Myers <joseph@codesourcery.com>
9156
9157 [BZ #13550]
9158 * sysdeps/x86_64/bp-asm.h: Remove file.
9159 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9160 <bp-sym.h> and <bp-asm.h>.
9161 (__clone): Do not use BP_SYM.
9162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9163 <bp-sym.h> and <bp-asm.h>.
9164 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9165 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9166 "bp-asm.h".
9167 (_setjmp): Do not use BP_SYM.
9168 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9169 "bp-asm.h".
9170 (setjmp): Do not use BP_SYM.
9171 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9172 libc_hidden_def.
9173 (mempcpy): Do not use BP_SYM in weak_alias.
9174 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9175 "bp-asm.h".
9176 (strchr): Do not use BP_SYM.
9177 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9178 "bp-asm.h".
9179 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9180 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9181 (_start): Do not use BP_SYM.
9182 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9183 "bp-asm.h".
9184 (strcat): Do not use BP_SYM.
9185 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9186 "bp-asm.h".
9187 (STRCMP): Do not use BP_SYM.
9188 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9189 "bp-asm.h".
9190 (STRCPY): Do not use BP_SYM.
9191 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9192 "bp-asm.h".
9193 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9194 "bp-asm.h".
9195 (FUNCTION): Do not use BP_SYM.
9196 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9197 weak_alias.
9198 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9199
f238fd19
AJ
92002013-02-17 Andreas Jaeger <aj@suse.de>
9201
9202 * time/Versions: Sort entries.
9203 * string/Versions: Likewise.
9204 * resolv/Versions: Likewise.
9205 * posix/Versions: Likewise.
9206 * iconv/Versions: Likewise.
9207 * elf/Versions: Likewise.
9208 * wcsmbs/Versions: Likewise.
9209
bd07f23c 92102013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9211
22af19f9
SP
9212 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9213 loop termination condition.
9214
4709fe76
SP
9215 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9216 variable to calculate EZ.
9217 (__sqr): Likewise.
2d0e0f29
SP
9218
9219 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9220 the lower precision input.
9221
daaa7713
JM
92222013-02-15 Joseph Myers <joseph@codesourcery.com>
9223
9224 [BZ #13550]
9225 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9226 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9227 (run-via-rtld-prefix): Do not handle %-bp tests.
9228 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9229 (all-object-suffixes): Remove .ob.
9230 (bppfx): Remove variable.
9231 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9232 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9233 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9234 [$(build-bounded) = yes] (libtype.ob): Likewise.
9235 * Makerules (elide-routines.ob): Remove variable.
9236 (do-tests-clean): Do not handle *-bp.out.
9237 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9238 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9239 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9240 (tests): Do not include $(tests-bp.out).
9241 (xtests): Do not include $(xtests-bp.out).
9242 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9243 [$(build-bounded) = yes] ($(addprefix
9244 $(objpfx),$(binaries-bounded))): Remove rule.
9245 ($(objpfx)%-bp.out): Remove rule.
9246 * config.make.in (build-bounded): Remove variable.
9247 * crypt/Makefile [$(build-bounded) = yes]
9248 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9249 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9250 append to variable.
9251 [$(build-bounded) = yes] (install-lib): Likewise.
9252 [$(build-bounded) = yes] (generated): Likewise.
9253 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9254 Remove rule.
9255 * intl/Makefile [$(build-bounded) = yes]
9256 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9257 * math/Makefile [$(build-bounded) = yes]
9258 ($(tests:%=$(objpfx)%-bp): Likewise.
9259 * misc/Makefile [$(build-bounded) = yes]
9260 ($(objpfx)tst-tsearch-bp): Likewise.
9261 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9262 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9263 Remove dependency.
9264 * string/Makefile (o-objects.ob): Remove variable.
9265 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9266 (CFLAGS-.ob): Remove variable.
9267 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9268 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9269 both definitions of variable.
9270 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9271 (ASFLAGS-.ob): Remove variable.
9272
e97ed6dd
JM
92732013-02-14 Joseph Myers <joseph@codesourcery.com>
9274
2bdd4ca6
JM
9275 [BZ #13550]
9276 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9277 Remove __BOUNDED_POINTERS__ from condition.
9278 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9279 * string/bits/string2.h [!__NO_STRING_INLINES &&
9280 !__BOUNDED_POINTERS__]: Likewise.
9281 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9282 Likewise.
9283 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9284 Remove conditional code.
9285 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9286 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9287 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9288 condition.
9289
e97ed6dd
JM
9290 [BZ #13550]
9291 * csu/libc-start.c: Do not include <bp-sym.h>.
9292 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9293 * elf/dl-open.c: Do not include <bp-sym.h>.
9294 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9295 * math/fegetenv.c: Do not include <bp-sym.h>.
9296 (fegetenv): Do not use BP_SYM in versioned symbols.
9297 * nptl/sysdeps/pthread/bits/libc-lockP.h
9298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9299 <bp-sym.h>.
9300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9301 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9303 (__pthread_mutex_destroy): Likewise.
9304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9305 (__pthread_mutex_lock): Likewise.
9306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9307 (__pthread_mutex_trylock): Likewise.
9308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9309 (__pthread_mutex_unlock): Likewise.
9310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9311 (__pthread_mutexattr_init): Likewise.
9312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9313 (__pthread_mutexattr_destroy): Likewise.
9314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9315 (__pthread_mutexattr_settype): Likewise.
9316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9317 (__pthread_rwlock_init): Likewise.
9318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9319 (__pthread_rwlock_destroy): Likewise.
9320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9321 (__pthread_rwlock_rdlock): Likewise.
9322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9323 (__pthread_rwlock_tryrdlock): Likewise.
9324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9325 (__pthread_rwlock_wrlock): Likewise.
9326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9327 (__pthread_rwlock_trywrlock): Likewise.
9328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9329 (__pthread_rwlock_unlock): Likewise.
9330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9331 (__pthread_key_create): Likewise.
9332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9333 (__pthread_setspecific): Likewise.
9334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9335 (__pthread_getspecific): Likewise.
9336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9337 Likewise.
9338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9339 (_pthread_cleanup_push_defer): Likewise.
9340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9341 (_pthread_cleanup_pop_restore): Likewise.
9342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9343 (pthread_setcancelstate): Likewise.
9344 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9345 <bp-sym.h>.
9346 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9347 (memchr): Do not use BP_SYM in weak_alias.
9348 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9349 (fegetenv): Do not use BP_SYM in versioned symbols.
9350 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9351 (fesetenv): Do not use BP_SYM in versioned symbols.
9352 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9353 (feupdateenv): Do not use BP_SYM in versioned symbols.
9354 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9355 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9356 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9357 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9358 (open64): Do not use BP_SYM in weak_alias.
9359 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9360 (fegetenv): Do not use BP_SYM in versioned symbols.
9361 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9362 (fesetenv): Do not use BP_SYM in versioned symbols.
9363 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9364 (feupdateenv): Do not use BP_SYM in versioned symbols.
9365 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9366 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9367 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9368 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9369 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9370 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9371 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9372 <bp-sym.h>.
9373 (__libc_start_main): Do not use BP_SYM.
9374
d6752ccd
SP
93752013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9376
cb57ce60
SP
9377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9378 redundant return line.
9379 (norm): Likewise.
9380 (denorm): Likewise.
9381 (dbl_mp): Likewise.
9382 (sub_magnitudes): Likewise.
9383 (__add): Likewise.
9384 (__sub): Likewise.
9385 (__mul): Likewise.
9386 (__inv): Likewise.
9387 (__dvd): Likewise.
9388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9389 (norm): Likewise.
9390 (denorm): Likewise.
9391 (dbl_mp): Likewise.
9392 (sub_magnitudes): Likewise.
9393 (__add): Likewise.
9394 (__sub): Likewise.
9395 (__mul): Likewise.
9396 (__inv): Likewise.
9397 (__dvd): Likewise.
9398
f414520d
SP
9399 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9400 instead of __mul.
9401 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9402 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9403 (cc32): Likewise.
9404
d6752ccd
SP
9405 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9406 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9407 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9408 of __mul for squares.
9409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9410 function
9411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9412 Likewise.
9413 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9414 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9415
70d9946a
JM
94162013-02-13 Joseph Myers <joseph@codesourcery.com>
9417
9418 [BZ #13550]
9419 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9420 code.
9421 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9422 prototype or function definition. Rename ubp_* variables and
9423 parameters. Remove argv definitions conditional on
9424 [__BOUNDED_POINTERS__].
9425 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9426 * elf/dl-runtime.c (_dl_fixup): Likewise.
9427 * include/set-hooks.h (RUN_HOOK): Likewise.
9428 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9429 definition.
9430 * string/strcpy.c (strcpy): Do not use __unbounded.
9431 * sysdeps/generic/frame.h (struct layout): Likewise.
9432 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9433 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9434 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9435 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9436 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9437 (__backtrace): Likewise.
9438 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9439 use __ptrvalue.
9440 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9441 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9442 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9443 Likewise.
9444 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9445 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9446 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9447 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9448 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9449 Do not use __unbounded.
9450 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9451 Rename __unboundedrlimits parameter to rlimits in prototype.
9452 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9453 Do not use __unbounded.
9454 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9455 not use __ptrvalue.
9456 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9457 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9458 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9459 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9460 __ptrvalue or __unbounded.
9461 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9462 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9463 use __unbounded.
9464 (__new_msgctl): Do not use __ptrvalue.
9465 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9466 __unbounded.
9467 (__libc_msgrcv): Do not use __ptrvalue.
9468 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9469 startup_info): Do not use __unbounded.
9470 (__libc_start_main): Likewise. Rename ubp_* variables and
9471 parameters. Remove argv definitions conditional on
9472 [__BOUNDED_POINTERS__].
9473 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9474 __ptrvalue.
9475 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9476 use __unbounded.
9477 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9478 or __ptrvalue.
9479 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9480 use __unbounded.
9481 (__new_shmctl): Do not use __ptrvalue.
9482 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9483 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9484 Likewise.
9485 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9486 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9487 (__libc_sigaction): Likewise.
9488 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9489 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9490 Likewise.
9491 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9492
cc7834d6
OB
94932013-02-13 Ondřej Bílka <neleai@seznam.cz>
9494
ffb1ec7b 9495 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9496
9497 * string/mempcpy.c: Implement by calling memcpy.
9498
bdf02814
SP
94992013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9500
c2af38aa
SP
9501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9502
4e92d59e
SP
9503 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9504 evaluation.
9505
909279a5
SP
9506 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9507 values in the mantissa.
9508
bdf02814
SP
9509 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9510 minimize writes to Z.
9511 (sub_magnitudes): Simplify code a bit.
9512
cd525923
RM
95132013-02-12 Roland McGrath <roland@hack.frob.com>
9514
9515 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9516 from the message. The linker prefixes all warnings with that already.
9517
7e2f0d2d
AS
95182013-02-12 Andreas Schwab <schwab@suse.de>
9519
a445af0b
AS
9520 [BZ #15078]
9521 * posix/regexec.c (extend_buffers): Add parameter min_len.
9522 (check_matching): Pass minimum needed length.
9523 (clean_state_log_if_needed): Likewise.
9524 (get_subexp): Likewise.
9525 * posix/Makefile (tests): Add bug-regex34.
9526 (bug-regex34-ENV): Define.
9527 * posix/bug-regex34.c: New file.
9528
7e2f0d2d
AS
9529 [BZ #11561]
9530 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9531 elements compare against the byte sequence of it, not its name.
9532 * posix/Makefile (tests): Add bug-regex35.
9533 (bug-regex35-ENV): Define.
9534 * posix/bug-regex35.c: New file.
9535
a175b684
TV
95362013-02-11 Tom de Vries <tom@codesourcery.com>
9537
9538 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9539 comment.
9540 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9541 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9542 (CHECK_EOL): Add undef.
9543
310998fe 95442013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9545
9546 * bits/stdlib-bsearch.h: New file.
9547 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9548 * stdlib/stdlib.h: Likewise.
41eda41d 9549
8ded91fb
RM
95502013-02-11 Roland McGrath <roland@hack.frob.com>
9551
9552 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9553 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9554 declaration.
9555 * manual/search.texi (Array Search Function): Add missing const in
9556 lfind prototype.
9557 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9558 declaration to use rlim_t.
9559 (Basic Scheduling Functions): Remove erroneous const from
9560 sched_getparam prototype. Remove erroneous * from
9561 sched_get_priority_max and sched_get_priority_min prototypes.
9562 (Resource Usage): Fix summary @comment on vtimes to refer to
9563 sys/vtimes.h rather than vtimes.h.
9564 Add missing *s in vtimes prototype.
9565 (Limits on Resources): Fix ulimit prototype to return long int.
9566 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9567 prototypes to use long int rather than double.
9568 (BSD Random): Fix initstate and setstate to use char *, not void *.
9569 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9570 prototype to make second argument 'struct aiocb64 *const[]'.
9571 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9572 (Status of AIO Operations): Remove erroneous const in aio_return and
9573 aio_return64 prototypes.
9574 (Synchronizing I/O): Fix sync prototype to return void.
9575 * manual/startup.texi (Suboptions): Remove an erroneous const in
9576 getsubopt prototype.
9577 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9578 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9579 use size_t rather than int.
9580 (Scanning All Users): Likewise for getpwent_r.
9581 (Setting Groups): Add missing const to setgroups prototype.
9582 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9583 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9584 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9585 'const void *' rather than 'const char *'.
9586 (Host Address Functions): Likewise for inet_ntop.
9587 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9588 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9589 ssize_t for return value.
9590 (Sending Data): Likewise for send, sendto, sendmsg.
9591 (Socket Option Functions): Add a missing const in setsockopt prototype.
9592 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9593 use wchar_t for the argument.
9594 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9595 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9596 take no arguments.
9597 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9598 double/float/long double for second argument.
9599 Fix return types of significand, significandf, significandl.
9600 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9601 argument in fchmod prototype.
9602 (File Owner): Use uid_t and gid_t in fchown prototype.
9603 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9604 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9605 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9606 use 'const struct dirent **' as argument types to CMP function pointer
9607 argument.
9608 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9609 (File Times): Fix summary magic @comment for struct utimbuf and utime
9610 to refer to utime.h, not time.h.
9611 * manual/string.texi (Argz Functions): Add missing const in
9612 argz_extract and argz_next prototypes.
9613 (Finding Tokens in a String): Likewise for basename.
9614 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9615 (Copying and Concatenation): Fix typo in wmemmove prototype.
9616 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9617 (Signal Stack): Remove erroneous const in sigstack prototype.
9618 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9619 prototype.
9620 (Simple Calendar Time): Likewise for stime.
9621 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9622 prototype.
9623 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9624 say sys/sysctl.h instead.
9625 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9626 and vsyslog prototypes.
9627
fe77fe6d
TV
96282013-02-11 Tom de Vries <tom@codesourcery.com>
9629
9630 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9631 Remove.
9632
3a09b620
RM
96332013-02-11 Roland McGrath <roland@hack.frob.com>
9634
9635 * misc/sys/mman.h: Fix typo in mremap comment.
9636
550a0b89
RM
96372013-02-08 Roland McGrath <roland@hack.frob.com>
9638
9639 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9640 the '\0' terminator.
9641
a2da1673
JM
96422013-02-08 Joseph Myers <joseph@codesourcery.com>
9643
9644 [BZ #13550]
9645 * debug/segfault.c: Don't include <bp-checks.h>.
9646 * sysdeps/generic/bp-checks.h: Remove file.
9647 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9648 (__GETDENTS): Don't use CHECK_N.
9649 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9650 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9651 (__getgroups): Don't use CHECK_N.
9652 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9653 (setgroups): Don't use CHECK_N.
9654 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9655 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9656 (__libc_msgrcv): Don't use CHECK_N.
9657 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9658 (__libc_msgsnd): Don't use CHECK_N.
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9660 <bp-checks.h>.
9661 (__libc_pread): Don't use CHECK_N.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9663 include <bp-checks.h>.
9664 (__libc_pread64): Don't use CHECK_N.
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9666 include <bp-checks.h>.
9667 (__libc_pwrite): Don't use CHECK_N.
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9669 include <bp-checks.h>.
9670 (__libc_pwrite64): Don't use CHECK_N.
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9672 <bp-checks.h>.
9673 (__libc_pread): Don't use CHECK_N.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9675 include <bp-checks.h>.
9676 (__libc_pread64): Don't use CHECK_N.
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9678 include <bp-checks.h>.
9679 (__libc_pwrite): Don't use CHECK_N.
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9681 include <bp-checks.h>.
9682 (__libc_pwrite64): Don't use CHECK_N.
9683 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9684 (do_pread): Don't use CHECK_N.
9685 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9686 (do_pread64): Don't use CHECK_N.
9687 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9688 (do_pwrite): Don't use CHECK_N.
9689 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9690 (do_pwrite64): Don't use CHECK_N.
9691 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9692 (__libc_readv): Don't use CHECK_N.
9693 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9694 (semop): Don't use CHECK_N.
9695 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9696 <bp-checks.h>.
9697 (semtimedop): Don't use CHECK_N.
9698 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9699 (__libc_pread): Don't use CHECK_N.
9700 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9701 <bp-checks.h>.
9702 (__libc_pread64): Don't use CHECK_N.
9703 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9704 <bp-checks.h>.
9705 (__libc_pwrite): Don't use CHECK_N.
9706 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9707 <bp-checks.h>.
9708 (__libc_pwrite64): Don't use CHECK_N.
9709 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9710 <bp-checks.h>.
9711 (__libc_msgrcv): Don't use CHECK_N.
9712 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9713 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9714 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9715 (__libc_writev): Don't use CHECK_N.
9716
b84660a8
RM
97172013-02-08 Roland McGrath <roland@hack.frob.com>
9718
7f3e75f8
RM
9719 * string/strcpy.c: Removed unused variable.
9720
b84660a8
RM
9721 * Makeconfig (+sysdep-includes): Define with := rather than =.
9722 Use an existing include/ subdir of each sysdeps dir before it.
9723
471514d3
CD
97242013-02-08 Carlos O'Donell <carlos@redhat.com>
9725
9726 * nscd/connection.c (register_traced_file): Comment function.
9727 [HAVE_INOTIFY] (union __inev): Define.
9728 [HAVE_INOTIFY] (inotify_check_files): New function.
9729 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9730 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9731 clear_db_cache.
9732 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9733
b2d3c3be
CD
97342013-02-08 Carlos O'Donell <carlos@redhat.com>
9735
9736 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9737 loaded if not already and that a failure is permanent.
9738
b39949d2
CD
97392013-02-08 Carlos O'Donell <carlos@redhat.com>
9740
ddacd1db 9741 [BZ #15006]
b39949d2
CD
9742 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9743 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9744
b2c9eff4
JM
97452013-02-08 Joseph Myers <joseph@codesourcery.com>
9746
f3aae3f3
JM
9747 [BZ #13550]
9748 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9749 (CHECK_1_NULL_OK): Likewise.
9750 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9751 (__fxstat): Do not use CHECK_1.
9752 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9753 <bp-checks.h>.
9754 (___fxstat64): Do not use CHECK_1.
9755 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9756 <bp-checks.h>.
9757 (__fxstatat): Do not use CHECK_1.
9758 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9759 <bp-checks.h>.
9760 (__fxstatat64): Do not use CHECK_1.
9761 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9762 <bp-checks.h>.
9763 (__fxstat): Do not use CHECK_1.
9764 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9765 <bp-checks.h>.
9766 (__fxstatat): Do not use CHECK_1.
9767 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9768 <bp-checks.h>.
9769 (__getresgid): Do not use CHECK_1.
9770 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9771 <bp-checks.h>.
9772 (__getresuid): Do not use CHECK_1.
9773 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9774 <bp-checks.h>.
9775 (__lxstat): Do not use CHECK_1.
9776 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9777 <bp-checks.h>.
9778 (__old_msgctl): Do not use CHECK_1.
9779 (__new_msgctl): Likewise.
9780 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9781 <bp-checks.h>.
9782 (__new_setrlimit): Do not use CHECK_1.
9783 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9784 <bp-checks.h>.
9785 (__old_shmctl): Do not use CHECK_1.
9786 (__new_shmctl): Likewise.
9787 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9788 <bp-checks.h>.
9789 (__xstat): Do not use CHECK_1.
9790 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9791 (__lxstat): Do not use CHECK_1.
9792 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9793 <bp-checks.h>.
9794 (___lxstat64): Do not use CHECK_1.
9795 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9796 (__old_msgctl): Do not use CHECK_1.
9797 (__new_msgctl): Likewise.
9798 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9799 <bp-checks.h>.
9800 (__gettimeofday): Do not use CHECK_1.
9801 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9802 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9803 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9804 <bp-checks.h>.
9805 (__gettimeofday): Do not use CHECK_1.
9806 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9807 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9808 (__new_shmctl): Do not use CHECK_1.
9809 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9810 <bp-checks.h>.
9811 (do_sigtimedwait): Do not use CHECK_1.
9812 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9813 <bp-checks.h>.
9814 (do_sigwaitinfo): Do not use CHECK_1.
9815 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9816 <bp-checks.h>.
9817 (msgctl): Do not use CHECK_1.
9818 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9819 <bp-checks.h>.
9820 (shmctl): Do not use CHECK_1.
9821 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9822 (ustat): Do not use CHECK_1.
9823 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9824 <bp-checks.h>.
9825 (__fxstat): Do not use CHECK_1.
9826 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9827 <bp-checks.h>.
9828 (__fxstatat): Do not use CHECK_1.
9829 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9830 <bp-checks.h>.
9831 (__lxstat): Do not use CHECK_1.
9832 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9833 <bp-checks.h>.
9834 (__xstat): Do not use CHECK_1.
9835 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9836 (__xstat): Do not use CHECK_1.
9837 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9838 (___xstat64): Do not use CHECK_1.
9839
b2c9eff4
JM
9840 [BZ #13550]
9841 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9842 definitions.
9843 (CHECK_BOUNDS_HIGH): Likewise.
9844 * string/strcpy.c: Do not include <bp-checks.h>.
9845 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9846
f1d70dad
RM
98472013-02-07 Roland McGrath <roland@hack.frob.com>
9848
9849 * nscd/nscd-client.h (__nscd_drop_map_ref):
9850 Add __attribute__ ((unused)).
9851 * nis/nss-nisplus.h (niserr2nss): Likewise.
9852
9853 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9854 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9855
9856 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9857 Remove inline keyword.
9858 * include/rounding-mode.h (round_away): Likewise.
9859 * libio/wfileops.c (adjust_wide_data): Likewise.
9860 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9861 (__m128i_strloadu_tolower): Likewise.
9862 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9863 (__m128i_strloadu_tolower): Likewise.
9864 * time/mktime.c (ydhms_diff): Likewise.
9865 * locale/elem-hash.h (elem_hash): Likewise.
9866 * locale/setlocale.c (setdata): Likewise.
9867 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9868 (re_string_wchar_at): Likewise.
9869 (bitset_not, bitset_merge, bitset_mask): Likewise.
9870 [!(__GNUC__ > 3)] (inline): Remove macro.
9871 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9872 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9873 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9874 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9875 * string/memcmp.c (memcmp_bytes): Likewise.
9876 * locale/programs/locarchive.c (compute_hashval): Likewise.
9877 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9878 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9879 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9880 * nss/getent.c (print_rpc, print_protocols): Likewise.
9881 (print_passwd, print_group, print_aliases): Likewise.
9882 * nis/nss-nisplus.h (niserr2nss): Likewise.
9883 * nscd/connections.c (restart_p): Likewise.
9884 Change return type to bool.
9885
eab55bfb
RM
98862013-02-05 Roland McGrath <roland@hack.frob.com>
9887
7bd642f5
RM
9888 * Makeconfig (all-Depend-files): Add existing
9889 $(sorted-subdirs:=/Depend) files.
9890 (all-subdirs): Remove nss.
9891 * sysdeps/unix/inet/Subdirs: Add it here instead.
9892 * hesiod/Depend: New file.
9893
573c29b2
RM
9894 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9895 instead of calling alloca.
9896
b2e25af0
RM
9897 * io/lseek.c (__lseek): Rename to __libc_lseek.
9898 Define __lseek as an alias.
9899
eab55bfb
RM
9900 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9901
9a0d1941
CD
99022013-02-04 Carlos O'Donell <carlos@redhat.com>
9903
9904 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9905 else clause and remove check for non-standard endianness.
9906
b83bbec4
DM
99072013-02-04 David S. Miller <davem@davemloft.net>
9908
9909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9910
6277fdab
JM
99112013-02-04 Joseph Myers <joseph@codesourcery.com>
9912
9913 [BZ #13550]
9914 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9915 (__ubp_memchr): Remove prototype.
9916 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9917 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9918 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9919 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9920 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9921 Remove alias.
9922 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9923 (__ubp_memchr): Likewise.
9924 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9925 (__ubp_memchr): Likewise.
9926 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9927 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9928 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9929 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9930 CHECK_STRING.
9931 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9932 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9933 (__getcwd): Do not use CHECK_STRING.
9934 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9935 <bp-checks.h>.
9936 (__real_chown): Do not use CHECK_STRING.
9937 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9938 <bp-checks.h>.
9939 (fchownat): Do not use CHECK_STRING.
9940 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9941 CHECK_STRING.
9942 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9943 <bp-checks.h>.
9944 (__lchown): Do not use CHECK_STRING.
9945 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9946 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9947 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9948 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9950 include <bp-checks.h>.
9951 (truncate64): Do not use CHECK_STRING.
9952 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9953 <bp-checks.h>.
9954 (__real_chown): Do not use CHECK_STRING.
9955 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9956 <bp-checks.h>.
9957 (__lchown): Do not use CHECK_STRING.
9958 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9959 <bp-checks.h>.
9960 (__chown): Do not use CHECK_STRING.
9961 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9962 <bp-checks.h>.
9963 (truncate64): Do not use CHECK_STRING.
9964 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9965 Likewise.
9966 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9967 (__xmknod): Do not use CHECK_STRING.
9968 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9969 <bp-checks.h>.
9970 (__xmknodat): Do not use CHECK_STRING.
9971 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9972 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9973
903ae060
AS
99742013-02-04 Andreas Schwab <schwab@suse.de>
9975
9976 [BZ #14142]
9977 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9978 * include/netdb.h: Likewise for h_errno.
9979 * elf/tst-stackguard1.c: Include <tls.h>.
9980
542f9466
JK
99812013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9982
9983 * elf/link.h (struct link_map): Extend the l_addr comment.
9984 * include/link.h (struct link_map): Likewise.
9985
e782a927
JM
99862013-02-01 Joseph Myers <joseph@codesourcery.com>
9987
9988 [BZ #13550]
9989 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9990 (BOUNDED_1): Remove macro.
9991 * debug/backtrace.c: Don't include <bp-checks.h>.
9992 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9993 (__backtrace): Likewise.
9994 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9995 <bp-checks.h>.
9996 (__backtrace): Don't use BOUNDED_1.
9997 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9998 <bp-checks.h>.
9999 (__backtrace): Don't use BOUNDED_1.
10000 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10001 (__backtrace): Don't use BOUNDED_1.
10002 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10003 (shmat): Don't use BOUNDED_N.
10004
8cf28c5e
JM
100052013-01-31 Joseph Myers <joseph@codesourcery.com>
10006
3a7ac8a0
JM
10007 [BZ #13550]
10008 * sysdeps/generic/bp-start.h: Remove file.
10009 * csu/libc-start.c: Don't include <bp-start.h>.
10010 (LIBC_START_MAIN): Set up __environ directly instead of using
10011 INIT_ARGV_and_ENVIRON.
10012 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10013 <bp-start.h>.
10014
f3499f95
JM
10015 [BZ #13550]
10016 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10017 definitions.
10018 (CHECK_FCNTL): Likewise.
10019 (CHECK_N_PAGES): Likewise.
10020
32a45bea
JM
10021 [BZ #13550]
10022 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10023 definitions.
10024 (CHECK_SIGSET_NULL_OK): Likewise.
10025 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10026 <bp-checks.h>.
10027 (sigpending): Don't use CHECK_SIGSET.
10028 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10029 <bp-checks.h>.
10030 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10031 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10032 <bp-checks.h>.
10033 (do_sigsuspend): Don't use CHECK_SIGSET.
10034 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10035 use CHECK_SIGSET.
10036 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10037 (do_sigwait): Don't use CHECK_SIGSET.
10038 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10039 use CHECK_SIGSET.
10040 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10041 include <bp-checks.h>.
10042 (sigpending): Don't use CHECK_SIGSET.
10043 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10044 include <bp-checks.h>.
10045 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10046 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10047 <bp-checks.h>.
10048 (sigpending): Don't use CHECK_SIGSET.
10049 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10050 <bp-checks.h>.
10051 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10052
2e8a5c8c
JM
10053 [BZ #13550]
10054 * sysdeps/generic/bp-semctl.h: Remove file.
10055 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10056 <bp-checks.h> and <bp-semctl.h>.
10057 (__old_semctl): Don't use CHECK_SEMCTL.
10058 (__new_semctl): Likewise.
10059 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10060 and <bp-semctl.h>.
10061 (__old_semctl): Don't use CHECK_SEMCTL.
10062 (__new_semctl): Likewise.
10063 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10064 <bp-checks.h> and <bp-semctl.h>.
10065 (__old_semctl): Don't use CHECK_SEMCTL.
10066 (__new_semctl): Likewise.
10067 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10068 <bp-checks.h> and <bp-semctl.h>.
10069 (semctl): Don't use CHECK_SEMCTL.
10070
c2d54929
JM
10071 [BZ #13550]
10072 * Makerules (elide-bp-thunks): Remove variable.
10073 (elide-routines.oS): Don't use $(elide-bp-thunks).
10074 (elide-routines.os): Likewise.
10075 (elide-routines.o): Likewise.
10076 (elide-routines.op): Likewise.
10077 (elide-routines.og): Likewise.
10078 (objects): Don't use $(bp-thunks).
10079 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10080 include.
10081 (common-generated): Do not add s-proto-bp.d.
10082 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10083 (int): Likewise.
10084 (typ): Likewise.
10085 Do not generate makefile rules for bounded-pointer thunks.
10086 * sysdeps/generic/bp-thunks.h: Remove file.
10087 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10088 * sysdeps/unix/s-proto-bp.S: Likewise.
10089
8cf28c5e
JM
10090 [BZ #15062]
10091 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10092 parts of result separately when argument is not close to line from
10093 -i to i and one part of argument is small.
10094 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10095 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10096 * math/libm-test.inc (cacos_test): Add more tests.
10097 (casin_test): Likewise.
10098 (casinh_test): Likewise.
10099 * sysdeps/i386/fpu/libm-test-ulps: Update.
10100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10101
c4e33b8d
DM
101022013-01-31 David S. Miller <davem@davemloft.net>
10103
10104 * po/de.po: Update from translation team.
10105
3b60b421
MK
101062013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10107
10108 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10109
bb931195
TS
101102013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10111
b5a5da23
TS
10112 * configure.in (_AC_PROG_CC_C89): New definition.
10113 * configure: Regenerate.
10114
bb931195
TS
10115 * configure.in (AC_PROG_CPP): New definition.
10116 * configure: Regenerate.
10117
8c53a12c
JM
101182013-01-23 Joseph Myers <joseph@codesourcery.com>
10119
10120 * debug/tst-backtrace.h: New file.
10121 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10122 (ret): Remove variable.
10123 (x): Likewise.
10124 (FAIL): Remove macro.
10125 (NO_INLINE): Likewise.
10126 (fn1): Use match function instead of strstr.
10127 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10128 (ret): Remove variable.
10129 (x): Likewise.
10130 (FAIL): Remove macro.
10131 (NO_INLINE): Likewise.
10132 (fn): Use match function instead of strstr.
10133 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10134 (ret): Remove variable.
10135 (x): Likewise.
10136 (FAIL): Remove macro.
10137 (NO_INLINE): Likewise.
10138 (handle_signal): Use match function instead of strstr.
10139 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10140 (ret): Remove variable.
10141 (x): Likewise.
10142 (FAIL): Remove macro.
10143 (NO_INLINE): Likewise.
10144 (handle_signal): Use match function instead of strstr.
10145
4858fa2a
RM
101462013-01-23 Roland McGrath <roland@hack.frob.com>
10147
10148 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10149
bae8e7f5
DM
101502013-01-23 David S. Miller <davem@davemloft.net>
10151
10152 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10153 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10154 argument of CAS if possible.
10155 * sysdeps/sparc/sparc64/bits/atomic.h
10156 (__arch_compare_and_exchange_val_32_acq): Likewise.
10157 (__arch_compare_and_exchange_val_64_acq): Likewise.
10158
9cbbc4ae
PT
101592013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10160
10161 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10162 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10163 Include <limits.h>.
67b3f58c 10164 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10165
5655a0b5
AC
101662013-01-23 Adam Conrad <adconrad@0c3.net>
10167
10168 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10169 (LDFLAGS-tst-array5): Likewise.
10170
052aff95
JM
101712013-01-23 Joseph Myers <joseph@codesourcery.com>
10172
10173 [BZ #15036]
10174 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10175 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10176 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10177 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10178
7c1e01aa
DM
101792013-01-21 David S. Miller <davem@davemloft.net>
10180
10181 * sysdeps/sparc/backtrace.c: New file.
10182 * sysdeps/sparc/sparc32/backtrace.h: New file.
10183 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10184 * sysdeps/sparc/sparc64/backtrace.h: New file.
10185 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10186 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10187 -funwind-tables.
10188
ab087e0a
AS
101892013-01-21 Andreas Schwab <schwab@suse.de>
10190
10191 [BZ #15020]
10192 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10193 closed its stdout.
10194
ed689c2f
AS
101952013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10196
10197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10198 "mpa2.h".
10199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10200
31d470ac
JM
102012013-01-18 Joseph Myers <joseph@codesourcery.com>
10202 Mark Mitchell <mark@codesourcery.com>
10203 Tom de Vries <tom@codesourcery.com>
10204 Paul Pluzhnikov <ppluzhnikov@google.com>
10205
10206 * debug/tst-backtrace2.c: New file.
10207 * debug/tst-backtrace3.c: Likewise.
10208 * debug/tst-backtrace4.c: Likewise.
10209 * debug/tst-backtrace5.c: Likewise.
10210 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10211 (CFLAGS-tst-backtrace3.c): Likewise.
10212 (CFLAGS-tst-backtrace4.c): Likewise.
10213 (CFLAGS-tst-backtrace5.c): Likewise.
10214 (LDFLAGS-tst-backtrace2): Likewise.
10215 (LDFLAGS-tst-backtrace3): Likewise.
10216 (LDFLAGS-tst-backtrace4): Likewise.
10217 (LDFLAGS-tst-backtrace5): Likewise.
10218 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10219 tst-backtrace4 and tst-backtrace5.
10220
90567f30 102212013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10222 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10223
10224 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10225 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10226 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10227 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10229 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10230 "+r" and remove output regs list as redundant. Add explicit inline
10231 asm to specify register of return val to work around compiler codegen
10232 bug. Remove (int) cast on return value. Add return type parameter to
10233 use in macro so that this macro does not truncate return value for
10234 64-bit values.
10235 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10236 pass to INTERNAL_VSYSCALL_NCS.
10237 (INLINE_VSYSCALL): Add 'long int' as return type to
10238 INTERNAL_VSYSCALL_NCS macro invocation.
10239 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10240 INTERNAL_VSYSCALL_NCS macro invocation.
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10242
d3b9ea61
SP
102432013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10244
0b57daeb
SP
10245 [BZ #14496]
10246 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10247 Fix application of SIMD FP exception mask.
10248
caa99d06
SP
10249 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10250 mp_no from a power of two.
10251 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10252 __mpexp_twomm1. Use __pow_mp.
10253
d3b9ea61
SP
10254 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10255 multiplication.
10256
1dbaee3c
DM
102572013-01-17 David S. Miller <davem@davemloft.net>
10258
10259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10260
728d7b43
JM
102612013-01-17 Joseph Myers <joseph@codesourcery.com>
10262
10263 [BZ #15023]
10264 * include/complex.h: Condition contents on [!_COMPLEX_H].
10265 (__kernel_casinhf): New prototype.
10266 (__kernel_casinh): Likewise.
10267 (__kernel_casinhl): Likewise.
10268 * math/Makefile (libm_calls): Add k_casinh.
10269 * math/k_casinh.c: New file.
10270 * math/k_casinhf.c: Likewise.
10271 * math/k_casinhl.c: Likewise.
10272 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10273 finite nonzero arguments.
10274 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10275 finite nonzero arguments.
10276 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10277 finite nonzero arguments.
10278 * math/s_casinh.c: Do not include <float.h>.
10279 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10280 * math/s_casinhf.c: Do not include <float.h>.
10281 (__casinhf): Move code for finite nonzero arguments to
10282 k_casinhf.c.
10283 * math/s_casinhl.c: Do not include <float.h>.
10284 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10285 redefine.
10286 (__casinhl): Move code for finite nonzero arguments to
10287 k_casinhl.c.
10288 * math/libm-test.inc (cacos_test): Add more tests.
10289 * sysdeps/i386/fpu/libm-test-ulps: Update.
10290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10291
2a26ef3a
PT
102922013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10293
10294 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10295 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10296 [!HAVE_MREMAP]: Remove [defined linux] case.
10297 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10298
a897655d
SP
102992013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10300
10301 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10302
881ebe89 103032013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10304
10305 * elf/elf.h (R_386_SIZE32): New relocation.
10306 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10307 R_386_SIZE32.
10308 (elf_machine_rela): Likewise.
10309 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10310 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10311
59981e9b
JM
103122013-01-17 Joseph Myers <joseph@codesourcery.com>
10313
10314 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10315 (FP_FAST_FMA): Do not define.
10316 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10317 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10318 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10319 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10320 !_SOFT_FLOAT]: Likewise.
10321 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10322 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10323 value.
10324 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10325 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10326 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10327 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10328 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10329 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10330 file.
10331
cfa8054f
AS
103322013-01-16 Andreas Schwab <schwab@suse.de>
10333
10334 [BZ #14327]
10335 * include/stdlib.h (__mktemp): Add declaration.
10336 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10337 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10338
dd930cc5
SP
103392013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10340
881ebe89
SP
10341 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10342 definitions.
10343 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10344 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10345 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10346 definitions here.
10347 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10348 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10349 definitions.
10350 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10351 and ONE.
10352 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10353 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10354 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10355 definitions.
10356 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10357 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10358 definitions.
10359 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10360
dd930cc5
SP
10361 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10362
c19a9f89
DM
103632013-01-15 David S. Miller <davem@davemloft.net>
10364
1aa61767
DM
10365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10366 trunc{,f} to libm-sysdep_routes.
10367 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10369 file.
10370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10372 file.
10373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10374 file.
10375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10377 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10378 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10379 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10380 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10381 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10382 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10383
c42d5e98
DM
10384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10385 nearbyint{,f} to libm-sysdep_routes.
10386 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10388 New file.
10389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10390 file.
10391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10392 New file.
10393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10394 file.
10395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10397 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10398 file.
10399 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10400 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10401 file.
10402 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10403 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10404 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10405
c19a9f89
DM
10406 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10407 libc_feholdexcept and libc_fesetenv.
10408
357679d2
MF
104092013-01-15 Mike Frysinger <vapier@gentoo.org>
10410
10411 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10412
65a82e3d
DM
104132013-01-14 David S. Miller <davem@davemloft.net>
10414
8b954ab9
DM
10415 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10416 (SPARC_ASM_VIS2_IFUNC): Likewise.
10417 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10419 use of 'siam' instruction.
10420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10421 Likewise.
10422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10423 Likewise.
10424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10425 Likewise.
10426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10431 file.
10432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10433 file.
10434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10435 file.
10436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10437 file.
10438 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10441 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10443 new VIS2 routines.
10444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10447 Likewise.
10448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10453 routines to libm-sysdep_routines.
10454 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10455
65a82e3d
DM
10456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10457 fdim/fdimf to libm-sysdep_routines.
10458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10459 file.
10460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10462 file.
10463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10466 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10467 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10468 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10469 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10470
e34ab705
SP
104712013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10472
2a91b573
SP
10473 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10474 to optimize copies.
10475
1066a534
SP
10476 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10477 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10479
e34ab705
SP
10480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10481 local variable MPTWO.
10482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10483 Likewise.
10484
aba5e596
MF
104852013-01-13 Mike Frysinger <vapier@gentoo.org>
10486
10487 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10488 GLOB_NOESCAPE.
10489
e557e9e5
MF
104902013-01-13 Mike Frysinger <vapier@gentoo.org>
10491
10492 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10493
0428cec9
MF
104942013-01-13 Mike Frysinger <vapier@gentoo.org>
10495
10496 * manual/pattern.texi (glob_t): Document gl_flags.
10497 (glob64_t): Likewise.
10498
8794a964
DM
104992013-01-11 David S. Miller <davem@davemloft.net>
10500
66438c3f
RM
10501 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10502 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10503 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10504 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10505 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10506 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10507 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10508 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10509 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10510 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10511 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10512 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10513 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10514
4ae4244d
DM
10515 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10516 sparc V9 rather than using V8 code.
10517 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10518 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10519
8794a964
DM
10520 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10521 Move to...
10522 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10523 Here.
10524
6270516e
RM
105252013-01-11 Roland McGrath <roland@hack.frob.com>
10526
10527 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10528 not in the main loop.
10529 * configure: Regenerated.
10530
6a57d931
JM
105312013-01-11 Joseph Myers <joseph@codesourcery.com>
10532
10533 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10534 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10535 to just #else.
10536 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10537 [!__GLIBC_HAVE_LONG_LONG] case.
10538 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10539 condition to just #else.
10540 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10541 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10542 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10543 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10544 unconditional.
10545 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10546 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10547 #elif condition to just #else.
10548 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10549 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10550 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10551 #elif condition to just #else.
10552
0e8529e9
SE
105532013-01-11 Steve Ellcey <sellcey@mips.com>
10554
10555 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10556 (EF_MIPS_ARCH_64): Fix value.
10557 (EF_MIPS_ARCH_32R2): New.
10558 (EF_MIPS_ARCH_64R2): New.
10559
740b3dbe
L
105602013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10561
10562 * Makeconfig (+link-pie-before-libc): New.
10563 (+link-pie-after-libc): Likewise.
10564 (+link-pie-tests): Likewise.
10565 (+link-pie): Rewritten.
10566 (link-before-libc): Remove $(config-LDFLAGS).
10567 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10568 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10569 (config-LDFLAGS): Renamed to ...
10570 (rtld-LDFLAGS): This.
10571 (rtld-tests-LDFLAGS): New macro.
10572 (link-libc-rpath-link): Likewise.
10573 (link-libc-tests-rpath-link): Likewise.
10574 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10575 (link-libc): Prepand $(link-libc-rpath-link).
10576 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10577 (test-program-prefix): New macro.
10578 (test-via-rtld-prefix): Likewise.
10579 (test-program-cmd): Likewise.
10580 (host-test-program-cmd): Likewise.
10581 * Makefile ($(common-objpfx)testrun.sh): Replace
10582 $(run-program-prefix) with $(test-program-prefix).
10583 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10584 $(rtld-LDFLAGS).
10585 ($(common-objpfx)shlib.lds): Likewise.
10586 (build-module-helper): Likewise.
10587 ($(common-objpfx)format.lds): Likewise.
10588 * Rules (binaries-pie-tests): New.
10589 (binaries-pie-notests): Likewise.
10590 (binaries-pie): Rewritten.
10591 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10592 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10593 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10594 (make-test-out): Replace $(host-built-program-cmd) with
10595 $(host-test-program-cmd).
10596 * config.make.in (build-hardcoded-path-in-tests): New variable.
10597 * configure.in (--enable-hardcoded-path-in-tests): New configure
10598 option.
10599 (hardcoded_path_in_tests): New AC_SUBST.
10600 * configure: Regenerated.
10601 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10602 $(built-program-cmd) with $(test-program-cmd).
10603 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10604 (test_program_cmd): This.
10605 * elf/Makefile ($(objpfx)order.out): Run test with
10606 $(test-program-prefix).
10607 ($(objpfx)order2.out): Likewise.
10608 ($(objpfx)tst-initorder.out): Likewise.
10609 ($(objpfx)tst-initorder2.out): Likewise.
10610 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10611 $(test-program-cmd).
10612 ($(objpfx)tst-array1-static.out): Likewise.
10613 ($(objpfx)tst-array2.out): Likewise.
10614 ($(objpfx)tst-array3.out): Likewise.
10615 ($(objpfx)tst-array4.out): Likewise.
10616 ($(objpfx)tst-array5.out): Likewise.
10617 ($(objpfx)tst-array5-static.out): Likewise.
10618 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10619 $(test-program-cmd).
10620 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10621 $(run-program-prefix) with $(test-program-prefix).
10622 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10623 (test_program_prefix): This.
10624 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10625 $(run-program-prefix) with $(test-program-prefix).
10626 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10627 (test_program_prefix): This.
10628 * iconvdata/tst-tables.sh: Likewise.
10629 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10630 $(run-program-prefix) with $(test-program-prefix).
10631 ($(objpfx)tst-translit.out): Likewise.
10632 ($(objpfx)tst-gettext2.out): Likewise.
10633 ($(objpfx)tst-gettext4.out): Likewise.
10634 ($(objpfx)tst-gettext6.out): Likewise.
10635 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10636 (test_program_prefix): This.
10637 * intl/tst-gettext2.sh: Likewise.
10638 * intl/tst-gettext4.sh Likewise.
10639 * intl/tst-gettext6.sh: Likewise.
10640 * intl/tst-translit.sh: Likewise.
10641 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10642 with $(test-program-cmd).
10643 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10644 $(run-program-prefix) with $(test-program-prefix).
10645 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10646 (test_program_prefix): This.
10647 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10648 $(run-program-prefix) with $(test-program-prefix).
10649 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10650 (test_program_prefix): This.
10651 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10652 * posix/Makefile ($(objpfx)globtest.out): Replace
10653 $(run-via-rtld-prefix) and $(test-wrapper) with
10654 $(test-program-prefix) and $(test-via-rtld-prefix).
10655 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10656 $(test-program-prefix).
10657 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10658 $(host-test-program-cmd).
10659 (tst-spawn-ARGS): Likewise.
10660 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10661 $(test-program-prefix).
10662 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10663 (test_via_rtld_prefix): This.
10664 (test_wrapper): Renamed to ...
10665 (test_program_prefix): This.
10666 (run_program_prefix): Replaced by test_program_prefix.
10667 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10668 (test_program_prefix): This.
10669 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10670 with $(host-test-program-cmd).
10671 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10672 $(run-program-prefix) with $(test-program-prefix).
10673 ($(objpfx)tst-printf.out): Likewise.
10674 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10675 $(test-program-cmd).
10676 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10677 (test_program_prefix): This.
10678 * stdio-common/tst-unbputc.sh: Likewise.
10679 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10680 $(run-program-prefix) with $(test-program-prefix).
10681 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10682 (test_program_prefix): This.
10683 * string/Makefile ($(objpfx)tst-svc.out): Replace
10684 $(built-program-cmd) with $(test-program-cmd).
10685
c6fe55cf
AJ
106862013-01-11 Andreas Jaeger <aj@suse.de>
10687
10688 [BZ #15003]
10689 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10690 value. Sync with Linux 3.7.
10691
9e6919c8
DM
106922013-01-10 David S. Miller <davem@davemloft.net>
10693
10694 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10695 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10696 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10697
1c9f1a02
RM
106982013-01-10 Roland McGrath <roland@hack.frob.com>
10699
10700 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10701 never set.
10702 * configure: Regenerated.
10703
b9de2dde
DM
107042013-01-10 David S. Miller <davem@davemloft.net>
10705
10706 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10707 sparc V9 rather than using V8 code.
10708 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10709 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10710
e7f68ef4
RM
107112013-01-10 Roland McGrath <roland@hack.frob.com>
10712
10713 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10714 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10715 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10716 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10717 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10718 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10719 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10720 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10721 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10722 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10723 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10724 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10725 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10726 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10727 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10728 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10729 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10730 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10731 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10732 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10733 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10734 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10735 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10736 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10737 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10738 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10739 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10740
5a47cc9c
DM
107412013-01-10 David S. Miller <davem@davemloft.net>
10742
10743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10744
4cf8f209
L
107452013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10746
10747 * posix/Makefile (tests-static): New variable.
10748 (tests): Add $(tests-static).
10749 (tst-exec-static-ARGS): New variable.
10750 (tst-spawn-static-ARGS): Likewise.
10751 * posix/tst-exec-static.c: New file.
10752 * posix/tst-spawn-static.c: Likewise.
10753 * posix/tst-exec.c: Support run directly.
10754 * posix/tst-spawn.c: Likewise.
10755
fed0faa1
JM
107562013-01-10 Joseph Myers <joseph@codesourcery.com>
10757
828beb13
JM
10758 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10759 long.
10760 * math/bits/mathcalls.h (llrint): Likewise.
10761 (llround): Likewise.
10762 * stdlib/stdlib.h (struct drand48_data): Likewise.
10763 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10764 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10765 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10766 Likewise.
10767 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10768 Likewise.
10769 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10770 (elf_greg_t): Likewise.
10771 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10772 (__jmp_buf): Likewise.
10773 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10774 definitions.
10775 (llrint): Likewise, for all definitions.
10776 (llrintl): Likewise.
10777
fed0faa1
JM
10778 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10779 Remove [__GNUC__] condition.
10780 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10781 condition to just [__USE_ISOC99].
10782 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10783
1a20cb20
L
107842013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10785
10786 [BZ #14200]
10787 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10788 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10789 defined.
10790 (_POSIX_V6_ILP32_OFF32): Likewise.
10791 (_XBS5_ILP32_OFF32): Likewise.
10792 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10793 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10794
751b85f7
SP
107952013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10796
7490eb81
SP
10797 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10798
751b85f7
SP
10799 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10800 doubles __mpexp_twomm1. Adjust usage.
10801 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10802 Remove.
10803
988197f0
AS
108042013-01-10 Andreas Schwab <schwab@suse.de>
10805
10806 [BZ #14964]
10807 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10808 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10809
e83d7298
DM
108102013-01-09 David S. Miller <davem@davemloft.net>
10811
034ed64b 10812 [BZ #15003]
e83d7298
DM
10813 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10814 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10815 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10816 TCP_FASTOPEN): Define.
10817 (tcp_repair_opt): New structure.
10818 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10819 enum values.
10820 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10821 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10822 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10823 (tcp_cookie_transactions): New structure.
10824
d5e0b9bd
AB
108252013-01-09 Anton Blanchard <anton@samba.org>
10826
10827 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10828 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10829 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10830 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10831
0c07e3ea
JM
108322013-01-09 Joseph Myers <joseph@codesourcery.com>
10833
10834 * include/features.h (__USE_ANSI): Remove.
10835
232f7002
RM
108362013-01-09 Roland McGrath <roland@hack.frob.com>
10837
ad98e30c
RM
10838 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10839
232f7002
RM
10840 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10841
950c99ca
SP
108422013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10843
b5792741
SP
10844 * sysdeps/s390/fpu/libm-test-ulps: Update.
10845
47cf2278
SP
10846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10847
950c99ca
SP
10848 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
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/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10877 (__acr): Likewise.
10878 (__cpy): Likewise.
10879 (norm): Likewise.
10880 (denorm): Likewise.
10881 (__mp_dbl): Likewise.
10882 (__dbl_mp): Likewise.
10883 (add_magnitudes): Likewise.
10884 (sub_magnitudes): Likewise.
10885 (__add): Likewise.
10886 (__sub): Likewise.
10887 (__mul): Likewise.
10888 (__inv): Likewise.
10889 (__dvd): Likewise.
10890
eede9df9
JM
108912013-01-08 Joseph Myers <joseph@codesourcery.com>
10892
10893 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10894 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10895 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10896 2 && __USE_EXTERN_INLINES]: Likewise.
10897
c40ea3d9
AJ
108982013-01-08 Andreas Jaeger <aj@suse.de>
10899
10900 [BZ# 14985]
10901 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10902 Remove.
10903 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10904 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10905
2ccdea26
AB
109062013-01-07 Anton Blanchard <anton@samba.org>
10907
10908 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10909 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10910 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10911 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10912 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10913 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10914 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10915 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10917 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10918 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10919 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10920 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10921 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10922 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10923 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10924 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10925 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10926 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10927 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10928 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10929 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10930 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10931 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10932 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10933 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10934 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10935 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10936 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10937 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10938 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10940 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10941 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10942 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10943 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10944 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10945 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10946 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10947 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10948 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10949 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10950 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10951
a9708fed
JM
109522013-01-07 Joseph Myers <joseph@codesourcery.com>
10953
375607b9
JM
10954 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10955 (__MALLOC_PMT): Likewise.
10956 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10957 [__GNUC__], only on [_LIBC].
10958 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10959 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10960 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10961 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10962 forward declaration.
10963 (realloc_hook_ini): Likewise.
10964 (memalign_hook_ini): Likewise.
10965 (__libc_memalign): Do not use __MALLOC_PMT in variable
10966 declaration.
10967 (__libc_valloc): Likewise.
10968 (__libc_pvalloc): Likewise.
10969 (__libc_calloc): Likewise.
10970 (__posix_memalign): Likewise.
10971
a9708fed
JM
10972 [BZ #14996]
10973 * math/s_casinh.c: Include <float.h>.
10974 (__casinh): Do not do computation with squaring and square root
10975 for large arguments.
10976 * math/s_casinhf.c: Include <float.h>.
10977 (__casinhf): Do not do computation with squaring and square root
10978 for large arguments.
10979 * math/s_casinhl.c: Include <float.h>.
10980 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10981 (__casinhl): Do not do computation with squaring and square root
10982 for large arguments.
10983 * math/libm-test.inc (casin_test): Add more tests.
10984 (casinh_test): Likewise.
10985 * sysdeps/i386/fpu/libm-test-ulps: Update.
10986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10987
afec409a
L
109882013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10989
10990 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10991 (__x86_64_raw_data_cache_size): Likewise.
10992 (__x86_64_data_cache_size_half): Likewise.
10993 (__x86_64_raw_data_cache_size_half): Likewise.
10994 (__x86_64_shared_cache_size): Likewise.
10995 (__x86_64_raw_shared_cache_size): Likewise.
10996 (__x86_64_shared_cache_size_half): Likewise.
10997 (__x86_64_raw_shared_cache_size_half): Likewise.
10998 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10999 to ...
11000 (__x86_data_cache_size): This.
11001 (__x86_64_raw_data_cache_size): Renamed to ...
11002 (__x86_raw_data_cache_size): This.
11003 (__x86_64_data_cache_size_half): Renamed to ...
11004 (__x86_data_cache_size_half): This.
11005 (__x86_64_raw_data_cache_size_half): Renamed to ...
11006 (__x86_raw_data_cache_size_half): This.
11007 (__x86_64_shared_cache_size): Renamed to ...
11008 (__x86_shared_cache_size): This.
11009 (__x86_64_raw_shared_cache_size): Renamed to ...
11010 (__x86_raw_shared_cache_size): This.
11011 (__x86_64_shared_cache_size_half): Renamed to ...
11012 (__x86_shared_cache_size_half): This.
11013 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11014 (__x86_raw_shared_cache_size_half): This.
11015 * sysdeps/x86_64/memcpy.S: Updated.
11016 * sysdeps/x86_64/memset.S: Likewise.
11017 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11018 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11019 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11020
0b3986d0
DM
110212013-01-04 David S. Miller <davem@davemloft.net>
11022
11023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11024
e47686e9
AS
110252013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11026
d643bac1
AS
11027 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11028 1 to avoid redefinition warning.
11029 (__USE_GNU): Don't define.
11030 (init_signaling_nan): Protoize.
11031
e47686e9
AS
11032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11033
b18decba
SP
110342013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11035
fffb407f
SP
11036 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11038 (__cpymn): Likewise.
11039 (norm): Remove commented code.
11040 (denorm): Likewise.
11041 (__mp_dbl): Likewise.
11042 (__inv): Likewise.
11043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11044 (__cpymn): Likewise.
11045 (norm): Remove commented code.
11046 (denorm): Likewise.
11047 (__mp_dbl): Likewise.
11048 (__inv): Likewise.
11049
b18decba
SP
11050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11051 mp_no value for 1.0 and 2.0.
11052 (norm): Use RADIXI instead of radixi.d.
11053 (denorm): Likewise.
11054 (__mul): Use 0.0 instead of zero.d.
11055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11056 mp_no value for 1.0 and 2.0.
11057 (norm): Use RADIXI instead of radixi.d.
11058 (denorm): Likewise.
11059 (__mul): Use 0.0 instead of zero.d.
11060
cdc1c96f
JM
110612013-01-04 Joseph Myers <joseph@codesourcery.com>
11062
11063 [BZ #14994]
11064 * math/s_casinh.c (__casinh): Reduce finite argument to first
11065 quadrant then set signs of results at the end.
11066 * math/s_casinhf.c (__casinhf): Likewise.
11067 * math/s_casinhl.c (__casinhl): Likewise.
11068 * math/libm-test.inc (casin_test): Add more tests.
11069 (casinh_test): Likewise.
11070 * sysdeps/i386/fpu/libm-test-ulps: Update.
11071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11072
302913e1
SP
110732013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11074
6420d207
SP
11075 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11076
a9e48ab4
SP
11077 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11078
b7837264
SP
11079 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11080 declarations.
11081 (denorm): Likewise.
11082 (__mp_dbl): Likewise.
11083 (__inv): Likewise.
11084
f8af25d2
SP
11085 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11086 and adjust the header comment.
11087
302913e1
SP
11088 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11089 variable name from declaration.
11090
5d7dd1ca
L
110912013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11092
11093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11094 Initialize COMMON_CPUID_INDEX_7 element.
11095 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11096 (CPUID_RTM): Likewise.
11097 (HAS_RTM): Likewise.
11098 (COMMON_CPUID_INDEX_7): New enum.
11099
2f5f40f4
AS
111002013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11101
11102 [BZ #14981]
11103 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11104 size is zero, record memory as freed.
11105
4056f4a0
AJ
111062013-01-03 Andreas Jaeger <aj@suse.de>
11107
11108 * po/ia.po: Add new Interlingua translation.
11109
ab15736f 111102012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11111
11112 * locale/programs/localedef.c: Fix description of '--posix' flag.
11113
568035b7
JM
111142013-01-02 Joseph Myers <joseph@codesourcery.com>
11115
e6898b8d
JM
11116 * NEWS: Update dates in second copyright notice.
11117 * README: Update copyright dates in example.
11118 * manual/libc.texinfo: Update copyright dates.
11119 * scripts/test-installation.pl: Update copyright date in --version
11120 output.
11121
0e2f9562
JM
11122 * hurd/ctty-input.c: Fix copyright notice formatting.
11123 * hurd/ctty-output.c: Likewise.
11124 * hurd/dtable.c: Likewise.
11125 * hurd/hurd-raise.c: Likewise.
11126 * hurd/hurdprio.c: Likewise.
11127 * hurd/msgportdemux.c: Likewise.
11128 * misc/sys/file.h: Likewise.
11129 * misc/sys/ioctl.h: Likewise.
11130 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11131 * sysdeps/mach/hurd/chdir.c: Likewise.
11132 * sysdeps/mach/hurd/fchdir.c: Likewise.
11133 * sysdeps/mach/hurd/rename.c: Likewise.
11134 * sysdeps/mach/hurd/rmdir.c: Likewise.
11135 * sysdeps/mach/hurd/seekdir.c: Likewise.
11136 * sysdeps/mach/hurd/setsid.c: Likewise.
11137 * sysdeps/posix/wait3.c: Likewise.
11138
568035b7
JM
11139 * All files with FSF copyright notices: Update copyright dates
11140 using scripts/update-copyrights.
11141 * intl/plural.c: Regenerated.
11142 * locale/programs/charmap-kw.h: Likewise.
11143 * locale/programs/locfile-kw.h: Likewise.
11144
da08f647
SP
111452013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11146
0f5477af
SP
11147 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11148 four values.
11149
44e0d4c2
SP
11150 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11151 calculation loop and add branch prediction.
11152
4d55b4e5
SP
11153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11154 check access beyond bounds of m1np.
11155
da08f647
SP
11156 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11157 MPTWO.
11158 (__inv): Remove local variable MPTWO to use the global
11159 constant.
11160 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11161 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11162 variable MPTWO.
11163 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11164 MP3HALFS static const.
11165
8e051029
DM
111662013-01-01 David S. Miller <davem@davemloft.net>
11167
11168 * po/ca.po: Update from translation team.
11169
f4cf5f2d
JM
111702013-01-01 Joseph Myers <joseph@codesourcery.com>
11171
11172 * scripts/update-copyrights: New file.
11173 * Makeconfig: Reformat copyright notice.
11174 * ctype/ctype.h: Likewise.
11175 * debug/swprintf_chk.c: Likewise.
11176 * elf/dl-cache.c: Likewise.
11177 * elf/dl-debug.c: Likewise.
11178 * elf/dl-object.c: Likewise.
11179 * grp/initgroups.c: Likewise.
11180 * hurd/Makefile: Likewise.
11181 * hurd/hurd/signal.h: Likewise.
11182 * hurd/hurdfault.c: Likewise.
11183 * hurd/hurdioctl.c: Likewise.
11184 * hurd/hurdlookup.c: Likewise.
11185 * hurd/intr-msg.c: Likewise.
11186 * iconv/gconv_open.c: Likewise.
11187 * libio/swprintf.c: Likewise.
11188 * locale/lc-ctype.c: Likewise.
11189 * locale/nl_langinfo.c: Likewise.
11190 * mach/Machrules: Likewise.
11191 * mach/Makefile: Likewise.
11192 * malloc/obstack.h: Likewise.
11193 * manual/Makefile: Likewise.
11194 * manual/tsort.awk: Likewise.
11195 * misc/bits/stab.def: Likewise.
11196 * nis/nis_print_group_entry.c: Likewise.
11197 * nis/nis_table.c: Likewise.
11198 * nis/nss_compat/compat-pwd.c: Likewise.
11199 * nis/nss_compat/compat-spwd.c: Likewise.
11200 * po/Makefile: Likewise.
11201 * posix/fnmatch.c: Likewise.
11202 * posix/regex.h: Likewise.
11203 * resolv/Makefile: Likewise.
11204 * resolv/nss_dns/dns-network.c: Likewise.
11205 * resolv/res_hconf.c: Likewise.
11206 * scripts/gen-sorted.awk: Likewise.
11207 * soft-fp/soft-fp.h: Likewise.
11208 * stdio-common/printf.h: Likewise.
11209 * stdlib/monetary.h: Likewise.
11210 * stdlib/random.c: Likewise.
11211 * stdlib/random_r.c: Likewise.
11212 * sysdeps/generic/Makefile: Likewise.
11213 * sysdeps/gnu/Makefile: Likewise.
11214 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11217 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11219 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11221 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11222 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11224 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11225 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11226 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11227 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11228 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11229 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11230 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11231 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11232 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11233 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11234 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11235 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11236 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11242 * sysdeps/mach/hurd/errnos.awk: Likewise.
11243 * sysdeps/mach/hurd/fork.c: Likewise.
11244 * sysdeps/mach/hurd/getcwd.c: Likewise.
11245 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11246 * sysdeps/mach/hurd/mmap.c: Likewise.
11247 * sysdeps/mach/hurd/utimes.c: Likewise.
11248 * sysdeps/mach/hurd/xmknod.c: Likewise.
11249 * sysdeps/posix/profil.c: Likewise.
11250 * sysdeps/posix/readdir_r.c: Likewise.
11251 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11252 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11253 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11254 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11255 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11256 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11257 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11258 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11260 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11261 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11262 * sysdeps/pthread/lio_listio.c: Likewise.
11263 * sysdeps/sparc/dl-procinfo.h: Likewise.
11264 * sysdeps/unix/i386/sysdep.S: Likewise.
11265 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11266 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11267 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11268 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11270 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11271 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11272 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11273 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11274 * sysdeps/wordsize-32/divdi3.c: Likewise.
11275 * time/sys/time.h: Likewise.
11276 * wcsmbs/Makefile: Likewise.
11277
0549fbba
DM
112782013-01-01 David S. Miller <davem@davemloft.net>
11279
a141f1a7
DM
11280 * po/fr.po: Update from translation team.
11281
0549fbba
DM
11282 * catgets/gencat.c: Update copyright year.
11283 * csu/version.c: Likewise.
11284 * debug/catchsegv.sh: Likewise.
11285 * debug/pcprofiledump.c: Likewise.
11286 * debug/xtrace.sh: Likewise.
11287 * elf/ldconfig.c: Likewise.
11288 * elf/ldd.bash.in: Likewise.
11289 * elf/pldd.c: Likewise.
11290 * elf/sotruss.ksh: Likewise.
11291 * elf/sprof.c: Likewise.
11292 * iconv/iconv_prog.c: Likewise.
11293 * iconv/iconvconfig.c: Likewise.
11294 * locale/programs/locale.c: Likewise.
11295 * locale/programs/localedef.c: Likewise.
11296 * login/programs/pt_chown.c: Likewise.
11297 * malloc/memusage.sh: Likewise.
11298 * malloc/memusagestat.c: Likewise.
11299 * malloc/mtrace.pl: Likewise.
11300 * nscd/nscd.c: Likewise.
11301 * nss/getent.c: Likewise.
11302 * nss/makedb.c: Likewise.
11303 * posix/getconf.c: Likewise.
11304
18ea052c
SP
113052012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11306
11307 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11308 numbers.
11309
9c89fca6
MF
113102012-12-30 Mike Frysinger <vapier@gentoo.org>
11311
11312 * math/bits/mathcalls.h (modf): Use __nonnull.
11313
085ec079
SP
113142012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11315
11316 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11317 (split): Use macro CN instead of the bare value.
11318 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11319 could be used.
11320 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11321 instead of the bare value.
11322 (power1): Likewise.
11323
6d9f97e1
SP
113242012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11325
d63f73be
SP
11326 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11327 __ATAN_TWOM.
11328 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11329
6d9f97e1
SP
11330 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11331 their values.
11332 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11333 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11334 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11335 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11336
4c4febf5
AJ
113372012-12-28 Andreas Jaeger <aj@suse.de>
11338
af5843ef
AJ
11339 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11340 values are from Linux 3.7.
11341
4c4febf5
AJ
11342 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11343 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11344
99136f82
SP
113452012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11346
2f216c3c 11347 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11348 TRUE case.
11349
99136f82
SP
11350 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11351 (norm): Likewise.
11352 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11353 variables with preprocessor constants.
11354 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11355 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11356 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11357
7fffbdff
BH
113582012-12-27 Bruno Haible <bruno@clisp.org>
11359
11360 [BZ #14317]
11361 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11362 only if needed.
11363
b76eb5f0
SP
113642012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11365
31a7fe5c
SP
11366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11367 and use variable directly.
11368 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11369
b76eb5f0
SP
11370 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11371 MPONE.
11372 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11373 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11374 variable MPONE.
11375 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11377 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11378 include directive. Remove local variable MPONE.
11379 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11380 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11381 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11382
2c8bfe7d
DM
113832012-12-25 David S. Miller <davem@davemloft.net>
11384
11385 * version.h (RELEASE): Set to "development".
11386 (VERSION): Set to "2.17.90".
11387 * NEWS: Add 2.18 section.
11388
147d03b0
DM
113892012-12-21 David S. Miller <davem@davemloft.net>
11390
11391 * po/hr.po: Update from translation team.
11392
a8ebb2b9
AK
113932012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11394
11395 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11396
95b4f1b6
SE
113972012-12-19 Steve Ellcey <sellcey@mips.com>
11398
b2d94007 11399 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11400
cedb2a90
MS
114012012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11402
11403 * manual/contrib.texi (Contributors): Spelling correction.
11404
bbf527d6
DM
114052012-12-15 David S. Miller <davem@davemloft.net>
11406
11407 * po/ru.po: Update from translation team.
11408
bc38c906
DM
114092012-12-13 David S. Miller <davem@davemloft.net>
11410
85429b1a
DM
11411 * NEWS: Mention IFUNC testsuite enhancements.
11412
d283e353
DM
11413 * po/pl.po: Update from translation team.
11414 * po/bg.po: Likewise.
11415
bc38c906
DM
11416 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11417 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11418
a181b0d7
DM
114192012-12-11 David S. Miller <davem@davemloft.net>
11420
4641d57e
DM
11421 * po/sv.po: Update from translation team.
11422
f7bc6495
DM
11423 * po/vi.po: Update from translation team.
11424
6fc9048f
DM
11425 * po/cs.po: Update from translation team.
11426
a181b0d7
DM
11427 * po/de.po: Update from translation team.
11428 * po/eo.po: Likewise.
11429 * po/nl.po: Likewise.
11430
f70bfe80
SP
114312012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11432
3c8b4190
SP
11433 [BZ #14246]
11434 * manual/argp.texi (Argp Helper Functions): Move node to follow
11435 Argp Parsing State.
11436
f70bfe80
SP
11437 [BZ #14872]
11438 * manual/conf.texi (Limits on File System Capacity): Mention if
11439 terminating null is included in the max size.
11440
188f0adf
AJ
114412012-12-10 Andreas Jaeger <aj@suse.de>
11442
11443 * po/cs.po: Update from translation team.
11444
56e7d3ad
SP
114452012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11446
11447 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11448 void pointer and cast to uintptr_t.
11449 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11450 path.
11451 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11452 * sysdeps/s390/s390-64/memset.S: Likewise.
11453
76f2d2ea 114542012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11455
11456 [BZ #14833]
11457 * menual/message.texi (Message Translation): Fix typos.
11458 (Helper programs for gettext): Likewise.
11459
67cbf9a2
AS
114602012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11461
11462 [BZ #14898]
11463 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11464 Change to -1.
11465
682d0e9a
DM
114662012-12-07 David S. Miller <davem@davemloft.net>
11467
11468 * po/libc.pot: Update.
11469
573cd484
RH
114702012-12-07 Richard Henderson <rth@redhat.com>
11471
7e9da188 11472 [BZ #10114]
573cd484
RH
11473 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11474 normal/normal case to before the switch.
11475 (_FP_DIV): Likewise.
11476
e933a943
MF
114772012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11478 Mike Frysinger <vapier@gentoo.org>
11479
11480 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11481 check for __NR_fadvise64_64.
11482
82123268
CM
114832012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11484
11485 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11486 0, not just to plain "0" as a statement.
11487 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11488 with cw.
11489
d9814526
JM
114902012-12-06 Joseph Myers <joseph@codesourcery.com>
11491
11492 * NEWS: Use sourceware.org in Bugzilla URL.
11493
7728c574
SP
114942012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11495
f16946dd
SP
11496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11497 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11498
5704bbcb
SP
11499 * stdio-common/tst-put-error.c (do_test): Add newline to the
11500 padded test to ensure flush.
11501
17aa0516
JL
115022012-12-05 Jeff Law <law@redhat.com>
11503
11504 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11505
363313b5
JM
115062012-12-05 Joseph Myers <joseph@codesourcery.com>
11507
effbd42a
JM
11508 * README: Don't refer to ports add-on as distributed separately.
11509 Mention AArch64 in list of systems supported in the ports add-on.
11510
87600365
JM
11511 * LICENSES: Add more non-FSF copyright and license notices.
11512
a0d7066a
JM
11513 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11514 ((unused)).
11515
66ca5a5b
JM
11516 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11517
363313b5
JM
11518 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11519 10000 as width of padded output.
11520
b37984ad
JM
115212012-12-04 Joseph Myers <joseph@codesourcery.com>
11522
9003570a
JM
11523 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11524
b37984ad
JM
11525 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11526 variable LX with __attribute__ ((unused)).
11527 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11528 Likewise.
11529 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11530 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11531 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11532 with __attribute__ ((unused)).
11533
c8df52ec
DM
115342012-12-04 David S. Miller <davem@abraco.davemloft.net>
11535
11536 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11537
b3b099af
JM
115382012-12-04 Joseph Myers <joseph@codesourcery.com>
11539
c33aa6e3
JM
11540 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11541 (CFLAGS-nldbl-acos.c): New variable.
11542 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11543 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11544 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11545 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11546 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11547 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11548 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11549 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11550 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11551 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11552 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11553 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11554 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11555 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11556 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11557 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11558 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11559 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11560 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11561 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11562 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11563 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11564 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11565 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11566 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11567 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11568 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11569 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11570 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11571 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11572 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11573 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11574 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11575 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11576 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11577 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11578 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11579 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11580 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11581 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11582 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11583 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11584 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11585 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11586 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11587 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11588 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11589 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11590 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11591 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11592 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11593 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11594 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11595 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11596 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11597 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11598 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11599 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11600 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11601 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11602 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11603 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11604 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11605 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11606 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11607 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11608 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11609 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11610 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11611 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11612 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11613 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11614 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11615 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11616 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11617 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11618 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11619 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11620 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11621 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11622 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11623 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11624 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11625 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11626 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11627 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11628 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11629 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11630 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11631 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11632 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11633 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11634 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11635 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11636 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11637 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11638 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11639
20f0018d
JM
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11641 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11642
b3b099af
JM
11643 [BZ #14914]
11644 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11645 whole low double instead of just low 47 bits when splitting values
11646 into two parts.
11647
029264d1
AM
116482012-12-03 Allan McRae <allan@archlinux.org>
11649
11650 * manual/stdio.texi (Predefined Printf Handlers): Remove
11651 @hsep and @vsep usage.
11652
c9d6789e
MF
116532012-12-03 Mike Frysinger <vapier@gentoo.org>
11654
11655 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11656 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11657
4b7634a5
JL
116582012-12-03 Jeff Law <law@redhat.com>
11659
11660 * time/sys/time.h (settimeofday): Do not mark TV argument
11661 as __nonnull.
11662
eb6cbd24
MF
116632012-12-01 Mike Frysinger <vapier@gentoo.org>
11664
11665 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11666 when currently writing and seek to current position when not.
11667 * libio/Makefile (tests): Remove bug-fclose1.
11668 * libio/bug-fclose1.c: Delete.
11669
f638872a
JM
116702012-12-01 Joseph Myers <joseph@codesourcery.com>
11671
11672 * manual/arith.texi (feenableexcept): Fix typo.
11673 (fedisableexcept): Likewise.
11674
48085d14
RM
116752012-11-30 Roland McGrath <roland@hack.frob.com>
11676
11677 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11678 second, differently-typed declaration, rather than a cast.
11679
1a538b9f
SP
116802012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11681
11682 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11683 * include/rpc/svc.h: ... here.
11684
d07f2ff1 116852012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11686
11687 [BZ #13013]
11688 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11689 depending n and resplen2 to catch cases where answer
11690 equals answerp2.
11691
c93ec1f0
CD
116922012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11693
11694 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11695 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11696
37db69de
MF
116972012-11-29 Mike Frysinger <vapier@gentoo.org>
11698
11699 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11700
e10c4e4f
RM
117012012-11-29 Roland McGrath <roland@hack.frob.com>
11702
11703 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11704
2af1b328
JL
117052012-11-28 Jeff Law <law@redhat.com>
11706
11707 [BZ #13761]
11708 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11709 dataset_temporary. Track alloca usage into alloca_used.
11710 If dataset is large allocate and release it via malloc/free.
11711
111db5b1
FW
117122012-06-04 Florian Weimer <fweimer@redhat.com>
11713
f06cc227 11714 [BZ #14197]
111db5b1
FW
11715 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11716
dd694abd
DM
117172012-11-28 David S. Miller <davem@davemloft.net>
11718
11719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11720
9984dd01
JM
117212012-11-28 Joseph Myers <joseph@codesourcery.com>
11722
11723 [BZ #14803]
11724 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11725 of pi/2 rounded to nearest to 64 bits.
11726 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11727 nearest to 64 bits.
11728 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11729 bits.
11730
14bc93a9
JL
117312012-11-28 Jeff Law <law@redhat.com>
11732 Martin Osvald <mosvald@redhat.com>
11733
11734 [BZ #14889]
11735 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11736 * sunrpc/svc.c: Include time.h.
11737 (__svc_accept_failed): New function.
11738 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11739 any reason other than EINTR, call __svc_accept_failed.
11740 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11741 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11742
e3c6aa3a
AS
117432012-11-28 Andreas Schwab <schwab@suse.de>
11744
11745 * scripts/abilist.awk: Also handle indirect functions in .opd
11746 section.
11747
1bead169
JM
117482012-11-28 Joseph Myers <joseph@codesourcery.com>
11749
11750 [BZ #13881]
11751 * sysdeps/x86/fpu/powl_helper.c: New file.
11752 * sysdeps/x86/fpu/Makefile: Likewise.
11753 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11754 (p3): New object.
11755 (__ieee754_powl): Use __powl_helper for finite arguments except
11756 integer exponents below 8.
11757 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11758 (p3): New object.
11759 (__ieee754_powl): Use __powl_helper for finite arguments except
11760 integer exponents below 8.
11761 * math/libm-test.inc (pow_test): Add more tests and enable some
11762 previously disabled tests.
11763 * sysdeps/i386/fpu/libm-test-ulps: Update.
11764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11765
0817d63d
SP
117662012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11767 Carlos O'Donell <carlos_odonell@mentor.com>
11768
11769 * nss/makedb.c (is_prime): Assert that input is odd and greater
11770 than 4. Note that fact in a comment too.
11771 (next_prime): Add 4 to input.
11772
de2fd463
SP
117732012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11774
11775 [BZ #11741]
11776 * libio/Makefile (tests): Add test case tst-fwrite-error.
11777 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11778 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11779 * libio/tst-fwrite-error.c: New test case.
11780
c515fb51
L
117812012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11782
11783 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11784 before casting to void *.
11785 * include/libc-internal.h (__pointer_type): New macro.
11786 (__integer_if_pointer_type_sub): Likewise.
11787 (__integer_if_pointer_type): Likewise.
11788 (cast_to_integer): Likewise.
11789 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11790 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11791 before casting to atomic64_t.
11792 (atomic_exchange_acq): Likewise.
11793 (__arch_exchange_and_add_body): Likewise.
11794 (__arch_add_body): Likewise.
11795 (atomic_add_negative): Likewise.
11796 (atomic_add_zero): Likewise.
11797
4cf77aa9
JM
117982012-11-26 Joseph Myers <joseph@codesourcery.com>
11799
11800 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11801 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11802 (add_fdes): Likewise.
11803 (linear_search_fdes): Likewise.
11804 (binary_search_unencoded_fdes): Likewise.
11805
d260b3b4
AS
118062012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11807
11808 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11809
67060746
AC
118102012-11-24 Adam Conrad <adconrad@0c3.net>
11811
11812 * configure.in: Autodetect C++ header directories.
11813 * configure: Regenerated.
11814
800938a1
MF
118152012-11-23 Mike Frysinger <vapier@gentoo.org>
11816
11817 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11818
4e6e34e6
AS
118192012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11820
11821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11822
7c7feb47
JM
118232012-11-22 Joseph Myers <joseph@codesourcery.com>
11824
7184dcdf
JM
11825 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11826 LDBL_MANT_DIG == 106]: Disable some tests.
11827 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11828 Likewise.
11829 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11830 Likewise.
11831
0a42601f
JM
11832 [BZ #14871]
11833 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11834 input for small inputs. Return +/- pi/2 for large inputs.
11835 * math/libm-test.inc (atan_test): Add more tests.
11836
79c9b9fe
JM
11837 * sysdeps/generic/unwind-dw2-fde-glibc.c
11838 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11839 __attribute__ ((unused)).
11840
c60d3bf2
JM
11841 [BZ #14645]
11842 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11843 x * y if x and y are nonzero and z is zero.
11844
ef1e0867
JM
11845 [BZ #14811]
11846 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11847 nonzero exponents with absolute value below 0x1p-117 to +/-
11848 0x1p-117.
11849
1468ded3
JM
11850 [BZ #14869]
11851 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11852 up arguments below 2**-450, not just those below 2**-500.
11853 * math/libm-test.inc (hypot_test): Add another test.
11854
8e27e3cc
JM
11855 [BZ #14868]
11856 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11857 Return a+b for ratio over 2**120, not 2**60.
11858 * math/libm-test.inc (hypot_test): Add another test.
11859
c9c0279b
JM
11860 * math/libm-test.inc (clog_test): Use
11861 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11862 (clog10_test): Likewise.
11863
7c7feb47
JM
11864 [BZ #6778]
11865 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11866
fff1530e
AS
118672012-11-22 Andreas Schwab <schwab@suse.de>
11868
11869 * sysdeps/i386/fpu/libm-test-ulps: Update.
11870
94558d30
PT
118712012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11872
11873 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11874 printf output with newline.
11875
7e1be741
L
118762012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11877
6bfea974
L
11878 [BZ #14865]
11879 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11880 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11881 -z nodlopen, -z initfirst and -z execstack support.
11882 * configure: Regenerated.
11883
7e1be741
L
11884 * elf/elf.h (DF_1_NODIRECT): New macro.
11885 (DF_1_IGNMULDEF): Likewise.
11886 (DF_1_NOKSYMS): Likewise.
11887 (DF_1_NOHDR): Likewise.
11888 (DF_1_EDITED): Likewise.
11889 (DF_1_NORELOC): Likewise.
11890 (DF_1_SYMINTPOSE): Likewise.
11891 (DF_1_GLOBAUDIT): Likewise.
11892 (DF_1_SINGLETON): Likewise.
11893 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11894 DT_1_SUPPORTED_MASK bits.
11895 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11896
105ce2ce
CD
118972012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11898
11899 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11900
123be9de
TS
119012012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11902
d072f3f7
TS
11903 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11904 macro.
11905
123be9de
TS
11906 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11907 (sendmmsg): Move declarations...
11908 * socket/sys/socket.h: ... here.
11909 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11910 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11911 include it from...
11912 * socket/recvmmsg.c: ... this new file.
11913 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11914 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11915 definition of __sendmmsg hidden.
11916 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11917 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11918 Move ENOSYS stub into and include it from...
11919 * socket/sendmmsg.c: ... this new file.
11920 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11921 (sysdep_routines): Move recvmmsg and sendmmsg...
11922 * socket/Makefile (routines): ... here.
11923 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11924 (GLIBC_PRIVATE): Add __sendmmsg.
11925 * include/sys/socket.h (__sendmmsg): Add declarations.
11926 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11927 sendmmsg.
11928
cf9a5d18
JM
119292012-11-20 Joseph Myers <joseph@codesourcery.com>
11930
11931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11932 variable I1 with __attribute__ ((unused)).
11933 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11934
ecd4caf9
JM
119352012-11-19 Joseph Myers <joseph@codesourcery.com>
11936
be14d48f
JM
11937 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11938 DUMMY variables with __attribute__ ((unused)).
11939
ecd4caf9
JM
11940 * bits/byteswap.h: Include <bits/types.h>.
11941 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11942
986cab95
PT
119432012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11944
11945 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11946 string_t. Do not manually set errno.
11947 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11948 length with __strnlen. Make sure to both set errno and return it on
11949 failure.
11950
6d33cc9d
DM
119512012-11-19 David S. Miller <davem@davemloft.net>
11952
11953 With help from Joseph Myers.
11954 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11955 very large arguments properly.
11956 * math/libm-test.inc (atan_test): New tests.
11957 (atan2_test): New tests.
11958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11960
ee663277
JM
119612012-11-19 Joseph Myers <joseph@codesourcery.com>
11962
877f2d8e
JM
11963 [BZ #14856]
11964 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11965 Define to 3.
11966
116fc08a
JM
11967 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11968 [POSIX] (EADDRNOTAVAIL): Likewise.
11969 [POSIX] (EAFNOSUPPORT): Likewise.
11970 [POSIX] (EALREADY): Likewise.
11971 [POSIX] (ECONNABORTED): Likewise.
11972 [POSIX] (ECONNREFUSED): Likewise.
11973 [POSIX] (ECONNRESET): Likewise.
11974 [POSIX] (EDESTADDRREQ): Likewise.
11975 [POSIX] (EDQUOT): Likewise.
11976 [POSIX] (EHOSTUNREACH): Likewise.
11977 [POSIX] (EIDRM): Likewise.
11978 [POSIX] (EISCONN): Likewise.
11979 [POSIX] (ELOOP): Likewise.
11980 [POSIX] (EMULTIHOP): Likewise.
11981 [POSIX] (ENETDOWN): Likewise.
11982 [POSIX] (ENETUNREACH): Likewise.
11983 [POSIX] (ENOBUFS): Likewise.
11984 [POSIX] (ENODATA): Likewise.
11985 [POSIX] (ENOLINK): Likewise.
11986 [POSIX] (ENOMSG): Likewise.
11987 [POSIX] (ENOPROTOOPT): Likewise.
11988 [POSIX] (ENOSR): Likewise.
11989 [POSIX] (ENOSTR): Likewise.
11990 [POSIX] (ENOTCONN): Likewise.
11991 [POSIX] (ENOTSOCK): Likewise.
11992 [POSIX] (EOPNOTSUPP): Likewise.
11993 [POSIX] (EOVERFLOW): Likewise.
11994 [POSIX] (EPROTO): Likewise.
11995 [POSIX] (EPROTONOSUPPORT): Likewise.
11996 [POSIX] (EPROTOTYPE): Likewise.
11997 [POSIX] (ESTALE): Likewise.
11998 [POSIX] (ETIME): Likewise.
11999 [POSIX] (ETXTBSY): Likewise.
12000 [POSIX] (EWOULDBLOCK): Likewise.
12001 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12002 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12003 [POSIX] (SEEK_CUR): Likewise.
12004 [POSIX] (SEEK_END): Likewise.
12005 [POSIX || UNIX98] (mode_t): Do not require.
12006 [POSIX] (off_t): Likewise.
12007 [POSIX] (pid_t): Likewise.
12008 [POSIX] (sys/stat.h): Do not allow header.
12009 [POSIX] (unistd.h): Likewise.
12010 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12011 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12012 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12013 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12014 require.
12015 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12016 sigevent): Specify elements.
12017 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12018 entry.
12019 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12020 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12021
a483863f
JM
12022 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12023 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12024 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12025 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12026 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12027 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12028 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12029 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12030 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12031 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12032 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12033 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12034 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12035 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12036 Likewise.
12037 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12038 Likewise.
12039 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12040 Likewise.
12041 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12042 Likewise.
12043 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12044 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12045 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12046 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12047 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12048 Specify lower bound on value.
12049 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12050 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12051 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12052 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12053 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12054 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12055 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12056 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12057 value.
12058 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12059 as optional.
12060 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12061 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12062 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12063 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12064 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12065 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12066 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12067 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12068 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12069 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12070 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12071 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12072 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12073 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12074 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12075 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12076 entry.
12077 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12078 optional.
12079 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12080 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12081 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12082 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12083 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12084 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12085 Likewise.
12086 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12087 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12088 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12089 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12090 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12091 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12092 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12093 as optional.
12094 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12095 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12096 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12097 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12098 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12099 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12100 specify as optional.
12101 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12102 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12103 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12104 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12105 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12106 [XPG3] (NL_LANGMAX): Likewise.
12107 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12108 [POSIX || XPG3] (NL_NMAX): Likewise.
12109 [POSIX || XPG3] (NL_SETMAX): Likewise.
12110 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12111 [XPG3] (NZERO): Likewise.
12112 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12113 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12114 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12115 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12116 (REG_ERANGE): Expect.
12117 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12118 optional-constant.
12119 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12120 Use (void) in prototype.
12121 [POSIX] (*_t): Allow.
12122 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12123 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12124 (WRDE_BADVAL): Expect.
12125
5ba924e3
JM
12126 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12127 expect.
12128 [XPG3 || XPG4] (O_RSYNC): Likewise.
12129 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12130 Likewise.
12131 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12132 [XPG3 || XPG4] (sigqueue): Likewise.
12133 [XPG3 || XPG4] (sigtimedwait): Likewise.
12134 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12135 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12136 [XPG3 || XPG4] (vsnprintf): Likewise.
12137 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12138 Likewise.
12139 [XPG3 || XPG4] (blksize_t): Likewise.
12140 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12141 Likewise.
12142 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12143 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12144 [XPG3 || XPG4] (struct itimerspec): Likewise.
12145 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12146 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12147 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12148 [XPG3 || XPG4] (clockid_t): Likewise.
12149 [XPG3 || XPG4] (timer_t): Likewise.
12150 [XPG3 || XPG4] (clock_getres): Likewise.
12151 [XPG3 || XPG4] (clock_gettime): Likewise.
12152 [XPG3 || XPG4] (clock_settime): Likewise.
12153 [XPG3 || XPG4] (nanosleep): Likewise.
12154 [XPG3 || XPG4] (timer_create): Likewise.
12155 [XPG3 || XPG4] (timer_delete): Likewise.
12156 [XPG3 || XPG4] (timer_gettime): Likewise.
12157 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12158 [XPG3 || XPG4] (timer_settime): Likewise.
12159 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12160 [XPG3 || XPG4] (getlogin_r): Likewise.
12161 [XPG3 || XPG4] (pread): Likewise.
12162 [XPG3 || XPG4] (pthread_atfork): Likewise.
12163 [XPG3 || XPG4] (pwrite): Likewise.
12164
ee663277
JM
12165 [BZ #14835]
12166 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12167 <bits/siginfo.h>.
12168
942caa16
PT
121692012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12170
e19af380
PT
12171 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12172 finalizing MALLSTREAM.
12173
942caa16
PT
12174 * sysdeps/mach/hurd/syncfs.c: New file.
12175
cfde9b46
SP
121762012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12177
12178 [BZ #14719]
12179 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12180 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12181 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12182 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12183 (_nss_dns_gethostbyname4_r): Likewise.
12184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12185 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12186
f6da27e5
PH
121872012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12188
12189 [BZ #13763]
12190 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12191
6665d4a2
SM
121922012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12193
1f51ee92
SM
12194 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12195 * elf/cache.c (print_entry): Print ",AArch64" for
12196 FLAG_AARCH64_LIB64
12197
6665d4a2
SM
12198 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12199 * elf/cache.c (print_entry): Print ",hard-float" for
12200 FLAG_ARM_LIBHF.
12201
05b227bd
DM
122022012-11-18 David S. Miller <davem@davemloft.net>
12203
12204 With help from Joseph Myers.
12205 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12206 cutoff to 2**-13.
12207 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12208 cutoff to 2**-25.
12209 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12210 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12211 small.
12212 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12213 * math/libm-test.inc (y0_test): New tests.
12214 (y1_test): New tests.
12215 * sysdeps/i386/fpu/libm-test-ulps: Update.
12216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12218
786b0b67
AS
122192012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12220
12221 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12222 64-bit targets.
12223 * configure: Regenerated.
12224
8e18b86d
DM
122252012-11-17 David S. Miller <davem@davemloft.net>
12226
12227 [BZ #14811]
12228 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12229 nonzero exponents with absolute value below 0x1p-128 to +/-
12230 0x1p-128.
12231
531f1ae0
JM
122322012-11-17 Joseph Myers <joseph@codesourcery.com>
12233
12df29e2
JM
12234 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12235
150dc1a0
JM
12236 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12237
531f1ae0
JM
12238 * posix/getconf-speclist.c: New file.
12239 * posix/posix-envs.def: Likewise.
12240 * posix/confstr.c (START_ENV_GROUP): New macro.
12241 (END_ENV_GROUP): Likewise.
12242 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12243 (KNOWN_PRESENT_ENV_STRING): Likewise.
12244 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12245 (UNKNOWN_ENVIRONMENT): Likewise.
12246 (confstr): Include posix-envs.def instead of handling
12247 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12248 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12249 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12250 (END_ENV_GROUP): Likewise.
12251 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12252 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12253 (UNKNOWN_ENVIRONMENT): Likewise.
12254 (__sysconf): Include posix-envs.def instead of handling associated
12255 cases directly here.
12256 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12257 preprocessing getconf-speclist.c rather than running getconf or
12258 generating empty file.
12259
a93f9cbc
PT
122602012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12261
12262 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12263
d64d9f87
AL
122642012-11-16 Andrej Lajovic <natrij@gmail.com>
12265
12266 [BZ #14672]
12267 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12268
447885eb
DM
122692012-11-16 David S. Miller <davem@davemloft.net>
12270
12271 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12272 smaller than LDBL_EPSILON/2.0L, just return xm1.
12273
bcbf9830
L
122742012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12275
12276 * elf/tst-array1.c (init): Set constructor priority to 1000.
12277 (fini): Set destructor priority to 1000.
12278 * elf/tst-array2dep.c: Likewise.
12279
2b766585
SP
122802012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12281
12282 [BZ #11741]
12283 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12284 (_IO_new_file_xsputn): Also return EOF if none of the input
12285 data was written when overflow failed.
12286 * libio/iopadn.c (_IO_padn): Likewise.
12287 * libio/iowpadn.c (_IO_wpadn): Likewise.
12288 * stdio-common/tst-put-error.c: Add copyright notice.
12289 (do_test): Add case for printing padded string.
12290 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12291 _IO_padn returned error.
12292 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12293 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12294 return EOF.
12295
b1848fde
SP
122962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12297
12298 * libio/libioP.h: Add comment note that the references to C++
12299 bits are now obsolete.
12300
2fd89785
MS
123012012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12302
12303 * math/libm-test.inc (check_complex): Use asprintf.
12304
e3ea5409
JM
123052012-11-14 Joseph Myers <joseph@codesourcery.com>
12306
12307 * debug/pcprofiledump.c (print_version): Update copyright year.
12308 * malloc/memusagestat.c (print_version): Likewise.
12309
2e64d265
L
123102012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12311
12312 [BZ #14831]
12313 * elf/Makefile (tests): Add tst-audit8.
12314 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12315 ($(objpfx)tst-audit8.out): New target.
12316 (tst-audit8-ENV): New variable.
12317 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12318 audit if l_reloc_result is NULL.
12319 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12320 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12321 * elf/tst-audit8.c: New file.
12322
c485e4d2
MS
123232012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12324
12325 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12326 * misc/Makefile (CFLAGS-select.c): Define.
12327 * posix/Makefile (CFLAGS-pause.c): Define.
12328
3a0d900a
DM
123292012-11-13 David S. Miller <davem@davemloft.net>
12330
12331 * crypt/Makefile: Move test targets after toplevel Rules
12332 inclusion. Grab any necessary sysdep routines when linking.
12333 * crypt/md5.c (md5_process_block): Remove define, we will always
12334 name it __md5_process_block.
12335 (md5_finish_ctx): Update md5_process_block call.
12336 (md5_stream): Likewise.
12337 (md5_process_bytes): Likewise.
12338 (md5_process_block): Rename to __md5_process_block and move to ...
12339 * crypt/md5-block.c: ... here.
12340 * crypt/sha256.c (sha256_process_block): Move to ...
12341 * crypt/sha256-block.c: ... here.
12342 * crypt/sha512.c (sha512_process_block): Move to ...
12343 * crypt/sha512-block.c: ... here.
12344 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12345 path.
12346 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12347 * sysdeps/sparc/sparc64/multiarch/Makefile
12348 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12349 crypt subdir.
12350 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12351 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12352 multiarch changes.
12353 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12354 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12355 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12356 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12357 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12358 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12359 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12360 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12361 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12362 file.
12363 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12364 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12365 file.
12366 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12367
8ca89318
JM
123682012-11-13 Joseph Myers <joseph@codesourcery.com>
12369
e27d476a
JM
12370 * timezone/tzselect.ksh: Update from tzcode git revision
12371 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12372 * timezone/zdump.c: Likewise.
12373 * timezone/zic.c: Likewise.
12374 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12375 in TZVERSION setting, not $(PKGVERSION).
12376 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12377 REPORT_BUGS_TO settings.
12378
8ca89318
JM
12379 [BZ #14838]
12380 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12381 macro.
12382
47594329
MS
123832012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12384
12385 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12386 detection to immediately after _FP_ROUND().
12387 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12388 bits are 0.
12389
640ac3f1
DM
123902012-11-11 David S. Miller <davem@davemloft.net>
12391
12392 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12393 inttypes.h
12394 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12395 __close rather than their public counterparts.
12396
3d2577bb
JM
123972012-11-10 Joseph Myers <joseph@codesourcery.com>
12398
12399 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12400 file.
12401 [UNIX98] (sem_timedwait): Do not expect.
12402 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12403 [XPG4 || UNIX98] (sockatmark): Do not expect.
12404 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12405 (clock_getcpuclockid): Do not expect.
12406 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12407 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12408 Do not expect.
12409 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12410 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12411 [UNIX98] (vwscanf): Likewise.
12412 [UNIX98] (vswscanf): Likewise.
12413
fb1ae1ee
JM
124142012-11-09 Joseph Myers <joseph@codesourcery.com>
12415
9ec6f8bd
JM
12416 * timezone/version.h: Remove file.
12417 * timezone/README: Do not refer to version.h.
12418 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12419 $(objpfx)version.h.
12420 ($(objpfx)zdump.o): Likewise.
c3f81911 12421 ($(objpfx)version.h): New target.
9ec6f8bd 12422
0aa8f8a1
JM
12423 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12424 2012i.
12425 * timezone/README: Don't mention modification to tzselect.ksh.
12426 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12427 work on unmodified tzselect.ksh. Substitute version numbers in
12428 tzselect.ksh.
12429
4e87147f
JM
12430 * Makefile (format-me): Remove.
12431 (INSTALL): Adjust indentation. Use commands directly instead of
12432 using $(format-me).
12433
8b748aed
JM
12434 * aclocal.m4 (ACX_PKGVERSION): New macro.
12435 (ACX_BUGURL): Likewise.
12436 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12437 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12438 (REPORT_BUGS_TO): Likewise.
12439 * configure: Regenerated.
12440 * config.h.in (PKGVERSION): New macro.
12441 (REPORT_BUGS_TO): Likewise.
12442 * config.make.in (PKGVERSION): New variable.
12443 (PKGVERSION_TEXI): Likewise.
12444 (REPORT_BUGS_TO): Likewise.
12445 (REPORT_BUGS_TEXI): Likewise.
12446 * Makefile (format-me): Use -I$(common-objpfx)manual.
12447 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12448 ($(common-objpfx)manual/%): New target.
12449 (manual/%): Remove target.
12450 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12451 (print_version): Use PKGVERSION.
12452 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12453 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12454 and REPORT_BUGS_TO.
12455 ($(objpfx)xtrace): Likewise.
12456 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12457 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12458 (print_version): Use PKGVERSION.
12459 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12460 (do_version): Use PKGVERSION.
12461 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12462 REPORT_BUGS_TO.
12463 (common-ldd-rewrite): Likewise.
12464 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12465 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12466 (print_version): Use PKGVERSION.
12467 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12468 * elf/pldd.c (argp_program_bug_address): Remove variable.
12469 (more_help): New function.
12470 (argp): Use more_help.
12471 (print_version): Use PKGVERSION.
12472 * elf/sln.c (main): Use PKGVERSION.
12473 (usage): Use REPORT_BUGS_TO.
12474 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12475 (top level): Use PKGVERSION.
12476 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12477 (print_version): Use PKGVERSION.
12478 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12479 (print_version): Use PKGVERSION.
12480 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12481 (print_version): Use PKGVERSION.
12482 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12483 (print_version): Use PKGVERSION.
12484 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12485 (print_version): Use PKGVERSION.
12486 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12487 (print_version): Use PKGVERSION.
12488 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12489 and BUGURL.
12490 ($(objpfx)memusage): Likewise.
12491 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12492 (do_version): Use PKGVERSION.
12493 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12494 (print_version): Use PKGVERSION.
12495 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12496 ($PKGVERSION): New variable.
12497 ($REPORT_BUGS_TO): Likewise.
12498 (usage): Use $REPORT_BUGS_TO.
12499 (top level): Use $PKGVERSION.
12500 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12501 ($(objpfx)pkgvers.texi): New rule.
12502 ($(objpfx)stamp-pkgvers): Likewise.
12503 * manual/install.texi: Include pkgvers.texi.
12504 (--with-pkgversion): Document new configure option.
12505 (--with-bugurl): Likewise.
12506 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12507 than necessarily for this particular distribution. Use
12508 REPORT_BUGS_TO for where to report bugs.
12509 * INSTALL: Regenerated.
12510 * manual/libc.texinfo: Include pkgvers.texi.
12511 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12512 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12513 (print_version): Use PKGVERSION.
12514 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12515 (print_version): Use PKGVERSION.
12516 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12517 (print_version): Use PKGVERSION.
12518 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12519 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12520 macro.
12521 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12522 (print_version): Use PKGVERSION.
12523 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12524 (print_version): Use PKGVERSION.
12525 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12526 and PKGVERSION.
12527
92e4b6a9
JM
12528 * timezone/checktab.awk: Update from tzcode 2012i.
12529 * timezone/ialloc.c: Likewise.
12530 * timezone/private.h: Likewise.
12531 * timezone/scheck.c: Likewise.
12532 * timezone/tzfile.h: Likewise.
12533 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12534 (TZVERSION): Hardcode tzcode version number.
12535 * timezone/zdump.c: Update from tzcode 2012i.
12536 * timezone/zic.c: Likewise.
12537 * timezone/version.h: New file.
12538 * timezone/README: Describe version.h. Update upstream location.
12539
9bde902c
JM
12540 [BZ #14824]
12541 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12542 (mktemp): Enable declaration.
12543 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12545 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12546 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12547 Likewise.
12548 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12549 Likewise.
12550 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12551 Likewise.
12552 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12553 Likewise.
12554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12555 Likewise.
12556 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12557 Likewise.
12558
fb1ae1ee
JM
12559 [BZ #14821]
12560 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12561 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12562 for copies of such integer values.
12563 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12564 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12565
2c1adbcb
AJ
125662012-11-09 Andreas Jaeger <aj@suse.de>
12567
12568 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12569 definitions and declarations that are provided by
12570 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12571
d0f8457e
AK
125722012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12573
3a235abb 12574 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12575 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12576 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12577 definition.
12578
57241e26
MS
125792012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12580
12581 * elf/elf.h: Update comment before AArch64 relocations.
12582
60e8270d
DM
125832012-11-07 David S. Miller <davem@davemloft.net>
12584
12585 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12586 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12587 (__start_context): Declare.
12588 (__makecontext_ret): Delete.
12589 (__makecontext): Hook up __start_context instead of
12590 __makecontext_ret.
12591 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12592 (sysdep_routines): Add __start_context when in stdlib.
12593
0fbb0fbc
JM
125942012-11-07 Joseph Myers <joseph@codesourcery.com>
12595
12596 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12597 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12598 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12599 hardcoded "nm".
12600 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12601 (READELF): New variable. Use it instead of hardcoded "readelf".
12602
eb48db7e
L
126032012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12604
12605 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12606 * sysdeps/x86/Makefile: Here.
12607 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12608 * sysdeps/x86/tst-xmmymm.sh: This.
12609
05bcf62a
JM
126102012-11-07 Joseph Myers <joseph@codesourcery.com>
12611
c4b6cf53
JM
12612 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12613 expectations.
12614 [UNIX98] (pthread_barrier_t): Do not expect.
12615 [UNIX98] (pthread_barrierattr_t): Likewise.
12616 [UNIX98] (pthread_spinlock_t): Likewise.
12617 [UNIX98] (pthread_barrier_destroy): Likewise.
12618 [UNIX98] (pthread_barrier_init): Likewise.
12619 [UNIX98] (pthread_barrier_wait): Likewise.
12620 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12621 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12622 [UNIX98] (pthread_barrierattr_init): Likewise.
12623 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12624 [UNIX98] (pthread_getcpuclockid): Likewise.
12625 [UNIX98] (pthread_mutex_timedlock): Likewise.
12626 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12627 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12628 [UNIX98] (pthread_sigmask): Likewise.
12629 [UNIX98] (pthread_spin_destroy): Likewise.
12630 [UNIX98] (pthread_spin_init): Likewise.
12631 [UNIX98] (pthread_spin_lock): Likewise.
12632 [UNIX98] (pthread_spin_trylock): Likewise.
12633 [UNIX98] (pthread_spin_unlock): Likewise.
12634 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12635 Do not expect.
12636 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12637 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12638 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12639 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12640 [XPG3 || XPG4] (pthread_key_t): Likewise.
12641 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12642 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12643 [XPG3 || XPG4] (pthread_once_t): Likewise.
12644 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12645 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12646 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12647 [XPG3 || XPG4] (pthread_t): Likewise.
12648
cbe6e120
JM
12649 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12650 not expect.
12651 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12652
1b126443
JM
12653 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12654 Change function return type to int.
12655
b961a573
JM
12656 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12657 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12658 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12659 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12660 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12661 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12662 [!POSIX] (posix_madvise): Likewise.
12663 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12664 && !UNIX98].
12665 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12666 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12667 (mode_t): Likewise.
12668 (posix_mem_offset): Likewise.
12669 (posix_typed_mem_get_info): Likewise.
12670 (posix_typed_mem_open): Likewise.
12671
9e188909
JM
12672 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12673 Change condition to [XOPEN2K8].
12674
05bcf62a
JM
12675 * conform/conformtest.pl: Preprocess allow-header data with -x c
12676 instead of from stdin.
12677 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12678 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12679 [C99-based standards] (cerfc): Likewise.
12680 [C99-based standards] (cexp2): Likewise.
12681 [C99-based standards] (cexpm1): Likewise.
12682 [C99-based standards] (clog10): Likewise.
12683 [C99-based standards] (clog1p): Likewise.
12684 [C99-based standards] (clog2): Likewise.
12685 [C99-based standards] (clgamma): Likewise.
12686 [C99-based standards] (ctgamma): Likewise.
12687 [C99-based standards] (cerff): Likewise.
12688 [C99-based standards] (cerfcf): Likewise.
12689 [C99-based standards] (cexp2f): Likewise.
12690 [C99-based standards] (cexpm1f): Likewise.
12691 [C99-based standards] (clog10f): Likewise.
12692 [C99-based standards] (clog1pf): Likewise.
12693 [C99-based standards] (clog2f): Likewise.
12694 [C99-based standards] (clgammaf): Likewise.
12695 [C99-based standards] (ctgammaf): Likewise.
12696 [C99-based standards] (cerfl): Likewise.
12697 [C99-based standards] (cerfcl): Likewise.
12698 [C99-based standards] (cexp2l): Likewise.
12699 [C99-based standards] (cexpm1l): Likewise.
12700 [C99-based standards] (clog10l): Likewise.
12701 [C99-based standards] (clog1pl): Likewise.
12702 [C99-based standards] (clog2l): Likewise.
12703 [C99-based standards] (clgammal): Likewise.
12704 [C99-based standards] (ctgammal): Likewise.
12705 * conform/data/inttypes.h-data [C99-based standards]: Include
12706 stdint.h-data. Remove all expectations for stdint.h contents.
12707 [C99-based standards] (PRI*): Do not allow.
12708 [C99-based standards] (SCN*): Likewise.
12709 [C99-based standards] (*_t): Likewise.
12710 [C99-based-standards] (PRId8): Expect macro.
12711 [C99-based-standards] (PRIi8): Likewise.
12712 [C99-based-standards] (PRIo8): Likewise.
12713 [C99-based-standards] (PRIu8): Likewise.
12714 [C99-based-standards] (PRIx8): Likewise.
12715 [C99-based-standards] (PRIX8): Likewise.
12716 [C99-based-standards] (SCNd8): Likewise.
12717 [C99-based-standards] (SCNi8): Likewise.
12718 [C99-based-standards] (SCNo8): Likewise.
12719 [C99-based-standards] (SCNu8): Likewise.
12720 [C99-based-standards] (SCNx8): Likewise.
12721 [C99-based-standards] (PRIdLEAST8): Likewise.
12722 [C99-based-standards] (PRIiLEAST8): Likewise.
12723 [C99-based-standards] (PRIoLEAST8): Likewise.
12724 [C99-based-standards] (PRIuLEAST8): Likewise.
12725 [C99-based-standards] (PRIxLEAST8): Likewise.
12726 [C99-based-standards] (PRIXLEAST8): Likewise.
12727 [C99-based-standards] (SCNdLEAST8): Likewise.
12728 [C99-based-standards] (SCNiLEAST8): Likewise.
12729 [C99-based-standards] (SCNoLEAST8): Likewise.
12730 [C99-based-standards] (SCNuLEAST8): Likewise.
12731 [C99-based-standards] (SCNxLEAST8): Likewise.
12732 [C99-based-standards] (PRIdFAST8): Likewise.
12733 [C99-based-standards] (PRIiFAST8): Likewise.
12734 [C99-based-standards] (PRIoFAST8): Likewise.
12735 [C99-based-standards] (PRIuFAST8): Likewise.
12736 [C99-based-standards] (PRIxFAST8): Likewise.
12737 [C99-based-standards] (PRIXFAST8): Likewise.
12738 [C99-based-standards] (SCNdFAST8): Likewise.
12739 [C99-based-standards] (SCNiFAST8): Likewise.
12740 [C99-based-standards] (SCNoFAST8): Likewise.
12741 [C99-based-standards] (SCNuFAST8): Likewise.
12742 [C99-based-standards] (SCNxFAST8): Likewise.
12743 [C99-based-standards] (PRId16): Likewise.
12744 [C99-based-standards] (PRIi16): Likewise.
12745 [C99-based-standards] (PRIo16): Likewise.
12746 [C99-based-standards] (PRIu16): Likewise.
12747 [C99-based-standards] (PRIx16): Likewise.
12748 [C99-based-standards] (PRIX16): Likewise.
12749 [C99-based-standards] (SCNd16): Likewise.
12750 [C99-based-standards] (SCNi16): Likewise.
12751 [C99-based-standards] (SCNo16): Likewise.
12752 [C99-based-standards] (SCNu16): Likewise.
12753 [C99-based-standards] (SCNx16): Likewise.
12754 [C99-based-standards] (PRIdLEAST16): Likewise.
12755 [C99-based-standards] (PRIiLEAST16): Likewise.
12756 [C99-based-standards] (PRIoLEAST16): Likewise.
12757 [C99-based-standards] (PRIuLEAST16): Likewise.
12758 [C99-based-standards] (PRIxLEAST16): Likewise.
12759 [C99-based-standards] (PRIXLEAST16): Likewise.
12760 [C99-based-standards] (SCNdLEAST16): Likewise.
12761 [C99-based-standards] (SCNiLEAST16): Likewise.
12762 [C99-based-standards] (SCNoLEAST16): Likewise.
12763 [C99-based-standards] (SCNuLEAST16): Likewise.
12764 [C99-based-standards] (SCNxLEAST16): Likewise.
12765 [C99-based-standards] (PRIdFAST16): Likewise.
12766 [C99-based-standards] (PRIiFAST16): Likewise.
12767 [C99-based-standards] (PRIoFAST16): Likewise.
12768 [C99-based-standards] (PRIuFAST16): Likewise.
12769 [C99-based-standards] (PRIxFAST16): Likewise.
12770 [C99-based-standards] (PRIXFAST16): Likewise.
12771 [C99-based-standards] (SCNdFAST16): Likewise.
12772 [C99-based-standards] (SCNiFAST16): Likewise.
12773 [C99-based-standards] (SCNoFAST16): Likewise.
12774 [C99-based-standards] (SCNuFAST16): Likewise.
12775 [C99-based-standards] (SCNxFAST16): Likewise.
12776 [C99-based-standards] (PRId32): Likewise.
12777 [C99-based-standards] (PRIi32): Likewise.
12778 [C99-based-standards] (PRIo32): Likewise.
12779 [C99-based-standards] (PRIu32): Likewise.
12780 [C99-based-standards] (PRIx32): Likewise.
12781 [C99-based-standards] (PRIX32): Likewise.
12782 [C99-based-standards] (SCNd32): Likewise.
12783 [C99-based-standards] (SCNi32): Likewise.
12784 [C99-based-standards] (SCNo32): Likewise.
12785 [C99-based-standards] (SCNu32): Likewise.
12786 [C99-based-standards] (SCNx32): Likewise.
12787 [C99-based-standards] (PRIdLEAST32): Likewise.
12788 [C99-based-standards] (PRIiLEAST32): Likewise.
12789 [C99-based-standards] (PRIoLEAST32): Likewise.
12790 [C99-based-standards] (PRIuLEAST32): Likewise.
12791 [C99-based-standards] (PRIxLEAST32): Likewise.
12792 [C99-based-standards] (PRIXLEAST32): Likewise.
12793 [C99-based-standards] (SCNdLEAST32): Likewise.
12794 [C99-based-standards] (SCNiLEAST32): Likewise.
12795 [C99-based-standards] (SCNoLEAST32): Likewise.
12796 [C99-based-standards] (SCNuLEAST32): Likewise.
12797 [C99-based-standards] (SCNxLEAST32): Likewise.
12798 [C99-based-standards] (PRIdFAST32): Likewise.
12799 [C99-based-standards] (PRIiFAST32): Likewise.
12800 [C99-based-standards] (PRIoFAST32): Likewise.
12801 [C99-based-standards] (PRIuFAST32): Likewise.
12802 [C99-based-standards] (PRIxFAST32): Likewise.
12803 [C99-based-standards] (PRIXFAST32): Likewise.
12804 [C99-based-standards] (SCNdFAST32): Likewise.
12805 [C99-based-standards] (SCNiFAST32): Likewise.
12806 [C99-based-standards] (SCNoFAST32): Likewise.
12807 [C99-based-standards] (SCNuFAST32): Likewise.
12808 [C99-based-standards] (SCNxFAST32): Likewise.
12809 [C99-based-standards] (PRId64): Likewise.
12810 [C99-based-standards] (PRIi64): Likewise.
12811 [C99-based-standards] (PRIo64): Likewise.
12812 [C99-based-standards] (PRIu64): Likewise.
12813 [C99-based-standards] (PRIx64): Likewise.
12814 [C99-based-standards] (PRIX64): Likewise.
12815 [C99-based-standards] (SCNd64): Likewise.
12816 [C99-based-standards] (SCNi64): Likewise.
12817 [C99-based-standards] (SCNo64): Likewise.
12818 [C99-based-standards] (SCNu64): Likewise.
12819 [C99-based-standards] (SCNx64): Likewise.
12820 [C99-based-standards] (PRIdLEAST64): Likewise.
12821 [C99-based-standards] (PRIiLEAST64): Likewise.
12822 [C99-based-standards] (PRIoLEAST64): Likewise.
12823 [C99-based-standards] (PRIuLEAST64): Likewise.
12824 [C99-based-standards] (PRIxLEAST64): Likewise.
12825 [C99-based-standards] (PRIXLEAST64): Likewise.
12826 [C99-based-standards] (SCNdLEAST64): Likewise.
12827 [C99-based-standards] (SCNiLEAST64): Likewise.
12828 [C99-based-standards] (SCNoLEAST64): Likewise.
12829 [C99-based-standards] (SCNuLEAST64): Likewise.
12830 [C99-based-standards] (SCNxLEAST64): Likewise.
12831 [C99-based-standards] (PRIdFAST64): Likewise.
12832 [C99-based-standards] (PRIiFAST64): Likewise.
12833 [C99-based-standards] (PRIoFAST64): Likewise.
12834 [C99-based-standards] (PRIuFAST64): Likewise.
12835 [C99-based-standards] (PRIxFAST64): Likewise.
12836 [C99-based-standards] (PRIXFAST64): Likewise.
12837 [C99-based-standards] (SCNdFAST64): Likewise.
12838 [C99-based-standards] (SCNiFAST64): Likewise.
12839 [C99-based-standards] (SCNoFAST64): Likewise.
12840 [C99-based-standards] (SCNuFAST64): Likewise.
12841 [C99-based-standards] (SCNxFAST64): Likewise.
12842 [C99-based-standards] (PRIdMAX): Likewise.
12843 [C99-based-standards] (PRIiMAX): Likewise.
12844 [C99-based-standards] (PRIoMAX): Likewise.
12845 [C99-based-standards] (PRIuMAX): Likewise.
12846 [C99-based-standards] (PRIxMAX): Likewise.
12847 [C99-based-standards] (PRIXMAX): Likewise.
12848 [C99-based-standards] (SCNdMAX): Likewise.
12849 [C99-based-standards] (SCNiMAX): Likewise.
12850 [C99-based-standards] (SCNoMAX): Likewise.
12851 [C99-based-standards] (SCNuMAX): Likewise.
12852 [C99-based-standards] (SCNxMAX): Likewise.
12853 [C99-based-standards] (PRIdPTR): Likewise.
12854 [C99-based-standards] (PRIiPTR): Likewise.
12855 [C99-based-standards] (PRIoPTR): Likewise.
12856 [C99-based-standards] (PRIuPTR): Likewise.
12857 [C99-based-standards] (PRIxPTR): Likewise.
12858 [C99-based-standards] (PRIXPTR): Likewise.
12859 [C99-based-standards] (SCNdPTR): Likewise.
12860 [C99-based-standards] (SCNiPTR): Likewise.
12861 [C99-based-standards] (SCNoPTR): Likewise.
12862 [C99-based-standards] (SCNuPTR): Likewise.
12863 [C99-based-standards] (SCNxPTR): Likewise.
12864 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12865 allow.
12866 * conform/data/stdint.h-data: Update comments to clarify
12867 requirements.
12868 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12869 type.
12870 [C99-based standards] (INT8_MAX): Likewise.
12871 [C99-based standards] (INT16_MIN): Likewise.
12872 [C99-based standards] (INT16_MAX): Likewise.
12873 [C99-based standards] (INT32_MIN): Likewise.
12874 [C99-based standards] (INT32_MAX): Likewise.
12875 [C99-based standards] (INT64_MIN): Likewise.
12876 [C99-based standards] (INT64_MAX): Likewise.
12877 [C99-based standards] (UINT8_MAX): Likewise.
12878 [C99-based standards] (UINT16_MAX): Likewise.
12879 [C99-based standards] (UINT32_MAX): Likewise.
12880 [C99-based standards] (UINT64_MAX): Likewise.
12881 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12882 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12883 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12884 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12885 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12886 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12887 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12888 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12889 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12890 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12891 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12892 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12893 [C99-based standards] (INT_FAST8_MIN): Likewise.
12894 [C99-based standards] (INT_FAST8_MAX): Likewise.
12895 [C99-based standards] (INT_FAST16_MIN): Likewise.
12896 [C99-based standards] (INT_FAST16_MAX): Likewise.
12897 [C99-based standards] (INT_FAST32_MIN): Likewise.
12898 [C99-based standards] (INT_FAST32_MAX): Likewise.
12899 [C99-based standards] (INT_FAST64_MIN): Likewise.
12900 [C99-based standards] (INT_FAST64_MAX): Likewise.
12901 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12902 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12903 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12904 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12905 [C99-based standards] (INTPTR_MIN): Likewise.
12906 [C99-based standards] (INTPTR_MAX): Likewise.
12907 [C99-based standards] (UINTPTR_MAX): Likewise.
12908 [C99-based standards] (INTMAX_MIN): Likewise.
12909 [C99-based standards] (INTMAX_MAX): Likewise.
12910 [C99-based standards] (UINTMAX_MAX): Likewise.
12911 [C99-based standards] (PTRDIFF_MIN): Likewise.
12912 [C99-based standards] (PTRDIFF_MAX): Likewise.
12913 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12914 [C99-based standards] (SIZE_MAX): Likewise.
12915 [C99-based standards] (WCHAR_MAX): Likewise.
12916 [C99-based standards] (WINT_MAX): Likewise.
12917 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12918 constraint on value.
12919 [C99-based standards] (WCHAR_MIN): Likewise.
12920 [C99-based standards] (WINT_MIN): Likewise.
12921 [C99-based standards] (*_t): Allow.
12922 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12923 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12924 Include math.h-data and complex.h-data. Remove all expectations
12925 of math.h and complex.h contents.
12926 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12927 at end of line.
12928 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12929 (struct tm): Expect tag.
12930 [C99-based-standards] (wcstof): Expect function.
12931 [C99-based-standards] (wcstold): Likewise.
12932 [C99-based-standards] (wcstoll): Likewise.
12933 [C99-based-standards] (wcstoull): Likewise.
12934 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12935 macro-int-constant. Specify type.
12936 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12937 constraint on value.
12938 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12939 Specify type.
12940 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12941 Specify value.
12942 [ISO C standards]: Do not allow headers.
12943 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12944 wcs[abcdefghijklmnopqrstuvwxyz]*.
12945 [ISO C standards] (*_t): Do not allow.
12946 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12947 Expect function.
12948 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12949 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12950 Specify type.
12951 [ISO C standards]: Do not allow headers.
12952 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12953 is[abcdefghijklmnopqrstuvwxyz]*.
12954 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12955 to[abcdefghijklmnopqrstuvwxyz]*.
12956 [ISO C standards] (*_t): Do not allow.
12957 * conform/data/stdalign.h-data: New file.
12958 * conform/data/stdbool.h-data: Likewise.
12959 * conform/data/stdnoreturn.h-data: Likewise.
12960
7514feb8
RM
129612012-11-07 Roland McGrath <roland@hack.frob.com>
12962
12963 [BZ #14815]
12964 * manual/filesys.texi (Directory Entries): Typo fix.
12965 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12966
19b2ecfc
MS
129672012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12968
12969 * elf/elf.h (EM_AARCH64): New macro.
12970 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12971 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12972 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12973 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12974 (R_AARCH64_TLSDESC): Likewise.
12975 (NT_ARM_TLS): Likewise.
12976 (NT_ARM_HW_BREAK): Likewise.
12977 (NT_ARM_HW_WATCH): Likewise.
12978
60e235ee
JM
129792012-11-07 Joseph Myers <joseph@codesourcery.com>
12980
12981 [BZ #14811]
12982 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12983 (__ieee754_powl): Saturate nonzero exponents with absolute value
12984 below 0x1p-79 to +/- 0x1p-79.
12985 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12986 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12987 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12988 nonzero exponents with absolute value below 0x1p-32 to +/-
12989 0x1p-32.
12990 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12991 (__ieee754_powl): Saturate nonzero exponents with absolute value
12992 below 0x1p-79 to +/- 0x1p-79.
12993 * math/libm-test.inc (pow_test): Add more tests.
12994
0ab234b7
AK
129952012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12996
12997 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12998 _dl_s390_cap_flags with kernel. Increase string length.
12999 (_dl_s390_platforms): Add z196 and zEC12.
13000
45832f74
JM
130012012-11-07 Joseph Myers <joseph@codesourcery.com>
13002
13003 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13004 Change XOPEN21K to XOPEN2K.
13005
19218757
MK
130062012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13007
13008 * string/memmove.c: Use memcpy when possible.
13009
c5f45721
AJ
130102012-11-06 Andreas Jaeger <aj@suse.de>
13011
13012 * po/eo.po: Update from translation team.
13013
82477c28
JM
130142012-11-06 Joseph Myers <joseph@codesourcery.com>
13015
13016 [BZ #14793]
13017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13018 exponent and small x and y exponents, scale x or y up. Increase
13019 by 2 the exponent used in scaling up.
13020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13021 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13022 * math/libm-test.inc (fma_test): Add more tests.
13023 (fma_test_towardzero): Likewise.
13024 (fma_test_downward): Likewise.
13025 (fma_test_upward): Likewise.
13026
99252c8c
JM
130272012-11-05 Joseph Myers <joseph@codesourcery.com>
13028
acfa885f
JM
13029 [BZ #14805]
13030 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13031 fenv_t *.
13032
99252c8c
JM
13033 [BZ #14801]
13034 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13035 namespace for names of struct fields.
13036 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13037 fenv_t fields.
13038 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13039 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13040
d6d98dea
ST
130412012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13042
13043 [BZ #3665]
13044 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13045
e10bb107
TS
130462012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13047
13048 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13049 PTR_DEMANGLE.
13050
13051 [BZ #5246]
13052 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13053 PTR_DEMANGLE.
13054
a0c2940d
JM
130552012-11-04 Joseph Myers <joseph@codesourcery.com>
13056
13057 [BZ #14797]
13058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13059 definitely overflow as x * y not x * y + z.
13060 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13061 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13062 * math/libm-test.inc (fma_test): Add more tests.
13063 (fma_test_towardzero): Likewise.
13064 (fma_test_downward): Likewise.
13065 (fma_test_upward): Likewise.
13066
b830319d
TS
130672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13068
13069 [BZ #157]
13070
13071 * include/stub-tag.h: Remove file.
13072 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13073 '#include' of it.
13074 * manual/maint.texi (Porting): Don't reference it.
13075 * Makerules ($(objpfx)stubs): Likewise.
13076 * dirent/closedir.c: Don't include <stub-tag.h>.
13077 * dirent/dirfd.c: Likewise.
13078 * dirent/fdopendir.c: Likewise.
13079 * dirent/getdents.c: Likewise.
13080 * dirent/getdents64.c: Likewise.
13081 * dirent/opendir.c: Likewise.
13082 * dirent/readdir.c: Likewise.
13083 * dirent/readdir64.c: Likewise.
13084 * dirent/readdir64_r.c: Likewise.
13085 * dirent/readdir_r.c: Likewise.
13086 * dirent/rewinddir.c: Likewise.
13087 * dirent/seekdir.c: Likewise.
13088 * dirent/telldir.c: Likewise.
13089 * gmon/profil.c: Likewise.
13090 * grp/setgroups.c: Likewise.
13091 * inet/if_index.c: Likewise.
13092 * io/access.c: Likewise.
13093 * io/chdir.c: Likewise.
13094 * io/chmod.c: Likewise.
13095 * io/chown.c: Likewise.
13096 * io/close.c: Likewise.
13097 * io/dup.c: Likewise.
13098 * io/dup2.c: Likewise.
13099 * io/dup3.c: Likewise.
13100 * io/euidaccess.c: Likewise.
13101 * io/faccessat.c: Likewise.
13102 * io/fchdir.c: Likewise.
13103 * io/fchmod.c: Likewise.
13104 * io/fchmodat.c: Likewise.
13105 * io/fchown.c: Likewise.
13106 * io/fchownat.c: Likewise.
13107 * io/fcntl.c: Likewise.
13108 * io/flock.c: Likewise.
13109 * io/fstatfs.c: Likewise.
13110 * io/fstatfs64.c: Likewise.
13111 * io/fstatvfs.c: Likewise.
13112 * io/fstatvfs64.c: Likewise.
13113 * io/futimens.c: Likewise.
13114 * io/fxstat.c: Likewise.
13115 * io/fxstat64.c: Likewise.
13116 * io/fxstatat.c: Likewise.
13117 * io/fxstatat64.c: Likewise.
13118 * io/getcwd.c: Likewise.
13119 * io/isatty.c: Likewise.
13120 * io/lchmod.c: Likewise.
13121 * io/lchown.c: Likewise.
13122 * io/link.c: Likewise.
13123 * io/linkat.c: Likewise.
13124 * io/lseek.c: Likewise.
13125 * io/lseek64.c: Likewise.
13126 * io/lxstat64.c: Likewise.
13127 * io/mkdir.c: Likewise.
13128 * io/mkdirat.c: Likewise.
13129 * io/mkfifo.c: Likewise.
13130 * io/mkfifoat.c: Likewise.
13131 * io/open.c: Likewise.
13132 * io/open64.c: Likewise.
13133 * io/openat.c: Likewise.
13134 * io/openat64.c: Likewise.
13135 * io/pipe.c: Likewise.
13136 * io/pipe2.c: Likewise.
13137 * io/poll.c: Likewise.
13138 * io/posix_fadvise.c: Likewise.
13139 * io/posix_fadvise64.c: Likewise.
13140 * io/posix_fallocate.c: Likewise.
13141 * io/posix_fallocate64.c: Likewise.
13142 * io/read.c: Likewise.
13143 * io/readlink.c: Likewise.
13144 * io/readlinkat.c: Likewise.
13145 * io/rmdir.c: Likewise.
13146 * io/sendfile.c: Likewise.
13147 * io/sendfile64.c: Likewise.
13148 * io/statfs.c: Likewise.
13149 * io/statfs64.c: Likewise.
13150 * io/statvfs.c: Likewise.
13151 * io/statvfs64.c: Likewise.
13152 * io/symlink.c: Likewise.
13153 * io/symlinkat.c: Likewise.
13154 * io/ttyname.c: Likewise.
13155 * io/ttyname_r.c: Likewise.
13156 * io/umask.c: Likewise.
13157 * io/unlink.c: Likewise.
13158 * io/unlinkat.c: Likewise.
13159 * io/utime.c: Likewise.
13160 * io/utimensat.c: Likewise.
13161 * io/write.c: Likewise.
13162 * io/xmknod.c: Likewise.
13163 * io/xmknodat.c: Likewise.
13164 * io/xstat.c: Likewise.
13165 * io/xstat64.c: Likewise.
13166 * login/getpt.c: Likewise.
13167 * login/grantpt.c: Likewise.
13168 * login/unlockpt.c: Likewise.
13169 * math/e_acoshl.c: Likewise.
13170 * math/e_acosl.c: Likewise.
13171 * math/e_asinl.c: Likewise.
13172 * math/e_atan2l.c: Likewise.
13173 * math/e_atanhl.c: Likewise.
13174 * math/e_coshl.c: Likewise.
13175 * math/e_expl.c: Likewise.
13176 * math/e_fmodl.c: Likewise.
13177 * math/e_gammal_r.c: Likewise.
13178 * math/e_hypotl.c: Likewise.
13179 * math/e_j0l.c: Likewise.
13180 * math/e_j1l.c: Likewise.
13181 * math/e_jnl.c: Likewise.
13182 * math/e_lgammal_r.c: Likewise.
13183 * math/e_log10l.c: Likewise.
13184 * math/e_log2l.c: Likewise.
13185 * math/e_logl.c: Likewise.
13186 * math/e_powl.c: Likewise.
13187 * math/e_rem_pio2l.c: Likewise.
13188 * math/e_sinhl.c: Likewise.
13189 * math/e_sqrtl.c: Likewise.
13190 * math/fclrexcpt.c: Likewise.
13191 * math/fedisblxcpt.c: Likewise.
13192 * math/feenablxcpt.c: Likewise.
13193 * math/fegetenv.c: Likewise.
13194 * math/fegetexcept.c: Likewise.
13195 * math/fegetround.c: Likewise.
13196 * math/feholdexcpt.c: Likewise.
13197 * math/fesetenv.c: Likewise.
13198 * math/fesetround.c: Likewise.
13199 * math/feupdateenv.c: Likewise.
13200 * math/fgetexcptflg.c: Likewise.
13201 * math/fraiseexcpt.c: Likewise.
13202 * math/fsetexcptflg.c: Likewise.
13203 * math/ftestexcept.c: Likewise.
13204 * math/k_cosl.c: Likewise.
13205 * math/k_rem_pio2l.c: Likewise.
13206 * math/k_sinl.c: Likewise.
13207 * math/k_tanl.c: Likewise.
13208 * math/s_asinhl.c: Likewise.
13209 * math/s_atanl.c: Likewise.
13210 * math/s_cbrtl.c: Likewise.
13211 * math/s_erfl.c: Likewise.
13212 * math/s_expm1l.c: Likewise.
13213 * math/s_log1pl.c: Likewise.
13214 * math/s_tanhl.c: Likewise.
13215 * misc/acct.c: Likewise.
13216 * misc/brk.c: Likewise.
13217 * misc/chflags.c: Likewise.
13218 * misc/chroot.c: Likewise.
13219 * misc/fchflags.c: Likewise.
13220 * misc/fgetxattr.c: Likewise.
13221 * misc/flistxattr.c: Likewise.
13222 * misc/fremovexattr.c: Likewise.
13223 * misc/fsetxattr.c: Likewise.
13224 * misc/fsync.c: Likewise.
13225 * misc/ftruncate.c: Likewise.
13226 * misc/futimes.c: Likewise.
13227 * misc/futimesat.c: Likewise.
13228 * misc/getdomain.c: Likewise.
13229 * misc/getdtsz.c: Likewise.
13230 * misc/gethostid.c: Likewise.
13231 * misc/gethostname.c: Likewise.
13232 * misc/getloadavg.c: Likewise.
13233 * misc/getpagesize.c: Likewise.
13234 * misc/getsysstats.c: Likewise.
13235 * misc/getxattr.c: Likewise.
13236 * misc/gtty.c: Likewise.
13237 * misc/ioctl.c: Likewise.
13238 * misc/lgetxattr.c: Likewise.
13239 * misc/listxattr.c: Likewise.
13240 * misc/llistxattr.c: Likewise.
13241 * misc/lremovexattr.c: Likewise.
13242 * misc/lsetxattr.c: Likewise.
13243 * misc/lutimes.c: Likewise.
13244 * misc/madvise.c: Likewise.
13245 * misc/mincore.c: Likewise.
13246 * misc/mlock.c: Likewise.
13247 * misc/mlockall.c: Likewise.
13248 * misc/mmap.c: Likewise.
13249 * misc/mprotect.c: Likewise.
13250 * misc/msync.c: Likewise.
13251 * misc/munlock.c: Likewise.
13252 * misc/munlockall.c: Likewise.
13253 * misc/munmap.c: Likewise.
13254 * misc/preadv.c: Likewise.
13255 * misc/preadv64.c: Likewise.
13256 * misc/ptrace.c: Likewise.
13257 * misc/pwritev.c: Likewise.
13258 * misc/pwritev64.c: Likewise.
13259 * misc/readv.c: Likewise.
13260 * misc/reboot.c: Likewise.
13261 * misc/remap_file_pages.c: Likewise.
13262 * misc/removexattr.c: Likewise.
13263 * misc/revoke.c: Likewise.
13264 * misc/select.c: Likewise.
13265 * misc/setdomain.c: Likewise.
13266 * misc/setegid.c: Likewise.
13267 * misc/seteuid.c: Likewise.
13268 * misc/sethostid.c: Likewise.
13269 * misc/sethostname.c: Likewise.
13270 * misc/setregid.c: Likewise.
13271 * misc/setreuid.c: Likewise.
13272 * misc/setxattr.c: Likewise.
13273 * misc/sstk.c: Likewise.
13274 * misc/stty.c: Likewise.
13275 * misc/swapoff.c: Likewise.
13276 * misc/swapon.c: Likewise.
13277 * misc/sync.c: Likewise.
13278 * misc/syncfs.c: Likewise.
13279 * misc/syscall.c: Likewise.
13280 * misc/truncate.c: Likewise.
13281 * misc/ualarm.c: Likewise.
13282 * misc/usleep.c: Likewise.
13283 * misc/ustat.c: Likewise.
13284 * misc/utimes.c: Likewise.
13285 * misc/vhangup.c: Likewise.
13286 * misc/writev.c: Likewise.
13287 * posix/_exit.c: Likewise.
13288 * posix/alarm.c: Likewise.
13289 * posix/execve.c: Likewise.
13290 * posix/fexecve.c: Likewise.
13291 * posix/fork.c: Likewise.
13292 * posix/fpathconf.c: Likewise.
13293 * posix/getaddrinfo.c: Likewise.
13294 * posix/getegid.c: Likewise.
13295 * posix/geteuid.c: Likewise.
13296 * posix/getgid.c: Likewise.
13297 * posix/getgroups.c: Likewise.
13298 * posix/getlogin.c: Likewise.
13299 * posix/getlogin_r.c: Likewise.
13300 * posix/getpgid.c: Likewise.
13301 * posix/getpid.c: Likewise.
13302 * posix/getppid.c: Likewise.
13303 * posix/getresgid.c: Likewise.
13304 * posix/getresuid.c: Likewise.
13305 * posix/getsid.c: Likewise.
13306 * posix/getuid.c: Likewise.
13307 * posix/glob64.c: Likewise.
13308 * posix/nanosleep.c: Likewise.
13309 * posix/pathconf.c: Likewise.
13310 * posix/pause.c: Likewise.
13311 * posix/posix_madvise.c: Likewise.
13312 * posix/pread.c: Likewise.
13313 * posix/pread64.c: Likewise.
13314 * posix/pwrite.c: Likewise.
13315 * posix/pwrite64.c: Likewise.
13316 * posix/sched_getaffinity.c: Likewise.
13317 * posix/sched_getp.c: Likewise.
13318 * posix/sched_gets.c: Likewise.
13319 * posix/sched_primax.c: Likewise.
13320 * posix/sched_primin.c: Likewise.
13321 * posix/sched_rr_gi.c: Likewise.
13322 * posix/sched_setaffinity.c: Likewise.
13323 * posix/sched_setp.c: Likewise.
13324 * posix/sched_sets.c: Likewise.
13325 * posix/sched_yield.c: Likewise.
13326 * posix/setgid.c: Likewise.
13327 * posix/setlogin.c: Likewise.
13328 * posix/setpgid.c: Likewise.
13329 * posix/setresgid.c: Likewise.
13330 * posix/setresuid.c: Likewise.
13331 * posix/setsid.c: Likewise.
13332 * posix/setuid.c: Likewise.
13333 * posix/sleep.c: Likewise.
13334 * posix/spawni.c: Likewise.
13335 * posix/sysconf.c: Likewise.
13336 * posix/times.c: Likewise.
13337 * posix/wait.c: Likewise.
13338 * posix/wait3.c: Likewise.
13339 * posix/wait4.c: Likewise.
13340 * posix/waitpid.c: Likewise.
13341 * resolv/gai_sigqueue.c: Likewise.
13342 * resource/getpriority.c: Likewise.
13343 * resource/getrlimit.c: Likewise.
13344 * resource/getrusage.c: Likewise.
13345 * resource/nice.c: Likewise.
13346 * resource/setpriority.c: Likewise.
13347 * resource/setrlimit.c: Likewise.
13348 * resource/ulimit.c: Likewise.
13349 * rt/aio_cancel.c: Likewise.
13350 * rt/aio_fsync.c: Likewise.
13351 * rt/aio_read.c: Likewise.
13352 * rt/aio_sigqueue.c: Likewise.
13353 * rt/aio_suspend.c: Likewise.
13354 * rt/aio_write.c: Likewise.
13355 * rt/clock_getres.c: Likewise.
13356 * rt/clock_gettime.c: Likewise.
13357 * rt/clock_nanosleep.c: Likewise.
13358 * rt/clock_settime.c: Likewise.
13359 * rt/lio_listio.c: Likewise.
13360 * rt/mq_close.c: Likewise.
13361 * rt/mq_getattr.c: Likewise.
13362 * rt/mq_notify.c: Likewise.
13363 * rt/mq_open.c: Likewise.
13364 * rt/mq_receive.c: Likewise.
13365 * rt/mq_send.c: Likewise.
13366 * rt/mq_setattr.c: Likewise.
13367 * rt/mq_timedreceive.c: Likewise.
13368 * rt/mq_timedsend.c: Likewise.
13369 * rt/mq_unlink.c: Likewise.
13370 * rt/shm_open.c: Likewise.
13371 * rt/shm_unlink.c: Likewise.
13372 * rt/timer_create.c: Likewise.
13373 * rt/timer_delete.c: Likewise.
13374 * rt/timer_getoverr.c: Likewise.
13375 * rt/timer_gettime.c: Likewise.
13376 * rt/timer_settime.c: Likewise.
13377 * setjmp/__longjmp.c: Likewise.
13378 * setjmp/setjmp.c: Likewise.
13379 * signal/kill.c: Likewise.
13380 * signal/killpg.c: Likewise.
13381 * signal/raise.c: Likewise.
13382 * signal/sigaction.c: Likewise.
13383 * signal/sigaltstack.c: Likewise.
13384 * signal/sigblock.c: Likewise.
13385 * signal/sigignore.c: Likewise.
13386 * signal/sigintr.c: Likewise.
13387 * signal/signal.c: Likewise.
13388 * signal/sigpause.c: Likewise.
13389 * signal/sigpending.c: Likewise.
13390 * signal/sigqueue.c: Likewise.
13391 * signal/sigreturn.c: Likewise.
13392 * signal/sigset.c: Likewise.
13393 * signal/sigsetmask.c: Likewise.
13394 * signal/sigstack.c: Likewise.
13395 * signal/sigsuspend.c: Likewise.
13396 * signal/sigtimedwait.c: Likewise.
13397 * signal/sigvec.c: Likewise.
13398 * signal/sigwait.c: Likewise.
13399 * signal/sigwaitinfo.c: Likewise.
13400 * signal/sysv_signal.c: Likewise.
13401 * socket/accept.c: Likewise.
13402 * socket/accept4.c: Likewise.
13403 * socket/bind.c: Likewise.
13404 * socket/connect.c: Likewise.
13405 * socket/getpeername.c: Likewise.
13406 * socket/getsockname.c: Likewise.
13407 * socket/getsockopt.c: Likewise.
13408 * socket/isfdtype.c: Likewise.
13409 * socket/listen.c: Likewise.
13410 * socket/recv.c: Likewise.
13411 * socket/recvfrom.c: Likewise.
13412 * socket/recvmsg.c: Likewise.
13413 * socket/send.c: Likewise.
13414 * socket/sendmsg.c: Likewise.
13415 * socket/sendto.c: Likewise.
13416 * socket/setsockopt.c: Likewise.
13417 * socket/shutdown.c: Likewise.
13418 * socket/sockatmark.c: Likewise.
13419 * socket/socket.c: Likewise.
13420 * socket/socketpair.c: Likewise.
13421 * stdio-common/ctermid.c: Likewise.
13422 * stdio-common/cuserid.c: Likewise.
13423 * stdio-common/remove.c: Likewise.
13424 * stdio-common/rename.c: Likewise.
13425 * stdio-common/renameat.c: Likewise.
13426 * stdio-common/tempname.c: Likewise.
13427 * stdlib/getcontext.c: Likewise.
13428 * stdlib/makecontext.c: Likewise.
13429 * stdlib/setcontext.c: Likewise.
13430 * stdlib/swapcontext.c: Likewise.
13431 * stdlib/system.c: Likewise.
13432 * streams/fattach.c: Likewise.
13433 * streams/fdetach.c: Likewise.
13434 * streams/getmsg.c: Likewise.
13435 * streams/getpmsg.c: Likewise.
13436 * streams/putmsg.c: Likewise.
13437 * streams/putpmsg.c: Likewise.
13438 * sysdeps/unix/bsd/getpt.c: Likewise.
13439 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13440 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13441 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13443 Likewise.
13444 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13445 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13446 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13447 * sysvipc/msgctl.c: Likewise.
13448 * sysvipc/msgget.c: Likewise.
13449 * sysvipc/msgrcv.c: Likewise.
13450 * sysvipc/msgsnd.c: Likewise.
13451 * sysvipc/semctl.c: Likewise.
13452 * sysvipc/semget.c: Likewise.
13453 * sysvipc/semop.c: Likewise.
13454 * sysvipc/semtimedop.c: Likewise.
13455 * sysvipc/shmat.c: Likewise.
13456 * sysvipc/shmctl.c: Likewise.
13457 * sysvipc/shmdt.c: Likewise.
13458 * sysvipc/shmget.c: Likewise.
13459 * termios/tcdrain.c: Likewise.
13460 * termios/tcflow.c: Likewise.
13461 * termios/tcflush.c: Likewise.
13462 * termios/tcgetattr.c: Likewise.
13463 * termios/tcgetpgrp.c: Likewise.
13464 * termios/tcsendbrk.c: Likewise.
13465 * termios/tcsetattr.c: Likewise.
13466 * termios/tcsetpgrp.c: Likewise.
13467 * time/adjtime.c: Likewise.
13468 * time/clock.c: Likewise.
13469 * time/getitimer.c: Likewise.
13470 * time/gettimeofday.c: Likewise.
13471 * time/setitimer.c: Likewise.
13472 * time/settimeofday.c: Likewise.
13473 * time/stime.c: Likewise.
13474 * time/time.c: Likewise.
13475
134762012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13477
a20492cf
PT
13478 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13479 /usr/old/bin.
13480
72e182e3
PT
13481 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13482 instead of spaces.
13483 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13484
fbeafede
JM
134852012-11-03 Joseph Myers <joseph@codesourcery.com>
13486
5b5b04d6
JM
13487 [BZ #14796]
13488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13489 FE_TONEAREST before applying Dekker multiplication and Knuth
13490 addition. Clear inexact exceptions and check for exact zero
13491 results afterwards.
13492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13493 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13494 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13495 * math/libm-test.inc (fma_test): Add more tests.
13496 (fma_test_towardzero): Likewise.
13497 (fma_test_downward): Likewise.
13498 (fma_test_upward): Likewise.
13499 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13500 function.
13501 (libc_fesetround): New macro.
13502 (libc_fesetroundf): Likewise.
13503 (libc_fesetroundl): Likewise.
13504 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13505 function.
13506 (libc_fesetround_387): Likewise.
13507 (libc_fesetroundf): New macro.
13508 (libc_fesetround): Likewise.
13509 (libc_fesetroundl): Likewise.
13510 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13511 function.
13512 (libc_fesetroundf): New macro.
13513 (libc_fesetround): Likewise.
13514 (libc_fesetroundl): Likewise.
13515 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13516 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13517 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13518 libm_hidden_ver.
13519 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13520 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13521 libm_hidden_def.
13522 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13523 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13524 libm_hidden_ver.
13525 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13526 libm_hidden_def.
13527
fbeafede
JM
13528 [BZ #3439]
13529 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13530 integer constant usable in #if and use that to give value to enum
13531 constant.
13532 (FE_DIVBYZERO): Likewise.
13533 (FE_UNDERFLOW): Likewise.
13534 (FE_OVERFLOW): Likewise.
13535 (FE_INVALID): Likewise.
13536 (FE_INVALID_SNAN): Likewise.
13537 (FE_INVALID_ISI): Likewise.
13538 (FE_INVALID_IDI): Likewise.
13539 (FE_INVALID_ZDZ): Likewise.
13540 (FE_INVALID_IMZ): Likewise.
13541 (FE_INVALID_COMPARE): Likewise.
13542 (FE_INVALID_SOFTWARE): Likewise.
13543 (FE_INVALID_SQRT): Likewise.
13544 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13545 (FE_TONEAREST): Likewise.
13546 (FE_TOWARDZERO): Likewise.
13547 (FE_UPWARD): Likewise.
13548 (FE_DOWNWARD): Likewise.
13549 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13550 (FE_DIVBYZERO): Likewise.
13551 (FE_OVERFLOW): Likewise.
13552 (FE_UNDERFLOW): Likewise.
13553 (FE_INEXACT): Likewise.
13554 (FE_TONEAREST): Likewise.
13555 (FE_DOWNWARD): Likewise.
13556 (FE_UPWARD): Likewise.
13557 (FE_TOWARDZERO): Likewise.
13558 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13559 (FE_UNDERFLOW): Likewise.
13560 (FE_OVERFLOW): Likewise.
13561 (FE_DIVBYZERO): Likewise.
13562 (FE_INVALID): Likewise.
13563 (FE_TONEAREST): Likewise.
13564 (FE_TOWARDZERO): Likewise.
13565 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13566 (FE_OVERFLOW): Likewise.
13567 (FE_UNDERFLOW): Likewise.
13568 (FE_DIVBYZERO): Likewise.
13569 (FE_INEXACT): Likewise.
13570 (FE_TONEAREST): Likewise.
13571 (FE_TOWARDZERO): Likewise.
13572 (FE_UPWARD): Likewise.
13573 (FE_DOWNWARD): Likewise.
13574 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13575 (FE_DIVBYZERO): Likewise.
13576 (FE_OVERFLOW): Likewise.
13577 (FE_UNDERFLOW): Likewise.
13578 (FE_INEXACT): Likewise.
13579 (FE_TONEAREST): Likewise.
13580 (FE_DOWNWARD): Likewise.
13581 (FE_UPWARD): Likewise.
13582 (FE_TOWARDZERO): Likewise.
13583
105ca950
CM
135842012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13585
13586 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13587
a542b389
AS
135882012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13589
13590 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13591 commands. Quote $PWD.
13592 (blacklist_exports): Don't use remove_newlines. Replace "declare
13593 -x" by "export".
13594 (remove_newlines): Remove.
13595
f62c8abc
L
135962012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13597
13598 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13599 * stdlib/stdlib.h (atof): Moved to ...
13600 * include/bits/stdlib-float.h: Here. New file.
13601 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13602 * stdlib/bits/stdlib-float.h: New file.
13603 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13604 -mno-sse -mno-mmx.
13605 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13606 <xmmintrin.h>.
13607
0155d5b2
JM
136082012-11-02 Joseph Myers <joseph@codesourcery.com>
13609
a68d0680
JM
13610 * conform/conformtest.pl (@headers): Add fenv.h.
13611 * conform/data/fenv.h-data: New file.
13612 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13613 include of <math/fenv.h>.
13614
caf7f573
JM
13615 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13616 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13617 && !UNIX98]. Enables tests for XOPEN2K8.
13618 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13619 POSIX2008]: Likewise.
13620
6c073ad6
JM
13621 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13622 (struct rusage): Do not expect type or its members.
13623
0155d5b2
JM
13624 [BZ #3439]
13625 * math/math.h (FP_NAN): Define macro to integer constant usable in
13626 #if and use that to give value to enum constant.
13627 (FP_INFINITE): Likewise.
13628 (FP_ZERO): Likewise.
13629 (FP_SUBNORMAL): Likewise.
13630 (FP_NORMAL): Likewise.
13631
b5dcacb4
AS
136322012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13633
13634 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13635 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13636 arguments.
13637
f7934be8
RM
136382012-11-02 Roland McGrath <roland@hack.frob.com>
13639
13640 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13641 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13642 autoconf-time if not.
13643 * configure.in: Remove AC_PREREQ.
13644
d7d08bde
TMQMF
136452012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13646
13647 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13648 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13649 of the internal implementation.
13650
dcdae19a
JM
136512012-11-02 Joseph Myers <joseph@codesourcery.com>
13652
13653 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13654 except include of <misc/sys/syslog.h>.
13655
d6cffd3e
AS
136562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13657
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13659 function returns with a NULL context exit with zero.
13660
b3563932
TMQMF
136612012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13662
13663 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13664
b288a93d
L
136652012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13666
13667 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13668 (run_program_cmd): This.
13669 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13670 (tst_langinfo): New variable. Use it.
13671
a2421a68
SAS
136722012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13673
13674 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13675 floating point opcodes.
13676
6f796e1b
TS
136772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13678
7402596b
TS
13679 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13680 variable.
13681
d0d4f868
TS
13682 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13683
6f796e1b
TS
13684 * sysdeps/mach/hurd/powerpc: Remove directory.
13685 * sysdeps/mach/powerpc: Likewise.
13686
4da224a2
AS
136872012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13688
13689 * scripts/check-local-headers.sh: Ignore c++ headers.
13690
341dd673
TS
136912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13692
13693 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13694 __libc_cleanup_region_start argument.
13695
473611b2
JM
136962012-11-01 Joseph Myers <joseph@codesourcery.com>
13697
13698 [BZ #14784]
13699 [BZ #14785]
13700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13701 x * y using scaling, not as x * y + z.
13702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13703 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13704 * math/libm-test.inc (fma_test): Add more tests.
13705 (fma_test_towardzero): Likewise.
13706 (fma_test_downward): Likewise.
13707 (fma_test_upward): Likewise.
13708
4078da3d
TS
137092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13710
13711 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13712
903252aa
JM
137132012-10-31 Joseph Myers <joseph@codesourcery.com>
13714
13715 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13716 New variable.
13717
cbc818d0
TS
137182012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13719
13720 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13721
5a03cb1e
AS
137222012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13723
13724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13725 Fix sort order.
13726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13727 Likewise.
13728
90aff2ff
TMQMF
137292012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13730
13731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13732 Fix the order of the list for glibc 2.17.
13733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13734 Likewise.
13735
1818fcb7
AS
137362012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13737
13738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13739
ef82f4da
JM
137402012-10-31 Joseph Myers <joseph@codesourcery.com>
13741
16a0e2ec
JM
13742 [BZ #14610]
13743 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13744 for low part of x being zero before using __atanl (y).
13745 * math/libm-test.inc (atan2_test): Add another test.
13746
0eb69512
JM
13747 * manual/install.texi (Configuring and compiling): Document
13748 general use of test-wrapper and test-wrapper-env.
13749 * INSTALL: Regenerated.
13750
ef82f4da
JM
13751 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13752 (__fma): Do not extract and scale down low bits on after-rounding
13753 systems when result rounded to normal precision would have normal
13754 exponent.
13755 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13756 (__fmal): Do not extract and scale down low bits on after-rounding
13757 systems when result rounded to normal precision would have normal
13758 exponent.
13759 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13760 (__fmal): Do not extract and scale down low bits on after-rounding
13761 systems when result rounded to normal precision would have normal
13762 exponent.
13763 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13764 macro.
13765 (fma_test): Add more tests.
13766 (fma_test_towardzero): Likewise.
13767 (fma_test_downward): Likewise.
13768 (fma_test_upward): Likewise.
13769
954ef0d9
L
137702012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13771
13772 * sysdeps/i386/tininess.h: Renamed to ...
13773 * sysdeps/x86/tininess.h: This.
13774 * sysdeps/x86_64/tininess.h: Removed.
13775
df61ffb2
JM
137762012-10-30 Joseph Myers <joseph@codesourcery.com>
13777
13778 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13779 input. Use $(build-program-cmd).
13780 ($(objpfx)tst-array1-static.out): Likewise.
13781 ($(objpfx)tst-array2.out): Likewise.
13782 ($(objpfx)tst-array3.out): Likewise.
13783 ($(objpfx)tst-array4.out): Likewise.
13784 ($(objpfx)tst-array5.out): Likewise.
13785 ($(objpfx)tst-array5-static.out): Likewise.
13786
01767843
CM
137872012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13788
47cc1490
CM
13789 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13790 if defined.
13791
01767843
CM
13792 * nss/nsswitch.h (nss_interface_function): Provide new
13793 macro for use with NSS functions.
13794 * grp/initgroups.c: Use new macro.
13795 * nss/getXXbyYY.c: Likewise.
13796 * nss/getXXbyYY_r.c: Likewise.
13797 * nss/getXXent.c: Likewise.
13798 * nss/getXXent_r.c: Likewise.
13799 * sysdeps/posix/getaddrinfo.c: Likewise.
13800
8321aa97
AJ
138012012-10-30 Andreas Jaeger <aj@suse.de>
13802
13803 * po/ru.po: Update Russion translation from translation project.
13804
2a27fd6d
JM
138052012-10-30 Joseph Myers <joseph@codesourcery.com>
13806
8627a232
JM
13807 [BZ #14152]
13808 [BZ #14783]
13809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13810 result and shift together with sticky bit instead of replicating
13811 round-to-nearest rounding.
13812 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13814 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13815 missing underflow exceptions.
13816 (fma_test_towardzero): Add more tests.
13817 (fma_test_downward): Likewise.
13818 (fma_test_upward): Likewise.
13819
2a27fd6d
JM
13820 [BZ #14047]
13821 * sysdeps/generic/tininess.h: New file.
13822 * sysdeps/i386/tininess.h: Likewise.
13823 * sysdeps/sh/tininess.h: Likewise.
13824 * sysdeps/x86_64/tininess.h: Likewise.
13825 * stdlib/tst-strtod-underflow.c: Likewise.
13826 * stdlib/tst-tininess.c: Likewise.
13827 * stdlib/strtod_l.c: Include <tininess.h>.
13828 (round_and_return): Do not set errno for exact underflow cases.
13829 Force an underflow exception when setting errno for underflow.
13830 Determine underflow based on rounding to normal precision if
13831 TININESS_AFTER_ROUNDING.
13832 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13833 ERANGE for exact underflow cases.
13834 * stdlib/Makefile (tests): Add tst-tininess and
13835 tst-strtod-underflow.
13836 ($(objpfx)tst-tininess): Use $(link-libm).
13837 ($(objpfx)tst-strtod-underflow): Likewise.
13838
e7170363
AJ
138392012-10-30 Andreas Jaeger <aj@suse.de>
13840
e5088dc6
AJ
13841 [BZ#14767]
13842 * elf/Makefile (tests): Remove conditional for have-initfini-array
13843 since this is now always required and the variable does not exist
13844 anymore.
13845 (tests-static): Likewise.
13846 (modules-names): Likewise.
13847
e7170363 13848 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13849
13850 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13851 merged with constructor/destructor.
13852 (init_array): Likewise.
13853 * elf/tst-array2dep.c (fini_array): Likewise.
13854 (init_array): Likewise.
13855
60457d8a
MF
138562012-10-29 Mike Frysinger <vapier@gentoo.org>
13857
13858 * manual/message.texi: Delete @cartouche tags.
13859
8bece752
PT
138602012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13861
94ce799f
PT
13862 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13863 EOPNOTSUPP.
13864 * sysdeps/mach/hurd/fsync.c: Likewise.
13865
8bece752
PT
13866 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13867 [_POSIX_REALTIME_SIGNALS]: Change condition to
13868 [_POSIX_REALTIME_SIGNALS > 0].
13869
86ebe6b1
AJ
138702012-10-27 Andreas Jaeger <aj@suse.de>
13871
13872 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13873 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13874 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13875 [__WORDSIZE != 64]: Likewise.
13876
54399c08
L
138772012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13878
13879 * iconvdata/tst-table.sh: Remove ${SHELL}.
13880 * iconvdata/tst-tables.sh: Likewise.
13881
e2211bed
DM
138822012-10-25 David S. Miller <davem@davemloft.net>
13883
13884 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13885 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13886 of strtoull.
13887
f303f97c
DM
13888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13889 ifunc-impl-list.c
13890 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13891 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13892 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13893 file.
13894
1e9d84cd
RM
138952012-10-25 Roland McGrath <roland@hack.frob.com>
13896
13897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13898 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13899 __getdirentries.
13900
df381762
JM
139012012-10-25 Joseph Myers <joseph@codesourcery.com>
13902 Jim Blandy <jimb@codesourcery.com>
13903
13904 * scripts/cross-test-ssh.sh: New file.
13905 * manual/install.texi (Configuring and compiling): Document use of
13906 cross-test-ssh.sh.
13907 * INSTALL: Regenerated.
13908
bff64913
PT
139092012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13910
13911 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13912 EOPNOTSUPP.
13913
25fe8932
JM
139142012-10-25 Joseph Myers <joseph@codesourcery.com>
13915
13916 * Makeconfig (run-program-prefix): Fix comment.
13917
cc1290d0
JM
139182012-10-24 Joseph Myers <joseph@codesourcery.com>
13919 Jim Blandy <jimb@codesourcery.com>
13920
13921 * Makeconfig (test-wrapper): New variable,
13922 (test-wrapper-env): Likewise.
13923 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13924 (run-built-tests): Define to yes.
13925 (run-program-prefix): Use $(test-wrapper).
13926 (built-program-cmd): Likewise.
13927 * Rules (make-test-out): Use $(test-wrapper-env) and
13928 $(host-built-program-cmd).
13929 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13930 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13931 tst-pathopt.sh.
13932 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13933 $(test-wrapper-env) to tst-rtld-load-self.sh.
13934 ($(objpfx)order2.out): Use $(test-wrapper).
13935 ($(objpfx)tst-initorder.out): Likewise.
13936 ($(objpfx)tst-initorder2.out): Likewise.
13937 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13938 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13939 (test_wrapper_env): New variable. Use it to run ld.so.
13940 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13941 Use it to run ld.so.
13942 (test_wrapper_env): Likewise.
13943 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13944 $(test-wrapper) to run-iconv-test.sh.
13945 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13946 (ICONV): Use $test_wrapper.
13947 * posix/Makefile ($(objpfx)globtest.out): Pass
13948 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13949 globtest.sh, not $(run-program-prefix).
13950 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13951 (test_wrapper): Likewise.
13952 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13953 set together with run_via_rtld_prefix.
13954 (run_program_prefix): Define in terms of test_wrapper and
13955 run_via_rtld_prefix.
13956
6e6249d0
RM
139572012-10-24 Roland McGrath <roland@hack.frob.com>
13958
13959 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13960 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13961 Targets removed.
13962
13963 [BZ #14743]
13964 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13965 Declare __clock_getres, __clock_gettime, __clock_settime,
13966 __clock_nanosleep, and __clock_getcpuclockid.
13967 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13968 Remove librt_hidden_def (clock_gettime).
13969 * sysdeps/unix/clock_gettime.c: Likewise.
13970 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13971 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13972 * rt/clock_getres.c: Define __clock_getres as an alias.
13973 * sysdeps/posix/clock_getres.c: Likewise.
13974 * rt/clock_settime.c: Define __clock_settime as an alias.
13975 * sysdeps/unix/clock_settime.c: Likewise.
13976 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13977 * sysdeps/unix/clock_nanosleep.c: Likewise.
13978 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13979 * rt/clock-compat.c: New file.
13980 * rt/Makefile (librt-routines): Add clock-compat and move
13981 $(clock-routines) to ...
13982 (routines): ... here, new variable.
13983 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13984 Don't add get_clockfreq here.
13985 * rt/Versions (libc: GLIBC_2.17): New version set.
13986 Add clock_* symbols here.
13987 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13988 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13989 (GLIBC_2.17): Add clock_* symbols.
13990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13994 Likewise.
13995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13996 Likewise.
13997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14001 * NEWS: Mention the move.
14002
14003 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14004 Use __open, __read, __close rather than their public counterparts.
14005 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14006 (__get_clockfreq_via_cpuinfo): Likewise.
14007 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14008 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14009
14010 * config.h.in (HAVE_IFUNC): New #undef.
14011 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14012 was successful.
14013 * configure: Regenerated.
14014
0cae3f4b
MF
140152012-10-24 Mike Frysinger <vapier@gentoo.org>
14016
14017 * configure.in: Move READELF check to start of file.
14018 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14019 libc_cv_asm_gnu_indirect_function in the process.
14020 * configure: Regenerated.
14021
8175a253
MF
140222012-10-24 Mike Frysinger <vapier@gentoo.org>
14023
14024 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14025 send the output to /dev/null.
14026 (libc_cv_cc_with_libunwind): Likewise.
14027 (libc_cv_as_noexecstack): Likewise.
14028 * configure: Regenerate.
14029
0708a7d1
JM
140302012-10-24 Joseph Myers <joseph@codesourcery.com>
14031
10b40d85
JM
14032 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14033
0708a7d1
JM
14034 * posix/globtest.sh (TMPDIR): Do not set.
14035 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14036 (testout): Likewise.
14037
9fddec1a
AJ
140382012-10-24 Andreas Jaeger <aj@suse.de>
14039
3a8db22f
AJ
14040 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14041 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14042 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14043 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14044 posix_fadvise64, posix_fallocate64.
14045
9fddec1a
AJ
14046 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14047 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14048 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14049 Likewise.
14050 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14051 Likewise.
14052 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14053
14054 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14055 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14056 <bits/fcntl-linux.h>.
14057 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14058
14059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14060 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14061 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14062 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14063 [__WORDSIZE != 64]: Likewise.
14064
ebfd1bbd
JM
140652012-10-23 Joseph Myers <joseph@codesourcery.com>
14066
03ac099f
JM
14067 * Makeconfig (run-built-tests): New variable.
14068 * Rules [$(cross-compiling) = yes]: Change condition to
14069 [$(run-built-tests) = no].
14070 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14071 to [$(run-built-tests) = yes].
14072 * elf/Makefile [$(cross-compiling) = no]: Likewise
14073 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14074 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14075 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14076 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14077 * io/Makefile [$(cross-compiling) = no]: Likewise.
14078 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14079 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14080 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14081 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14082 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14083 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14084 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14085 * string/Makefile [$(cross-compiling) = no]: Likewise.
14086
ebfd1bbd
JM
14087 * posix/Makefile ($(objpfx)globtest.out): Pass
14088 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14089 $(rtld-installed-name).
14090 * posix/globtest.sh (elf_objpfx): Remove variable.
14091 (rtld_installed_name): Likewise.
14092 (library_path): Likewise.
14093 (run_program_prefix): New variable. Use for running globtest
14094 binary.
14095
166bca24
JB
140962012-10-23 Jim Blandy <jimb@codesourcery.com>
14097 Joseph Myers <joseph@codesourcery.com>
14098
14099 * Makeconfig (host-built-program-cmd): New variable.
14100 * elf/Makefile (tst-stackguard1-ARGS): Use
14101 $(host-built-program-cmd).
14102 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14103 (tst-spawn-ARGS): Likewise.
14104 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14105
88866099
JM
141062012-10-23 Joseph Myers <joseph@codesourcery.com>
14107 Jim Blandy <jimb@codesourcery.com>
14108
14109 * Makeconfig (run-via-rtld-prefix): New variable.
14110 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14111 (built-program-cmd): Likewise.
14112
b4b4c296
AJ
141132012-10-22 Andreas Jaeger <aj@suse.de>
14114
14115 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14116 __O_RSYNC if it exists, otherwise to O_SYNC.
14117
6fb54a22
JB
141182012-10-22 Jim Blandy <jimb@codesourcery.com>
14119 Joseph Myers <joseph@codesourcery.com>
14120
14121 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14122 /dev/null.
14123 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14124 from /dev/null
14125 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14126 /dev/null.
14127
481b90b9
AJ
141282012-10-22 Andreas Jaeger <aj@suse.de>
14129
2a0e2669
AJ
14130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14131 Define always.
14132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14133
76e38f9a
AJ
14134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14135 bits/fcntl-linux.h.
14136
7cd37b43
AJ
14137 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14138 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14139
481b90b9
AJ
14140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14141 to __O_LARGEFILE.
14142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14143 to __O_LARGEFILE.
14144
aba75984
JB
141452012-10-21 Jim Blandy <jimb@codesourcery.com>
14146 Joseph Myers <joseph@codesourcery.com>
14147
14148 * config.make.in (NM): New variable.
14149
88d4247f
AJ
141502012-10-21 Andreas Jaeger <aj@suse.de>
14151
14152 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14153 definitions and declarations that are provided by
14154 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14155
f2eed205
L
141562012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14157
14158 [BZ #14683]
14159 * elf/Makefile (tests-static): Add tst-leaks1-static.
14160 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14161 ($(objpfx)tst-leaks1-static): New rule.
14162 ($(objpfx)tst-leaks1-static-mem): Likewise.
14163 (tst-leaks1-static-ENV): New macro.
14164 * elf/dl-open.c (dl_open_worker): Check the main application
14165 only if SHARED is defined.
14166 * elf/tst-leaks1-static.c: New file.
14167
335e6931
AJ
141682012-10-20 Andreas Jaeger <aj@suse.de>
14169
14170 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14171 generic values for Linux.
14172 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14173 and declarations that are provided by <bits/fcntl-linux.h> and
14174 include <bits/fcntl-linux.h>.
14175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14176 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14177
ac5c94d3
RM
141782012-10-20 Roland McGrath <roland@hack.frob.com>
14179
14180 * io/fcntl.h: Move include of <bits/types.h> to the top and
14181 include it unconditionally.
14182
de54b33a
L
141832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14184
228cfb01
L
14185 * wcsmbs/Makefile (tests-ifunc): New variable.
14186 (tests): Add $(tests-ifunc).
14187 * wcsmbs/test-wcschr-ifunc.c: New file.
14188 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14189 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14190 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14191 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14192 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14193
69f07e5f
L
14194 * string/Makefile (tests-ifunc): New variable.
14195 (tests): Add $(tests-ifunc).
14196 * string/test-memccpy.c (TEST_NAME): New macro.
14197 * string/test-memchr.c (TEST_NAME): Likewise.
14198 * string/test-memcmp.c (TEST_NAME): Likewise.
14199 * string/test-memcpy.c (TEST_NAME): Likewise.
14200 * string/test-memmem.c (TEST_NAME): Likewise.
14201 * string/test-memmove.c (TEST_NAME): Likewise.
14202 * string/test-memset.c (TEST_NAME): Likewise.
14203 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14204 * string/test-stpcpy.c (TEST_NAME): Likewise.
14205 * string/test-stpncpy.c (TEST_NAME): Likewise.
14206 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14207 * string/test-strcasestr.c (TEST_NAME): Likewise.
14208 * string/test-strcat.c (TEST_NAME): Likewise.
14209 * string/test-strchr.c (TEST_NAME): Likewise.
14210 * string/test-strcmp.c(TEST_NAME): Likewise.
14211 * string/test-strcpy.c (TEST_NAME): Likewise.
14212 * string/test-strcspn.c (TEST_NAME): Likewise.
14213 * string/test-strlen.c (TEST_NAME): Likewise.
14214 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14215 * string/test-strncmp.c (TEST_NAME): Likewise.
14216 * string/test-strncpy.c (TEST_NAME): Likewise.
14217 * string/test-strnlen.c (TEST_NAME): Likewise.
14218 * string/test-strpbrk.c (TEST_NAME): Likewise.
14219 * string/test-strrchr.c (TEST_NAME): Likewise.
14220 * string/test-strspn.c (TEST_NAME): Likewise.
14221 * string/test-strstr.c (TEST_NAME): Likewise.
14222 * string/test-bcopy-ifunc.c: New file.
14223 * string/test-bzero-ifunc.c: Likewise.
14224 * string/test-memccpy-ifunc.c: Likewise.
14225 * string/test-memchr-ifunc.c: Likewise.
14226 * string/test-memcmp-ifunc.c: Likewise.
14227 * string/test-memcpy-ifunc.c: Likewise.
14228 * string/test-memmem-ifunc.c: Likewise.
14229 * string/test-memmove-ifunc.c: Likewise.
14230 * string/test-mempcpy-ifunc.c: Likewise.
14231 * string/test-memset-ifunc.c: Likewise.
14232 * string/test-rawmemchr-ifunc.c: Likewise.
14233 * string/test-stpcpy-ifunc.c: Likewise.
14234 * string/test-stpncpy-ifunc.c: Likewise.
14235 * string/test-strcasecmp-ifunc.c: Likewise.
14236 * string/test-strcasestr-ifunc.c: Likewise.
14237 * string/test-strcat-ifunc.c: Likewise.
14238 * string/test-strchr-ifunc.c: Likewise.
14239 * string/test-strchrnul-ifunc.c: Likewise.
14240 * string/test-strcmp-ifunc.c: Likewise.
14241 * string/test-strcpy-ifunc.c: Likewise.
14242 * string/test-strcspn-ifunc.c: Likewise.
14243 * string/test-strlen-ifunc.c: Likewise.
14244 * string/test-strncasecmp-ifunc.c: Likewise.
14245 * string/test-strncat-ifunc.c: Likewise.
14246 * string/test-strncmp-ifunc.c: Likewise.
14247 * string/test-strncpy-ifunc.c: Likewise.
14248 * string/test-strnlen-ifunc.c: Likewise.
14249 * string/test-strpbrk-ifunc.c: Likewise.
14250 * string/test-strrchr-ifunc.c: Likewise.
14251 * string/test-strspn-ifunc.c: Likewise.
14252 * string/test-strstr-ifunc.c: Likewise.
14253
de54b33a
L
14254 * debug/Makefile (tests-ifunc): New variable.
14255 (tests): Add $(tests-ifunc).
14256 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14257 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14258 * debug/test-stpcpy_chk-ifunc.c: New file.
14259 * debug/test-strcpy_chk-ifunc.c: Likewise.
14260
88481c16
SP
142612012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14262
14263 [BZ #13601]
14264 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14265 header is not read in.
14266
135948bd
JM
142672012-10-19 Joseph Myers <joseph@codesourcery.com>
14268
89f1c388
JM
14269 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14270 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14271 directly. Pass built executable to script as
14272 $(built-program-cmd).
14273 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14274 $testprogram without using LD_LIBRARY_PATH and $ldso.
14275
e40a0d21
JM
14276 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14277 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14278 $(rtld-installed-name).
14279 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14280 (rtld_installed_name): Likewise.
14281 (library_path): Likewise.
14282 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14283 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14284 $(run-program-prefix) to tst-tables.sh.
14285 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14286 it to run tst-table-from and tst-table-to.
14287 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14288 Pass it to tst-table.sh.
14289 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14290 $(run-program-prefix) to tst-gettext.sh.
14291 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14292 tst-translit.sh.
14293 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14294 tst-gettext2.sh.
14295 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14296 to run tst-gettext.
14297 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14298 to run tst-gettext2.
14299 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14300 to run tst-translit.
14301 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14302 $(run-program-prefix) to tst-mtrace.sh.
14303 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14304 to run tst-mtrace.
14305 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14306 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14307 $(rtld-installed-name).
14308 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14309 (rtld_installed_name): Likewise.
14310 (run_program_prefix): New variable. Use it to run wordexp-test.
14311
728e272a
JM
14312 * Makeconfig (ARCH): Remove all definitions.
14313 (machine): Likewise.
14314 [ARCH]: Remove conditional code.
14315 [!objdir]: Give error.
14316 [!objdir] (objpfx): Remove.
14317 [!objdir] (common-objpfx): Likewise.
14318 [!objdir] (common-objdir): Likewise.
14319 * configure.in (config_makefile): Remove. Hardcode Makefile in
14320 AC_CONFIG_FILES call.
14321 * configure: Regenerated.
14322
d528cdcf
JM
14323 [BZ #13888]
14324 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14325 or TMPDIR.
14326 (testout): Likewise.
14327
135948bd
JM
14328 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14329 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14330 $(rtld-installed-name).
14331 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14332 (rtld_installed_name): Likwise.
14333 (runit): Remove function.
14334 (run_getconf): New variable, Use it for running getconf binary.
14335
38c78296
L
143362012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14337
14338 [BZ #14716]
14339 * string/test-memmem.c (check_result): New function.
14340 (do_one_test): Use it.
14341 (check1): New function.
14342 (test_main): Use it.
14343
d077f65f
MT
143442012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14345
14346 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14347
ced52c71
JM
143482012-10-18 Joseph Myers <joseph@codesourcery.com>
14349
14350 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14351 (_G_LSEEK64): Likewise.
14352 (_G_MMAP64): Likewise.
14353 (_G_FSTAT64): Likewise.
14354 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14355 (_G_LSEEK64): Likewise.
14356 (_G_MMAP64): Likewise.
14357 (_G_FSTAT64): Likewise.
14358 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14359 unconditional. Call __mmap64 directly.
14360 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14361 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14362 __lseek64 directly.
14363 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14364 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14365 __mmap64 directly.
14366 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14367 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14368 __lseek64 directly.
14369 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14370 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14371 __lseek64 directly.
14372 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14373 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14374 __lseek64 directly.
14375 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14376 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14377 __fxstat64 directly.
14378 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14379 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14380 unconditional.
14381 (freopen64) [!_G_OPEN64]: Remove conditional code.
14382 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14383 unconditional.
14384 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14385 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14386 unconditional.
14387 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14388 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14389 unconditional.
14390 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14391 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14392 unconditional.
14393 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14394 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14395 unconditional.
14396 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14397 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14398 unconditional.
14399 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14400 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14401 unconditional.
14402 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14403
b741de23
SP
144042012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14405
14406 [BZ #12140]
14407 * manual/memory.texi (Malloc Tunable Parameters): Add note
14408 about free list pointers overwriting some perturb bytes.
14409 Wording suggested by Roland McGrath.
14410
f9b9d9c9
JM
144112012-10-17 Joseph Myers <joseph@codesourcery.com>
14412
14413 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14414 (lgamma_test): Likewise.
14415 (tgamma_test): Likewise.
14416
172a631a
FW
144172012-10-16 Florian Weimer <fweimer@redhat.com>
14418
14419 [BZ #14700]
14420 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14421 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14422
e9f37252
MK
144232012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14424
14425 * NEWS: Mention BZ #14716.
14426 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14427 when removing AVAILABLE1_USES_J macro.
14428
d394eb74
L
144292012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14430
14431 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14432 (__bswap_64): __uint64_t for unsigned 64-bit int.
14433
ca38dc17
AS
144342012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14435
14436 * include/string.h (memmem): Declare libc hidden alias.
14437 * string/memmem.c (memmem): Define libc hidden alias.
14438 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14439 __read, __close instead of open, read, close.
14440
9a387d1f
L
144412012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14442
ac49ecaf
L
14443 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14444 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14445 global and hidden.
14446 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14447 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14448 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14449 Likewise.
14450 (__rawmemchr_sse2): Likewise.
14451 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14452 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14453 (__strchr_sse2): Likewise.
14454 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14455 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14456 (__strcasecmp_sse2): Likewise.
14457 (__strncasecmp_sse2): Likewise.
14458 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14459 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14460 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14461 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14462 (__strrchr_sse2): Likewise.
14463 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14464 ifunc-impl-list.c.
14465 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14466 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14467 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14468 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14469 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14470 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14471 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14472 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14473 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14474 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14475 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14476 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14477 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14478 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14479 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14480 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14481 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14482 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14483 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14484 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14485 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14486 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14487 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14488 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14489 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14490 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14491 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14492 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14493 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14494 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14495
b090e8ea
L
14496 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14497 global and hidden.
14498 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14499 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14500 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14501 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14502 Likewise.
14503 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14504 Likewise.
14505 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14506 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14507 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14508 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14509 ifunc-impl-list.c.
14510 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14511 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14512 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14513 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14514 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14515 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14516 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14517 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14518 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14519 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14520 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14521 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14522 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14523 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14524 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14525 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14526 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14527 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14528 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14529 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14530 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14531 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14532 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14533 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14534 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14535 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14536 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14537 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14538 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14539 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14540 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14541 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14542 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14543 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14544 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14545 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14546 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14547 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14548 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14549 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14550 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14551
11dd4af6
L
14552 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14553 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14554 * include/ifunc-impl-list.h: New file.
14555 * misc/ifunc-impl-list.c: Likewise.
14556 * misc/Makefile (routines): Add ifunc-impl-list.
14557 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14558 * string/test-string.h: Include <ifunc-impl-list.h>.
14559 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14560 impl_array): New variables.
14561 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14562 are defined.
14563 (test_init): Call __libc_ifunc_impl_list to initialize
14564 func_list if TEST_IFUNC and TEST_NAME are defined.
14565
9a387d1f
L
14566 * string/Makefile (strop-tests): Add bcopy and bzero.
14567 * string/test-bcopy.c: New file.
14568 * string/test-bzero.c: Likewise.
14569 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14570 defined.
14571 * string/test-memset.c: Support bzero test if TEST_BZERO is
14572 defined.
14573 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14574 __libc_memmove.
14575 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14576 __libc_memset.
14577 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14578 of memset.
14579
472371b9
JM
145802012-10-10 Joseph Myers <joseph@codesourcery.com>
14581
1e4a9536
JM
14582 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14583 * configure: Regenerated.
14584
d173d12e
JM
14585 * Makeconfig (+link-static-before-libc): Don't include
14586 $(link-static-libc).
14587
472371b9
JM
14588 * libio/libio.h (_IO_pos_t): Remove.
14589
89a3ad0b
AO
145902012-10-10 Alexandre Oliva <aoliva@redhat.com>
14591
14592 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14593 McGrath.
14594
e7451425
AO
145952012-10-10 Alexandre Oliva <aoliva@redhat.com>
14596
14597 * crypt/crypt-entry.c: Include fips-private.h.
14598 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14599 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14600 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14601 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14602
4ba74a35
AO
146032012-10-10 Alexandre Oliva <aoliva@redhat.com>
14604
14605 * crypt/crypt-private.h: Include stdbool.h.
14606 (_ufc_setup_salt_r): Return bool.
14607 * crypt/crypt-entry.c: Include errno.h.
14608 (__crypt_r): Return NULL with EINVAL for bad salt.
14609 * crypt/crypt_util.c (bad_for_salt): New.
14610 (_ufc_setup_salt_r): Check that salt is long enough and within
14611 the specified alphabet.
14612 * crypt/badsalttest.c: New file.
14613 * crypt/Makefile (tests): Add it.
14614 ($(objpfx)badsalttest): New.
14615
f96f1242
MK
146162012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14617
14618 * NEWS: Add entry for BZ #14602.
14619
0e8e0c1c
JM
146202012-10-09 Joseph Myers <joseph@codesourcery.com>
14621
14622 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14623 type-generic.
14624 * math/libm-test.inc: Update comment listing what functions and
14625 macros are tested.
14626 (isgreater_test): New function.
14627 (isgreaterequal_test): Likewise.
14628 (isless_test): Likewise.
14629 (islessequal_test): Likewise.
14630 (islessgreater_test): Likewise.
14631 (isunordered_test): Likewise.
14632 (main): Call the new functions.
14633
273edc5e
RM
146342012-10-09 Roland McGrath <roland@hack.frob.com>
14635
b8493de0
RM
14636 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14637 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14638 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14639 * sysdeps/i386/configure: Regenerated.
14640 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14641 * sysdeps/mach/configure: Regenerated.
14642 * sysdeps/mach/hurd/configure: Regenerated.
14643 * sysdeps/powerpc/configure: Regenerated.
14644 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14645 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14646 * sysdeps/s390/s390-32/configure: Regenerated.
14647 * sysdeps/s390/s390-64/configure: Regenerated.
14648 * sysdeps/sh/configure: Regenerated.
14649 * sysdeps/sparc/configure: Regenerated.
14650 * sysdeps/unix/sysv/linux/configure: Regenerated.
14651 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14652 * sysdeps/x86_64/configure: Regenerated.
14653
273edc5e
RM
14654 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14655 defined. Don't check if MAP is NULL.
14656
c8450f70
JM
146572012-10-09 Joseph Myers <joseph@codesourcery.com>
14658
14659 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14660 (_G_stat64): Likewise.
14661 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14662 (_G_stat64): Likewise.
14663 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14664 instead of struct _G_stat64.
14665 * libio/fileops.c (mmap_remap_check): Likewise.
14666 (decide_maybe_mmap): Likewise.
14667 (_IO_new_file_seekoff): Likewise.
14668 (_IO_file_stat): Likewise.
14669 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14670 _G_off64_t.
14671 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14672 instead of struct _G_stat64.
14673 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14674
57e605ba
MK
146752012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14676
14677 [BZ #14602]
14678 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14679 Replace with ...
14680 (CHECK_EOL): New macro.
14681 (two_way_short_needle): Check beginning of haystack for EOL. Use
14682 CHECK_EOL.
14683 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14684 Replace with CHECK_EOL.
14685 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14686 Replace with CHECK_EOL.
14687
ef1bb361
JM
146882012-10-08 Joseph Myers <joseph@codesourcery.com>
14689
14690 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14691 type-generic.
14692 * math/libm-test.inc: Update comment listing what functions and
14693 macros are tested.
14694 (finite_test): New function.
14695 (isinf_test): Likewise.
14696 (isnan_test): Likewise.
14697 (fpclassify_test): Test subnormal input.
14698 (isfinite_test): Likewise.
14699 (isnormal_test): Likewise.
14700 (main): Call the new functions.
14701
55f11534
JN
147022012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14703
14704 [BZ #14660]
14705 * Makerules (%.dynsym): Force C locale when running
14706 $(OBJDUMP) --dynamic-syms.
14707
1ab29350
AS
147082012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14709
14710 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14711 <stdint.h>.
14712
f1ecb7ef
DM
147132012-10-06 David S. Miller <davem@davemloft.net>
14714
14715 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14716 upper 32-bits of the length value in %o2 since we use branch-on-register
14717 tests which consider the entire 64-bit register.
14718
5d41d91a
L
147192012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14720
14721 * string/test-strstr.c (check2): Add a test for page boundary.
14722
3baddb72
DM
147232012-10-05 David S. Miller <davem@davemloft.net>
14724
14725 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14726 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14727 file.
14728 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14729 sysdep_routines.
14730 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14731 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14732 and bzero when HWCAP_SPARC_CRYPTO is present.
14733
9cee5585
L
147342012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14735
d7e0dab9
L
14736 [BZ #14602]
14737 * string/test-strstr.c (check2): New function.
14738 (test_main): Call check2.
14739
03759f47
L
14740 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14741 and bug-strchr1.
14742 * string/bug-strcasestr1.c (do_test): Moved to ...
14743 * string/test-strcasestr.c (check1): Here. New function.
14744 (do_one_test): Break out result checking code into ...
14745 (check_result): This. New function.
14746 (do_one_test): Call check_result.
14747 (test_main): Call check1.
14748 * string/bug-strchr1.c (do_test): Moved to ...
14749 * string/test-strchr.c (check1): Here. New function.
14750 (do_one_test): Break out result checking code into ...
14751 (check_result): This. New function.
14752 (do_one_test): Call check_result.
14753 (test_main): Call check1.
14754 * string/bug-strstr1.c (main): Moved to ...
046f153e 14755 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14756 (do_one_test): Break out result checking code into ...
14757 (check_result): This. New function.
14758 (do_one_test): Call check_result.
14759 (test_main): Call check1.
14760 * string/bug-strcasestr1.c: Removed.
14761 * string/bug-strchr1.c: Likewise.
14762 * string/bug-strstr1.c: Likewise.
14763
53cea63e
L
14764 * elf/Makefile (dl-routines): Add hwcaps.
14765 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14766 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14767 (_dl_important_hwcaps): Moved to ...
14768 * elf/dl-hwcaps.c: Here. New file.
14769 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14770
9cee5585 14771 [BZ #14557]
bb859b06
L
14772 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14773 if IS_IN_rtld isn't defined.
14774
9cee5585
L
14775 * elf/dl-support.c (_dl_sysinfo_map): New.
14776 Include "get-dynamic-info.h" and "setup-vdso.h".
14777 (_dl_non_dynamic_init): Call setup_vdso.
14778 * elf/dynamic-link.h: Don't include <assert.h>.
14779 (elf_get_dynamic_info): Moved to ...
14780 * elf/get-dynamic-info.h: Here. New file.
14781 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14782 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14783 * elf/setup-vdso.h: Here. New file.
14784 * elf/rtld.c: Include "setup-vdso.h".
14785 (dl_main): Call setup_vdso.
14786
23c31b76
JM
147872012-10-05 Joseph Myers <joseph@codesourcery.com>
14788
28234b07
JM
14789 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14790 creal in comment listing functions tested. List finite, isinf,
14791 isnan, isless, islessequal, isgreater, isgreaterequal,
14792 islessgreater, isunordered, lgamma_r and pow10 as functions and
14793 macros not tested. Mention which functions not tested are aliases
14794 for other functions. Fix typo. Note that signs of NaNs are not
14795 tested.
14796
23c31b76
JM
14797 * scripts/config.guess: Update from config.git.
14798 * scripts/config.sub: Likewise.
14799
9043e228
RM
148002012-10-04 Roland McGrath <roland@hack.frob.com>
14801
14802 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14803 * misc/madvise.c (madvise): Renamed to __madvise.
14804 Make madvise a weak alias.
14805 * include/sys/mman.h: Declare __madvise.
14806 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14807 * sysdeps/unix/syscalls.list
14808 (madvise): Make __madvise the strong name, and madvise a weak alias.
14809 * sysdeps/unix/sysv/linux/syscalls.list
14810 (madvise, mmap): Remove redundant entries.
14811 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14812 * malloc/malloc.c (mtrim): Likewise.
14813 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14814
f57f8055
RM
148152012-10-03 Roland McGrath <roland@hack.frob.com>
14816
14817 * sysdeps/mach/hurd/dl-cache.c: File removed.
14818 * config.h.in (USE_LDCONFIG): New #undef.
14819 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14820 * configure: Regenerated.
14821 * elf/Makefile (dl-routines): Add dl-cache only under
14822 [$(use-ldconfig) = yes].
14823 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14824 cache on [USE_LDCONFIG].
14825 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14826 [USE_LDCONFIG].
14827 * elf/rtld.c (dl_main): Likewise.
14828
5bb0c10a
PT
148292012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14830
14831 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14832 _SC_LEVEL4_CACHE_LINESIZE.
14833
010188c6
RM
148342012-10-03 Roland McGrath <roland@hack.frob.com>
14835
14836 * sysdeps/unix/bsd/confstr.h: File removed.
14837
b6c5ec07
AO
148382012-10-02 Alexandre Oliva <aoliva@redhat.com>
14839
14840 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14841 sys/sdt-config.h.
14842
408223d4
RM
148432012-10-02 Roland McGrath <roland@hack.frob.com>
14844
14845 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14846 Make 'mapoff' field ElfW(Off) rather than off_t.
14847
bb9510dc
DL
148482012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14849
fc997c6e
DL
14850 * nscd/Makefile: Remove nscd-cflags and all its users.
14851 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14852 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14853
bb9510dc
DL
14854 [BZ #10631]
14855 * malloc.c (malloc_printerr): Clarify error message.
14856
05699367
L
148572012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14858
14859 [BZ #14648]
14860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14861 Set bit_FMA_Usable if FMA is supported.
14862 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14863 macro.
14864 (bit_FMA4_Usable): Updated.
14865 (index_FMA_Usable): New macro.
14866 (CPUID_FMA): Likewise
14867 (HAS_FMA): Defined with bit_FMA_Usable.
14868
51367701
RM
148692012-10-01 Roland McGrath <roland@hack.frob.com>
14870
14871 * bits/types.h (__swblk_t): Type removed.
14872 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14873 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14874 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14875 (__SWBLK_T_TYPE): Likewise.
14876 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14877 (__SWBLK_T_TYPE): Likewise.
14878 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14879 (__SWBLK_T_TYPE): Likewise.
14880 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14881 (__SWBLK_T_TYPE): Likewise.
14882
4d57bf63 148832012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14884 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14885
14886 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14887 (xdr_mapname): Use YPMAXMAP as maxsize.
14888 (xdr_peername): Use YPMAXPEER as maxsize.
14889 (xdr_keydat): Use YPAXRECORD as maxsize.
14890 (xdr_valdat): Use YPMAXRECORD as maxsize.
14891
93c65d43
RM
148922012-10-01 Roland McGrath <roland@hack.frob.com>
14893
497a03d6
RM
14894 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14895
93c65d43
RM
14896 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14897 * csu/init-first.c: ... here.
14898 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14899 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14900 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14901 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14902 * sysdeps/i386/init-first.c: File removed.
14903 * sysdeps/sh/init-first.c: File removed.
14904
bec749fd
JM
149052012-10-01 Joseph Myers <joseph@codesourcery.com>
14906
14907 [BZ #14645]
14908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14909 if x * y might underflow to zero and z is zero.
14910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14911 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14912 * math/libm-test.inc (min_subnorm_value): New variable.
14913 (fma_test): Add more tests.
14914 (fma_test_towardzero): Likewise.
14915 (fma_test_downward): Likewise
14916 (fma_test_upward): Likewise.
14917 (initialize): Set min_subnorm_value.
14918
8ec5b013
JM
149192012-09-29 Joseph Myers <joseph@codesourcery.com>
14920
14921 [BZ #14638]
14922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14923 0 + 0.
14924 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14925 mode for addition resulting in exact zero.
14926 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14928 exact 0 + 0.
14929 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14931 * math/libm-test.inc (fma_test): Add more tests.
14932 (fma_test_towardzero): New function.
14933 (fma_test_downward): Likewise.
14934 (fma_test_upward): Likewise.
14935 (main): Call the new functions.
14936
b1fa802e
DM
149372012-09-28 David S. Miller <davem@davemloft.net>
14938
14939 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14940
d3b9fd9e
RM
149412012-09-28 Roland McGrath <roland@hack.frob.com>
14942
ea4d37b3
RM
14943 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14944 instead of SIGALRM.
14945
ac51c949
RM
14946 * sysdeps/gnu/_G_config.h: Moved to ...
14947 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14948 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14949 * sysdeps/generic/_G_config.h: ... here.
14950
28c195f7
RM
14951 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14952
848917f9
RM
14953 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14954
6bacf05b
RM
14955 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14956 Conditionalize target on [libnss_test1.so-version].
14957
91363dbb
RM
14958 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14959
cc87f7d8
RM
14960 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14961 (elfobjdir): Move out of conditionals.
14962
b1c608fe
RM
14963 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14964 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14965 (__nss_lookup_function): Conditionalize label remove_from_tree on
14966 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14967
1d9a6d96
DM
149682012-09-28 David S. Miller <davem@davemloft.net>
14969
14970 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14971 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14972 file.
14973 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14974 sysdep_routines.
14975 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14976 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14977 when HWCAP_SPARC_CRYPTO is present.
14978
72581615
PT
149792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14980
14981 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14982
715a900c
JL
149832012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14984
14985 [BZ #6530]
14986 * stdio-common/vfprintf.c (process_string_arg): Revert
14987 2000-07-22 change.
14988
149892011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14990
14991 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14992 for testcase.
14993 * stdio-common/tst-sprintf.c: Include <locale.h>
14994 (main): Test sprintf's handling of incomplete multibyte
14995 characters.
14996
9bac1d86
L
149972012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14998
14999 * elf/dl-runtime.c (VERSYMIDX): Removed.
15000 * elf/dl-version.c (VERSYMIDX): Likewise.
15001 * elf/do-rel.h (VERSYMIDX): Likewise.
15002 (VALIDX): Likewise.
15003 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15004 * elf/rtld.c (VALIDX): Likewise.
15005 (ADDRIDX): Likewise.
9bac1d86
L
15006 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15007 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15008 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15009 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15010 (VALIDX): Likewise.
15011 (ADDRIDX): Likewise.
9bac1d86 15012
b31606c0
PT
150132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15014
15015 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15016
11541177
JL
150172012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15018
15019 [BZ #11438]
15020 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15021 to global scope.
15022 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15023 addresses are in the same scope as 192.0.2/24.
15024 * posix/gai.conf: Document new scope table defaults.
15025
adb26fae
SP
150262012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15027
15028 [BZ #5298]
15029 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15030 for ftell. Compute offsets from write pointers instead.
15031 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15032
4573c6b0
SP
150332012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15034
15035 [BZ #14543]
15036 * libio/Makefile (tests): New test case tst-fseek.
15037 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15038 combination works in wide mode.
15039 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15040 state when the external buffer state changes.
15041
aa9bbfe6
DM
150422012-09-27 David S. Miller <davem@davemloft.net>
15043
15044 [BZ #14376]
15045 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15046 pass reloc->r_addend in as the 'high' argument to
15047 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15048
784421e7
DM
15049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15050
c39bc8b8
PT
150512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15052
15053 * rt/tst-aio2.c: Include <pthread.h>.
15054 * rt/tst-aio3.c: Likewise.
15055
1ccc2399
SE
150562012-09-27 Steve Ellcey <sellcey@mips.com>
15057
15058 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15059
31ed4153
L
150602012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15061
25f5f885
L
15062 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15063 contents on [SHARED].
31ed4153 15064
b7bfe116
MP
150652012-09-26 Marek Polacek <polacek@redhat.com>
15066
15067 [BZ #14530]
15068 [BZ #13741]
15069 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15070 for C++ and GCC <4.3 as well as for non GCC compilers.
15071
43c4edba
MT
150722012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15073
15074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15075
6a1bf82f
RM
150762012-09-25 Roland McGrath <roland@hack.frob.com>
15077
15078 * Makefile.in (all, install): Declare with .PHONY.
15079 Reported by Michael Hope <michael.hope@linaro.org>.
15080
8ad11b9a
TMQMF
150812012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15082
15083 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15084 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15085 system header.
15086 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15087 Likewise.
15088 (sydep_routines): Add the new and the internal functions.
15089 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15090 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15092 (GLIBC_2.17): Add the new function.
15093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15094 (GLIBC_2.17): Likewise.
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15096 (GLIBC_2.17): Likewise.
15097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15098 (GLIBC_2.17): Likewise.
15099 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15100
7e2fca8d
AM
151012012-09-25 Alan Modra <amodra@gmail.com>
15102
15103 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15104 Add release barrier before setting once_control to say
15105 initialisation is done. Add hints on lwarx. Use macro in
15106 place of isync.
15107 (clear_once_control): Add release barrier.
15108
b87c4b24
JM
151092012-09-25 Joseph Myers <joseph@codesourcery.com>
15110
d032e0d2
JM
15111 [BZ #13629]
15112 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15113 specially.
15114 * math/s_clog10.c (__clog10): Likewise.
15115 * math/s_clog10f.c (__clog10f): Likewise.
15116 * math/s_clog10l.c (__clog10l): Likewise.
15117 * math/s_clogf.c (__clogf): Likewise.
15118 * math/s_clogl.c (__clogl): Likewise.
15119 * math/Makefile (libm-calls): Add x2y2m1.
15120 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15121 (__x2y2m1): Likewise.
15122 (__x2y2m1l): Likewise.
15123 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15124 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15125 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15126 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15127 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15128 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15129 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15130 * sysdeps/i386/fpu/libm-test-ulps: Update.
15131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15132
b87c4b24
JM
15133 [BZ #14621]
15134 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15135 int as type of variable DEPTH.
15136 (glob): Use size_t instead of int as type of variables NEWCOUNT
15137 and OLD_PATHC.
15138
6d3bf199
LD
151392012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15140
22bf5c17
LD
15141 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15142 Add s_sincosf-sse2.
15143 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15144 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15145 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15146 macros for using routine as __sincosf_ia32.
15147 Use macro for function declaration and weak_alias.
15148 * sysdeps/i386/fpu/libm-test-ulps: Update.
15149
15150 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15152
15153 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15154 subnormal argument.
15155 * math/s_cexpf.c (__cexpf): Likewise.
15156 * math/s_csinf.c (__csinf): Likewise.
15157 * math/s_csinhf.c (__csinhf): Likewise.
15158 * math/s_ctanf.c (__ctanf): Likewise.
15159 * math/s_ctanhf.c (__ctanhf): Likewise.
15160 * math/s_ccosh.c (__ccoshf): Likewise.
15161 * math/s_cexp.c (__cexpl): Likewise.
15162 * math/s_csin.c (__csin): Likewise.
15163 * math/s_csinh.c (__csinh): Likewise.
15164 * math/s_ctan.c (__ctan): Likewise.
15165 * math/s_ctanh.c (ctanh): Likewise.
15166 * math/s_ccoshl.c (__ccoshl): Likewise.
15167 * math/s_cexpl.c (__cexpl): Likewise.
15168 * math/s_csinl.c (__csinl): Likewise.
15169 * math/s_csinhl.c (__csinhl): Likewise.
15170 * math/s_ctanl.c (__ctanl): Likewise.
15171 * math/s_ctanhl.c (__ctanhl): Likewise.
15172
203e5603
JM
151732012-09-25 Joseph Myers <joseph@codesourcery.com>
15174
15175 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15176 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15177 (_IO_off_t): Define to __off_t, not _G_off_t.
15178 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15179 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15180 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15181 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15182 type of __dummy and __dummy2 fields.
15183 * sysdeps/generic/_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 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15191 (_G_ssize_t): Likewise.
15192 (_G_off_t): Likewise.
15193 (_G_pid_t): Likewise.
15194 (_G_uid_t): Likewise.
15195 (_G_wchar_t): Likewise.
15196 (_G_wint_t): Likewise.
15197 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15198 (_G_ssize_t): Likewise.
15199 (_G_off_t): Likewise.
15200 (_G_pid_t): Likewise.
15201 (_G_uid_t): Likewise.
15202 (_G_wchar_t): Likewise.
15203 (_G_wint_t): Likewise.
15204
9fab36eb
SP
152052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15206
15207 * malloc/arena.c: Include malloc-sysdep.h.
15208 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15209 is sufficient to shrink the heap or an unmap is needed.
15210 * sysdeps/generic/malloc-sysdep.h: New file. Define
15211 new function check_may_shrink_heap.
15212 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15213 new function check_may_shrink_heap.
15214
2b4f00d1
SP
152152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15216
15217 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15218 comments.
15219
9a9028b1
DL
152202012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15221
57c69bef
DL
15222 * catgets/test-gencat.sh: Add "set -e".
15223 * elf/tst-pathopt.sh: Likewise.
15224 * grp/tst_fgetgrent.sh: Likewise.
15225 * iconvdata/run-iconv-test.sh: Likewise.
15226 * intl/tst-gettext.sh: Likewise.
15227 * intl/tst-gettext2.sh: Likewise.
15228 * intl/tst-gettext4.sh: Likewise.
15229 * intl/tst-gettext6.sh: Likewise.
15230 * intl/tst-translit.sh: Likewise.
15231 * io/ftwtest-sh: Likewise.
15232 * libio/test-freopen.sh: Likewise.
15233 * malloc/tst-mtrace.sh: Likewise.
15234 * posix/globtest.sh: Likewise.
15235 * posix/tst-getconf.sh: Likewise.
15236 * posix/wordexp-tst.sh: Likewise.
15237 * stdio-common/tst-printf.sh: Likewise.
15238 * stdio-common/tst-unbputc.sh: Likewise.
15239 * stdlib/tst-fmtmsg.sh: Likewise.
15240 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15241 * catgets/Makefile: Do not specify -e option when running
15242 testsuite shell scripts.
15243 * elf/Makefile: Likewise.
15244 * grp/Makefile: Likewise.
15245 * iconvdata/Makefile: Likewise.
15246 * intl/Makefile: Likewise.
15247 * io/Makefile: Likewise.
15248 * libio/Makefile: Likewise.
15249 * malloc/Makefile: Likewise.
15250 * posix/Makefile: Likewise.
15251 * stdio-common/Makefile: Likewise.
15252 * stdlib/Makefile: Likewise.
15253 * sysdeps/x86_64/Makefile: Likewise.
15254
9a9028b1
DL
15255 * io/ftwtest-sh: Add copyright header.
15256 * posix/globtest.sh: Likewise.
15257 * posix/tst-getconf.sh: Likewise.
15258 * posix/wordexp-tst.sh: Likewise.
15259 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15260
ced6f16e
L
152612012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15262
94b32c39
L
15263 [BZ #13679]
15264 * Makeconfig (+link): Defined as $(+link-static) if
15265 $(build-shared) isn't yes.
15266 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15267 isn't yes.
15268 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15269
189e935b
L
15270 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15271
ced6f16e
L
15272 [BZ #14562]
15273 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15274 new chunk size with MALLOC_ALIGN_MASK.
15275
a9f8e53a
JM
152762012-09-24 Joseph Myers <joseph@codesourcery.com>
15277
15278 [BZ #5044]
15279 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15280 <rounding-mode.h>.
15281 (__printf_fphex): Determine rounding using get_rounding_mode and
15282 round_away.
15283 * stdio-common/tst-printf-round.c (struct hex_test): New
15284 structure.
15285 (hex_tests): New variable.
15286 (test_hex_in_one_mode): New function.
15287 (do_test): Also run tests for hex float output.
15288
43153109
JM
152892012-09-21 Joseph Myers <joseph@codesourcery.com>
15290
15291 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15292 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15293 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15294 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15295 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15296 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15297 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15298 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15299
8a26625d
JM
153002012-09-20 Joseph Myers <joseph@codesourcery.com>
15301
15302 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15303 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15304 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15305 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15306
f3fd569c
DL
153072012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15308
15309 [BZ #14579]
15310 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15311 mode only.
15312 * elf/tst-rtld-load-self.sh: New test.
15313 * elf/Makefile: Run it.
15314
63bbedd4
JM
153152012-09-18 Joseph Myers <joseph@codesourcery.com>
15316
15317 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15318 (tst-writev-ENV): Remove.
15319 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15320
626f8b6a
CM
153212012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15322
15323 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15324
b7aaa4d6
JM
153252012-09-17 Joseph Myers <joseph@codesourcery.com>
15326
15327 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15328 unconditional.
15329 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15330 Likewise.
15331 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15332 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15333 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15334 Likewise.
15335
65513990
L
153362012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15337
15338 [BZ #14587]
15339 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15340 * config.make.in (have-cpp-asm-debuginfo): Removed.
15341 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15342 * configure: Regenerated.
15343
784761be
JM
153442012-09-14 Joseph Myers <joseph@codesourcery.com>
15345
15346 [BZ #5044]
15347 * stdio-common/printf_fp.c: Include <stdbool.h> and
15348 <rounding-mode.h>.
15349 (___printf_fp): Determine rounding using get_rounding_mode and
15350 round_away.
15351 * stdio-common/tst-printf-round.c: New file.
15352 * stdio-common/Makefile (tests): Add tst-printf-round.
15353 (link-libm): New variable.
15354 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15355
9503345f
L
153562012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15357
15358 [BZ #14576]
15359 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15360 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15361 Likewise.
15362 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15363 Likewise.
15364
ad35fc00
JM
153652012-09-13 Joseph Myers <joseph@codesourcery.com>
15366
15367 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15368 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15369 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15370 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15371
6c9b0f68
JM
153722012-09-12 Joseph Myers <joseph@codesourcery.com>
15373
15374 [BZ #14518]
15375 * include/rounding-mode.h: New file.
15376 * sysdeps/generic/get-rounding-mode.h: Likewise.
15377 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15378 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15379 (MAX_VALUE): New macro.
15380 (MIN_VALUE): Likewise.
15381 (overflow_value): New function.
15382 (underflow_value): Likewise.
15383 (round_and_return): Use overflow_value and underflow_value to
15384 determine return values in overflow and underflow cases. Use
15385 round_away to determine rounding depending on rounding mode.
15386 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15387 determine return values in overflow and underflow cases.
15388 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15389 (struct test_results): New structure.
15390 (struct test): Use struct test_results to store expected results
15391 for all rounding modes.
15392 (TEST): Include expected results for all rounding modes.
15393 (test_in_one_mode): New function.
15394 (do_test): Use test_in_one_mode to compute and check results.
15395 Check results for all rounding modes.
15396 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15397 $(link-libm).
15398
19fcedd5
AM
153992012-12-09 Allan McRae <allan@archlinux.org>
15400
1e9d84cd 15401 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15402
8bbfd2f1
JM
154032012-09-11 Joseph Myers <joseph@codesourcery.com>
15404
15405 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15406 (_G_int32_t): Likewise.
15407 (_G_uint16_t): Likewise.
15408 (_G_uint32_t): Likewise.
15409 (_G_HAVE_BOOL): Likewise.
15410 (_G_HAVE_ATEXIT): Likewise.
15411 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15412 (_G_HAVE_IO_FILE_OPEN): Likewise.
15413 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15414 (_G_int32_t): Likewise.
15415 (_G_uint16_t): Likewise.
15416 (_G_uint32_t): Likewise.
15417 (_G_HAVE_BOOL): Likewise.
15418 (_G_HAVE_ATEXIT): Likewise.
15419 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15420 (_G_HAVE_IO_FILE_OPEN): Likewise.
15421 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15422 (_G_int32_t): Likewise.
15423 (_G_uint16_t): Likewise.
15424 (_G_uint32_t): Likewise.
15425 (_G_HAVE_BOOL): Likewise.
15426 (_G_HAVE_ATEXIT): Likewise.
15427 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15428 (_G_HAVE_IO_FILE_OPEN): Likewise.
15429
b1dc5912
L
154302012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15431
15432 * csu/libc-tls.c: Update copyright years.
15433
0e886ef9
JM
154342012-09-10 Joseph Myers <joseph@codesourcery.com>
15435
28361c5e
JM
15436 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15437 [!_G_USING_THUNKS]: Remove conditional code.
15438 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15439 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15440
0e886ef9
JM
15441 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15442 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15443 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15444 (_G_VTABLE_LABEL_PREFIX): Likewise.
15445 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15446 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15447 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15448 (_G_VTABLE_LABEL_PREFIX): Likewise.
15449 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15450 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15451 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15452 (_G_VTABLE_LABEL_PREFIX): Likewise.
15453 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15454
bcba7aa2
L
154552012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15456
15457 * libio/Makefile: Include ../Makeconfig before tests.
15458 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15459 only if $(build-shared) is yes.
15460
06585ee8
L
15461 * iconv/gconv_db.c: Update copyright years.
15462
80ccd52c
LD
154632012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15464
15465 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15466 unwind info if defined PIC. Fix special cases description.
15467 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15468
15469 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15470 DP_HI_MASK entry.
15471 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15472
691bc9c1
L
154732012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15474
3d9b46b3
L
15475 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15476
de2139a9
L
15477 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15478 is NULL.
15479
5ca78dd0
L
15480 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15481 (LDLIBS-tst-chk4): This.
15482 (LDFLAGS-tst-chk5): Renamed to ...
15483 (LDLIBS-tst-chk5): This.
15484 (LDFLAGS-tst-chk6): Renamed to ...
15485 (LDLIBS-tst-chk6): This.
15486 (LDFLAGS-tst-lfschk4): Renamed to ...
15487 (LDLIBS-tst-lfschk4): This.
15488 (LDFLAGS-tst-lfschk5): Renamed to ...
15489 (LDLIBS-tst-lfschk5): This.
15490 (LDFLAGS-tst-lfschk6): Renamed to ...
15491 (LDLIBS-tst-lfschk6): This.
15492
691bc9c1
L
15493 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15494 on $(common-objpfx)soversions.mk.
15495
65cafb1c
JM
154962012-09-07 Joseph Myers <joseph@codesourcery.com>
15497
15498 [BZ #10014]
15499 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15500 example host name.
15501
c78ab094
SP
155022012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15503
15504 * malloc/arena.c (arena_get_retry): New function that gets
15505 another arena for the caller to try its request on.
15506 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15507 current arena cannot fulfill the request.
15508 (__libc_memalign): Likewise.
15509 (__libc_memalign): Likewise.
15510 (__libc_pvalloc): Likewise.
15511 (__libc_calloc): Likewise.
15512
01f49f59
JT
155132012-09-05 John Tobey <john.tobey@gmail.com>
15514
15515 [BZ #13542]
15516 * manual/arith.texi (Operations on Complex): Fix description
15517 of carg branch cut.
15518
4c23fed5
JM
155192012-09-06 Joseph Myers <joseph@codesourcery.com>
15520
1d3c8572
JM
15521 [BZ #10014]
15522 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15523 host name.
15524
4c23fed5
JM
15525 [BZ #10038]
15526 * manual/memory.texi (Memory): Make order of menu items match
15527 order of sections.
15528
04570aaa
L
155292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15530
15531 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15532 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15533 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15534
b80af2f4
L
155352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15536
15537 * csu/libc-tls.c (static_dtv): Renamed to ...
15538 (_dl_static_dtv): This. Make it global.
15539 (_dl_initial_dtv): Removed.
15540 (__libc_setup_tls): Updated.
15541 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15542 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15543 DL_INITIAL_DTV.
15544
2abe9f15
PM
155452012-09-06 Petr Machata <pmachata@redhat.com>
15546
15547 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15548 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15549 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15550 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15551
0948c3af
L
155522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15553
15554 [BZ #14545]
15555 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15556 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15557 freeing dtv[-1].
15558
a5055ad1
L
155592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15560
15561 [BZ #14544]
15562 * Makeconfig (link-static-before-libc): Replace $(+prector)
15563 with $(+prectorT).
15564 (link-static-after-libc): Replace $(+postctor) with
15565 $(+postctorT).
15566 (link-bounded): Replace $(+prector)/$(+postctor) with
15567 $(+prectorT)/$(+postctorT).
15568 (+prectorT): New macro.
15569 (+postctorT): Likewise.
15570
ed8c2ecd
JM
155712012-09-06 Joseph Myers <joseph@codesourcery.com>
15572
15573 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15574 (round_str): Handle values above the maximum for IBM long double
15575 as inexact.
15576 * stdlib/tst-strtod-round.c (tests): Regenerated.
15577
14c996c8
AK
155782012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15579
15580 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15581 assembler flag.
15582 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15583 zarch_nohighgprs around the zarch optimized routines.
15584 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15585 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15586 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15587 for zarch.
15588
430d6ce6
DM
155892012-09-05 David S. Miller <davem@davemloft.net>
15590
15591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15592
ff04dda4
DM
15593 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15594 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15595 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15596 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15597 entries.
15598
24d4e01b
AO
155992012-09-05 Alexandre Oliva <aoliva@redhat.com>
15600
15601 * malloc/arena.c: Fold copyright years.
15602 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15603
61d58174
AO
156042012-09-05 Alexandre Oliva <aoliva@redhat.com>
15605
15606 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15607
20196a5e
AO
156082012-09-05 Alexandre Oliva <aoliva@redhat.com>
15609
15610 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15611
5c447383
AO
156122012-09-05 Alexandre Oliva <aoliva@redhat.com>
15613
15614 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15615 change internal state upon failure.
15616
fad64255
AO
156172012-09-05 Alexandre Oliva <aoliva@redhat.com>
15618
15619 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15620 * malloc/memusage.c (mmap): Likewise.
15621 (mmap64, mremap): Likewise. Adjust name in comment.
15622
1ffb8c90
SP
156232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15624
15625 * libio/fileops.c: Fix typos in comments.
15626 * libio/oldfileops.c: Likewise.
15627 * libio/wfileops.c: Likewise.
15628
6ef9cc37
SP
156292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15630
15631 [BZ #1349]
15632 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15633 (tst-malloc-usable-ENV): Set environment for test case.
15634 * malloc/hooks.c (malloc_check_get_size): New function to get
15635 requested size.
15636 * malloc/malloc.c (musable): Use malloc_check_get_size.
15637 * malloc/tst-malloc-usable.c: New test case.
15638
4d038ae3
AS
156392012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15640
15641 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15642
c4e85184
AM
156432012-09-05 Allan McRae <allan@archlinux.org>
15644
b9dafc56 15645 [BZ #13966]
c4e85184
AM
15646 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15647 determine header location.
15648 * configure: Regenerated.
15649
e1343020
AS
156502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15651
15652 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15653 float format.
15654 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15655 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15656 format.
e1343020
AS
15657 (test): Regenerate.
15658
0a9f1987
DM
156592012-09-04 David S. Miller <davem@davemloft.net>
15660
15661 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15662 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15663 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15664
29237804
FW
156652012-09-04 Florian Weimer <fweimer@redhat.com>
15666
15667 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15668 failures.
15669
edb3cb88
FW
15670 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15671
60160d83
JM
156722012-09-04 Joseph Myers <joseph@codesourcery.com>
15673
15674 [BZ #9914]
15675 * libio/iogetdelim.c: Include <limits.h>.
15676 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15677 + len + 1 would overflow.
15678
bcd6c8dc
AJ
156792012-09-03 Andreas Jaeger <aj@suse.de>
15680
15681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15682 * sysdeps/i386/fpu/libm-test-ulps: Update.
15683
4ffffbd2
LD
156842012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15685
15686 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15687 Add s_sinf-sse2, s_conf-sse2.
15688
15689 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15690 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15691 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15692 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15693
15694 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15695 for using routine as __sinf_ia32.
15696 Use macro for function declaration and weak_alias.
15697 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15698 for using routine as __cosf_ia32.
15699 Use macro for function declaration and weak_alias.
15700
15701 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15702 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15703
15704 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15705 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15707
15708 * math/libm-test.inc (cos_test): Add more test cases.
15709 (sin_test): Likewise.
15710 (sincos_test): Likewise.
15711
511fa286
AK
157122012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15713
15714 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15715 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15716 hidden.
15717 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15718
5f30cfec
L
157192012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15720
15721 [BZ #14538]
15722 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15723 first element of the GOT.
15724 (elf_machine_load_address): Return the difference between
15725 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15726
0786794f
AM
157272012-09-01 Allan McRae <allan@archlinux.org>
15728
5f30cfec
L
15729 [BZ #13412]
15730 * configure.in (AWK): Require gawk version 3.0 or later.
15731 * configure: Regenerated.
0786794f 15732
26889eac
JM
157332012-09-01 Joseph Myers <joseph@codesourcery.com>
15734
15735 * sysdeps/unix/sysv/linux/kernel-features.h
15736 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15737 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15738 [__NR_clock_getres]: Make code unconditional.
15739 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15740 (clock_getcpuclockid): Remove code left unreachable by removal of
15741 conditionals.
15742 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15743 code unconditional.
15744 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15745 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15746 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15747 Make code unconditional.
15748 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15749 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15750 * sysdeps/unix/sysv/linux/clock_settime.c
15751 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15752 conditional code.
15753 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15754 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15755
d22e28b0
L
157562012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15757
15758 [BZ #14476]
15759 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15760 scripts/test-installation.pl.
15761
15762 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15763 and $ld_so_version if it is set.
15764
050af9c4
SP
157652012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15766
15767 [BZ #14516]
15768 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15769 failure if reading from procfs failed.
15770 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15771
ad845c0b
JM
157722012-08-27 Joseph Myers <joseph@codesourcery.com>
15773
15774 * sysdeps/unix/sysv/linux/kernel-features.h
15775 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15776 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15777 Remove conditional code.
15778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15779 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15780 Remove conditional code.
15781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15782 * sysdeps/unix/sysv/linux/i386/fxstat.c
15783 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15784 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15785 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15786 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15787 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15788 * sysdeps/unix/sysv/linux/i386/lxstat.c
15789 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15791 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15792 Remove conditional code.
15793 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15794 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15795 Remove conditional code.
15796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15797 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15798 <kernel-features.h>.
15799 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15800 Remove.
15801 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15802 Remove conditional code.
15803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15804 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15805 Remove conditional.
15806
5dbf56af
MF
158072012-08-27 Mike Frysinger <vapier@gentoo.org>
15808
15809 [BZ #5400]
15810 * NEWS: Add fixed bug number.
15811
d6e70f43
JM
158122012-08-27 Joseph Myers <joseph@codesourcery.com>
15813
7efb4737
JM
15814 [BZ #14519]
15815 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15816 underflowing exponent in case of negative sign.
15817 * stdlib/tst-strtod-round-data: Add more tests.
15818 * stdlib/tst-strtod-round.c (tests): Regenerated.
15819
af92131a
JM
15820 [BZ #3479]
15821 * stdlib/strtod_l.c (NDIG): Remove.
15822 (HEXNDIG): Likewise.
15823 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15824 smallest representable value.
15825 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15826 lie within an exact representation of 1/2 ulp of the result.
15827 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15828 unconditionally.
15829 (TENS_P9_IDX): Define unconditionally.
15830 (TENS_P9_SIZE): Likewise.
15831 (TENS_P10_IDX): Likewise.
15832 (TENS_P10_SIZE): Likewise.
15833 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15834 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15835 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15836 entries for 10^2^13 and 10^2^14.
15837 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15838 (TENS_P13_IDX): Define.
15839 (TENS_P13_SIZE): Likewise.
15840 (TENS_P14_IDX): Likewise.
15841 (TENS_P14_SIZE): Likewise.
15842 (_fpioconst_pow10): Change array size to
15843 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15844 unconditional.
15845 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15846 1024]: Add entries for 10^2^13 and 10^2^14.
15847 [LAST_POW10 > _LAST_POW10]: Remove #error.
15848 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15849 (_fpioconst_pow10): Change array size to
15850 FPIOCONST_POW10_ARRAY_SIZE.
15851 * stdlib/gen-fpioconst.c: New file.
15852 * stdlib/gen-tst-strtod-round.c: Likewise.
15853 * stdlib/tst-strtod-round-data: Likewise.
15854 * stdlib/tst-strtod-round.c: Likewise.
15855 * stdlib/Makefile (tests): Add tst-strtod-round.
15856
d6e70f43
JM
15857 [BZ #14459]
15858 * stdlib/strtod_l.c: Include <stdint.h>.
15859 (NDEBUG): Do not define.
15860 (round_and_return): Change EXPONENT parameter to type intmax_t.
15861 Rearrange calculations to avoid internal overflow possibilities.
15862 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15863 Rearrange calculations to avoid internal overflow possibilities.
15864 Assert that number fits inside MPNSIZE limbs.
15865 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15866 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15867 calculations and add assertions to avoid internal overflow
15868 possibilities. Add casts to avoid signed/unsigned operations.
15869 * stdlib/tst-strtod-overflow.c: New file.
15870 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15871
1f529f7d
MP
158722012-08-25 Marek Polacek <polacek@redhat.com>
15873
15874 * time/time.h: Fix some typos in comments.
15875
59a629f1
RM
158762012-08-23 Roland McGrath <roland@hack.frob.com>
15877
15878 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15879 * posix/tst-rfc3484-2.c: Likewise.
15880 * posix/tst-rfc3484-3.c: Likewise.
15881
d3bafbc9
SM
158822012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15883
15884 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15885 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15886
4efcc022
JM
158872012-08-23 Joseph Myers <joseph@codesourcery.com>
15888
15889 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15890 #include of fxstatat64.c.
15891
3cc3ef96
RM
158922012-08-22 Roland McGrath <roland@hack.frob.com>
15893
f04e2132
RM
15894 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15895 * shadow/getspent_r.c: Likewise.
15896 * shadow/getspnam.c: Likewise.
15897 * shadow/getspnam_r.c: Likewise.
15898 * gshadow/getsgent.c: Likewise.
15899 * gshadow/getsgent_r.c: Likewise.
15900 * gshadow/getsgnam.c: Likewise.
15901 * gshadow/getsgnam_r.c: Likewise.
15902 * inet/getnetbyad.c: Likewise.
15903 * inet/getnetbyad_r.c: Likewise.
15904 * inet/getnetbynm.c: Likewise.
15905 * inet/getnetbynm_r.c: Likewise.
15906 * inet/getnetent.c: Likewise.
15907 * inet/getnetent_r.c: Likewise.
15908 * inet/getproto.c: Likewise.
15909 * inet/getproto_r.c: Likewise.
15910 * inet/getprtent.c: Likewise.
15911 * inet/getprtent_r.c: Likewise.
15912 * inet/getprtname.c: Likewise.
15913 * inet/getprtname_r.c: Likewise.
15914 * inet/getrpcbyname.c: Likewise.
15915 * inet/getrpcbyname_r.c: Likewise.
15916 * inet/getrpcbynumber.c: Likewise.
15917 * inet/getrpcbynumber_r.c: Likewise.
15918 * inet/getrpcent.c: Likewise.
15919 * inet/getrpcent_r.c: Likewise.
15920 * inet/getaliasent.c: Likewise.
15921 * inet/getaliasent_r.c: Likewise.
15922 * inet/getaliasname.c: Likewise.
15923 * inet/getaliasname_r.c: Likewise.
15924 * nscd/getgrgid_r.c: Likewise.
15925 * nscd/getgrnam_r.c: Likewise.
15926 * nscd/gethstbyad_r.c: Likewise.
15927 * nscd/gethstbynm3_r.c: Likewise.
15928 * nscd/getpwnam_r.c: Likewise.
15929 * nscd/getpwuid_r.c: Likewise.
15930 * nscd/getsrvbynm_r.c: Likewise.
15931 * nscd/getsrvbypt_r.c: Likewise.
15932 * nscd/gai.c: Likewise.
15933
c53d909c
RM
15934 * configure.in (build_nscd): New substituted variable, set
15935 by --disable-build-nscd and defaults to $use_nscd.
15936 * configure: Regenerated.
15937 * config.make.in (build-nscd): New substituted variable.
15938 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15939 Change conditional to require [$(build-nscd) = yes] as well.
15940 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15941
3cc3ef96
RM
15942 [BZ# 13696]
15943 * configure.in (use_nscd): New substituted variable, set by
15944 --disable-nscd. If enabled, define USE_NSCD.
15945 * configure: Regenerated.
15946 * config.h.in: Add USE_NSCD.
15947 * config.make.in (use-nscd): New substituted variable.
15948 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15949 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15950 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15951 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15952 (CFLAGS-getgrnam_r.c): Likewise.
15953 (CFLAGS-initgroups.c): Likewise.
15954 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15955 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15956 Variables removed.
15957 * inet/getnetgrent_r.c
15958 (nscd_setnetgrent): New function, broken out of ...
15959 (setnetgrent): ... here. Call it.
15960 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15961 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15962 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15963 * nscd/Makefile (routines, aux): Move definitions after include of
15964 Makeconfig. Conditionalize on [$(use-nscd) != no].
15965 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15966 Conditionalize on [USE_NSCD].
15967 (is_nscd, nscd_init_cb): Likewise.
15968 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15969 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15970 * nss/nss_db/db-init.c: Likewise.
15971 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15972 [USE_NSCD].
15973 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15974 (make_request): Use it.
15975 (cache_valid_p): New function.
15976 (__check_pf): Use it.
15977 * NEWS: Add item for --disable-nscd.
15978
07e51550
DL
159792012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15980
15981 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15982 to support sed >= 4.2.1-20-ga9bf076.
15983 * configure: Regenerated.
15984
35a5b08b
RM
159852012-08-22 Roland McGrath <roland@hack.frob.com>
15986
15987 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15988 Conditionalize whole body on [IREL].
15989
8479f23a
JL
159902012-08-22 Jeff Law <law@redhat.com>
15991
15992 [BZ #14505]
15993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15994 if the family is PF_UNSPEC.
15995
48da0b21
MF
159962012-08-22 Mike Frysinger <vapier@gentoo.org>
15997
15998 * Makerules (lib-version): Rename from V.
15999 (install-lib-nosubdir): Change V to lib-version.
16000
15d0da8c
WS
160012012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16002
16003 [BZ #14252]
16004 * powerpc32/power6/wcschr.c: New file.
16005 * powerpc32/power6/wcscpy.c: New file.
16006 * powerpc32/power6/wcsrchr.c: New file.
16007 * powerpc64/power6/wcschr.c: New file.
16008 * powerpc64/power6/wcscpy.c: New file.
16009 * powerpc64/power6/wcsrchr.c: New file.
16010
bcca0895
MK
160112012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16012
16013 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16014 (two_way_short_needle): Use it.
5a4aaa33
RM
16015 * string/strstr.c (AVAILABLE1_USES_J): Define.
16016 * string/strcasestr.c: Likewise.
99677e57
MK
16017
16018 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16019 array references.
16020 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16021
400726de
MK
16022 [BZ #11607]
16023 * NEWS: Add an entry.
16024 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16025 define their defaults.
16026 (two_way_short_needle): Detect end-of-string on-the-fly.
16027 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16028 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16029 * string/bug-strcasestr1.c: New test.
16030 * string/Makefile: Run it.
16031
20a71f2c
MK
160322012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16033
16034 [BZ #11607]
16035 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16036 the first character.
16037
21ad0558
RM
160382012-08-21 Roland McGrath <roland@hack.frob.com>
16039
16040 * csu/elf-init.c (__libc_csu_irel): Function removed.
16041 * csu/libc-start.c (apply_irel): New function.
16042 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16043
0e1d9911
JM
160442012-08-21 Joseph Myers <joseph@codesourcery.com>
16045
16046 * sysdeps/unix/sysv/linux/kernel-features.h
16047 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16048 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16049 <kernel-features.h>.
16050 [__NR_fadvise64_64]: Make code unconditional.
16051 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16052 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16053 !__NR_fadvise64_64)]: Likewise.
16054 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16055 !__NR_fadvise64_64))]: Likewise.
16056 [__NR_fadvise64]: Make code unconditional.
16057 [!__NR_fadvise64]: Remove conditional code.
16058 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16059 <kernel-features.h>.
16060 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16061 unconditional.
16062 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16063 conditional code.
16064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16065 not include <kernel-features.h>.
16066 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16067 unconditional.
16068 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16069 conditional code.
16070 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16071 include <kernel-features.h>.
16072 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16073 unconditional.
16074 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16075 conditional code.
16076
14a50c9d
WS
160772012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16078
16079 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16080 slight instruction rearrangements per scrollpipe analysis.
16081 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16082
c0f4faf0
RM
160832012-08-20 Roland McGrath <roland@hack.frob.com>
16084
696da859
RM
16085 * manual/syslog.texi (syslog; vsyslog, closelog):
16086 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16087 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16088
c0f4faf0
RM
16089 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16090 DSOCAPS to match condition on defining it.
16091
348363b2
JM
160922012-08-20 Joseph Myers <joseph@codesourcery.com>
16093
a35cbf28
JM
16094 * sysdeps/unix/sysv/linux/kernel-features.h
16095 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16097 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16098 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16100 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16101 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16103 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16104 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16105
445f7ecd
JM
16106 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16107 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16108
348363b2
JM
16109 * sysdeps/unix/sysv/linux/kernel-features.h
16110 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16111 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16112 unconditional.
16113 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16114 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16115 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16116 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16117 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16118 Make code unconditional.
16119 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16120 (__mmap64) [!__NR_mmap2]: Likewise.
16121 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16122 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16123 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16124 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16125 [__NR_mmap2]: Make code unconditional.
16126 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16127 (__mmap64) [!__NR_mmap2]: Likewise.
16128
bc5bc0e5
AK
161292012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16130
16131 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16132
88d506de
AJ
161332012-08-18 Andreas Jaeger <aj@suse.de>
16134
16135 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16136
493387d2
MF
161372012-08-18 Mike Frysinger <vapier@gentoo.org>
16138
16139 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16140 * include/unistd.h (__have_sock_cloexec): Likewise.
16141 (__have_pipe2): Likewise.
16142 (__have_dup3): Likewise.
16143
a277af22
MF
161442012-08-18 Mike Frysinger <vapier@gentoo.org>
16145
16146 [BZ #9685]
16147 * include/unistd.h (__have_pipe2): Change define into an extern int.
16148 (__have_dup3): Likewise.
16149 * socket/have_sock_cloexec.c: Include fcntl.h.
16150 (__have_pipe2): New variable.
16151 (__have_dup3): Likewise.
16152
fdab8fd3
MF
161532012-08-17 Mike Frysinger <vapier@gentoo.org>
16154
16155 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16156
31035e80
MP
161572012-08-17 Marek Polacek <polacek@redhat.com>
16158
16159 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16160 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16161
3bd9e993
RM
161622012-08-17 Roland McGrath <roland@hack.frob.com>
16163
c91c505f
RM
16164 * configure.in: Add AC_SUBST for sysheaders.
16165 * configure: Regenerated.
16166 * config.make.in (sysheaders): New substituted variable.
16167
7c6f9d53
RM
16168 * sysdeps/unix/mkfifo.c: Moved ...
16169 * sysdeps/posix/mkfifo.c: ... here.
16170 * sysdeps/unix/mkfifoat.c: Moved ...
16171 * sysdeps/posix/mkfifoat.c: ... here.
16172
16173 * sysdeps/unix/utime.c: Moved ...
16174 * sysdeps/posix/utime.c: ... here.
16175
16176 * sysdeps/unix/time.c: Moved ...
16177 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16178 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16179 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16180
16181 * sysdeps/unix/nice.c: Moved ...
16182 * sysdeps/posix/nice.c: ... here.
16183
16184 * sysdeps/unix/alarm.c: Moved ...
16185 * sysdeps/posix/alarm.c: ... here.
16186
3bd9e993
RM
16187 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16188
d1f09384
JL
161892012-08-17 Jeff Law <law@redhat.com>
16190
16191 * intl/Makefile (codeset_mo): New variable.
16192 ($(codeset_mo)): New target.
16193 (tst-codeset.out): Depend on that. Remove explicit rule.
16194 (tst-gettext3.out, tst-gettext5.out): Likewise.
16195 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16196 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16197 * intl/tst-codeset.sh: Remove.
16198 * intl/tst-gettext3.sh: Likewise.
16199 * intl/tst-gettext5.sh: Likewise.
16200
2ae1ae5c
RM
162012012-08-17 Roland McGrath <roland@hack.frob.com>
16202
c31fdb83
RM
16203 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16204 * sysdeps/unix/syscalls.list: ... here.
16205
a0844057
RM
16206 * sysdeps/posix/getaddrinfo.c
16207 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16208 (gaiconf_init, gaiconf_reload): Use them.
16209 [!_STATBUF_ST_NSEC]
16210 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16211 Define using time_t rather than struct timespec.
16212
750c1f2a
RM
16213 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16214 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16215 Macros removed.
16216 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16217 [!NO_THREADS].
16218 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16219 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16220 Likewise.
16221
2ae1ae5c
RM
16222 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16223 __libc_cleanup_push argument.
16224
e66a42f5
RM
16225 * bits/param.h: New file.
16226 * misc/sys/param.h: New file.
16227 * include/sys/param.h: New file.
16228 * misc/Makefile (headers): Add bits/param.h.
16229 * sysdeps/generic/sys/param.h: File removed.
16230 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16231 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16232 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16233 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16234
b7c08a66
RM
16235 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16236 last change.
16237
b2e1c562
RM
16238 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16239 [_IO_MTSAFE_IO].
16240 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16241 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16242 New macros.
16243
c75ccd4c
RM
16244 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16245 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16246 rather than -D_IO_MTSAFE_IO conditionally.
16247 * stdio-common/Makefile (CPPFLAGS): Likewise.
16248 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16249 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16250 Use $(libio-mtsafe).
16251 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16252 of -D_IO_MTSAFE_IO.
16253 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16254 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16255 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16256 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16257 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16258 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16259 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16260 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16261 (CFLAGS-fread_u_chk.c): Likewise.
16262 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16263 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16264 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16265 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16266 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16267 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16268 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16269 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16270 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16271
16272 * libio/Makefile: Test [$(libc-reentrant) = yes]
16273 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16274
16275 * Makeconfig
16276 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16277 * sysdeps/pthread/configure: File removed.
16278 * sysdeps/pthread/Makeconfig: New file.
16279 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16280 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16281
d9195db8
GB
162822012-08-16 Gary Benson <gbenson@redhat.com>
16283
16284 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16285 unmapping the first object in a namespace.
16286
86466cd9
RM
162872012-08-16 Roland McGrath <roland@hack.frob.com>
16288
16289 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16290 (__internal_setnetgrent): ... this. Add internal_function to
16291 definition. Add libc_hidden_def.
16292 (setnetgrent): Update caller.
16293 (internal_endnetgrent): Renamed to ...
16294 (__internal_endnetgrent): ... this. Add internal_function to
16295 definition. Add libc_hidden_def.
16296 (endnetgrent): Update caller.
16297 (internal_getnetgrent_r): Renamed to ...
16298 (__internal_getnetgrent_r): ... this. Add internal_function to
16299 definition. Add libc_hidden_def.
16300 (__getnetgrent_r): Update caller.
16301 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16302
c3c8283c
JM
163032012-08-16 Joseph Myers <joseph@codesourcery.com>
16304
16305 * stdlib/longlong.h: Update from GCC.
16306
db1ee0a8
RM
163072012-08-16 Roland McGrath <roland@hack.frob.com>
16308
16309 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16310 on _QL, which is set by umul_ppmm but never used.
16311 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16312 variables, which are set by GMP macros but never used.
16313 * stdio-common/_itowa.c (_itowa): Likewise.
16314 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16315 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16316
30f69637
CD
163172012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16318
16319 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16320 struct La_sh_regs is not constant.
16321 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16322 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16323 and struct La_sparc64_regs are not constant.
16324
93a78ac4
JM
163252012-08-16 Joseph Myers <joseph@codesourcery.com>
16326
16327 * sysdeps/unix/sysv/linux/kernel-features.h
16328 (__ASSUME_POSIX_TIMERS): Remove.
16329 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16330 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16331 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16332 Make code unconditional.
16333 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16334 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16335 Make code unconditional.
16336 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16337 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16338 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16339 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16340 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16341 Make code unconditional.
16342 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16343 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16344 (__libc_missing_posix_timers): Remove.
16345
dd924cd7
RM
163462012-08-15 Roland McGrath <roland@hack.frob.com>
16347
4b4f2771
RM
16348 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16349 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16350
601c888b
RM
16351 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16352
176790a7
RM
16353 * elf/dl-sym.c: Include <stdlib.h>.
16354
329bc018
RM
16355 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16356 constants, which avoids warnings in 32-bit builds.
16357
e04e272d
RM
16358 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16359 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16360
952bf94a
RM
16361 * misc/lseek.c: File moved to ...
16362 * io/lseek.c: ... here.
16363
7c99b50a
RM
16364 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16365
dd924cd7
RM
16366 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16367 shifting LEN more than 31 bits at once.
16368
b3f479a8
LD
163692012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16370
16371 [BZ #14195]
8c4ae0d4
RM
16372 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16373 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16374 * string/test-strncasecmp.c (check1): Renamed to...
16375 (bz12205): ...this.
16376 (bz14195): Add new testcase for two empty input strings and N > 0.
16377 (test_main): Call new testcase, adapt for renamed function.
16378
9c55864e
AJ
163792012-08-15 Andreas Jaeger <aj@suse.de>
16380
16381 [BZ #14090]
16382 * crypt/md5test2.c: New test, based on test supplied by Serge
16383 Belyshev <belyshev@depni.sinp.msu.ru>.
16384 * crypt/Makefile (xtests): Add md5test-giant..
16385 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16386
02dcb6c5
PE
163872012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16388
16389 [BZ #14090]
16390 * crypt/md5.c (md5_process_block): Don't assume the buffer
16391 length is less than 2**32.
16392 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16393 length is less than 2**64.
16394
a3f95dcc
RM
163952012-08-15 Roland McGrath <roland@hack.frob.com>
16396
be75d758
RM
16397 * string/str-two-way.h: Include <sys/param.h>.
16398 (MAX): Macro removed.
16399
7312ca90
RM
16400 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16401 Move #define and #undef of memmove to just before and after
16402 including <string.h>.
16403
9a0a5486
RM
16404 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16405 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16406 and after including <string.h>. Move declarations of
16407 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16408 to before #include "string/memmove.c".
16409
67cc348d
RM
16410 * include/dirent.h: Declare __getdirentries.
16411
a3f95dcc
RM
16412 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16413 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16414
ca98e171
MF
164152012-08-14 Mike Frysinger <vapier@gentoo.org>
16416
16417 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16418 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16419 * sysdeps/i386/configure: Regenerated.
16420 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16421 STABS_CURRENT_FILE, and STABS_FUN.
16422 (END): Remove call to STABS_FUN_END.
16423 (STABS_CURRENT_FILE1): Delete.
16424 (STABS_CURRENT_FILE): Likewise.
16425 (STABS_FUN): Likewise.
16426 (STABS_FUN_END): Likewise.
16427 (STABS_FUN2): Likewise.
16428 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16429 * sysdeps/x86_64/configure: Regenerated.
16430
5908bf46
RM
164312012-08-14 Roland McGrath <roland@hack.frob.com>
16432
16433 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16434 * elf/dl-lookup.c: Likewise.
5908bf46 16435
f2c05b9e
JM
164362012-08-14 Joseph Myers <joseph@codesourcery.com>
16437
16438 * sysdeps/unix/sysv/linux/kernel-features.h
16439 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16440 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16441 unconditionally.
16442 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16443 unconditionally.
16444 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16445 condition on __ASSUME_CLONE_THREAD_FLAGS.
16446
e11f5155
AJ
164472012-08-14 Andreas Jaeger <aj@suse.de>
16448
16449 * sysdeps/i386/fpu/libm-test-ulps: Update.
16450
51a9ba86
MK
164512012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16452
2fdd4f78
AJ
16453 * include/atomic.h (atomic_exchange_and_add): Split into ...
16454 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16455 New atomic macros.
51a9ba86 16456
ba6cba9e
MT
164572012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16458
16459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16460
42443a47
JL
164612012-08-13 Jeff Law <law@redhat.com>
16462
16463 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16464 null byte in the output string.
16465
121dce05
JM
164662012-08-10 Joseph Myers <joseph@codesourcery.com>
16467
16468 * sysdeps/unix/sysv/linux/kernel-features.h
16469 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16470 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16471 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16472 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16473 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16474 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16475 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16476
bf51f568
JL
164772012-08-09 Jeff Law <law@redhat.com>
16478
16479 [BZ #13939]
16480 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16481 When avoid_arena is set, don't retry in the that arena. Pick the
16482 next one, whatever it might be.
16483 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16484 (arena_lock): Pass in new parameter to arena_get2.
16485 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16486 arena_get2.
16487 (__libc_malloc): Unify retrying after main arena failure with
16488 __libc_memalign version.
16489 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16490
f85fa270
L
164912012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16492
16493 [BZ #14166]
16494 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16495 to __redirect_strstr.
16496 (__strstr_sse42): Use typeof __redirect_strstr.
16497 (__strstr_ia32): Likewise.
16498 (__libc_strstr): New prototype.
16499 (strstr): Renamed to ...
16500 (__libc_strstr): This.
16501 (strstr): New strong alias of __libc_strstr.
16502 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16503 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16504 __redirect_time.
16505 Include <time.h>.
16506 (__libc_time): New prototype.
16507 (time_ifunc): Replace time with __libc_time.
16508 (time): New strong alias and hidden definition of __libc_time.
16509 (__GI_time): Remove strong alias.
16510 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16511 Include <stddef.h>.
16512 (memmove): Redefined to __redirect_memmove.
16513 (__memmove_sse2): Use typeof __redirect_memmove.
16514 (__memmove_ssse3): Likewise.
16515 (__memmove_ssse3_back): Likewise.
16516 (__libc_memmove): New prototype.
16517 (memmove): Renamed to ...
16518 (__libc_memmove): This.
16519 (memmove): New strong alias of __libc_memmove.
16520
33b4a91e
MS
165212012-08-08 Mark Salter <msalter@redhat.com>
16522
16523 * elf/elf.h
16524 (R_MN10300_TLS_GD): Define.
16525 (R_MN10300_TLS_LD): Likewise.
16526 (R_MN10300_TLS_LDO): Likewise.
16527 (R_MN10300_TLS_GOTIE): Likewise.
16528 (R_MN10300_TLS_IE): Likewise.
16529 (R_MN10300_TLS_LE): Likewise.
16530 (R_MN10300_TLS_DTPMOD): Likewise.
16531 (R_MN10300_TLS_DTPOFF): Likewise.
16532 (R_MN10300_TLS_TPOFF): Likewise.
16533 (R_MN10300_SYM_DIFF): Likewise.
16534 (R_MN10300_ALIGN): Likewise.
16535 (R_MN10300_NUM): Update.
16536
b36137f1
JM
165372012-08-08 Joseph Myers <joseph@codesourcery.com>
16538
16539 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16540 Remove.
16541
cdd915fd
RM
165422012-08-08 Roland McGrath <roland@hack.frob.com>
16543
a2433aac
RM
16544 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16545
cdd915fd
RM
16546 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16547 sysdeps/unix -> sysdeps/posix move.
16548 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16549
bf9b740a
AM
165502012-08-07 Allan McRae <allan@archlinux.org>
16551
16552 [BZ #14303]
16553 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16554 (SUNOS_CPP): Likewise.
16555 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16556 not found.
16557 (open_input): Call CPP using execvp.
16558
93df14ee
JM
165592012-08-07 Joseph Myers <joseph@codesourcery.com>
16560
16561 * sysdeps/unix/sysv/linux/kernel-features.h
16562 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16563 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16564 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16565 (__ASSUME_WAITID_SYSCALL): Likewise.
16566 * sysdeps/unix/sysv/linux/dl-execstack.c
16567 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16568 code unconditional.
16569 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16570 conditional code.
16571 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16572 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16573 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16574 code.
16575 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16576 unconditional.
16577 [__ASSUME_WAITID_SYSCALL]: Likewise.
16578 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16579
d34689de
RM
165802012-08-07 Roland McGrath <roland@hack.frob.com>
16581
a281decc
RM
16582 * sysdeps/unix/closedir.c: Renamed to ...
16583 * sysdeps/posix/closedir.c: ... here.
16584 * sysdeps/unix/dirfd.c: Renamed to ...
16585 * sysdeps/posix/dirfd.c: ... here.
16586 * sysdeps/unix/dirstream.h: Renamed to ...
16587 * sysdeps/posix/dirstream.h: ... here.
16588 * sysdeps/unix/fdopendir.c: Renamed to ...
16589 * sysdeps/posix/fdopendir.c: ... here.
16590 * sysdeps/unix/opendir.c: Renamed to ...
16591 * sysdeps/posix/opendir.c: ... here.
16592 * sysdeps/unix/readdir.c: Renamed to ...
16593 * sysdeps/posix/readdir.c: ... here.
16594 * sysdeps/unix/readdir_r.c: Renamed to ...
16595 * sysdeps/posix/readdir_r.c: ... here.
16596 * sysdeps/unix/rewinddir.c: Renamed to ...
16597 * sysdeps/posix/rewinddir.c: ... here.
16598 * sysdeps/unix/seekdir.c: Renamed to ...
16599 * sysdeps/posix/seekdir.c: ... here.
16600 * sysdeps/unix/telldir.c: Renamed to ...
16601 * sysdeps/posix/telldir.c: ... here.
16602 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16603 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16604 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16605 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16606
22895b47
RM
16607 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16608 * bits/fcntl.h: ... here.
16609
707a53b6
RM
16610 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16611 not 0.
16612 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16613 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16614 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16615 (struct flock): Move l_start, l_len to the beginning.
16616 Use __pid_t for l_pid.
16617 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16618 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16619 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16620 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16621 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16622 [__USE_LARGEFILE64] (struct flock64): New type.
16623 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16624
f0bd3e25
RM
16625 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16626 * bits/dirent.h: ... here.
16627
d34689de
RM
16628 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16629 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16630
6dad2c06
JM
166312012-08-07 Joseph Myers <joseph@codesourcery.com>
16632
16633 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16634 Change from 2.6.0 to 2.6.16.
16635 * sysdeps/unix/sysv/linux/configure: Regenerated.
16636 * sysdeps/unix/sysv/linux/kernel-features.h
16637 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16638 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16639 version.
16640 (__ASSUME_UTIMES): Likewise.
16641 (__ASSUME_CLONE_STOPPED): Remove.
16642 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16643 architectures, not kernel version.
16644 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16645 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16646 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16647 (__ASSUME_WAITID_SYSCALL): Likewise.
16648 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16649 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16650 * README: State 2.6.16 as minimum Linux kernel version. Do not
16651 refer to older versions.
16652
03af9520
RM
166532012-08-06 Roland McGrath <roland@hack.frob.com>
16654
8e49df1d
RM
16655 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16656 Define alphasort64 as an alias.
16657 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16658 Define versionsort64 as an alias.
16659 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16660 Define scandir64 as an alias.
16661 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16662 Define scandirat64 as an alias.
16663 * dirent/alphasort64.c (alphasort64):
16664 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16665 * dirent/versionsort64.c: Likewise.
16666 * dirent/scandir64.c: Likewise.
16667 * dirent/scandirat64.c: Likewise.
16668 * sysdeps/wordsize-64/alphasort.c: File removed.
16669 * sysdeps/wordsize-64/alphasort64.c: File removed.
16670 * sysdeps/wordsize-64/scandir.c: File removed.
16671 * sysdeps/wordsize-64/scandir64.c: File removed.
16672 * sysdeps/wordsize-64/scandirat.c: File removed.
16673 * sysdeps/wordsize-64/scandirat64.c: File removed.
16674 * sysdeps/wordsize-64/versionsort.c: File removed.
16675 * sysdeps/wordsize-64/versionsort64.c: File removed.
16676 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16677 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16678 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16679 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16680 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16681 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16682 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16683 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16684
16685 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16687 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16688 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16689 [defined __arch64__ || defined __sparcv9]
16690 (__INO_T_MATCHES_INO64_T): New macro.
16691 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16692 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16693 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16694 * sysdeps/unix/sysv/linux/bits/dirent.h
16695 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16696 (_DIRENT_MATCHES_DIRENT64): New macro.
16697
03af9520
RM
16698 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16699 Define lockf64 as an alias.
16700 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16701 Define fseeko64 as an alias.
16702 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16703 Define ftello64 as an alias.
16704 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16705 Define _IO_fgetpos64 and fgetpos64 as aliases.
16706 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16707 Define _IO_fsetpos64 and fsetpos64 as aliases.
16708 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16709 Conditionalize body on this.
16710 * libio/fseeko64.c: Likewise.
16711 * libio/ftello64.c: Likewise.
16712 * libio/iofgetpos64.c: Likewise.
16713 * libio/iofsetpos64.c: Likewise.
16714 * sysdeps/wordsize-64/lockf.c: File removed.
16715 * sysdeps/wordsize-64/lockf64.c: File removed.
16716 * sysdeps/wordsize-64/fseeko.c: File removed.
16717 * sysdeps/wordsize-64/fseeko64.c: File removed.
16718 * sysdeps/wordsize-64/ftello.c: File removed.
16719 * sysdeps/wordsize-64/ftello64.c: File removed.
16720 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16721 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16722 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16723 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16724 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16725 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16726 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16727 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16728 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16729 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16730 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16731 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16732 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16733 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16734
16735 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16737 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16739 [defined __arch64__ || defined __sparcv9]
16740 (__OFF_T_MATCHES_OFF64_T): New macro.
16741 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16742 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16743 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16744 (__OFF_T_MATCHES_OFF64_T): New macro.
16745
c5757acd
L
167462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16747
16748 * stdlib/secure-getenv.c (__secure_getenv): Replace
16749 GLIBC_2_16 with GLIBC_2_17.
16750
3a31811e
L
167512012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16752
16753 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16754 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16755
faa2bccb
DM
167562012-08-03 David S. Miller <davem@davemloft.net>
16757
16758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16759
85fe1997
JM
167602012-08-03 Joseph Myers <joseph@codesourcery.com>
16761
16762 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16763 Remove.
16764 (__ASSUME_CORRECT_SI_PID): Likewise.
16765 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16766 (__ASSUME_TMPFS_NAME): Likewise.
16767 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16768 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16769 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16770 (HAVE_AUX_SECURE): Make definition unconditional.
16771 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16772 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16773
4f75b7a0
RM
167742012-08-03 Roland McGrath <roland@hack.frob.com>
16775
16776 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16777 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16778 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16779 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16780 __eloop_threshold instead of SYMLOOP_MAX.
16781
16782 * sysdeps/generic/eloop-threshold.h: New file.
16783 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16784 of MAXSYMLINKS.
16785 * elf/chroot_canon.c (chroot_canon): Likewise.
16786
7aab07e4
JM
167872012-08-03 Joseph Myers <joseph@codesourcery.com>
16788
16789 [BZ #13717]
16790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16791 Change to 2.6.0 everywhere.
16792 * sysdeps/unix/sysv/linux/configure: Regenerated.
16793 * sysdeps/unix/sysv/linux/kernel-features.h
16794 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16795 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16796 kernel versions.
16797 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16798 (__ASSUME_FUTEX_REQUEUE): Remove.
16799 (__ASSUME_STATFS64): Define unconditionally.
16800 (__ASSUME_AT_SECURE): Likewise.
16801 (__ASSUME_CORRECT_SI_PID): Likewise.
16802 (__ASSUME_TGKILL): Define without depending on kernel version for
16803 i386.
16804 (__ASSUME_UTIMES): Likewise.
16805 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16806 kernel version.
16807 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16808 (__ASSUME_TMPFS_NAME): Likewise.
16809 * README: Update reference to Linux kernel versions.
16810
b67e9372
MP
168112012-08-02 Marek Polacek <polacek@redhat.com>
16812
1f529f7d 16813 [BZ# 14150]
b67e9372
MP
16814 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16815 libc_cv_asm_type_prefix with %.
16816 * configure: Regenerated.
d2441631
RM
16817 * include/libc-symbols.h: Remove comment about
16818 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16819 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16820 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16821 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16822 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16823 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16824 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16825 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16826 * elf/tst-unique2mod1.c: Likewise.
16827 * elf/tst-unique1mod2.c: Likewise.
16828 * elf/tst-unique1mod1.c: Likewise.
16829 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16830 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16831 Replace ASM_TYPE_DIRECTIVE with .type.
16832 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16833 * sysdeps/i386/sysdep.h: Likewise.
16834 * sysdeps/x86_64/sysdep.h: Likewise.
16835 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16837 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16838 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16839 * sysdeps/powerpc/powerpc32/sysdep.h:
16840 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16841 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16842 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16843 * sysdeps/i386/fpu/e_powf.S: Likewise.
16844 * sysdeps/i386/fpu/e_expl.S: Likewise.
16845 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16846 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16847 * sysdeps/i386/fpu/e_pow.S: Likewise.
16848 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16849 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16850 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16851 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16852 * sysdeps/i386/fpu/e_log2.S: Likewise.
16853 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16854 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16855 * sysdeps/i386/fpu/e_powl.S: Likewise.
16856 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16857 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16858 * sysdeps/i386/fpu/e_logl.S: Likewise.
16859 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16860 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16861 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16862 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16863 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16864 * sysdeps/i386/fpu/e_log.S: Likewise.
16865 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16866 * sysdeps/i386/fpu/e_logf.S: Likewise.
16867 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16868 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16869 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16870 * sysdeps/i386/fpu/e_log10.S: Likewise.
16871 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16872 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16873 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16874 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16875 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16876 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16877 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16878 * sysdeps/i386/i686/strtok.S: Likewise.
16879 * sysdeps/i386/i386-mcount.S: Likewise.
16880 * sysdeps/i386/strtok.S: Likewise.
16881 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16882 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16883 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16884 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16885 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16886 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16887 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16888 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16889 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16890 * sysdeps/x86_64/_mcount.S: Likewise.
16891 * sysdeps/x86_64/strtok.S: Likewise.
16892 * sysdeps/sh/_mcount.S: Likewise.
16893
2747bf9a
RM
168942012-08-01 Roland McGrath <roland@hack.frob.com>
16895
16896 * libio/iofopen.c: Include <fcntl.h>.
16897 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16898 (_IO_fopen64, fopen64): Define as aliases.
16899 * libio/iofopen64.c: Include <fcntl.h>.
16900 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16901 Conditionalize body on this.
16902 * sysdeps/wordsize-64/iofopen.c: File removed.
16903 * sysdeps/wordsize-64/iofopen64.c: File removed.
16904
3fb791b8
MP
169052012-08-01 Marek Polacek <polacek@redhat.com>
16906
16907 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16908 Use dlfcn directly instead of a variable.
16909 (binfmt-subdir): Do not define.
16910 (dlfcn): Likewise.
16911
a9f1039f
JM
169122012-08-01 Joseph Myers <joseph@codesourcery.com>
16913
23bddc06
JM
16914 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16915 Remove all definitions.
16916 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16917 <kernel-features.h>.
16918 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16919 (miss_F_GETOWN_EX): Remove all definitions.
16920 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16921 macro definition.
16922 [!__ASSUME_FCNTL64]: Remove conditional code.
16923 [__ASSUME_FCNTL64]: Make code unconditional.
16924 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16925 <kernel-features.h>.
16926 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16927 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16928 (lockf64) [__NR_fcntl64]: Make code unconditional.
16929 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16930
a9f1039f
JM
16931 * sysdeps/unix/sysv/linux/kernel-features.h
16932 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16933 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16934 Make code unconditional.
16935 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16936 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16938 [__NR_vfork]: Make code unconditional.
16939 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16940 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16942 [__NR_vfork]: Make code unconditional.
16943 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16944 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16945
09c0ee5f
RM
169462012-08-01 Roland McGrath <roland@hack.frob.com>
16947
48aec5b9
RM
16948 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16949 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16950
cd97c966
RM
16951 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16952 Define mkstemp64 as an alias.
3f55550c
RM
16953 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16954 Define mkstemps64 as an alias.
cd97c966
RM
16955 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16956 Define mkostemp64 as an alias.
b8625cfc
RM
16957 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16958 Define mkostemps64 as an alias.
cd97c966
RM
16959 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16960 Conditionalize body on this.
16961 * misc/mkostemp64.c: Likewise.
b8625cfc 16962 * misc/mkostemps64.c: Likewise.
3f55550c 16963 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16964 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16965 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16966 * sysdeps/wordsize-64/mkostemp.c: File removed.
16967 * sysdeps/wordsize-64/mkstemp.c: File removed.
16968 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16969 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16970 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16971 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16972
09c0ee5f
RM
16973 [BZ #14138]
16974 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16975 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16976 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16977 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16978
16979 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16980 compat_symbol macros from <shlib-compat.h> rather than the underlying
16981 default_symbol_version and symbol_version macros, so that DEFAULT
16982 lines in shlib-versions are respected.
16983 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16984
7e66ee51
FW
169852012-08-01 Florian Weimer <fweimer@redhat.com>
16986
16987 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16988 Declare with warn_unused_result.
16989 (setgid, setregid, setegid, setresgid): Likewise.
16990 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16991 Likewise.
16992 * WUR-REPORT: Remove set*id functions.
16993
d2a54255
PT
169942012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16995
16996 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16997
7ecdb005
RM
169982012-07-31 Roland McGrath <roland@hack.frob.com>
16999
b4180a5e 17000 [BZ #10191]
789bd351
RM
17001 * include/sys/socket.h (__libc_accept, __libc_accept4):
17002 Add attribute_hidden.
17003 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17004
40ce302d
RM
17005 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17006 use of PTR_MANGLE.
17007 * inet/getnetgrent_r.c (setup): Likewise.
17008
7ecdb005
RM
17009 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17010
e2eabb2c
DM
170112012-07-31 David S. Miller <davem@davemloft.net>
17012
17013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17014
d0419dbf
JM
170152012-07-31 Joseph Myers <joseph@codesourcery.com>
17016
17017 [BZ #13629]
17018 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17019 value between 1.0 and 2.0 and smaller part has absolute value less
17020 than 1.0.
17021 * math/s_clog10.c (__clog10): Likewise.
17022 * math/s_clog10f.c (__clog10f): Likewise.
17023 * math/s_clog10l.c (__clog10l): Likewise.
17024 * math/s_clogf.c (__clogf): Likewise.
17025 * math/s_clogl.c (__clogl): Likewise.
17026 * math/libm-test.inc (clog_test): Add more tests.
17027 (clog10_test): Likewise.
17028 * sysdeps/i386/fpu/libm-test-ulps: Update.
17029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17030
2bc13872
FW
170312012-07-31 Florian Weimer <fweimer@redhat.com>
17032
17033 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17034 Exit with zero in case no suitable GID is found, and write a
17035 message to standard error.
17036
bea9b193
RM
170372012-07-30 Roland McGrath <roland@hack.frob.com>
17038
17039 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17040 rather than to 1.
17041 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17042 (MAXPATHLEN): Removed.
17043 (NOGROUP, NODEV): New macros.
17044 (setbit, clrbit, isset, isclr): New macros.
17045 (howmany, roundup, powerof2): New macros.
17046 (DEV_BSIZE): New macro.
17047
17048 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17049 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17050
17051 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17052 definition on [!__NO_LONG_DOUBLE_MATH].
17053
17054 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17055 PTR_MANGLE and PTR_DEMANGLE.
17056
17057 * socket/accept4.c (accept4): Rename to __libc_accept4.
17058 Define accept4 as a weak alias.
17059
17060 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17061 on [_DIRENT_HAVE_D_TYPE].
17062 * io/ftw.c (ftw_dir): Likewise.
17063
17064 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17065
17066 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17067
17068 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17069 Use the BSD numbers rather than the arbitrary ones we had.
17070 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17071 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17072 (SIGXCPU, SIGXFSZ): New macros.
17073 (_NSIG): Now 32.
17074
17075 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17076 initializer on [_LIBC_REENTRANT].
17077
17078 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17079 definitions inside [_POSIX_MAPPED_FILES].
17080
17081 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17082
17083 * dirent/opendir.c: Include <fcntl.h>.
17084
17085 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17086 (__libc_getspecific): Likewise.
17087 (__libc_key_create): Likewise.
17088
17089 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17090 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17091 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17092 (tmpfile64): Define as alias.
17093 * sysdeps/wordsize-64/tmpfile.c: File removed.
17094 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17095 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17096 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17097
17098 * stdio-common/vfscanf.c: Include <stdbool.h>.
17099 * nss/makedb.c: Likewise.
17100 * stdio-common/_i18n_number.h: Likewise.
17101 * argp/argp-help.c: Likewise.
17102 * posix/wordexp.c: Likewise.
17103 * sysdeps/posix/spawni.c: Likewise.
17104 * nss/nss_files/files-initgroups.c: Likewise.
17105 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17106 * nss/nss_files/files-initgroups.c: Likewise.
17107 * nss/nss_db/db-netgrp.c: Likewise.
17108 * nss/nss_db/db-initgroups.c: Likewise.
17109 * io/fchmodat.c: Include <sys/stat.h>.
17110
17111 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17112 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17113
17114 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17115 [HAVE_MMAP].
17116
17117 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17118 Add multiple inclusion protection.
17119
e5abc686
DM
171202012-07-27 David S. Miller <davem@davemloft.net>
17121
17122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17123
815e6fa3
GB
171242012-07-27 Gary Benson <gbenson@redhat.com>
17125
17126 [BZ #14298]
17127 * elf/rtld.c: Include <stap-probe.h>.
17128 (dl_main): Added static probes "init_start" and "init_complete".
17129 * elf/dl-load.c: Include <stap-probe.h>.
17130 (lose): Take new parameter "nsid".
17131 Added static probe "map_failed".
17132 (_dl_map_object_from_fd): Pass namespace id to lose.
17133 Added static probe "map_start".
17134 (open_verify): Pass namespace id to lose.
17135 * elf/dl-open.c: Include <stap-probe.h>.
17136 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17137 and "reloc_complete".
17138 * elf/dl-close.c: Include <stap-probe.h>.
17139 (_dl_close_worker): Added static probes "unmap_start" and
17140 "unmap_complete".
17141 * elf/rtld-debugger-interface.txt: New file documenting the above.
17142
9f98c16c
RM
171432012-07-26 Roland McGrath <roland@hack.frob.com>
17144
17145 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17146 rather than a string variable.
17147 * sunrpc/rpc_main.c (h_output): Likewise.
17148 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17149
f3c22df3
PT
171502012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17151
17152 * inet/check_native.c: New file.
17153
3129cfc6
JM
171542012-07-26 Joseph Myers <joseph@codesourcery.com>
17155
da865e95
JM
17156 [BZ #13629]
17157 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17158 if larger part has absolute value 1.0.
17159 * math/s_clog10.c (__clog10): Likewise.
17160 * math/s_clog10f.c (__clog10f): Likewise.
17161 * math/s_clog10l.c (__clog10l): Likewise.
17162 * math/s_clogf.c (__clogf): Likewise.
17163 * math/s_clogl.c (__clogl): Likewise.
17164 * math/libm-test.inc (clog_test): Add more tests.
17165 (clog10_test): Likewise.
17166 * sysdeps/i386/fpu/libm-test-ulps: Update.
17167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17168
3129cfc6
JM
17169 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17170 (pltexit): Likewise.
17171 (La_regs): Likewise.
17172 (La_retval): Likewise.
17173 (int_retval): Likewise.
17174 Update #error for removed macros to refer only to definitions in
17175 tst-audit.h.
17176 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17177 macro.
17178 (pltexit): Likewise.
17179 (La_regs): Likewise.
17180 (La_retval): Likewise.
17181 (int_retval): Likewise.
17182 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17183 macro.
17184 (pltexit): Likewise.
17185 (La_regs): Likewise.
17186 (La_retval): Likewise.
17187 (int_retval): Likewise.
17188 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17189 macro.
17190 (pltexit): Likewise.
17191 (La_regs): Likewise.
17192 (La_retval): Likewise.
17193 (int_retval): Likewise.
17194 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17195 macro.
17196 (pltexit): Likewise.
17197 (La_regs): Likewise.
17198 (La_retval): Likewise.
17199 (int_retval): Likewise.
17200 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17201 macro.
17202 (pltexit): Likewise.
17203 (La_regs): Likewise.
17204 (La_retval): Likewise.
17205 (int_retval): Likewise.
17206 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17207 macro.
17208 (pltexit): Likewise.
17209 (La_regs): Likewise.
17210 (La_retval): Likewise.
17211 (int_retval): Likewise.
17212 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17213 macro definitions in tst-audit.h.
17214 * sysdeps/i386/tst-audit.h: New file.
17215 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17216 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17217 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17218 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17219 * sysdeps/sh/tst-audit.h: Likewise.
17220 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17221 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17222 * sysdeps/x86_64/tst-audit.h: Likewise.
17223
bfc07087
AJ
172242012-07-26 Andreas Jaeger <aj@suse.de>
17225
b1b2aaf8
AJ
17226 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17227 ptrace.
17228
17229 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17230 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17231 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17232 PTRACE_O_MASK.
17233 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17234 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17235 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17236
bfc07087
AJ
17237 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17238 value.
17239
17240 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17241 _sigsys.
17242 (si_call_addr, si_syscall, si_arch): Define new macro.
17243 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17244 _sigsys.
17245 (si_call_addr, si_syscall, si_arch): Define new marcro.
17246 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17247 _sigsys.
17248 (si_call_addr, si_syscall, si_arch): Define new macro.
17249 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17250 _sigsys.
17251 (si_call_addr, si_syscall, si_arch): Define new macro.
17252
89b4b02f
JM
172532012-07-25 Joseph Myers <joseph@codesourcery.com>
17254
17255 [BZ #13717]
17256 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17257 Change to 2.4.21 where previously 2.4.1.
17258 * sysdeps/unix/sysv/linux/configure: Regenerated.
17259 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17260 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17261 Linux kernel version.
17262 (__ASSUME_STD_AUXV): Remove.
17263 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17264 kernel version.
17265 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17266 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17267 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17268 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17269 (__ASSUME_NETLINK_SUPPORT): Likewise.
17270 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17271 (__no_netlink_support): Remove conditional definition.
17272 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17273 Remove.
17274 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17275 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17276 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17277 (if_nameindex_ioctl): Remove.
17278 (if_nameindex_netlink): Do not handle __no_netlink_support.
17279 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17280 code.
17281 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17282 Remove conditional code.
17283 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17284 code.
17285 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17286 unconditional.
17287 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17288 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17289 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17290 Remove.
17291 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17292 [!__ASSUME_STD_AUXV]: Remove conditional code.
17293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17294 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17295 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17297 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17298 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17299 code.
17300 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17302 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17303 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17304 conditional code.
17305 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17307 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17308 code.
17309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17310 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17311 conditional code.
17312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17313 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17314 code unconditional.
17315 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17316 conditional code.
17317 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17318 unconditional.
17319 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17320 conditional code.
17321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17322 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17323 unconditional.
17324 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17325 conditional code.
17326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17327 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17328 code unconditional.
17329 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17330 conditional code.
17331 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17332 unconditional.
17333 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17334 conditional code.
17335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17336 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17337 code unconditional.
17338 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17339 conditional code.
17340 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17341 unconditional.
17342 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17343 conditional code.
17344
842a39cd
AS
173452012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17346
17347 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17348 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17349 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17350 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17351 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17352 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17353 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17354 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17355 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17356 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17357 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17358 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17359 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17360 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17361 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17362 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17363 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17364 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17365 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17367 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17368 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17369 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17370
84b3fd84
FW
173712012-07-25 Florian Weimer <fweimer@redhat.com>
17372
17373 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17374 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17375 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17376 Introduce __libc_secure_getenv.
0c7936d5
FW
17377 * stdlib/Versions (2.17): Add secure_getenv
17378 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17379 * stdlib/secure-getenv.c: Rename __secure_getenv to
17380 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17381 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17382 * stdlib/tst-secure-getenv.c: New.
17383 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17384 * manual/startup.texi (Environment Access): Document
17385 secure_getenv.
84b3fd84
FW
17386 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17387 __libc_secure_getenv.
17388 * inet/ruserpass.c (ruserpass): Likewise.
17389 * malloc/mtrace.c (mtrace): Likewise.
17390 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17391 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17392 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17393 * sysdeps/posix/tempname.c: Likewise. Evaluate
17394 HAVE_SECURE_GETENV.
17395 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17396 __secure_getenv to __libc_secure_getenv.
84b3fd84 17397 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17399 Likewise.
17400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17401 Likewise.
17402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17404 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17409
56e49b71
JM
174102012-07-25 Joseph Myers <joseph@codesourcery.com>
17411
17412 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17413 (struct La_i86_retval): Likewise.
17414 (struct La_x86_64_regs): Likewise.
17415 (struct La_x86_64_retval): Likewise.
17416 (struct La_x32_regs): Likewise.
17417 (struct La_x32_retval): Likewise.
17418 (struct La_ppc32_regs): Likewise.
17419 (struct La_ppc32_retval): Likewise.
17420 (struct La_ppc64_regs): Likewise.
17421 (struct La_ppc64_retval): Likewise.
17422 (struct La_sh_regs): Likewise.
17423 (struct La_sh_retval): Likewise.
17424 (struct La_s390_32_regs): Likewise.
17425 (struct La_s390_32_retval): Likewise.
17426 (struct La_s390_64_regs): Likewise.
17427 (struct La_s390_64_retval): Likewise.
17428 (struct La_sparc32_regs): Likewise.
17429 (struct La_sparc32_retval): Likewise.
17430 (struct La_sparc64_regs): Likewise.
17431 (struct La_sparc64_retval): Likewise.
17432 (struct audit_ifaces): Remove architecture-specific pltenter and
17433 pltexit members.
17434 * sysdeps/i386/ldsodefs.h: New file.
17435 * sysdeps/powerpc/ldsodefs.h: Likewise.
17436 * sysdeps/s390/ldsodefs.h: Likewise.
17437 * sysdeps/sh/ldsodefs.h: Likewise.
17438 * sysdeps/sparc/ldsodefs.h: Likewise.
17439 * sysdeps/x86_64/ldsodefs.h: Likewise.
17440
354691b7
MP
174412012-07-25 Marek Polacek <polacek@redhat.com>
17442
17443 [BZ #6808]
17444 * math/libm-test.inc (yn_test): Add another test.
17445 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17446 to ERANGE when the result is +-Inf.
17447 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17448 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17449 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17450 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17451
bf9e2071
JM
174522012-07-24 Joseph Myers <joseph@codesourcery.com>
17453
17454 * conform/data/time.h-data (NULL): Use macro-constant. Require
17455 equal to 0.
17456 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17457 clock_t.
17458 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17459
57633811
TS
174602012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17461
17462 * configure.in <sysdeps resolving>: Correct printing
17463 Implies_before.
17464 * configure: Regenerate.
17465
c23c33b0
TS
174662012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17467
17468 * math/w_ilogb.c: Include <limits.h>.
17469 * math/w_ilogbl.c: Likewise.
17470
b5982523
JM
174712012-07-20 Joseph Myers <joseph@codesourcery.com>
17472
17473 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17474 va_copy. Document allowing for unavailable va_copy only as
17475 pre-C99 compatibility.
17476 * manual/string.texi (Copying and Concatenation): Use va_copy
17477 instead of __va_copy in concat example.
17478
ac4ea442
PT
174792012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17480
17481 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17482 (__sendto): Use create_address_port. Initialize APORT and deallocate
17483 it if not null.
17484
f98eafbd
PT
17485 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17486 with O_NOLINK passed to __file_name_lookup.
17487
898c7aab
PT
17488 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17489 with O_NOLINK passed to __file_name_lookup.
17490
0ced335a
PT
17491 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17492 negative N or less than NGIDS.
17493
b3404dbd
PT
17494 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17495 type to string_t. Set ERANGE as errno and return it if NAME is not big
17496 enough. Use memcpy instead of strncpy.
17497
0f48659e
JM
174982012-07-20 Joseph Myers <joseph@codesourcery.com>
17499
17500 * elf/Makefile (check-data): Remove.
17501 (localplt.data): New vpath directive.
17502 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17503 instead of $(check-data).
17504 * scripts/data/localplt-generic.data: Move to ...
17505 * sysdeps/generic/localplt.data: ... here.
17506 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17507 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17508 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17510 ... here.
17511 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17513 ... here.
17514 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17516 ... here.
17517 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17519 ... here.
17520 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17522 ... here.
17523 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17525 ... here.
17526
d37cbdaa
AZ
175272012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17528
17529 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17530 PPC32 and PPC64 files.
17531 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17532 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17533
46f85fc2
AK
175342012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17535
17536 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17537 __makecontext_ret to ...
17538 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17539 ... here and call exit if uc_link is NULL. New file.
17540 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17541 __makecontext_ret.S.
17542 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17543 __makecontext_ret to ...
17544 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17545 ... here and call exit if uc_link is NULL. New file.
17546 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17547 __makecontext_ret.S.
17548
08f43f9b
AK
175492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17550
17551 * elf/elf.h (R_390_IRELATIVE): New definition.
17552 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17553 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17554 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17555 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17556 (elf_machine_lazy_rel): Likewise.
17557 * sysdeps/s390/dl-irel.h: New file.
17558 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17559 * sysdeps/s390/s390-64/memset.S: New asm code.
17560 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17561 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17562 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17563 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17564 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17565 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17566 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17567 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17568 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17569 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17570 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17571 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17572 * sysdeps/s390/s390-32/memset.S: New asm code.
17573 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17574
3b05db33
MP
175752012-07-17 Marek Polacek <polacek@redhat.com>
17576
17577 [BZ #14349]
17578 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17579 * sysdeps/s390/s390-64/configure.in: Likewise.
17580 * sysdeps/sparc/configure.in: Likewise.
17581 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17582 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17583 * sysdeps/i386/configure.in: Likewise.
17584 * sysdeps/x86_64/configure.in: Likewise.
17585 * sysdeps/sh/configure.in: Likewise.
17586 * sysdeps/s390/s390-32/configure: Regenerated.
17587 * sysdeps/s390/s390-64/configure: Likewise.
17588 * sysdeps/x86_64/configure: Likewise.
17589 * sysdeps/sh/configure: Likewise.
17590 * sysdeps/powerpc/powerpc64/configure: Likewise.
17591 * sysdeps/powerpc/powerpc32/configure: Likewise.
17592 * sysdeps/sparc/configure: Likwise.
17593 * sysdeps/i386/configure: Likewise.
17594
a66877c6
MP
17595 * elf/dl-open.c: Comment fixes.
17596
cfc82fd8
JM
175972012-07-17 Joseph Myers <joseph@codesourcery.com>
17598
bd29910a
JM
17599 * Makefile [CXX] (check-data): Remove.
17600 [CXX] (c++-types.data): New vpath directive.
17601 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17602 vpath. Do not allow for C++ type data being missing.
17603 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17604 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17605 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17606 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17607 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17608 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17609 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17611 ... here.
17612 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17614 ... here.
17615 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17617 ... here.
17618 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17620 ... here.
17621 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17623 ... here.
17624 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17626 ... here.
17627 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17629 ... here.
17630 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17632
cfc82fd8
JM
17633 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17634 definitions to architecture-specific files.
17635 (TLS_IE): Likewise.
17636 (TLS_LD): Likewise.
17637 (TLS_GD): Likewise.
17638 * sysdeps/i386/tls-macros.h: New file.
17639 * sysdeps/powerpc/tls-macros.h: Likewise.
17640 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17641 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17642 * sysdeps/sh/tls-macros.h: Likewise.
17643 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17644 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17645 * sysdeps/x86_64/tls-macros.h: Likewise.
17646
f7db3170
TS
176472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17648
07cbfc23
TS
17649 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17650 zero value for regular exit case.
17651
f7db3170
TS
17652 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17653 (__start_context): Preserve zero value for regular exit case.
17654
dc97c227
TS
176552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17656 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17657
17658 * manual/setjmp.texi (setcontext): Clarify normal process
17659 termination when uc_link is the null pointer.
17660 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17661 exit call.
17662
d0cd7d02
AS
176632012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17664
17665 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17666 preprocessor. Test for each exception mask separately.
17667
dd318934
AJ
176682012-07-16 Andreas Jaeger <aj@suse.de>
17669
17670 * po/ru.po: Update from translation team.
17671
8048311a
JM
176722012-07-15 Joseph Myers <joseph@codesourcery.com>
17673
17674 * conform/data/string.h-data (NULL): Use macro-constant. Require
17675 equal to 0.
17676 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17677 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17678 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17679 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17680 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17681
b637d46e
AJ
176822012-07-13 Andreas Jaeger <aj@suse.de>
17683
17684 * po/fr.po: Update from translation team.
17685
541428fe
MP
176862012-07-12 Marek Polacek <polacek@redhat.com>
17687
17688 [BZ #14173]
17689 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17690 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17691 loop condition.
17692
ec332e94
JM
176932012-07-12 Joseph Myers <joseph@codesourcery.com>
17694
17695 [BZ #13717]
17696 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17697 Change to 2.4.1 where previously 2.4.0.
17698 * sysdeps/unix/sysv/linux/configure: Regenerated.
17699 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17700 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17701 version.
17702 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17703 (__ASSUME_AT_CLKTCK): Remove.
17704 (__ASSUME_AT_PAGESIZE): Likewise.
17705 (__ASSUME_AT_XID): Likewise.
17706 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17707 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17708 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17709 unconditionally.
17710 (HAVE_AUX_PAGESIZE): Likewise.
17711 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17712 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17713 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17714
7b6e99be
JB
177152012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17716
17717 [BZ #14307]
17718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17719 the temporary buffer used to invoke __gethostbyname2_r,
17720 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17721 host_data / struct gaih_addrtuple.
17722 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17723 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17724 header file nss/nsswitch.h.
17725 * nss/nsswitch.h (global scope): Add definition of implementation
17726 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17727 resolv/nss_dns/dns-host.c).
17728
608404eb
AJ
177292012-07-11 Andreas Jaeger <aj@suse.de>
17730
17731 * po/fr.po: Update from translation team.
17732
71220aca
AJ
17733 * po/sv.po: Update from translation team
17734 * po/fr.po: Another update from translation team.
17735
28cfe843
AZ
177362012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17737
17738 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17739 for subnormals or multiply small sinh result by itself.
17740 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17742
6b90f981
DM
177432012-07-11 David S. Miller <davem@davemloft.net>
17744
17745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17746
c6825772
AS
177472012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17748
17749 [BZ #14347]
17750 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17751 (INTERNAL_MARK): Shift it here.
17752
7b8e0d49
MP
177532012-07-10 Marek Polacek <polacek@redhat.com>
17754
17755 [BZ #14151]
17756 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17757 libc_cv_asm_global_directive with .globl.
17758 * configure: Regenerated.
17759 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17760 with .globl.
17761 * sysdeps/i386/configure: Regenerated.
17762 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17763 with .globl.
17764 * sysdeps/x86_64/configure: Regenerated.
17765 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17766 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17767 * elf/tst-unique2mod2.c: Likewise.
17768 * elf/tst-unique2mod1.c: Likewise.
17769 * elf/tst-unique1mod2.c: Likewise.
17770 * elf/tst-unique1mod1.c: Likewise.
17771 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17772 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17773 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17774 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17775 * sysdeps/mach/sysdep.h: Likewise.
17776 * sysdeps/i386/sysdep.h: Likewise.
17777 * sysdeps/i386/i386-mcount.S: Likewise.
17778 * sysdeps/x86_64/_mcount.S: Likewise.
17779 * sysdeps/x86_64/sysdep.h: Likewise.
17780 * sysdeps/sh/_mcount.S: Likewise.
17781 * sysdeps/sh/sysdep.h: Likewise.
17782 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17783 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17784 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17785 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17786 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17787 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17788 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17789 * locale/localeinfo.h: Likewise.
17790 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17791 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17792
6c55cda3
RM
177932012-07-09 Roland McGrath <roland@hack.frob.com>
17794
17795 [BZ #14336]
17796 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17797 system".
17798 * manual/message.texi (The Uniforum approach): Likewise.
17799 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17800 (glibc iconv Implementation): Likewise.
17801
638a572e
JM
178022012-07-09 Joseph Myers <joseph@codesourcery.com>
17803
17804 [BZ #14337]
17805 * math/s_clog.c (__clog): Avoid scaling a value down where that
17806 could result in underflow.
17807 * math/s_clog10.c (__clog10): Likewise.
17808 * math/s_clog10f.c (__clog10f): Likewise.
17809 * math/s_clog10l.c (__clog10l): Likewise.
17810 * math/s_clogf.c (__clogf): Likewise.
17811 * math/s_clogl.c (__clogl): Likewise.
17812 * math/libm-test.inc (clog_test): Add more tests.
17813 (clog10_test): Likewise.
17814 * sysdeps/i386/fpu/libm-test-ulps: Update.
17815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17816
261f4859
AS
178172012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17818
0abaf3e4
AS
17819 [BZ #14283]
17820 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17821 by 7 not 8 to examine high bit of fractional part.
17822
261f4859
AS
17823 [BZ #14042]
17824 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17825 for call to __mcount_internal.
17826 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17827 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17828 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17829
f17ac40d
JM
178302012-07-06 Joseph Myers <joseph@codesourcery.com>
17831
9ad63c23
JM
17832 [BZ #14154]
17833 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17834 approximation for values within 0x1p-13f of an odd multiple of
17835 pi/4.
17836 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17837 exception. Add more tests.
17838 * sysdeps/i386/fpu/libm-test-ulps: Update.
17839
f17ac40d
JM
17840 [BZ #6778]
17841 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17842 inputs and return -1 for them. Do not check for +Inf in case not
17843 reachable for +Inf.
17844 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17845 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17846 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17847 and return -1 for them. Do not check for +Inf in case not
17848 reachable for +Inf.
17849 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17850 define.
17851 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17852 and return -1 for them. Do not check for +Inf in case not
17853 reachable for +Inf.
17854 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17855 spurious underflow.
17856 * sysdeps/i386/fpu/libm-test-ulps: Update.
17857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17858
fb21f89b
MF
178592012-07-06 Mike Frysinger <vapier@gentoo.org>
17860
17861 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17862
cdfe2c5e
JM
178632012-07-05 Joseph Myers <joseph@codesourcery.com>
17864
17865 [BZ #14157]
17866 [BZ #14331]
17867 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17868 could result in spurious underflow. Scale down values above
17869 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17870 * math/s_csqrtf.c (__csqrtf): Likewise.
17871 * math/s_csqrtl.c (__csqrtl): Likewise.
17872 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17873 spurious underflow.
17874 * sysdeps/i386/fpu/libm-test-ulps: Update.
17875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17876
70d35b67
AS
178772012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17878
704bc459
AS
17879 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17880 xopen-msg.sed.
17881 * catgets/xopen-msg.awk: New file.
17882 * catgets/xopen-msg.sed: Removed.
17883
70d35b67
AS
17884 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17885 po2text.sed.
17886 * intl/po2test.awk: New file.
17887 * intl/po2test.sed: Removed.
17888
ca61cf32
JM
178892012-07-04 Joseph Myers <joseph@codesourcery.com>
17890
17891 [BZ #14328]
17892 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17893 or multiply small sinh result by itself.
17894 * math/s_ctanf.c (__ctanf): Likewise.
17895 * math/s_ctanh.c (__ctanh): Likewise.
17896 * math/s_ctanhf.c (__ctanhf): Likewise.
17897 * math/s_ctanhl.c (__ctanhl): Likewise.
17898 * math/s_ctanl.c (__ctanl): Likewise.
17899 * math/libm-test.inc (ctan_test_tonearest): New function.
17900 (ctan_test_towardzero): Likewise.
17901 (ctan_test_downward): Likewise.
17902 (ctan_test_upward): Likewise.
17903 (ctanh_test_tonearest): Likewise.
17904 (ctanh_test_towardzero): Likewise.
17905 (ctanh_test_downward): Likewise.
17906 (ctanh_test_upward): Likewise.
17907 (main): Call these new functions.
17908 * sysdeps/i386/fpu/libm-test-ulps: Update.
17909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17910
ca48a46a
MF
179112012-07-03 Mike Frysinger <vapier@gentoo.org>
17912
17913 * .gitignore: Delete /ports entry.
17914
9d63d37d
AJ
179152012-07-03 Andreas Jaeger <aj@suse.de>
17916
17917 * po/bg.po: Update from translation team.
17918 * po/cs.po: Likewise.
17919 * po/de.po: Likewise.
17920 * po/hr.po: Likewise.
17921 * po/nl.pl: Likewise.
17922 * po/pl.po: Likewise.
17923 * po/vi.po: Likewise.
17924
370ca3d2
JM
179252012-07-03 Joseph Myers <joseph@codesourcery.com>
17926
95f5a9a8
JM
17927 * Makeconfig [!+link] (+link-before-libc): New variable.
17928 [!+link] (+link-after-libc): Likewise.
17929 [!+link] (+link-tests): Likewise.
17930 [!+link] (+link): Define in terms of $(+link-before-libc) and
17931 $(+link-after-libc).
17932 [!+link-static] (+link-static-before-libc): New variable.
17933 [!+link-static] (+link-static-after-libc): Likewise.
17934 [!+link-static] (+link-static-tests): Likewise.
17935 [!+link-static] (+link-static): Define in terms of
17936 $(+link-static-before-libc) and $(+link-static-after-libc).
17937 [build-shared] (link-libc-before-gnulib): New variable.
17938 [build-shared] (link-libc-tests): Likewise.
17939 [build-shared] (link-libc): Define in terms of
17940 $(link-libc-before-gnulib).
17941 [!build-shared] (link-libc-tests): New variable.
17942 (link-libc-static-tests): New variable.
17943 [!gnulib] (gnulib-arch): New variable.
17944 [!gnulib] (gnulib-tests): Likewise.
17945 [!gnulib] (static-gnulib-arch): Likewise.
17946 [!gnulib] (static-gnulib-tests): Likewise.
17947 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17948 Define with "=" instead of ":=".
17949 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17950 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17951 * Rules (binaries-all-notests): New variable.
17952 (binaries-all-tests): Likewise.
17953 (binaries-static-notests): Likewise.
17954 (binaries-static-tests): Likewise.
17955 (binaries-all): Define using $(binaries-all-notests) and
17956 $(binaries-all-tests).
17957 (binaries-static): Define using $(binaries-static-notests) and
17958 $(binaries-static-tests).
17959 (binaries-shared-tests): New variable.
17960 (binaries-shared-notests): Likewise.
17961 (binaries-shared): Remove variable.
17962 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17963 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17964 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17965 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17966 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17967 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17968 * elf/Makefile (sln-modules): New variable.
17969 (extra-objs): Add $(sln-modules:=.o).
17970 (ldconfig-modules): Add static-stubs.
17971 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17972 * elf/static-stubs.c: New file.
17973
7a845b2c
JM
17974 [BZ #14283]
17975 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17976 by 7 not 8 to examine high bit of fractional part. Use volatile
17977 variables when splitting into final array of floats if
17978 __FLT_EVAL_METHOD__ != 0.
17979 * math/libm-test.inc (cos_test): Add another test.
17980 (sin_test): Likewise.
17981 * sysdeps/i386/fpu/libm-test-ulps: Update.
17982
e2283f38
JM
17983 [BZ #14273]
17984 * math/libm-test.inc (cosh_test): Add more tests.
17985
370ca3d2
JM
17986 * version.h (RELEASE): Set to "development".
17987 (VERSION): Set to "2.16.90".
17988
ee9247c3
CD
179892012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17990
17991 * NEWS: Update copyright. Remove last-updated date.
17992 Mention math library bug fixes and timezone data changes.
17993 * README: Mention GNU/Hurd, x32, and HPPA support status.
17994
4648c381
TS
179952012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17996
17997 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17998
aac78a43
AJ
179992012-06-27 Andreas Jaeger <aj@suse.de>
18000
18001 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18002
ed3dbfad
AJ
180032012-06-25 Andreas Jaeger <aj@suse.de>
18004
18005 * sysdeps/s390/fpu/libm-test-ulps: Update.
18006
4d0ee855
AS
180072012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18008 Thomas Schwinge <thomas@codesourcery.com>
18009
18010 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18011 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18012 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18013 fanotify_mark.
18014
af1bce34
TS
180152012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18016
a9fa33ba
TS
18017 * sysdeps/mach/start.c: Remove file.
18018 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18019 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18020 * sysdeps/sh/init-first.c: Likewise.
18021
58f902b8
TS
18022 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18023 registers for frame unwinding purposes, add CFI directives.
18024 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18025 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18026 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18027 Likewise.
18028
1518f58b
TS
18029 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18030 __fortify_fail returning.
18031 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18032
db9b5059
TS
18033 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18034 sysdeps/sh/____longjmp_chk.S.
18035 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18036 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18037 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18038 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18039
967705fe
TS
18040 * sysdeps/sh/abort-instr.h: New file.
18041 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18042 process in case exit returns.
18043
a9def8c4
TS
18044 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18045 initialize the GOT register before use.
18046
2a649725
TS
18047 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18048 calculation of ARGC > 4.
18049
af1bce34
TS
18050 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18051 meaningful names to some local labels.
18052
d230f50a
KK
180532012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18054 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18055
18056 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18057 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18058 (__arch_compare_and_exchange_val_16_acq): Likewise.
18059 (__arch_compare_and_exchange_val_32_acq): Likewise.
18060 (atomic_exchange_and_add): Fix gUSA sequence.
18061 (atomic_add): Likewise.
18062 (atomic_add_negative): Likewise.
18063 (atomic_add_zero): Likewise.
18064 (atomic_bit_test_set): Likewise.
18065
0479b305
AS
180662012-06-22 Andreas Schwab <schwab@redhat.com>
18067
18068 [BZ #13579]
18069 * include/link.h (struct link_map): Add l_free_initfini.
18070 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18071 l_initfini.
18072 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18073 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18074 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18075 set.
18076
0e3933b9
CD
180772012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18078
18079 * configure.in: Use AC_LANG_SOURCE.
18080 * configure: Regenerate.
18081
4248b1b1
RM
180822012-06-22 Roland McGrath <roland@hack.frob.com>
18083
18084 * configure.in (libc_cv_localstatedir): New substituted variable.
18085 * configure: Regenerated.
18086 * config.make.in (localstatedir): New variable, substituted from
18087 libc_cv_localstatedir.
18088 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18089 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18090 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18091 * sysdeps/gnu/configure: Regenerated.
18092
006dd861
JL
180932012-06-21 Jeff Law <law@redhat.com>
18094
18095 [BZ #14277]
18096 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18097 free. Simplify list management for _LIBC case.
18098
79662d42
JM
180992012-06-21 Joseph Myers <joseph@codesourcery.com>
18100
b7abb4bf
JM
18101 [BZ #14273]
18102 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18103 Clear sign bit of 64-bit integer value before comparing against
18104 overflow value.
18105
79662d42
JM
18106 * sysdeps/mach/configure: Regenerated.
18107
1f150908
L
181082012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18109
18110 [BZ #14278]
18111 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18112
28363bbf
JL
181132012-06-21 Jeff Law <law@redhat.com>
18114
18115 [BZ #13882]
18116 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18117 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18118 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18119 * elf/dl-open.c (dl_open_worker): Likewise.
18120
09615db4
CD
181212012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18122
18123 * scripts/list-sources.sh: Scan PORTS for translations.
18124 * po/libc.pot: Regenerated.
18125
2174c6dd
AJ
181262012-06-21 Andreas Jaeger <aj@suse.de>
18127
18128 [BZ #12194]
18129 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18130 warning.
18131 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18132 * bits/byteswap-16.h (__bswap_16): Likewise.
18133 * bits/byteswap.h (__bswap_constant_16): Likewise.
18134
3ee947b1
L
181352012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18136
18137 [BZ #14117]
a2f34833
L
18138 * sysdeps/i386/fpu_control.h: Removed.
18139 * sysdeps/x86_64/fpu_control.h: Moved to ...
18140 * sysdeps/x86/fpu_control.h: Here.
18141
3ee947b1
L
18142 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18143 (_FPU_SETCW): Likewise.
18144
ed1825f8
L
181452012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18146
25f1282a
L
18147 [BZ #14117]
18148 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18149 * sysdeps/x86/fpu/bits/mathinline.h: This.
18150 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18151
ed1825f8
L
18152 [BZ #14050]
18153 [BZ #14117]
18154 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18155 functions if __x86_64__ is defined.
18156
36d54b74
CLT
181572012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18158
18159 * string/endian.h: Add !__ASSEMBLER__ condition for including
18160 conversion interfaces.
18161
10285c21
JM
181622012-06-15 Joseph Myers <joseph@codesourcery.com>
18163
18164 [BZ #14241]
18165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18166 of ABS(x) in calculating zero to negative powers other than odd
18167 integers.
18168 * math/libm-test.inc (pow_test): Add more tests.
18169
06c5abbd
AJ
181702012-06-15 Andreas Jaeger <aj@suse.de>
18171
18172 * manual/contrib.texi (Contributors): Update entry of Liubov
18173 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18174 Machado Filho.
18175
a3aeac40
CH
181762012-06-15 Cyril Hrubis <metan@ucw.cz>
18177
18178 * string/string.h: Add __wur to GNU version of strerror_r.
18179
49bdf4c1
L
181802012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18181
18182 [BZ #14229]
18183 * string/Makefile (tests): Add tst-strtok_r.
18184 * string/tst-strtok_r.c: New file.
18185 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18186 RAX_LP/RDX_LP on SAVE_PTR.
18187
834f9b8d
RM
181882012-06-14 Roland McGrath <roland@hack.frob.com>
18189
18190 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18191
75fa1921
JM
181922012-06-14 Joseph Myers <joseph@codesourcery.com>
18193
18194 * libm_test.inc (csqrt_test): Allow more spurious underflow
18195 exceptions.
18196 (j0_test): Likewise.
18197 (j1_test): Likewise.
18198 (y0_test): Likewise.
18199 (y1_test): Likewise.
18200
771766df
CD
182012012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18202
18203 * po/Makefile (libc.pot): Use UTF-8 charset.
18204
ceb9e56b
PP
182052012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18206
18207 [BZ #14210]
18208 Suppress sign-conversion warning from FD_SET.
18209 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18210 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18211 not unsigned long int.
18212 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18213
ddb28975
L
182142012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18215
18216 [BZ #14050]
18217 [BZ #14117]
18218 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18219 __extern_always_inline instead of __extern_inline.
18220 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18221 (__signbit): Likewise.
18222 (__signbitl): Support C++ namespace.
18223 (lrintf): New inline function.
18224 (lrint): Likewise.
18225 (llrintf): Likewise.
18226 (llrint): Likewise.
18227 (fmaxf): Likewise.
18228 (fmax): Likewise.
18229 (fminf): Likewise.
18230 (fmin): Likewise.
18231 (rint): Likewise.
18232 (rintf): Likewise.
18233 (ceil): Likewise.
18234 (ceilf): Likewise.
18235 (floor): Likewise.
18236 (floorf): Likewise.
18237 (nearbyint): Likewise.
18238 (nearbyintf): Likewise.
18239
d7b4fb26
TS
182402012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18241
18242 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18243 non-default versions.
18244
eb55f5c2
RM
182452012-06-11 Roland McGrath <roland@hack.frob.com>
18246
18247 [BZ #14218]
18248 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18249
366af02c
TS
182502012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18251
99ff6e5c
TS
18252 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18253 (FE_UPWARD, FE_DOWNWARD): Don't define.
18254 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18255 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18256
366af02c
TS
18257 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18258 reading it.
18259 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18260 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18261
793ea851
KK
182622012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18263
18264 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18265 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18266 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18267 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18268
a728a38f
L
182692012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18270
18271 [BZ #14117]
c08010c7
L
18272 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18273 * sysdeps/i386/fpu/Implies: New file.
18274 * sysdeps/x86_64/fpu/Implies: Likewise.
18275 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18276 * sysdeps/x86/fpu/bits/fenv.h: This.
18277
a728a38f
L
18278 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18279 __SSE_MATH__.
18280
6e230d11
SP
182812012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18282
18283 [BZ #14134]
18284 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18285 character 0xffff that matches the last element of the
18286 conversion table.
18287
1b671feb
AZ
182882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18289
18290 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18291 fmodl commit.
18292
6043738b
AZ
182932012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18294
18295 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18296 values higher than 25.6283.
18297
34ae0b32
AZ
182982012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18299
18300 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18301 subnormal exponent extraction and add some __builtin_expect.
18302 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18303 Fix for subnormal mantissa calculation.
18304
1214ec8f
MF
183052012-06-04 Mike Frysinger <vapier@gentoo.org>
18306
18307 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18308 cpu2 is -1 and errno is not ENOSYS.
18309
f3d1f93c
L
183102012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18311
18312 [BZ #14117]
0e4a3cd7
L
18313 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18314 * sysdeps/x86/bits/string.h: This.
18315 * sysdeps/x86_64/bits/string.h: Removed.
18316
6704c645
L
18317 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18318 if not compiling for x86-64, but compiling for >= i486.
18319
48495318
L
18320 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18321 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18322
14adcbfc
L
18323 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18324 New macro from Linux kernel 3.4.0.
18325 (FP_XSTATE_MAGIC2): Likewise.
18326 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18327 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18328 (struct _fpx_sw_bytes): New struct.
18329 (struct _xsave_hdr): Likewise.
18330 (struct _ymmh_state): Likewise.
18331 (struct _xstate): Likewise.
18332
68e408ab
L
18333 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18334 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18335 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18336 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18337 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18338 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18339
f3d1f93c
L
18340 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18341 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18342 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18343 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18344 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18345 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18346
d9dc34cd
TMQMF
183472012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18348
18349 [BZ #13743]
18350 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18351 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18352 (sysdep_headers): Include sys/platform/ppc.h.
18353 * sysdeps/powerpc/test-gettimebase.c: Test for
18354 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18355 * manual/Makefile (appendices): Include platform.texi.
18356 * manual/contrib.texi (Contributors): Update @node pointers.
18357 * manual/maint.texi (Maintenance): Likewise.
18358 (Platform): New node.
18359 * manual/platform.texi: New file. Document the new features.
18360
4af3879c
SP
183612012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18362 Jakub Jelinek <jakub@redhat.com>
18363
18364 [BZ #14188]
18365 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18366 where __builtin_expect is unavailable.
18367
2fd6ff13
DM
183682012-06-03 David S. Miller <davem@davemloft.net>
18369
18370 * stdlib/longlong.h: Updated from GCC.
18371
173f7220
AS
183722012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18373
18374 [BZ #14042]
18375 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18376 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18377 __mcount_internal.
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18379 (GLIBC_2.16): Likewise.
18380
f34a1c6f
L
183812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18382
18383 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18384
88a4576f
JM
183852012-06-01 Joseph Myers <joseph@codesourcery.com>
18386
ea32bcdd
JM
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18388 (default-abi): New variable.
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18390 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18391 variable.
18392 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18393 Likewise.
18394 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18395 Likewise.
18396 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18397 Likewise.
18398
88a4576f
JM
18399 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18400 definition. Document in comment.
18401
402fe938
DM
184022012-06-01 David S. Miller <davem@davemloft.net>
18403
18404 * stdlib/longlong.h: Updated from GCC.
18405
3553723f
L
184062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18407
18408 [BZ #14117]
3bd872c4
L
18409 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18410 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18411 sys/debugreg.h sys/io.h here.
18412 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18413 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18414 sys/io.h.
18415 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18416 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18417 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18418 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18419 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18420 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18421
3553723f
L
18422 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18423 Define only if __x86_64__ is defined.
18424
4842e4fe
JM
184252012-06-01 Joseph Myers <joseph@codesourcery.com>
18426
c5bfe3d5
JM
18427 [BZ #14048]
18428 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18429 Use int64_t for variable i.
18430 * math/libm-test.inc (fmod_test): Add more tests.
18431
4842e4fe
JM
18432 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18433 z computation is not scheduled after fetestexcept.
18434 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18435 Use math_force_eval instead of asm to ensure calculation scheduled
18436 before exception test.
18437 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18438 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18439
efb73488
AJ
184402012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18441
18442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18443 computation is not scheduled after fetestexcept.
18444
29bcce7c
L
184452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18446
18447 [BZ #14117]
18448 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18449 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18450
73a68f94
AZ
184512012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18452
18453 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18454 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18455
67b6df78
L
184562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18457
edf2933a 18458 [BZ #14117]
ebc64a18
L
18459 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18460 <bits/wordsize.h>.
18461 (__WCHAR_MIN): Support __WORDSIZE == 64.
18462 (__WCHAR_MAX): Likewise.
18463
edf2933a
L
18464 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18465 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18466
57c6cf40
L
18467 [BZ #14183]
18468 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18469 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18470
67b6df78 18471 [BZ #14117]
8eb6281e
L
18472 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18473 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18474
aac639f4
L
18475 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18476 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18477
67b6df78
L
18478 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18479 Defined to 1 if __x86_64__ isn't defined.
18480 (_STAT_VER_LINUX_OLD): New.
18481 (st_atime): Remove duplicate.
18482 (st_mtime): Likewise.
18483 (st_ctime): Likewise.
18484
1c2cfe81
DM
184852012-05-31 David S. Miller <davem@davemloft.net>
18486
18487 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18488 entries.
18489
5be8418c
AS
184902012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18491
e7725326
AS
18492 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18493 gen-libm-test.pl.
18494
5be8418c
AS
18495 [BZ #14132]
18496 * elf/dl-reloc.c: Include <_itoa.h>.
18497 (_dl_reloc_bad_type): Remove use of INTUSE.
18498 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18499 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18500 * stdio-common/psiginfo.c (psiginfo): Likewise.
18501 * stdio-common/psignal.c (psignal): Likewise.
18502 * string/strsignal.c (strsignal): Likewise.
18503 * include/signal.h (_sys_siglist): Declare hidden proto.
18504 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18505 INTVARDEF with libc_hidden_data_def.
18506 * stdio-common/itoa-udigits.c: Likewise.
18507 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18508 (_itoa_lower_digits_internal): Remove declaration.
18509 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18510 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18511 (_sys_sigabbrev_internal): Remove aliases.
18512 (_sys_siglist): Define hidden alias.
18513
507352f1
MT
185142012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18515
18516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18517 bits/sysctl.h.
18518
42bbb1c3
L
185192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18520
18521 [BZ #14117]
6bd784b6
L
18522 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18523 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18524
8bca20f0
L
18525 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18526 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18527 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18528 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18529 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18530 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18531
f9e890a9
L
18532 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18533 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18534 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18535
471101a1
L
18536 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18537 with __addr.
18538 (insw): Likewise.
18539 (insl): Likewise.
18540 (outsb): Likewise.
18541 (outsw): Likewise.
18542 (outsl): Likewise.
18543
6451c862
L
18544 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18545 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18546 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18547
a254b8c9
L
18548 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18549 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18550 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18551 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18552 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18553 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18554
b8dfdd92
L
18555 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18556 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18557
578cd270
L
18558 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18559 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18560
de662f5f
L
18561 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18562 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18563 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18564
25653439
L
18565 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18566 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18567 to ...
18568 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18569
6bad24a0
L
18570 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18571 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18572 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18573
42bbb1c3
L
18574 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18575 for x86-64.
18576 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18577
2d10d547
JM
185782012-05-31 Joseph Myers <joseph@codesourcery.com>
18579
18580 * math/math.h (M_El): Use two more decimal places.
18581 (M_LOG2El): Likewise.
18582 (M_LOG10El): Likewise.
18583 (M_LN2l): Likewise.
18584 (M_LN10l): Likewise.
18585 (M_PIl): Likewise.
18586 (M_PI_2l): Likewise.
18587 (M_PI_4l): Likewise.
18588 (M_1_PIl): Likewise.
18589 (M_2_PIl): Likewise.
18590 (M_2_SQRTPIl): Likewise.
18591 (M_SQRT2l): Likewise.
18592 (M_SQRT1_2l): Likewise.
18593
f230c29b
DM
185942012-05-31 David S. Miller <davem@davemloft.net>
18595
18596 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18597 values between float registers.
18598 * sysdeps/sparc/sparc64/memset.S: Likewise.
18599 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18600
fed806c3
MF
186012012-05-31 Mike Frysinger <vapier@gentoo.org>
18602
18603 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18604 -D_FORTIFY_SOURCE=1.
18605 (CPPFLAGS-tst-longjmp_chk.c): Define.
18606 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18607 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18608 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18609 CFLAGS-tst-wchar-h.c.
18610
30917259
MP
186112012-05-31 Marek Polacek <polacek@redhat.com>
18612
18613 [BZ #14132]
18614 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18615 __endmntent_internal): Remove declaration.
18616 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18617 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18618 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18619
1c58d5dc
DM
186202012-05-30 David S. Miller <davem@davemloft.net>
18621
18622 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18623 (___Q_simulate_exceptions): Use real FP ops rather than writing
18624 into the %fsr.
18625 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18626 Likewise.
18627
7dc00e0d
L
186282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18629
18630 [BZ #14117]
0bd53985
L
18631 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18632 * sysdeps/x86/bits/xtitypes.h: This.
18633
3a257e66
L
18634 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18635 * sysdeps/x86/bits/wordsize.h: This.
18636
62f62904
L
18637 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18638 * sysdeps/x86/bits/huge_vall.h: This.
18639
404fe9d9
L
18640 * sysdeps/i386/bits/select.h: Removed.
18641 * sysdeps/x86_64/bits/select.h: Renamed to ...
18642 * sysdeps/x86/bits/select.h: This.
18643
d48d0446
L
18644 * sysdeps/i386/bits/setjmp.h: Removed.
18645 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18646 * sysdeps/x86/bits/setjmp.h: This.
18647
7dc00e0d
L
18648 * sysdeps/i386/bits/mathdef.h: Removed.
18649 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18650 * sysdeps/x86/bits/mathdef.h: This.
18651
03277f8f
AS
186522012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18653
18654 [BZ #14132]
18655 * include/sys/socket.h (__connect_internal)
18656 (__libc_sa_len_internal): Remove declaration.
18657 (__connect, __libc_sa_len): Declare hidden_proto.
18658 (SA_LEN): Remove use of INTUSE.
18659 * socket/connect.c: Add libc_hidden_def.
18660 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18661 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18662 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18663 alias.
18664 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18665 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18666 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18667 of adding _internal alias.
18668
13764867
L
186692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18670
18671 [BZ #14117]
6bd97696
L
18672 * sysdeps/i386/bits/link.h: Removed.
18673 * sysdeps/i386/bits/linkmap.h: Likewise.
18674 * sysdeps/x86_64/bits/link.h: Renamed to ...
18675 * sysdeps/x86/bits/link.h: This.
18676 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18677 * sysdeps/x86/bits/linkmap.h: This.
18678
f726f0bb
L
18679 * sysdeps/i386/bits/endian.h: Removed.
18680 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18681 * sysdeps/x86/bits/endian.h: This.
18682
13764867
L
18683 * sysdeps/i386/bits/byteswap.h: Removed.
18684 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18685 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18686 * sysdeps/x86/bits/byteswap.h: This.
18687 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18688 * sysdeps/x86/bits/byteswap-16.h: This.
18689 * sysdeps/i386/Implies: Add x86.
18690 * sysdeps/x86_64/Implies: Likewise.
18691
ae251b0b
DM
186922012-05-30 David S. Miller <davem@davemloft.net>
18693
18694 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18695 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18696 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18697 (FP_TRAPPING_EXCEPTIONS): Define.
18698 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18699 (FP_TRAPPING_EXCEPTIONS): Define.
18700 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18701 subnormals only when inexact has been signalled or underflow
18702 exceptions are enabled.
18703 (_FP_PACK_CANONICAL): Likewise.
18704
d5c90867
L
187052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18706
18707 [BZ #14183]
18708 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18709 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18710
63f1549e
RH
187112012-05-30 Richard Henderson <rth@twiddle.net>
18712
8d8f2279
RH
18713 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18714 with #ifndef NOT_IN_libc.
18715
63f1549e
RH
18716 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18717 marked to avoid plt entry.
18718
0ab0291b
L
187192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18720
18721 [BZ #14112]
18722 * Makeconfig (default-abi): New macro.
18723 (abi-includes): Likewise.
18724 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18725 $(abi-$(default-abi)-lib-soname) for soname if defined.
18726 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18727 abi-variants.
18728 * Makefile (installed-stubs): Likewise.
18729 * include/stubs-biarch.h: Removed.
18730 * scripts/lib-names.awk: Only handle one library at a time.
18731 * scripts/soversions.awk: Remove WORDSIZE support.
18732 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18733 entries.
18734 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18735 Removed.
18736 (syscall-list-default-condition): Likewise.
18737 (syscall-list-default-condition): Likewise.
18738 (syscall-list-includes): Likewise.
18739 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18740 syscall-list-* with abi-*. Handle undefined abi-variants.
18741 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18742 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18743 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18744 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18745 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18746 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18747 Removed.
18748 (syscall-list-32-options): Likewise.
18749 (syscall-list-32-condition): Likewise.
18750 (syscall-list-64-options): Likewise.
18751 (syscall-list-64-condition): Likewise.
18752 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18753 macro.
18754 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18755 Renamed to ...
18756 (abi-*): This.
18757 (abi-64-ld-soname): New macro.
18758 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18759 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18760 Renamed to ...
18761 (abi-*): This.
18762 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18763 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18764
4da0431d
JM
187652012-05-30 Joseph Myers <joseph@codesourcery.com>
18766
3a85279c
JM
18767 * sysdeps/unix/sysv/linux/kernel-features.h
18768 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18769 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18770 include <kernel-features.h>.
18771 [!__NR_ftruncate64]: Remove conditional code.
18772 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18773 [__NR_ftruncate64]: Make code unconditional.
18774 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18775 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18776 include <kernel-features.h>.
18777 [!__NR_ftruncate64]: Remove conditional code.
18778 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18779 [__NR_ftruncate64]: Make code unconditional.
18780 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18782 include <kernel-features.h>.
18783 [!__NR_ftruncate64]: Remove conditional code.
18784 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18785 [__NR_ftruncate64]: Make code unconditional.
18786 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18788 include <kernel-features.h>.
18789 [!__NR_ftruncate64]: Remove conditional code.
18790 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18791 [__NR_ftruncate64]: Make code unconditional.
18792 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18793
4da0431d
JM
18794 * configure.in (libc_cv_fpie): Weaken to a compile test using
18795 LIBC_TRY_CC_OPTION.
18796 * configure: Regenerated.
18797
11ef492c
AK
187982012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18799
18800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18804 Refreshed.
18805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18811 Refreshed.
18812
d66ef399
DM
188132012-05-27 David S. Miller <davem@davemloft.net>
18814
18815 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18816 (___Q_zero): New.
18817 (__Q_simulate_exceptions): Return void. Change to simulate
18818 exceptions by writing into the %fsr.
18819 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18820 (__Qp_handle_exceptions): Likewise.
18821 (numbers): Delete.
18822 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18823 __Qp_handle_exceptions.
18824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18825 __Qp_handle_exceptions.
18826 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18827 as unused and give dummy FP_RND_NEAREST initializer.
18828 (FP_INHIBIT_RESULTS): Define.
18829 (___Q_simulate_exceptions): Update declaration.
18830 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18831 formatting.
18832 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18833 as unused and give dummy FP_RND_NEAREST initializer.
18834 (__Qp_handle_exceptions): Update declaration.
18835 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18836 formatting.
18837
04fb54b5
TS
188382012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18839
18840 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18841 the temporary FPU control word.
18842 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18843 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18844 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18845 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18846 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18847 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18848 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18849 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18850 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18851 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18852 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18853
3f99608f
KK
188542012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18855
18856 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18857 fields.
18858
65a4de4e
CLT
188592012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18860
18861 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18862 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18863 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18864 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18865 Likewise.
18866 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18867 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18868 Likewise.
18869
15749d40
UD
188702012-05-27 Ulrich Drepper <drepper@gmail.com>
18871
18872 * po/h.po: Update from translation team.
18873
25dbcb27
AS
188742012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18875
3d3f8e55
AS
18876 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18877
25dbcb27
AS
18878 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18879 handling of denormals.
18880 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18881 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18882 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18883 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18885 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18887 Likewise.
18888
7ad47a80 188892012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18890
18891 [BZ #14152]
18892 * math/libm-test.inc (fma_test): Don't always expect underflow
18893 exception.
18894
9c6ea9fa
SP
188952012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18896
18897 [BZ #12416]
18898 * elf/tst-execstack.c: Include stackinfo.h.
18899 (do_test): Adjust test case to ensure that pthread_getattr_np
18900 behaviour remains the same after marking stack executable.
18901
a8239222
JM
189022012-05-25 Joseph Myers <joseph@codesourcery.com>
18903
18904 * sysdeps/unix/sysv/linux/kernel-features.h
18905 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18906 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18907 kernel-features.h.
18908 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18909 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18910 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18911 kernel-features.h.
18912 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18913 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18914
918b5606
L
189152012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18916
18917 * configure.in: Define the default includes to being none.
18918 * configure: Regenerated.
18919
3a097cc7
RM
189202012-05-25 Roland McGrath <roland@hack.frob.com>
18921
8422c9a5
RM
18922 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18923 * sysdeps/x86_64/setjmp.S: Likewise.
18924 * sysdeps/i386/bsd-setjmp.S: Likewise.
18925 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18926 * sysdeps/i386/setjmp.S: Likewise.
18927 * sysdeps/i386/__longjmp.S: Likewise.
18928 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18929 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18930
3a097cc7
RM
18931 * include/stap-probe.h: New file.
18932 * configure.in: Handle --enable-systemtap.
18933 * configure: Regenerated.
18934 * config.h.in (USE_STAP_PROBE): New #undef.
18935 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18936 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18937 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18938
21708942
JM
189392012-05-25 Joseph Myers <joseph@codesourcery.com>
18940
18941 [BZ #13717]
18942 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18943 to 2.4.0 where earlier.
18944 * sysdeps/unix/sysv/linux/configure: Regenerated.
18945 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18946 <kernel-features.h>.
18947 [__ASSUME_32BITUIDS]: Make code unconditional.
18948 [!__ASSUME_32BITUIDS]: Remove conditional code.
18949 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18950 <kernel-features.h>.
18951 [__ASSUME_32BITUIDS]: Make code unconditional.
18952 [!__ASSUME_32BITUIDS]: Remove conditional code.
18953 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18954 [__ASSUME_32BITUIDS]: Make code unconditional.
18955 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18956 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18957 <kernel-features.h>.
18958 [__ASSUME_32BITUIDS]: Make code unconditional.
18959 [!__ASSUME_32BITUIDS]: Remove conditional code.
18960 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18961 <kernel-features.h>.
18962 [__ASSUME_32BITUIDS]: Make code unconditional.
18963 [!__ASSUME_32BITUIDS]: Remove conditional code.
18964 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18965 <kernel-features.h>.
18966 [__ASSUME_32BITUIDS]: Make code unconditional.
18967 [!__ASSUME_32BITUIDS]: Remove conditional code.
18968 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18969 <kernel-features.h>.
18970 [__ASSUME_32BITUIDS]: Make code unconditional.
18971 [!__ASSUME_32BITUIDS]: Remove conditional code.
18972 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18973 <kernel-features.h>.
18974 [__ASSUME_32BITUIDS]: Make code unconditional.
18975 [!__ASSUME_32BITUIDS]: Remove conditional code.
18976 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18977 <kernel-features.h>.
18978 [__ASSUME_32BITUIDS]: Make code unconditional.
18979 [!__ASSUME_32BITUIDS]: Remove conditional code.
18980 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18981 <kernel-features.h>.
18982 [__ASSUME_32BITUIDS]: Make code unconditional.
18983 [!__ASSUME_32BITUIDS]: Remove conditional code.
18984 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18985 <kernel-features.h>.
18986 [__ASSUME_32BITUIDS]: Make code unconditional.
18987 [!__ASSUME_32BITUIDS]: Remove conditional code.
18988 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18989 <kernel-features.h>.
18990 [__ASSUME_32BITUIDS]: Make code unconditional.
18991 [!__ASSUME_32BITUIDS]: Remove conditional code.
18992 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
18997 <kernel-features.h>.
18998 [__NR_setresgid] (__setresgid): Do not declare.
18999 [__ASSUME_32BITUIDS]: Make code unconditional.
19000 [!__ASSUME_32BITUIDS]: Remove conditional code.
19001 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19002 <kernel-features.h>.
19003 [__NR_setresuid] (__setresuid): Do not declare.
19004 [__ASSUME_32BITUIDS]: Make code unconditional.
19005 [!__ASSUME_32BITUIDS]: Remove conditional code.
19006 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19007 <kernel-features.h>.
19008 [__ASSUME_32BITUIDS]: Make code unconditional.
19009 [!__ASSUME_32BITUIDS]: Remove conditional code.
19010 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19011 <kernel-features.h>.
19012 [__ASSUME_32BITUIDS]: Make code unconditional.
19013 [!__ASSUME_32BITUIDS]: Remove conditional code.
19014 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19015 <kernel-features.h>.
19016 [__ASSUME_32BITUIDS]: Make code unconditional.
19017 [!__ASSUME_32BITUIDS]: Remove conditional code.
19018 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19019 <kernel-features.h>.
19020 [__ASSUME_32BITUIDS]: Make code unconditional.
19021 [!__ASSUME_32BITUIDS]: Remove conditional code.
19022 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19023 <kernel-features.h>.
19024 [__ASSUME_32BITUIDS]: Make code unconditional.
19025 [!__ASSUME_32BITUIDS]: Remove conditional code.
19026 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19027 <kernel-features.h>.
19028 [__ASSUME_32BITUIDS]: Make code unconditional.
19029 [!__ASSUME_32BITUIDS]: Remove conditional code.
19030 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19031 <kernel-features.h>.
19032 [__ASSUME_32BITUIDS]: Make code unconditional.
19033 [!__ASSUME_32BITUIDS]: Remove conditional code.
19034 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19035 <kernel-features.h>.
19036 [__ASSUME_32BITUIDS]: Make code unconditional.
19037 [!__ASSUME_32BITUIDS]: Remove conditional code.
19038 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19039 <kernel-features.h>.
19040 [__ASSUME_32BITUIDS]: Make code unconditional.
19041 [!__ASSUME_32BITUIDS]: Remove conditional code.
19042 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19043 <kernel-features.h>.
19044 [__ASSUME_32BITUIDS]: Make code unconditional.
19045 [!__ASSUME_32BITUIDS]: Remove conditional code.
19046 * sysdeps/unix/sysv/linux/kernel-features.h
19047 (__ASSUME_SETRESUID_SYSCALL): Remove.
19048 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19049 (__ASSUME_32BITUIDS): Likewise.
19050 (__ASSUME_LDT_WORKS): Likewise.
19051 (__ASSUME_O_DIRECTORY): Likewise.
19052 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19053 architecture but not kernel version.
19054 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19055 (__ASSUME_MMAP2_SYSCALL): Likewise.
19056 (__ASSUME_STAT64_SYSCALL): Likewise.
19057 (__ASSUME_IPC64): Likewise.
19058 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19059 <kernel-features.h>.
19060 [__ASSUME_32BITUIDS]: Make code unconditional.
19061 [!__ASSUME_32BITUIDS]: Remove conditional code.
19062 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19063 <kernel-features.h>.
19064 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19065 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19066 132096]: Remove conditional code.
19067 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19068 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19069 <kernel-features.h>.
19070 [__ASSUME_32BITUIDS]: Make code unconditional.
19071 [!__ASSUME_32BITUIDS]: Remove conditional code.
19072 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19073 <kernel-features.h>.
19074 [__ASSUME_32BITUIDS]: Make code unconditional.
19075 [!__ASSUME_32BITUIDS]: Remove conditional code.
19076 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19077 <kernel-features.h>.
19078 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19079 unconditional.
19080 (__setresgid): Do not declare.
19081 [__ASSUME_32BITUIDS]: Make code unconditional.
19082 [!__ASSUME_32BITUIDS]: Remove conditional code.
19083 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19084 <kernel-features.h>.
19085 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19086 unconditional.
19087 (__setresuid): Do not declare.
19088 [__ASSUME_32BITUIDS]: Make code unconditional.
19089 [!__ASSUME_32BITUIDS]: Remove conditional code.
19090 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19091 <kernel-features.h>.
19092 [__ASSUME_32BITUIDS]: Make code unconditional.
19093 [!__ASSUME_32BITUIDS]: Remove conditional code.
19094 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19095 <kernel-features.h>.
19096 [__ASSUME_32BITUIDS]: Make code unconditional.
19097 [!__ASSUME_32BITUIDS]: Remove conditional code.
19098
a386f1cc
RH
190992012-05-25 Richard Henderson <rth@twiddle.net>
19100
19101 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19102 dl_hwcap to ifunc resolver.
19103 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19104 elf_ifunc_invoke.
19105 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19106 dl_hwcap to ifunc resolver.
19107 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19108
b6550497
JM
191092012-05-24 Joseph Myers <joseph@codesourcery.com>
19110
19111 [BZ #14153]
19112 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19113 for |x| <= 2**-26, not 2**-57.
19114 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19115 exception.
19116
b0bc23a1
JL
191172012-05-24 Jeff Law <law@redhat.com>
19118
19119 * stdio-common/Makefile (tests): Add bug25.
19120 * stdio-common/bug25.c: New test.
19121
347c92e9
L
191222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19123
19124 [BZ #13576]
19125 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19126 multiple of MALLOC_ALIGNMENT in size.
19127 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19128
6bcc8b3f
JM
191292012-05-24 Joseph Myers <joseph@codesourcery.com>
19130
19131 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19132 Require >= 256.
19133 (FILENAME_MAX): Use macro-int-constant.
19134 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19135 (_IOFBF): Use macro-int-constant.
19136 (_IOLBF): Likewise.
19137 (_IONBF): Likewise.
19138 (SEEK_CUR): Likewise.
19139 (SEEK_END): Likewise.
19140 (SEEK_SET): Likewise.
19141 (TMP_MAX): Likewise.
19142 (EOF): Use macro-int-constant. Require < 0.
19143 (NULL): Use macro-constant. Require == 0.
19144 (stdin): Require type to be FILE *.
19145 (stdout): Likewise.
19146 (stderr): Likewise.
19147 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19148 macro-int-constant.
19149 (EXIT_SUCCESS): Likewise.
19150 (NULL): Use macro-constant. Require == 0.
19151 (RAND_MAX): Use macro-int-constant.
19152 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19153 [C99-based standards] (strtof): Require function.
19154 [C99-based standards] (strtold): Likewise.
19155 [C99-based standards] (strtoll): Likewise.
19156 [C99-based standards] (strtoull): Likewise.
19157 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19158 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19159 [ISO || ISO99 || ISO11] (math.h): Likewise.
19160 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19161 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19163
d18ea0c5
AS
191642012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19165
19166 [BZ #14132]
56d25bb8
AS
19167 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19168 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19169 * intl/dgettext.c (DCGETTEXT): Likewise.
19170 * intl/gettext.c (DCGETTEXT): Likewise.
19171 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19172 * posix/regex_internal.h (gettext): Likewise.
19173 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19174 Remove declaration.
19175 * include/argz.h (__argz_count_internal)
19176 (__argz_stringify_internal): Remove declaration.
19177 (__argz_count, __argz_stringify): Declare hidden proto.
19178 * intl/dcgettext.c: Remove use of INTDEF.
19179 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19180 * string/argz-stringify.c: Likewise.
19181 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19182 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19183 Declare hidden proto.
d18ea0c5
AS
19184 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19185 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19186 Declare hidden proto.
19187 * include/stdio.h (__asprintf_internal): Don't declare.
19188 (__asprintf): Don't define as macro. Declare hidden proto.
19189 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19190 (__fsetlocking): Declare hidden proto.
19191 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19192 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19193 hidden proto.
19194 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19195 (_IO_setlinebuf): Remove use of INTUSE.
19196 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19197 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19198 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19199 Remove declaration.
19200 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19201 (_IO_do_flush): Remove use of INTUSE.
19202 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19203 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19204 (_IO_adjust_column, _IO_least_wmarker)
19205 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19206 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19207 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19208 (_IO_default_doallocate, _IO_wdefault_doallocate)
19209 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19210 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19211 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19212 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19213 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19214 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19215 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19216 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19217 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19218 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19219 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19220 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19221 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19222 proto.
19223 (_IO_flush_all_internal, _IO_adjust_column_internal)
19224 (_IO_default_uflow_internal, _IO_default_finish_internal)
19225 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19226 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19227 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19228 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19229 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19230 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19231 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19232 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19233 (_IO_file_close_internal, _IO_file_close_it_internal)
19234 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19235 (_IO_file_init_internal, _IO_file_attach_internal)
19236 (_IO_file_fopen_internal, _IO_file_read_internal)
19237 (_IO_file_sync_internal, _IO_file_seek_internal)
19238 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19239 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19240 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19241 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19242 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19243 (_IO_list_all_internal, _IO_link_in_internal)
19244 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19245 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19246 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19247 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19248 (_IO_do_write_internal, _IO_padn_internal)
19249 (_IO_getline_info_internal, _IO_getline_internal)
19250 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19251 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19252 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19253 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19254 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19255 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19256 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19257 with libc_hidden_ver, remove use of INTUSE.
19258 * libio/genops.c: Likewise.
19259 * libio/freopen.c: Likewise.
19260 * libio/freopen64.c: Likewise.
19261 * libio/iofclose.c: Likewise.
19262 * libio/iofdopen.c: Likewise.
19263 * libio/iofflush.c: Likewise.
19264 * libio/iofflush_u.c: Likewise.
19265 * libio/iofgets.c: Likewise.
19266 * libio/iofgets_u.c: Likewise.
19267 * libio/iofopen.c: Likewise.
19268 * libio/iofopncook.c: Likewise.
19269 * libio/iofread.c: Likewise.
19270 * libio/iofread_u.c: Likewise.
19271 * libio/ioftell.c: Likewise.
19272 * libio/iofwrite.c: Likewise.
19273 * libio/iogetline.c: Likewise.
19274 * libio/iogets.c: Likewise.
19275 * libio/iogetwline.c: Likewise.
19276 * libio/iopadn.c: Likewise.
19277 * libio/iopopen.c: Likewise.
19278 * libio/ioseekoff.c: Likewise.
19279 * libio/ioseekpos.c: Likewise.
19280 * libio/iosetbuffer.c: Likewise.
19281 * libio/iosetvbuf.c: Likewise.
19282 * libio/ioungetc.c: Likewise.
19283 * libio/ioungetwc.c: Likewise.
19284 * libio/iovdprintf.c: Likewise.
19285 * libio/iovsprintf.c: Likewise.
19286 * libio/iovsscanf.c: Likewise.
19287 * libio/memstream.c: Likewise.
19288 * libio/obprintf.c: Likewise.
19289 * libio/oldfileops.c: Likewise.
19290 * libio/oldiofclose.c: Likewise.
19291 * libio/oldiofdopen.c: Likewise.
19292 * libio/oldiofopen.c: Likewise.
19293 * libio/oldiopopen.c: Likewise.
19294 * libio/oldstdfiles.c: Likewise.
19295 * libio/putc.c: Likewise.
19296 * libio/setbuf.c: Likewise.
19297 * libio/setlinebuf.c: Likewise.
19298 * libio/stdfiles.c: Likewise.
19299 * libio/strops.c: Likewise.
19300 * libio/vasprintf.c: Likewise.
19301 * libio/vscanf.c: Likewise.
19302 * libio/vsnprintf.c: Likewise.
19303 * libio/vswprintf.c: Likewise.
19304 * libio/wfiledoalloc.c: Likewise.
19305 * libio/wfileops.c: Likewise.
19306 * libio/wgenops.c: Likewise.
19307 * libio/wmemstream.c: Likewise.
19308 * libio/wstrops.c: Likewise.
19309 * libio/__fpurge.c: Likewise.
19310 * libio/__fsetlocking.c: Likewise.
19311 * assert/assert.c: Likewise.
19312 * debug/fgets_chk.c: Likewise.
19313 * debug/fgets_u_chk.c: Likewise.
19314 * debug/fread_chk.c: Likewise.
19315 * debug/fread_u_chk.c: Likewise.
19316 * debug/gets_chk.c: Likewise.
19317 * debug/obprintf_chk.c: Likewise.
19318 * debug/vasprintf_chk.c: Likewise.
19319 * debug/vdprintf_chk.c: Likewise.
19320 * debug/vsnprintf_chk.c: Likewise.
19321 * debug/vsprintf_chk.c: Likewise.
19322 * malloc/mtrace.c: Likewise.
19323 * misc/error.c: Likewise.
19324 * misc/syslog.c: Likewise.
19325 * stdio-common/asprintf.c: Likewise.
19326 * stdio-common/fxprintf.c: Likewise.
19327 * stdio-common/getw.c: Likewise.
19328 * stdio-common/isoc99_fscanf.c: Likewise.
19329 * stdio-common/isoc99_scanf.c: Likewise.
19330 * stdio-common/isoc99_vfscanf.c: Likewise.
19331 * stdio-common/isoc99_vscanf.c: Likewise.
19332 * stdio-common/isoc99_vsscanf.c: Likewise.
19333 * stdio-common/printf-prs.c: Likewise.
19334 * stdio-common/printf_fp.c: Likewise.
19335 * stdio-common/printf_fphex.c: Likewise.
19336 * stdio-common/printf_size.c: Likewise.
19337 * stdio-common/putw.c: Likewise.
19338 * stdio-common/scanf.c: Likewise.
19339 * stdio-common/sprintf.c: Likewise.
19340 * stdio-common/tmpfile.c: Likewise.
19341 * stdio-common/vfprintf.c: Likewise.
19342 * stdio-common/vfscanf.c: Likewise.
19343 * stdlib/strfmon_l.c: Likewise.
19344 * sunrpc/openchild.c: Likewise.
19345 * sunrpc/xdr_stdio.c: Likewise.
19346 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19347 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19348
d6c33fda
RM
193492012-05-24 Roland McGrath <roland@hack.frob.com>
19350
c1487492
RM
19351 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19352
19353 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19354 in the third column, to generate for the shared library an IFUNC
19355 that uses _dl_vdso_vsym.
19356 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19357 * Makeconfig (object-suffixes-noshared): New variable.
19358
19359 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19360 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19361 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19362 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19363
d6c33fda
RM
19364 [BZ #14132]
19365 * include/sys/time.h (__gettimeofday): Remove macro.
19366 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19367 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19368 Remove INTDEF.
19369 (__gettimeofday): Add libc_hidden_def.
19370 (gettimeofday): Add libc_hidden_weak.
19371 * sysdeps/mach/gettimeofday.c: Likewise.
19372 * sysdeps/posix/gettimeofday.c: Likewise.
19373 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19374 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19375 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19376 (__gettimeofday_internal): Remove strong_alias.
19377 (__gettimeofday): Add libc_hidden_def.
19378 (gettimeofday): Add libc_hidden_weak.
19379 * sysdeps/unix/syscalls.list (gettimeofday):
19380 Remove __gettimeofday_internal alias.
19381
b5a2bbe6
L
193822012-05-24 Daniel Jacobowitz <drow@false.org>
19383 H.J. Lu <hongjiu.lu@intel.com>
19384
19385 [BZ #12495]
19386 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19387 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19388 (largebin_index_32_big): New.
19389 (largebin_index): Use it for 16-byte alignment.
19390 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19391 correction with front_misalign.
19392
cfba4fda
L
193932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19394
7f907421
L
19395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19397 Likewise.
19398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19399 Likewise.
19400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19401 Likewise.
19402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19403 Likewise.
19404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19405 Likewise.
19406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19407 Likewise.
19408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19409 Likewise.
19410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19411 Likewise.
19412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19413 Likewise.
19414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19415 Likewise.
19416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19417 Likewise.
19418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19419 Likewise.
19420
cfba4fda
L
19421 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19422 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19423
80bad0cc
JM
194242012-05-24 Joseph Myers <joseph@codesourcery.com>
19425
7a25eb06
JM
19426 [BZ #10846]
19427 [BZ #14036]
19428 * math/libm-test.inc (exp_test): Add test from bug 14036.
19429 (pow_test): Add test from bug 10846.
19430
795405f9
JM
19431 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19432 and other flags.
19433 (special_function): Do not include flags in test name.
19434 (parse_args): Likewise.
19435 * sysdeps/i386/fpu/libm-test-ulps: Update.
19436 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19437 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19438 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19440
80bad0cc
JM
19441 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19442 exceptions.
19443 * math/libm-test.inc ("Philosophy"): Update comment about
19444 exception testing.
19445 (UNDERFLOW_EXCEPTION): New macro.
19446 (UNDERFLOW_EXCEPTION_OK): Likewise.
19447 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19448 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19449 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19450 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19451 (INVALID_EXCEPTION_OK): Update value.
19452 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19453 (OVERFLOW_EXCEPTION_OK): Likewise.
19454 (IGNORE_ZERO_INF_SIGN): Likewise.
19455 (test_exceptions): Handle underflow exceptions.
19456 (acos_test): Update for underflow exception expectations.
19457 (cexp_test): Likewise.
19458 (clog_test): Likewise.
19459 (clog10_test): Likewise.
19460 (csqrt_test): Likewise.
19461 (ctan_test): Likewise.
19462 (ctanh_test): Likewise.
19463 (exp_test): Likewise.
19464 (exp10_test): Likewise.
19465 (exp2_test): Likewise.
19466 (expm1_test): Likewise.
19467 (fma_test): Likewise.
19468 (j0_test): Likewise.
19469 (jn_test): Likewise.
19470 (nexttoward_test): Likewise.
19471 (pow_test): Likewise.
19472 (scalbn_test): Likewise.
19473 (scalbln_test): Likewise.
19474 (tan_test): Likewise.
19475 (y1_test): Likewise.
19476 * sysdeps/i386/fpu/libm-test-ulps: Update.
19477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19478
9e0e3d0b
DM
194792012-05-23 David S. Miller <davem@davemloft.net>
19480
19481 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19482 (__libc_sigaction): Remove unused local variables.
19483
ccd0a08f
L
194842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19485
19486 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19487
62bdf9a6
PE
194882012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19489
f8591f80
PE
19490 mktime: avoid signed integer overflow
19491 * time/mktime.c (__mktime_internal): Do not mishandle the case
19492 where diff == INT_MIN.
19493
94c7d826
PE
19494 mktime: simplify computation of average
19495 * time/mktime.c (ranged_convert): Use new time_t_avg function
19496 instead of rolling our own (probably-slower) code.
19497
ce73d683
PE
19498 mktime: do not assume signed right shift propagates sign bit
19499 * time/mktime.c (isdst_differ): New static function.
19500 (__mktime_internal): No need to normalize tm_isdst now.
19501 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19502 tm_isdst values.
19503
72a22e59
PE
19504 mktime: merge another wrapv change from gnulib
19505 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19506 from some compilers.
19507
68605433
PE
19508 mktime: remove incorrect attempt at unusual arithmetics
19509 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19510 The code didn't really work on such machines anyway.
19511 (TYPE_MINIMUM): Assume two's complement.
19512 (twos_complement_arithmetic): Verify that long_int and time_t
19513 are two's complement (or unsigned, in the latter case).
19514
03cf7fe3
PE
19515 mktime: check signed shifts on long_int and time_t, too
19516 * time/mktime.c (SHR): Check that shifts work as desired
19517 on the types long_int and time_t too, as SHR is used on
19518 such types.
19519
f04dfbc2
PE
19520 mktime: do not assume 'long' is wide enough
19521 * time/mktime.c (verify): Move decl up.
19522 (long_int): New type.
19523 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19524 to remove assumption in the code that 'long' is wide enough to
19525 store year values. This assumption is not true on x32 and on
19526 some non-glibc platforms.
19527
62bdf9a6
PE
19528 mktime: merge wrapv change from gnulib
19529 * time/mktime.c (WRAPV): New macro.
19530 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19531 (guess_time_tm, __mktime_internal): Do not assume that signed
19532 integer overflow wraps around; modern compilers generate code
19533 where this assumption is no longer valid.
19534
5e292e4f
L
195352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19536
19537 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19538 Replace "jmp L(pseudo_end)" with "ret".
19539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19540 Likewise.
19541
8caf8c87
AJ
195422012-05-23 Andreas Jaeger <aj@suse.de>
19543
19544 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19545 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19546
1a09dc56
AJ
195472012-05-23 Andreas Jaeger <aj@suse.de>
19548 Maximilian Attems <max@stro.at>
19549
19550 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19551 New macros.
19552
1c87aba0
L
195532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19554
19555 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19556 code so that pseudo_end is just ret and the stack pointer is
19557 correct also for static library in error case.
19558
40e45bd5
JM
195592012-05-23 Joseph Myers <joseph@codesourcery.com>
19560
c2670533
JM
19561 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19562 move to syscalls.list.
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19567
40e45bd5
JM
19568 * manual/install.texi (Running make install): Do not mention Linux
19569 kernel version for which pt_chown is not needed.
19570 (Linux): Do not mention problems with nscd with 2.0 kernels.
19571 * INSTALL: Regenerated.
19572
be08eda5
AJ
195732012-05-23 Andreas Jaeger <aj@suse.de>
19574
19575 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19576 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19577 macro.
19578 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19579 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19580 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19581 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19582 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19583 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19584 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19585 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19586 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19587 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19588 * sysdeps/unix/sysv/linux/bits/in.h
19589 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19590
a6a056bb
RM
195912012-05-22 Roland McGrath <roland@hack.frob.com>
19592
19593 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19594 (PREPARE_VERSION): Just use assert instead, it will be elided
19595 under [NDEBUG] anyway.
19596
c9009328
L
195972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19598
19599 * sysdeps/unix/sysv/linux/Makefile: Include
19600 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19601 (sysdep_routines): Remove sysctl.
c9009328
L
19602 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19603 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19604 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19605 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19606 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19607
73338355
AJ
196082012-05-22 Andreas Jaeger <aj@suse.de>
19609
19610 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19611 that pseudo_end is just ret and the stack pointer is correct also
19612 for static library in error case.
19613
d44638b0
PP
196142012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19615
19616 [BZ #14122]
19617 * nss/nsswitch.c (defconfig_entries): New variable.
19618 (__nss_database_lookup): Don't leak defconfig entries.
19619 (nss_parse_service_list): Don't leak on error paths.
19620 (free_database_entries): New function.
19621 (free_defconfig): New function.
19622 (free_mem): Move common code to free_database_entries.
19623
31a39bd8
L
196242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19625
da0331a8
L
19626 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19627 Add arch_prctl.
19628 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19629
31a39bd8
L
19630 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19631 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19633 New macro.
19634 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19635 (INTERNAL_SYSCALL_TYPES): Likewise.
19636 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19637 (LOAD_REGS_TYPES_[1-6]): Likewise.
19638 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19639 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19640
45470df3
AZ
196412012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19642
19643 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19644 copysignl for GLIBC_2_0.
19645 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19646 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19648 logbl for GLIBC_2_0.
19649 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19650 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19651
98a61bcb
L
196522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19653
a4f6e481
L
19654 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19655 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19656
f63d5db6
L
19657 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19658 Use "neg %eax".
19659
98a61bcb
L
19660 * time/mktime.c: Update copyright years.
19661
95770f14
PE
196622012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19663
6226efbd
PE
19664 mktime: merge comment-quoting-style change from gnulib
19665 * time/mktime.c: Quote 'like this' in comments.
19666 The GNU coding standards suggest that we no longer quote `like this',
19667 as "`" and "'" are typically rendered asymmetrically nowadays.
19668 The typical gnulib style is to quote 'like this' when quoting
19669 code, and "like this" when quoting English.
19670
b99e4f78
PE
19671 * time/mktime.c (compile-command): Add "-I.".
19672
643e01e6
PE
19673 mktime: merge mktime-internal.h change from gnulib
19674 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19675
2554247d
PE
19676 mktime: merge time_r change from gnulib
19677 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19678
826dd0ab
PE
19679 mktime: merge DEBUG change from gnulib
19680 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19681 case system <time.h> has a #define.
19682
bd83aabe
PE
19683 mktime: merge <sys/types.h> change from gnulib
19684 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19685 since <time.t> is now guaranteed to define time_t.
19686
95770f14
PE
19687 mktime: merge HAVE_CONFIG_H change from gnulib
19688 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19689
5e1a27a9
L
196902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19691
0e44a77e
L
19692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19693 Use "neg %eax".
19694
5e1a27a9
L
19695 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19696 __rlim_t cast.
19697 (struct rusage): Use anonymous union to pad each field to
19698 __syscall_slong_t.
19699
46259bec
DM
197002012-05-21 David S. Miller <davem@davemloft.net>
19701
19702 * Makefules (o-iterator): Remove .s cases.
19703 (compile-command.s): Delete.
19704 (COMPILE.s): Delete.
19705 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19706
59f0c22e
JM
197072012-05-21 Joseph Myers <joseph@codesourcery.com>
19708
19709 * configure.in (libc_cv_predef_stack_protector): Only consider
19710 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19711 * configure: Regenerated.
19712
20c07380
L
197132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19714
bbb3154b
L
19715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19716 New macro. Use R*LP on int and pointer.
19717 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19718 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19719 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19720 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19721
20c07380
L
19722 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19723 [__WORDSIZE_TIME64_COMPAT32] instead of
19724 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19725 (struct utmp): Likewise.
19726 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19727 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19728 Renamed to ...
19729 (__WORDSIZE_TIME64_COMPAT32): This.
19730 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19731 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19732 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19733 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19734 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19735 (__WORDSIZE_TIME64_COMPAT32): New macro.
19736
d8d1017e
AJ
197372012-05-21 Andreas Jaeger <aj@suse.de>
19738
19739 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19740 only if [SHARED]. Add prototype for __wcschr_ia32.
19741
6c7fb145
RM
197422012-05-21 Roland McGrath <roland@hack.frob.com>
19743
19744 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19745 of %rbp unmolested in the jmp_buf while mangling the low bits.
19746 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19747 unmolested high bits of %rbp while demangling the low bits.
19748 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19749
66274218
AJ
197502012-05-21 Andreas Jaeger <aj@suse.de>
19751
07c58f8f
AJ
19752 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19753 * sunrpc/svc_simple.c: Use it for registerrpc.
19754 * sunrpc/xcrypt.c: Use it for passwd2des.
19755
66274218
AJ
19756 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19757
61f65140
L
197582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19759
19760 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19761 Don't define if [__SYSCALL_WORDSIZE != 32].
19762 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19763 New macro.
19764
5fefb436
AJ
197652012-05-21 Bruno Haible <bruno@clisp.org>
19766 Andreas Jaeger <aj@suse.de>
19767
19768 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19769 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19770 inptr and inend for must_buffer_ch.
19771 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19772 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19773 * stdio-common/Makefile (tests): Remove bug15.
19774 (bug15-ENV): Remove macro.
19775 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19776 anymore.
19777
d8e272ab
AJ
197782012-05-19 Andreas Jaeger <aj@suse.de>
19779 Roland McGrath <roland@hack.frob.com>
19780
19781 * manual/contrib.texi: Completely rewritten. It contains now an
19782 alphabetical list of contributors and their contributions.
19783
4a56a162
RH
197842012-05-21 Richard Henderson <rth@twiddle.net>
19785
19786 * misc/getauxval.c (__getauxval): Use unsigned long int.
19787 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19788 (getauxval): Use unsigned long int.
19789
d024d23c
L
197902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19791
19792 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19793
cbc00a03
RM
197942012-05-21 Roland McGrath <roland@hack.frob.com>
19795
19796 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19797 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19798 __alignof__ (long double).
19799
478143fa
AZ
198002012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19801
19802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19803
c7683a6d
RH
198042012-05-20 Richard Henderson <rth@twiddle.net>
19805
19806 * misc/getauxval.c: New file.
19807 * misc/sys/auxv.h: New file.
19808 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19809 (routines): Add getauxval.
19810 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19811 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19812 * elf/dl-sysdep.c (_dl_auxv): Remove.
19813 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19814 * elf/dl-support.c (_dl_auxv): New variable.
19815 (_dl_aux_init): Initialize it.
19816 * manual/startup.texi (Auxiliary Vector): New node.
19817 * sysdeps/generic/bits/hwcap.h: New file.
19818 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19819 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19820 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19821 * sysdeps/sparc/sysdep.h: ... here. Include it.
19822 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19823 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19825 Update.
c7683a6d
RH
19826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19829 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19834
a6f1845d
AZ
198352012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19836
19837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19838
cbcbe830
DM
198392012-05-19 David S. Miller <davem@davemloft.net>
19840
19841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19842
e0b16cc2
JM
198432012-05-19 Joseph Myers <joseph@codesourcery.com>
19844
19845 [BZ #14123]
19846 * math/s_ccosh.c: Include <float.h>
19847 (__ccosh): Avoid internal overflow calculating sinh and cosh
19848 values before multiplying by sin and cos values.
19849 * math/s_ccoshf.c: Likewise.
19850 * math/s_ccoshl.c: Likewise.
19851 * math/s_csin.c: Likewise.
19852 * math/s_csinf.c: Likewise.
19853 * math/s_csinl.c: Likewise.
19854 * math/s_csinh.c: Likewise.
19855 * math/s_csinhf.c: Likewise.
19856 * math/s_csinhl.c: Likewise.
19857 * math/libm-test.inc (ccos_test): Add more tests.
19858 (ccosh_test): Likewise.
19859 (csin_test): Likewise.
19860 (csinh_test): Likewise.
19861 * sysdeps/i386/fpu/libm-test-ulps: Update.
19862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19863
6ad13e08
L
198642012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19865
f66f0ce8
L
19866 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19867 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19868
6ad13e08
L
19869 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19870
b1d072a7
JM
198712012-05-19 Joseph Myers <joseph@codesourcery.com>
19872
19873 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19874 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19875 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19876 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19877 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19878 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19879 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19880 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19881 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19882 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19883 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19884 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19885 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19886 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19887 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19888 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19889 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19890 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19891 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19892 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19893 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19894 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19895 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19896 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19897 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19898 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19899 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19900 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19901 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19902 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19903 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19904
9eae47cb
AJ
199052012-05-18 Andreas Jaeger <aj@suse.de>
19906
19907 * csu/.gitignore: Delete.
19908
bb07f69f
L
199092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19910
19911 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19912 (timex): Use __syscall_slong_t.
19913
e6bdb741
AJ
199142012-05-18 Andreas Jaeger <aj@suse.de>
19915 Carlos O'Donell <carlos_odonell@mentor.com>
19916
19917 * manual/install.texi (Configuring and compiling): Update
19918 description about files modified in the source directory.
d6c33fda 19919 * INSTALL: Regenerated.
e6bdb741 19920
1b74487e
L
199212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19922
19923 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19924 value. Use "or" to set return value to -1.
19925 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19926 negate return value.
19927
a88b64b9
TMQMF
199282012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19929
19930 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19931 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19932 failure if the compiler has Graphite support disabled.
19933 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19934 Likewise.
19935 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19936 CFLAGS-memmove.c): Likewise.
19937 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19938 Likewise.
19939
3707636e
L
199402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19941
610b8622
L
19942 * sysdeps/x86_64/x32/_itoa.h: New file.
19943
7cd195df
L
19944 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19945 getdents system call only if kernel and user dirents have the
19946 same d_ino and d_off.
19947
94b07d20
L
19948 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19949 LLONG_MAX != LONG_MAX.
19950 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19951 (_fitoa_word): Likewise.
19952
18298070
L
19953 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19954 years.
19955 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19956 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19957 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19958
553c7ea4
L
19959 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19960 include <bits/wordsize.h>. Check __x86_64__ instead of
19961 __WORDSIZE.
19962 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19963 if __x86_64__ is defined. Use anonymous union on fpstate.
19964
3707636e
L
19965 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19966 anonymous union.
19967
b53ef01a
AS
199682012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19969
37fb1dc0
AS
19970 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19971 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19972 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19973 Refer to _rtld_local_ro instead of _rtld_global_ro.
19974 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19975 Likewise.
19976 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19977 Likewise.
19978 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19979 Likewise.
19980 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19981 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19982 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19983
b53ef01a
AS
19984 * sysdeps/powerpc/powerpc32/dl-machine.c
19985 (__elf_machine_runtime_setup) [PROF]: Don't reference
19986 _dl_prof_resolve.
19987
7a185db2
AJ
199882012-05-18 Andreas Jaeger <aj@suse.de>
19989
19990 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19991 function only available for GCCs before 3.4 since GCC 3.4
19992 introduced a builtin.
19993 (lrint): Likewise.
19994 (llrintf): Likewise.
19995 (llrint): Likewise.
19996 (fmaxf): Likewise.
19997 (fmax): Likewise.
19998 (fminf): Likewise.
19999 (fmin): Likewise.
20000 (rint): Likewise.
20001 (rintf): Likewise.
20002 (nearbyint): Likewise.
20003 (nearbyintf): Likewise.
20004 (ceil): Likewise.
20005 (ceilf): Likewise.
20006 (floor): Likewise.
20007 (floorf): Likewise.
20008
3e5aef87
L
200092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20010
428bd707
L
20011 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20012 on both fields and cast pointer to __syscall_ulong_t.
20013
3e5aef87
L
20014 * bits/types.h (__fsword_t): New type.
20015 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20016 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20017 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20018 (__FSWORD_T_TYPE): Likewise.
20019 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20020 (__FSWORD_T_TYPE): Likewise.
20021 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20022 (__FSWORD_T_TYPE): Likewise.
20023 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20024 (__FSWORD_T_TYPE): Likewise.
20025 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20026 __SWORD_TYPE with __fsword_t.
20027 (statfs64): Likewise.
20028
1ba7c3dc
DM
200292012-05-17 David S. Miller <davem@davemloft.net>
20030
20031 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20032
59910343
AJ
200332012-05-17 Andreas Jaeger <aj@suse.de>
20034
20035 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20036 warning.
20037
2e4c1e9e
L
200382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20039
20040 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20041
de7f5ce7
AJ
200422012-05-17 Andreas Jaeger <aj@suse.de>
20043
20044 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20045 when it is used.
20046
286abc3d
CM
200472012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20048
20049 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20050
477cc68e
L
200512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20052
20053 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20054 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20055
1a0994f5
CD
200562012-05-17 Andreas Jaeger <aj@suse.de>
20057 Carlos O'Donell <carlos_odonell@mentor.com>
20058
20059 [BZ #14059]
20060 * sysdeps/x86_64/multiarch/init-arch.h
20061 (bit_YMM_Usable): Rename to...
20062 (bit_AVX_Usable): ... this.
20063 (bit_FMA4_Usable): New macro.
20064 (bit_XMM_state): New macro.
20065 (bit_YMM_state): New macro.
20066 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20067 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20068 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20069 (CPUID_OSXSAVE): New macro.
20070 (CPUID_AVX): New macro.
20071 (CPUID_FMA4): New macro.
20072 (index_YMM_Usable): Rename to...
20073 (index_AVX_Usable): ... this.
20074 (HAS_AVX): Use HAS_ARCH_FEATURE.
20075 (HAS_FMA4): Likewise.
20076 (HAS_YMM_USABLE): Remove.
20077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20078 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20079 are present.
20080 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20081 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20082 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20083 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20084 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20085
0af797de
CM
200862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20087
20088 * math/libm-test.c: Support platforms without multiple rounding modes.
20089 * math/bug-nextafter.c: Support platforms without FP exceptions.
20090 * math/bug-nexttoward.c: Likewise.
20091 * math/test-fenv.c: Likewise.
20092 * math/test-misc.c: Likewise.
20093 * stdlib/bug-getcontext.c: Likewise.
20094
e39745ff
AJ
200952012-05-17 Andreas Jaeger <aj@suse.de>
20096
20097 * manual/examples/search.c (critter_cmp): Change signature to
20098 avoid warnings.
20099 * manual/string.texi (Collation Functions): Likewise.
20100
48970aba
L
201012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20102
20103 * bits/types.h: Fold copyright years.
20104 * bits/typesizes.h: Likewise.
20105 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20106 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20107 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20109 * time/time.h: Likewise.
20110
bedee953
PP
201112012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20112
20113 [BZ #208]
20114 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20115 in instead of returning them. Return void.
20116 (__libc_mallinfo): Accumulate over all arenas.
20117 (__malloc_stats): Adjust for change in int_mallinfo interface.
20118
61653dfb
RM
201192012-05-16 Roland McGrath <roland@hack.frob.com>
20120
30b99d79
RM
20121 [BZ #10375]
20122 * configure.in (NM): Add AC_CHECK_TOOL for it.
20123 (libc_extra_cflags): New substituted variable.
20124 Check for -fstack-protector being used implicitly.
20125 * configure: Regenerated.
20126 * config.make.in (config-extra-cflags): New variable,
20127 gets @libc_extra_cflags@.
20128 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20129
61653dfb
RM
20130 [BZ #10375]
20131 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20132 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20133 * configure: Regenerated.
20134 * config.make.in (CPPUNDEFS): New substituted variable.
20135 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20136 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20137 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20138
661768bb
L
201392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20140
20141 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20142 (mq_attr): Use __syscall_slong_t.
20143
d4261567
L
201442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20145
20146 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20147 Check __x86_64__ instead of __WORDSIZE.
20148 (_STAT_VER_LINUX): Likewise.
20149 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20150 __syscall_ulong_t and __syscall_slong_t.
20151 (stat64): Likewise.
20152
cf3ff365
L
201532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20154
20155 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20156
76cf3e4d
L
201572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20158
20159 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20160
a637753a
L
201612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20162
20163 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20164 __syscall_ulong_t.
20165
d5e05119
L
20166 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20167 include <bits/wordsize.h>. Check __x86_64__ instead of
20168 __WORDSIZE.
20169 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20170 defined.
20171 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20172
f62ee380
L
20173 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20174 include <bits/wordsize.h>. Check __x86_64__ instead of
20175 __WORDSIZE.
20176 (user_regs_struct): Use "__extension__ unsigned long long"
20177 instead of "unsigned long" if __x86_64__ is defined.
20178 (user): Likewise. Pad after pointer field if __ILP32__ is
20179 defined.
20180
4e124ced
JM
201812012-05-16 Joseph Myers <joseph@codesourcery.com>
20182
6a3951a0
JM
20183 * configure.in (makeinfo): Require version 4.5 or later. Allow
20184 versions 5 to 9.
20185 * configure: Regenerated.
20186 * manual/install.texi (texinfo): Increase version requirement to
20187 4.5 or later.
20188 * INSTALL: Regenerated.
20189
4e124ced
JM
20190 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20191
953ca31a
L
201922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20193
20194 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20195
617aca05
L
20196 * sysdeps/x86_64/x32/ffs.c: New file.
20197
5762f7ae
L
20198 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20199 __syscall_ulong_t.
20200 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20201 defined. Use __syscall_ulong_t.
20202 (shminfo): Use __syscall_ulong_t.
20203 (shm_info): Likewise.
20204
a26b6856
L
20205 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20206 __syscall_ulong_t.
20207
cb2b9ef7
L
20208 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20209 <bits/wordsize.h>.
20210 (msgqnum_t): Use __syscall_ulong_t.
20211 (msglen_t): Likewise.
20212 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20213 __syscall_ulong_t.
20214
34683bb0
L
20215 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20216 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20217
84a68786
L
20218 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20219
48baa5f1
L
20220 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20221 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20222
180be88b
L
20223 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20224 __syscall_slong_t.
20225
5e90c8ad
L
20226 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20227 include <bits/wordsize.h>. Check __x86_64__ instead of
20228 __WORDSIZE.
20229
23dfb58b
L
20230 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20231 "unsigned long long int" if __x86_64__ is defined.
20232 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20233
ce5d54b0
L
20234 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20235 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20236 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20237
13dc9eac
L
20238 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20239 <stdint.h>.
20240 (GET_PC): Cast to uintptr_t first.
20241 (GET_FRAME): Likewise.
20242 (GET_STACK): Likewise.
20243
a7895d15
L
20244 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20245 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20246 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20247 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20248 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20249 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20250 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20251 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20252 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20253 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20254 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20255 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20256 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20257 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20258 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20259 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20260 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20261 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20262 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20263 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20264 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20265 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20266 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20267 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20268 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20269 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20270 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20271 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20272 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20273
656416c9
AS
202742012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20275
5bd66283
AS
20276 * Makerules (+depfiles): Also collect depfiles from .oS in
20277 $(extra-objs).
20278 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20279 .oS, $(libnldbl-routines)).
20280
656416c9
AS
20281 * Makerules (native-compile-mkdep-flags): Define.
20282 * sunrpc/Makefile (extra-objs): Add $(addprefix
20283 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20284 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20285 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20286 calling $(make-target-directory).
20287
a46f2169
L
202882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20289
20290 * bits/types.h (__snseconds_t): Removed.
20291 * time/time.h (struct timespec): Replace __snseconds_t with
20292 __syscall_slong_t.
20293 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20294 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20295 Likewise.
20296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20297 (__SNSECONDS_T_TYPE): Likewise.
20298 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20299 (__SNSECONDS_T_TYPE): Likewise.
20300 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20301 (__SNSECONDS_T_TYPE): Likewise.
20302
6af6528b
L
203032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20304
20305 * sysdeps/mach/hurd/bits/typesizes.h
20306 (__SYSCALL_SLONG_TYPE): New macro.
20307 (__SYSCALL_ULONG_TYPE): Likewise.
20308
de986b56
L
203092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20310
20311 * bits/types.h (__syscall_slong_t): New type.
20312 (__syscall_ulong_t): Likewise.
20313
20314 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20315 (__SYSCALL_ULONG_TYPE): Likewise.
20316 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20317 (__SYSCALL_SLONG_TYPE): Likewise.
20318 (__SYSCALL_ULONG_TYPE): Likewise.
20319 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20320 (__SYSCALL_SLONG_TYPE): Likewise.
20321 (__SYSCALL_ULONG_TYPE): Likewise.
20322 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20323 (__SYSCALL_SLONG_TYPE): Likewise.
20324 (__SYSCALL_ULONG_TYPE): Likewise.
20325
85736dc7
L
203262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20327
20328 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20329 Add sigaltstack-offsets.sym.
20330 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20331 <sigaltstack-offsets.h>.
20332 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20333 longjmp_msg pointer.
20334 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20335 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20336 signal stack.
20337 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20338
cc03b296
JM
203392012-05-15 Joseph Myers <joseph@codesourcery.com>
20340
a9538892
JM
20341 * elf/stackguard-macros.h: Remove file.
20342 * sysdeps/generic/stackguard-macros.h: New file.
20343 * sysdeps/i386/stackguard-macros.h: Likewise.
20344 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20345 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20346 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20347 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20348 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20349 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20350 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20351 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20352 <elf/stackguard-macros.h>.
20353
cc03b296
JM
20354 [BZ #14109]
20355 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20356 __aligned__ in attribute.
20357 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20358 (gregset_t): Likewise.
20359
93171016
L
203602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20361
20362 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20363 * sysdeps/x86_64/64/Implies-after: Here. New file.
20364 * sysdeps/x86_64/x32/Implies-after: New file.
20365
d86813a0
L
203662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20367
20368 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20369 and access return value for _dl_profile_fixup. Use R10_LP to
20370 load frame size.
20371
2953ec75
L
203722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20373
20374 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20375
3b550e9e
L
203762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20377
20378 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20379 * sysdeps/x86_64/x32/sysdep.h: New file.
20380
eda41706
L
203812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20382
20383 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20384 * sysdeps/x86_64/setjmp.S: Likewise.
20385
9ea01d93
AZ
203862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20387
20388 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20389 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20390 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20391 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20392 remove unused global constant.
20393
02a91938
CM
203942012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20395
20396 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20397 include of <not-cancel.h>.
20398
6540185f
RM
203992012-05-15 Roland McGrath <roland@hack.frob.com>
20400
20401 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20402
509072a0
AJ
204032012-05-15 Jeff Law <law@redhat.com>
20404 Andreas Jaeger <aj@suse.de>
20405
20406 [BZ #13594]
20407 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20408 out from...
20409 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20410 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20411 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20412 code changing __hst_map_handle.map.
20413
ba75122d
RM
204142012-05-15 Roland McGrath <roland@hack.frob.com>
20415
20416 * configure.in (sysnames): Look for Implies-before and Implies-after
20417 files.
20418 * configure: Regenerated.
20419
890d8bd8
L
204202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20421
20422 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20423 8-byte data alignment with LP_SIZE alignment.
20424
f6ee6623
L
204252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20426
20427 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20428 into R10_LP.
20429
ea2626f6
L
204302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20431
20432 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20433
085f715e
L
204342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20435
20436 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20437 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20438 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20439 Likewise.
20440 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20441
be8498fc
L
204422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20443
20444 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20445 (stackinfo_sub_sp): Likewise.
20446
70bc83b9
L
204472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20448
20449 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20450 RAX_LP.
20451
9bc0b730
L
204522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20453
20454 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20455 into R*_LP.
20456
6d2850e7
L
204572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20458
20459 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20460 sizes into R*_LP.
20461
3cb84561
L
204622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20463
20464 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20465
54e2ed81
L
204662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20467
20468 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20469 into R11_LP and load __x86_64_shared_cache_size_half into
20470 R8_LP.
20471
8a17f349
L
204722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20473
20474 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20475 R8_LP.
20476
777b1eea
AZ
204772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20478
20479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20480 logb for POWER7.
20481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20482 logbf for POWER7.
20483 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20484 logbl for POWER7.
20485 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20486 powerpc32/power7/fpu/s_logb.c via #include.
20487 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20488 powerpc32/power7/fpu/s_logbf.c via #include.
20489 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20490 powerpc32/power7/fpu/s_logbl.c via #include.
20491
d20d4ac2
JM
204922012-05-15 Joseph Myers <joseph@codesourcery.com>
20493
20494 * README.libm: Remove file.
20495
6cdef1ab
L
204962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20497
20498 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20499 count for x32. Use R*_LP and omit operand-size suffix.
20500
0b254d8f
L
205012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20502
20503 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20504 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20505 * sysdeps/x86_64/x32/shlib-versions: New file.
20506
ceb809dc
RM
205072012-05-14 Roland McGrath <roland@hack.frob.com>
20508
20509 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20510 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20511 Use _dl_fatal_printf instead.
20512
37f1abd4
JM
205132012-05-14 Joseph Myers <joseph@codesourcery.com>
20514
20515 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20516 set if not set by the user. Do not allow for being unset.
20517 * sysdeps/unix/sysv/linux/configure: Regenerated.
20518
11de3a33
L
205192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20520
20521 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20522 the `q' suffix from lea and replace .quad with ASM_ADDR.
20523
e02f153a
L
205242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20525
20526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20527 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20528 instead of $17.
20529 (PTR_DEMANGLE): Likewise.
20530
520ae0fd
L
205312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20532
20533 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20534 (LP_OP): Likewise.
20535 (ASM_ADDR): Likewise.
20536 (RAX_LP): Likewise.
20537 (RBP_LP): Likewise.
20538 (RBX_LP): Likewise.
20539 (RCX_LP): Likewise.
20540 (RDI_LP): Likewise.
20541 (RSI_LP): Likewise.
20542 (RSP_LP): Likewise.
20543 (R8_LP): Likewise.
20544 (R9_LP): Likewise.
20545 (R10_LP): Likewise.
20546 (R10_LP): Likewise.
20547 (R11_LP): Likewise.
20548 (R12_LP): Likewise.
20549 (R13_LP): Likewise.
20550 (R14_LP): Likewise.
20551 (R15_LP): Likewise.
20552
b985be81
L
205532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20554
20555 * sysdeps/x86_64/x32/dl-machine.h: New file.
20556
6a4888ff
AJ
205572012-05-14 Andreas Jaeger <aj@suse.de>
20558
20559 * manual/Makefile (subdir): Remove export of subdir.
20560 (all): Remove target.
20561 (.PHONY): Remove all from list.
20562 (mkinstalldirs): Remove.
20563 (.PHONY): Remove installdirs from list.
20564 ($(inst_infodir)/libc.info): Use make-target-directory.
20565 (installdirs): Remove.
20566 (subdir_%): Remove.
20567 (glibc-targets): Remove.
20568 (lib): Remove.
20569 (stubs): Remove.
20570 ($(objpfx)stubs ../po/manual.pot): Remove.
20571 ($(objpfx)stamp%): Remove.
20572 (make-target-directory): Remove.
20573 (subdir_install): Remove.
20574 (routines): Remove.
20575 (aux): Remove.
20576 (sources): Remove.
20577 (objects): Remove.
20578 (headers): Remove.
20579
20580 [BZ #13750]
20581 * manual/.gitignore: Remove, it's not needed anymore.
20582 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20583 all files in it.
20584 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20585 directory.
20586 (texis): Renamed to $(objpfx)texis.
20587 (texis-path): New, contains path to generated files.
20588 (chapters.%): Use texis-path for complete path, add extra argument
20589 libc-texinfo.sh.
20590 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20591 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20592 (summary,texi, stamp-summary): Use complete path of
20593 files. Generate files in build dir.
20594 (dir-add.texi): Build in build dir.
20595 (libm-err.texi,stamp-libm-err): Likewise.
20596 (version.texi, stamp-version): Likewise.
20597 (.%c.texi): Likewise.
20598 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20599 (mostlyclean): Remove target.
20600 (realclean): Remove target.
20601 (generated): Add new variable with contents from mostlyclean and
20602 realclean, remove entries duplicated in common-mostlyclean, add
20603 stamp-libm-err and stamp-version.
20604 (generated-dirs): Add libc directory.
20605 ($(inst_infodir)/libc.info): Install files from build dir.
20606
20607 * manual/install.texi (Configuring and compiling): Adjust since
20608 the info files are not part of the tar ball anymore.
20609
7ac77294
AJ
206102012-05-14 Andreas Jaeger <aj@suse.de>
20611
20612 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20613 variable.
20614
ffb7875d
JM
206152012-05-14 Joseph Myers <joseph@codesourcery.com>
20616
20617 [BZ #13717]
20618 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20619 to 2.2.0 where earlier.
20620 * sysdeps/unix/sysv/linux/configure: Regenerated.
20621 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20622 Remove conditional code.
20623 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20624 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20625 Remove conditional code.
20626 [!__NR_lchown]: Likewise.
20627 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20628 [__NR_lchown]: Likewise.
20629 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20630 comment referencing __ASSUME_LCHOWN_SYSCALL.
20631 * sysdeps/unix/sysv/linux/i386/sigaction.c
20632 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20633 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20634 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20635 Remove conditional code.
20636 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20637 (__protocol_available): Remove #if 0 code.
20638 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20639 conditional code.
20640 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20641 * sysdeps/unix/sysv/linux/kernel-features.h
20642 (__ASSUME_GETCWD_SYSCALL): Don't define.
20643 (__ASSUME_REALTIME_SIGNALS): Likewise.
20644 (__ASSUME_PREAD_SYSCALL): Likewise.
20645 (__ASSUME_PWRITE_SYSCALL): Likewise.
20646 (__ASSUME_POLL_SYSCALL): Likewise.
20647 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20648 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20649 non-SPARC.
20650 (__ASSUME_SIOCGIFNAME): Don't define.
20651 (__ASSUME_MSG_NOSIGNAL): Likewise.
20652 (__ASSUME_SENDFILE): Define unconditionally.
20653 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20654 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20655 conditional code.
20656 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20657 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20658 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20659 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20660 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20661 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20662 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20664 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20665 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20667 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20670 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20671 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20673 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20674 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20676 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20679 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20680 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20682 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20685 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20687 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20688 Remove conditional code.
20689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20690 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20691 Remove conditional code.
20692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20693 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20694 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20695 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20696 Remove conditional code.
20697 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20698 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20699 Remove conditional code.
20700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20701 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20702 Remove conditional code.
20703 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20704 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20705 Remove conditional code.
20706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20707 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20708 Remove conditional code.
20709 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20710 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20711 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20713 * sysdeps/unix/sysv/linux/sigaction.c
20714 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20715 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20716 * sysdeps/unix/sysv/linux/sigpending.c
20717 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20718 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20719 * sysdeps/unix/sysv/linux/sigprocmask.c
20720 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20721 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20722 * sysdeps/unix/sysv/linux/sigsuspend.c
20723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20725 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20726 (__libc_missing_rt_sigs): Remove.
20727 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20728 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20729 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20730 Remove conditional code.
20731 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20732 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20733 return 1.
20734 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20735 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20736 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20737 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20738
1bfb7291
AJ
207392012-05-14 Andreas Jaeger <aj@suse.de>
20740
caae5a81
AJ
20741 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20742 it's not used in glibc.
20743 (__coshm1): Likewise.
20744 (__acosh1p): Likewise.
20745 (__sgn): Likewise.
20746
1bfb7291
AJ
20747 * manual/string.texi (Copying and Concatenation): Add missing
20748 variable in concat example.
20749 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20750
c044d724
L
207512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20752
144c5467 20753 [BZ #14103]
c044d724
L
20754 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20755 __builtin_clzl with __builtin_clzll.
20756
2523c62b
L
207572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20758
20759 [BZ #14104]
20760 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20761 libc_freeres_ptr.
20762
d7bb4c42
LD
207632012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20764
20765 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20766 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20767 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20768 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20769
9dc4e1fb
MF
207702012-05-14 Mike Frysinger <vapier@gentoo.org>
20771
20772 * NEWS: Update ia64 info.
20773
c7df0112
AS
207742012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20775
20776 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20777 used as bcopy.
20778
dc70356c
TS
207792012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20780
20781 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20782 * sysdeps/unix/syscalls.list (dup3): Likewise.
20783 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20784 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20785
9fb1a21f
L
207862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20787
20788 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20789 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20790
4822a2a5
L
207912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20792
20793 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20794 thread pointer.
20795 (TLS_IE): Use mov/add instead of movq/addq to load thread
20796 pointer.
20797 (TLS_GD_PREFIX): New.
20798 (TLS_GD): Use it.
20799
842b81d6
DM
208002012-05-11 David S. Miller <davem@davemloft.net>
20801
20802 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20803 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20804 (_FPU_SETCW): Likewise.
20805
1cf463cd
L
208062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20807
20808 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20809 is 32-byte aligned.
20810
60cc4a18
AS
208112012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20812
20813 [BZ #11837]
20814 * iconvdata/gb18030.c: Update tables.
20815 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20816 characters specially.
20817 (BODY for TO_LOOP): Add encoding of missing ranges.
20818
febb44a4
TS
208192012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20820
20821 [BZ #13673]
20822 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20823 * sysdeps/mach/hurd/dup3.c: Likewise.
20824 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20825 * sysdeps/powerpc/memmove.c:: Likewise.
20826
0a10fb9e
L
208272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20828
20829 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20830 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20831
df8a552f
L
208322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20833
20834 * elf/elf.h (R_X86_64_RELATIVE64): New.
20835 (R_X86_64_NUM): Updated.
20836 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20837 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20838 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20839 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20840 tst-quad1pie tst-quad2pie
20841 (modules-names): Add tst-quadmod1 tst-quadmod2.
20842 ($(objpfx)tst-quad1): New dependency.
20843 ($(objpfx)tst-quad2): Likewise.
20844 ($(objpfx)tst-quad1pie): Likewise.
20845 ($(objpfx)tst-quad2pie): Likewise.
20846 * sysdeps/x86_64/tst-quad1.c: New file.
20847 * sysdeps/x86_64/tst-quad1pie.c: New file.
20848 * sysdeps/x86_64/tst-quad2.c: Likewise.
20849 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20850 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20851 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20852 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20853 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20854
f34d6f84
ST
208552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20856
f42d41d1
ST
20857 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20858 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20859 * streams/stropts.h (t_scalar_t): Define type.
20860
3c3571fc
ST
20861 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20862 (_PATH_PRESERVE): Set to "/var/lib".
20863 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20864
61f06bd3
ST
20865 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20866 instead of int.
20867
918d4d71
ST
20868 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20869 if __dir_mkfile succeeded.
20870
f34d6f84
ST
20871 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20872 checking for _hurd_dtablesize. Unlock it right after having
20873 finished _hurd_dtable allocation.
20874
10589b4a
TS
208752012-05-10 Thomas Schwinge <thomas@schwinge.name>
20876
674cdbc7
TS
20877 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20878 * sysdeps/mach/hurd/configure: Regenerated.
20879 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20880 special-casing to...
20881 * sysdeps/gnu/configure.in: ... this new file.
20882 * sysdeps/unix/sysv/linux/configure: Regenerated.
20883 * sysdeps/gnu/configure: New generated file.
20884
8e41b99f
TS
20885 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20886 for Linux: use nsec instead of usec, as well as:
20887 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20888 members of type struct timespec.
20889 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20890 New macros.
20891 (struct stat64): Likewise.
20892 (_STATBUF_ST_NSEC): New macro.
20893 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20894
10589b4a
TS
20895 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20896 __strtoul_internal rather than strtoul.
20897
63643c85
PT
208982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20899
20900 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20901 and reject them.
20902
3faebe6a
ST
209032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20904
20905 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20906 which preserves existing values.
20907 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20908
c6474b07
PT
209092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20910
20911 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20912 TIMEOUT values. Return EINVAL for NFDS values either negative or
20913 greater than FD_SETSIZE.
20914
1043890b
ST
209152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20916
20917 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20918 allocated, call __vm_protect to finish enabling the existing space, and
20919 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20920 allocate the remainder.
20921
37ed8b9b
PT
209222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20923
20924 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20925 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20926
db653660
ST
209272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20928
37ed8b9b
PT
20929 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20930 sysdeps/mach/hurd/readlink.c.
b29d4053 20931
db653660
ST
20932 * posix/tst-sysconf.c (posix_options): Only use
20933 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20934 _POSIX_SYNCHRONIZED_IO when they are defined
20935 * sysdeps/mach/hurd/bits/posix_opt.h:
20936 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20937 (_XOPEN_REALTIME): Undefine macro.
20938 (_XOPEN_REALTIME_THREADS): Undefine macro.
20939 (_XOPEN_SHM): Undefine macro.
20940 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20941 macro to -1.
20942 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20943 macro to -1.
20944 (_POSIX_ASYNC_IO): Undefine macro.
20945 (_POSIX_PRIORITIZED_IO): Undefine macro.
20946 (_POSIX_SPIN_LOCKS): Define macro to -1.
20947
ee16e894
ST
20948 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20949 SA_NODEFER, SA_RESETHAND.
20950 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20951 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20952 F_DUPFD_CLOEXEC.
20953
6103ae3b
TS
209542012-05-10 Thomas Schwinge <thomas@schwinge.name>
20955
20956 * elf/Makefile (pldd-modules): Define unconditionally.
20957
80b4e5f3
TS
209582012-05-10 Thomas Schwinge <thomas@schwinge.name>
20959
20960 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20961
edadcbd6
ST
209622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20963
20964 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20965 Return ENOENT when name is empty.
20966 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20967
80694780
TS
209682012-05-10 Thomas Schwinge <thomas@schwinge.name>
20969
1792c087
TS
20970 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20971
80694780
TS
20972 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20973
6b645f0d
ST
209742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20975
80694780
TS
20976 Fix mlock in all cases except non-readable pages.
20977 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20978 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20979
6b645f0d
ST
20980 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20981 (__mkdir): When path is `/', just fail with EEXIST.
20982 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20983
e468f8a3
TS
209842012-05-10 Thomas Schwinge <thomas@schwinge.name>
20985
20986 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20987 <sys/uio.h> (for writev).
20988 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20989 and <sys/param.h> (for MIN).
20990
a4186cff
PT
209912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20992
20993 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20994 REQUESTED_TIME. Properly set the remaining time and return EINTR
20995 if interrupted.
20996
510bbf14
TS
209972012-05-10 Thomas Schwinge <thomas@schwinge.name>
20998
20999 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21000 Depend on against $(link-rpcuserlibs).
21001
5d5722e8
ST
210022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21003
a4186cff
PT
21004 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21005 (__libc_stack_end): Do not use attribute_relro.
21006 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21007 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21008 to libthread-provided value.
a4186cff
PT
21009 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21010 attribute_relro.
5d5722e8 21011
37233df9
TS
210122012-05-10 Thomas Schwinge <thomas@schwinge.name>
21013
be971a2b
TS
21014 [BZ #3748]
21015 * bits/libc-lock.h (__libc_once_get): New macro.
21016 * sysdeps/mach/bits/libc-lock.h: Likewise.
21017 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21018 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21019 instead of using implementation details.
21020
37233df9
TS
21021 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21022 * libio/freopen.c: Likewise.
21023 * libio/freopen64.c: Likewise.
21024 * misc/syslog.c: Likewise.
21025 * nscd/connections.c: Likewise.
21026 * nscd/netgroupcache.c: Likewise.
21027 * sysdeps/posix/getcwd.c: Likewise.
21028
38de94a5
RM
210292012-05-10 Roland McGrath <roland@hack.frob.com>
21030
21031 * math/w_ilogbf.c: Add #include <limits.h>.
21032
67530489
ST
210332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21034
a4186cff 21035 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21036 path instead of returning without unlocking.
21037
67530489
ST
21038 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21039 immediate-write ioctls.
21040 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21041
5aa3a74a
TS
210422012-05-10 Thomas Schwinge <thomas@schwinge.name>
21043
18bad2ae
TS
21044 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21045 __builtin_frame_address instead of making assumptions about the
21046 location of the return address relative to DATA. Force early load of
21047 the return address.
21048 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21049 __builtin_frame_address.
21050
5aa3a74a
TS
21051 dup3 for GNU Hurd.
21052 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21053 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21054 implement dup3 and do some further code clean-ups.
21055 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21056 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21057
ecd0de9a
ST
210582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21059
cd9fa985
ST
21060 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21061
a4186cff
PT
21062 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21063 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21064 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21065 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21066 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21067 d->port.lock.
802ca5a5 21068
a4186cff
PT
21069 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21070 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21071 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21072
bcf55240
TS
210732012-05-10 Thomas Schwinge <thomas@schwinge.name>
21074
6960eb42
TS
21075 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21076 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21077 definitions.
21078
eb43375f
TS
21079 accept4 for GNU Hurd.
21080 * include/sys/socket.h (__libc_accept4): New prototype.
21081 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21082 to implement __libc_accept4.
21083 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21084 __libc_accept4.
21085 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21086
bcf55240
TS
21087 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21088 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21089 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21090 signal-defines.sym.
21091
6178c55b
ST
210922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21093
a4186cff 21094 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21095
6f080c2f
TS
210962012-05-10 Thomas Schwinge <thomas@schwinge.name>
21097
21098 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21099 assertion on O_CLOEXEC flag.
21100 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21101 * hurd/intern-fd.c: Likewise.
21102 * hurd/port2fd.c: Likewise.
21103
bcfe3a54
ST
211042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21105
21106 [BZ #3906]
21107 * bits/in.h (IPV6_PKTINFO): Define new macro.
21108 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21109
89c9aa49
AZ
211102012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21111
21112 [BZ #13954]
21113 [BZ #13955]
21114 [BZ #13956]
21115 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21116 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21117 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21118 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21119 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21120 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21121 * math/libm-test.inc (logb_test) : Additional logb tests.
21122
021db4be
AJ
211232012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21124 Andreas Jaeger <aj@suse.de>
21125
21126 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21127 * configure: Regenerated.
21128 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21129 * config.make.in (link-obsolete-rpc): New substituted variable.
21130 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21131 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21132 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21133 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21134 so that libc.a contains the symbols.
21135 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21136 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21137 * sunrpc/auth_none.c: Likewise.
21138 * sunrpc/auth_unix.c: Likewise.
21139 * sunrpc/authdes_prot.c: Likewise.
21140 * sunrpc/authuxprot.c: Likewise.
21141 * sunrpc/clnt_gen.c: Likewise.
21142 * sunrpc/clnt_perr.c: Likewise.
21143 * sunrpc/clnt_raw.c: Likewise.
21144 * sunrpc/clnt_simp.c: Likewise.
21145 * sunrpc/clnt_tcp.c: Likewise.
21146 * sunrpc/clnt_udp.c: Likewise.
21147 * sunrpc/clnt_unix.c: Likewise.
21148 * sunrpc/des_crypt.c: Likewise.
21149 * sunrpc/des_soft.c: Likewise.
21150 * sunrpc/get_myaddr.c: Likewise.
21151 * sunrpc/key_call.c: Likewise.
21152 * sunrpc/key_prot.c: Likewise.
21153 * sunrpc/netname.c: Likewise.
21154 * sunrpc/pm_getmaps.c: Likewise.
21155 * sunrpc/pm_getport.c: Likewise.
21156 * sunrpc/pmap_clnt.c: Likewise.
21157 * sunrpc/pmap_prot.c: Likewise.
21158 * sunrpc/pmap_prot2.c: Likewise.
21159 * sunrpc/pmap_rmt.c: Likewise.
21160 * sunrpc/publickey.c: Likewise.
21161 * sunrpc/rpc_cmsg.c: Likewise.
21162 * sunrpc/rpc_common.c: Likewise.
21163 * sunrpc/rpc_dtable.c: Likewise.
21164 * sunrpc/rpc_prot.c: Likewise.
21165 * sunrpc/rpc_thread.c: Likewise.
21166 * sunrpc/rtime.c: Likewise.
21167 * sunrpc/svc.c: Likewise.
21168 * sunrpc/svc_auth.c: Likewise.
21169 * sunrpc/svc_raw.c: Likewise.
21170 * sunrpc/svc_run.c: Likewise.
21171 * sunrpc/svc_tcp.c: Likewise.
21172 * sunrpc/svc_udp.c: Likewise.
21173 * sunrpc/svc_unix.c: Likewise.
21174 * sunrpc/svcauth_des.c: Likewise.
21175 * sunrpc/xcrypt.c: Likewise.
21176 * sunrpc/xdr.c: Likewise.
21177 * sunrpc/xdr_array.c: Likewise.
21178 * sunrpc/xdr_float.c: Likewise.
21179 * sunrpc/xdr_intXX_t.c: Likewise.
21180 * sunrpc/xdr_mem.c: Likewise.
21181 * sunrpc/xdr_rec.c: Likewise.
21182 * sunrpc/xdr_ref.c: Likewise.
21183 * sunrpc/xdr_sizeof.c: Likewise.
21184 * sunrpc/xdr_stdio.c: Likewise.
21185
b5c086a2
RM
211862012-05-10 Roland McGrath <roland@hack.frob.com>
21187
21188 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21189 change. Update copyright years.
21190
6d74dd09
JM
211912012-05-10 Joseph Myers <joseph@codesourcery.com>
21192
21193 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21194
28e72501
MK
211952012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21196 Joseph Myers <joseph@codesourcery.com>
21197 Paul Pluzhnikov <ppluzhnikov@google.com>
21198
21199 [BZ #14012]
21200 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21201 requiring rpcgen.
21202 [cross-compiling] (extra-libs): Likewise.
21203 [cross-compiling] (extra-libs-others): Likewise.
21204 [cross-compiling] (librpcsvc-routines): Likewise.
21205 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21206 [cross-compiling] (omit-deps): Likewise.
21207 (sunrpc-CPPFLAGS): New variable.
21208 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21209 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21210 (cross-rpcgen-objs): New variable.
21211 (extra-objs): Append $(cross-rpcgen-objs).
21212 ($(cross-rpcgen-objs)): New rule.
21213 ($(objpfx)cross-rpcgen): Likewise.
21214 (rpcgen-cmd): Define to use $(built-program-file). Expand
21215 comment.
21216 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21217 ($(objpfx)x%.stmp): Likewise.
21218 * sunrpc/proto.h [IS_IN_build] (_): Define.
21219 [IS_IN_build] (_libc_intl_domainname): Likewise.
21220
c8c59454
L
212212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21222
21223 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21224 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21225 and R_X86_64_TPOFF64.
21226
6f27cd16
JM
212272012-05-10 Joseph Myers <joseph@codesourcery.com>
21228
21229 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21230 sysdeps/unix/sysv/syscalls.list.
21231 (stime): Likewise.
21232 (utime): Likewise.
21233 * sysdeps/unix/sysv/syscalls.list: Remove file.
21234
02467e1c
PE
212352012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21236
21237 [BZ #3440]
21238 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21239 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21240 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21241 (__LC_IDENTIFICATION): Make these macros useful in #if
21242 expressions, as required by C99.
21243
da392631
AS
212442012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21245
21246 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21247 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21248 after this.
21249
8115f29b
L
212502012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21251
21252 * stdlib/longlong.h: Updated from GCC.
21253
bdd74070
AJ
212542012-05-09 Andreas Jaeger <aj@suse.de>
21255
edfe0dbe
AJ
21256 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21257 default is first entry.
21258 (run_mode): Set type.
21259 (main): Remove informal message about syslog.
21260 (options): Fix typo.
21261
bcfe3a54
ST
21262 [BZ #14053]
21263 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21264 to asm.
bcfe3a54
ST
21265 (lrint): Likewise.
21266 (llrintf): Likewise.
21267 (llrint): Likewise.
21268 (rint): Likewise.
21269 (rintf): Likewise.
21270 (nearbyint): Likewise.
21271 (nearbyintf): Likewise.
bdd74070 21272
91d8d69e
AJ
212732012-05-09 Andreas Jaeger <aj@suse.de>
21274 Pedro Alves <palves@redhat.com>
21275
21276 * nscd/nscd.c (run_mode): Use enum.
21277 (main): Cleanup coding style issue.
21278
bb90b80b
AJ
212792012-05-09 Alexandre Oliva <aoliva@redhat.com>
21280 Andreas Jaeger <aj@suse.de>
21281
bcfe3a54
ST
21282 * nscd/nscd.c (go_background): Replaced with...
21283 (run_mode): ... this.
bb90b80b 21284 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21285 (options): Add -F --foreground.
21286 (main): Implement it.
21287 (parse_opt): Parse it.
bb90b80b 21288
1a4b75a1
AJ
212892012-05-09 Andreas Jaeger <aj@suse.de>
21290
21291 [BZ #14083]
21292 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21293 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21294 -Wconversion warning.
21295 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21296 Likewise.
21297
b1cc2472
JM
212982012-05-09 Joseph Myers <joseph@codesourcery.com>
21299
21300 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21301 == 0.
21302 (LC_ALL): Use macro-int-constant.
21303 (LC_COLLATE): Likewise.
21304 (LC_CTYPE): Likewise.
21305 (LC_MESSAGES): Likewise.
21306 (LC_MONETARY): Likewise.
21307 (LC_NUMERIC): Likewise.
21308 (LC_TIME): Likewise.
21309 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21310 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21311 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21312 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21313 Specify type.
21314 [C99-based standards] (float_t): Expect type.
21315 [C99-based standards] (double_t): Expect type.
21316 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21317 type.
21318 [C99-based standards] (HUGE_VALL): Likewise.
21319 [C99-based standards] (INFINITY): Likewise.
21320 [C99-based standards] (NAN): Likewise.
21321 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21322 [C99-based standards] (FP_NAN): Likewise.
21323 [C99-based standards] (FP_NORMAL): Likewise.
21324 [C99-based standards] (FP_SUBNORMAL): Likewise.
21325 [C99-based standards] (FP_ZERO): Likewise.
21326 [C99-based standards] (FP_FAST_FMA): Use
21327 optional-macro-int-constant. Specify type. Require == 1.
21328 [C99-based standards] (FP_FAST_FMAF): Likewise.
21329 [C99-based standards] (FP_FAST_FMAL): Likewise.
21330 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21331 [C99-based standards] (FP_ILOGBNAN): Likewise.
21332 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21333 Specify type.
21334 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21335 [C99-based standards] (math_errhandling): Specify type.
21336 [ISO99 || ISO11] (signgam): Do not allow.
21337 [non-C99-based standards] (copysignf): Do not allow.
21338 [non-C99-based standards] (exp2f): Likewise.
21339 [non-C99-based standards] (log2f): Likewise.
21340 [non-C99-based standards] (modff): Allow.
21341 [non-C99-based standards] (erff): Do not allow.
21342 [non-C99-based standards] (erfcf): Likewise.
21343 [non-C99-based standards] (gammaf): Likewise.
21344 [non-C99-based standards] (hypotf): Likewise.
21345 [non-C99-based standards] (j0f): Likewise.
21346 [non-C99-based standards] (j1f): Likewise.
21347 [non-C99-based standards] (jnf): Likewise.
21348 [non-C99-based standards] (lgammaf): Likewise.
21349 [non-C99-based standards] (tgammaf): Likewise.
21350 [non-C99-based standards] (y0f): Likewise.
21351 [non-C99-based standards] (y1f): Likewise.
21352 [non-C99-based standards] (ynf): Likewise.
21353 [non-C99-based standards] (isnanf): Likewise.
21354 [non-C99-based standards] (acoshf): Likewise.
21355 [non-C99-based standards] (asinhf): Likewise.
21356 [non-C99-based standards] (atanhf): Likewise.
21357 [non-C99-based standards] (cbrtf): Likewise.
21358 [non-C99-based standards] (expm1f): Likewise.
21359 [non-C99-based standards] (ilogbf): Likewise.
21360 [non-C99-based standards] (log1pf): Likewise.
21361 [non-C99-based standards] (logbf): Likewise.
21362 [non-C99-based standards] (nextafterf): Likewise.
21363 [non-C99-based standards] (remainderf): Likewise.
21364 [non-C99-based standards] (rintf): Likewise.
21365 [non-C99-based standards] (scalbf): Likewise.
21366 [non-C99-based standards] (copysignl): Likewise.
21367 [non-C99-based standards] (exp2l): Likewise.
21368 [non-C99-based standards] (log2l): Likewise.
21369 [non-C99-based standards] (modfl): Allow.
21370 [non-C99-based standards] (erfl): Do not allow.
21371 [non-C99-based standards] (erfcl): Likewise.
21372 [non-C99-based standards] (gammal): Likewise.
21373 [non-C99-based standards] (hypotl): Likewise.
21374 [non-C99-based standards] (j0l): Likewise.
21375 [non-C99-based standards] (j1l): Likewise.
21376 [non-C99-based standards] (jnl): Likewise.
21377 [non-C99-based standards] (lgammal): Likewise.
21378 [non-C99-based standards] (tgammal): Likewise.
21379 [non-C99-based standards] (y0l): Likewise.
21380 [non-C99-based standards] (y1l): Likewise.
21381 [non-C99-based standards] (ynl): Likewise.
21382 [non-C99-based standards] (isnanl): Likewise.
21383 [non-C99-based standards] (acoshl): Likewise.
21384 [non-C99-based standards] (asinhl): Likewise.
21385 [non-C99-based standards] (atanhl): Likewise.
21386 [non-C99-based standards] (cbrtl): Likewise.
21387 [non-C99-based standards] (expm1l): Likewise.
21388 [non-C99-based standards] (ilogbl): Likewise.
21389 [non-C99-based standards] (log1pl): Likewise.
21390 [non-C99-based standards] (logbl): Likewise.
21391 [non-C99-based standards] (nextafterl): Likewise.
21392 [non-C99-based standards] (remainderl): Likewise.
21393 [non-C99-based standards] (rintl): Likewise.
21394 [non-C99-based standards] (scalbl): Likewise.
21395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21396 [non-C99-based standards] (FP_*): Do not allow.
21397 [C99-based standards] (FP_*): Change to
21398 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21399 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21400 allow.
21401 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21402 (SIG_ERR): Likewise.
21403 [X/Open-based standards] (SIG_HOLD): Likewise.
21404 (SIG_IGN): Likewise.
21405 (SIGABRT): Use macro-int-constant. Specify type. Require
21406 positive value.
21407 (SIGFPE): Likewise.
21408 (SIGILL): Likewise.
21409 (SIGINT): Likewise.
21410 (SIGSEGV): Likewise.
21411 (SIGTER): Likewise.
21412 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21413 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21414 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21415 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21416 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21417 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21418 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21419 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21420 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21421 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21422 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21423 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21424 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21425 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21426 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21427 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21428 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21429 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21430 [X/Open-based standards] (SIGTRAP): Likewise.
21431 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21432 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21433 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21434 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21435 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21436 allow.
21437
b9f1922d
IW
214382012-05-08 Ian Wienand <ianw@vmware.com>
21439
21440 [BZ #14080]
21441 * time/tzset.c (__tzset_parse_tz): Update default rules for
21442 daylight time changes in the Energy Policy Act of 2005.
21443
1db86e88
AJ
214442012-05-09 Andreas Jaeger <aj@suse.de>
21445
21446 [BZ #13983]
21447 * elf/ldconfig.c (parse_conf): Change string to make clear that
21448 ldconfig only issued a warning if ld.so.conf does not exist.
21449
dee4a4e3
DM
214502012-05-08 David S. Miller <davem@davemloft.net>
21451
ee0db190
DM
21452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21453 movxtod instead of popping the value on the stack.
21454
dee4a4e3
DM
21455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21456
6a43ec98
CD
214572012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21458
21459 * config.h.in: Add HAVE_ARM_PCS_VFP.
21460
05c2c961
RMG
214612012-05-08 Roland Mc Grath <roland@hack.frob.com>
21462
bcfe3a54
ST
21463 [BZ #13979]
21464 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21465 checking but the checks are disabled for any reason.
05c2c961 21466
4b30f61a
L
214672012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21468
21469 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21470 and ELF64_R_TYPE with ELFW(R_TYPE).
21471
eee2bc67
JM
214722012-05-08 Joseph Myers <joseph@codesourcery.com>
21473
7ea5391a
JM
21474 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21475 (ulimit): Likewise.
21476
eee2bc67
JM
21477 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21478 (settimeofday): Likewise.
21479
abb66a67
MF
214802012-05-08 Mike Frysinger <vapier@gentoo.org>
21481
21482 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21483 a struct th_u2 inside the union, and move tu_block/tu_code into
21484 a new th_u3 union of tu_block/tu_code inside of that. Move
21485 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21486 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21487 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21488 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21489 (th_stuff): Change to th_u1.tu_stuff.
21490 (th_data): Define.
21491 (th_msg): Change to th_u1.th_u2.tu_data.
21492
7f18b530
DM
214932012-05-07 David S. Miller <davem@davemloft.net>
21494
05760585
DM
21495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21496
7f18b530
DM
21497 [BZ #14074]
21498 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21499 (SETUP_PIC_REG): Use it.
21500 (SETUP_PIC_REG_LEAF): Use it.
21501
495fd99f
JM
215022012-05-07 Joseph Myers <joseph@codesourcery.com>
21503
21504 [BZ #13885]
21505 [BZ #13923]
21506 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21507 USE_AS_EXPM1L.
21508 (EXPL_FINITE): Likewise.
21509 (FLDLOG): Likewise.
21510 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21511 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21512 e_expl.S.
21513 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21514 USE_AS_EXPM1L.
21515 (EXPL_FINITE): Likewise.
21516 (FLDLOG): Likewise.
21517 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21518 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21519 e_expl.S.
21520 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21521 test of -max_value argument for long double.
21522 * sysdeps/i386/fpu/libm-test-ulps: Update.
21523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21524
6693d694
DM
215252012-05-06 David S. Miller <davem@davemloft.net>
21526
21527 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21528 quad soft-float symbols whose references which are compiler
21529 generated.
21530 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21531
6c23e11c
JM
215322012-05-06 Joseph Myers <joseph@codesourcery.com>
21533
d8b82cad
JM
21534 [BZ #13884]
21535 [BZ #13914]
21536 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21537 USE_AS_EXP10L.
21538 (EXPL_FINITE): Likewise.
21539 (FLDLOG): Likewise.
21540 (c0): Likewise.
21541 (c1): Likewise.
21542 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21543 Adjust comments for base varying.
21544 (__expl_finite): Change alias to EXPL_FINITE.
21545 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21546 e_expl.S.
21547 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21548 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21549 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21550 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21551 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21552 USE_AS_EXP10L.
21553 (EXPL_FINITE): Likewise.
21554 (FLDLOG): Likewise.
21555 (c0): Likewise.
21556 (c1): Likewise.
21557 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21558 Adjust comments for base varying.
21559 (__expl_finite): Change alias to EXPL_FINITE.
21560 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21561 tests for bugs.
21562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21563
6c23e11c
JM
21564 [BZ #14064]
21565 * math/libm-test.inc (check_float_internal): Correct ulp
21566 calculation for subnormal expected results.
21567
29ba805c
AJ
215682012-05-06 Andreas Jaeger <aj@suse.de>
21569
21570 * Makeconfig (+math-flags): New, set to -frounding-math.
21571 (+cflags): Add +math-flags so that all of glibc gets compiled with
21572 it.
21573
21574 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21575
7b17aeda
JM
215762012-05-05 Joseph Myers <joseph@codesourcery.com>
21577
5779f134
JM
21578 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21579 Disable one test.
21580
41498f4d
JM
21581 [BZ #13787]
21582 [BZ #13922]
21583 [BZ #14036]
21584 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21585 (__ieee754_expl): Allow for and saturate large arguments.
21586 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21587 (u_threshold): Likewise.
21588 (__exp): Call __ieee754_exp before checking for overflow and
21589 underflow.
21590 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21591 (u_threshold): Likewise.
21592 (__expf): Call __ieee754_expf before checking for overflow and
21593 underflow.
21594 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21595 (u_threshold): Likewise.
21596 (__expl): Call __ieee754_expl before checking for overflow and
21597 underflow.
21598 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21599 (__ieee754_expl): Allow for and saturate large arguments.
21600 * math/libm-test.inc (exp_test): Add another test. Do not allow
21601 missing overflow exception on overflow.
21602 (expm1_test): Do not allow missing overflow exception on overflow.
21603
6698b8bf
JM
21604 * sysdeps/i386/fpu/e_expl.c: Move to ...
21605 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21606 rather than using inline asm.
21607 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21608 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21609 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21610
7b17aeda
JM
21611 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21612 (nice): Likewise.
21613 (poll): Likewise.
21614 (signal): Likewise.
21615 (time): Likewise.
21616 (times): Likewise.
21617
f7c85819
JM
216182012-05-04 Joseph Myers <joseph@codesourcery.com>
21619
21620 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21621 sysdeps/unix/common/syscalls.list.
21622 (fchmod): Likewise.
21623 (fchown): Likewise.
21624 (ftruncate): Likewise.
21625 (getrusage): Likewise.
21626 (gettimeofday): Likewise.
21627 (setpgid): Likewise.
21628 (setregid): Likewise.
21629 (setreuid): Likewise.
21630 (sigaction): Likewise.
21631 (truncate): Likewise.
21632 (vhangup): Likewise.
21633 * sysdeps/unix/common/syscalls.list: Remove file.
21634 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21635 * sysdeps/unix/sysv/linux/Implies: Likewise.
21636
336270d0
L
216372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21638
21639 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21641 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21642 Moved to ...
21643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21644 Here.
21645 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21646 to ...
21647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21648 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21649 to ...
21650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21651 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21652 to ...
21653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21654 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21655 to ...
21656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21657 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21658 to ...
21659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21660 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21661 to ...
21662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21663 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21664 to ...
21665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21666 Here.
21667 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21668 to ...
21669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21670 Here.
21671 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21672 to ...
21673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21674 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21675 Moved to ...
21676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21677 Here.
21678 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21679 to ...
21680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21681
d128e450
JM
216822012-05-04 Joseph Myers <joseph@codesourcery.com>
21683
fa8ee516
JM
21684 * sysdeps/unix/common/bits/dirent.h: Remove file.
21685 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21686
d128e450
JM
21687 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21688 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21689 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21690 * sysdeps/unix/bsd/isatty.c: Likewise.
21691 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21692 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21693 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21694
ff8faaf0 216952012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21696
62881be4 21697 [BZ #13563]
31dc8730
AZ
21698 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21699 long double comparison inaccuracies.
21700 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21702
6fef930c
AS
217032012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21704
21705 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21707
8f203e6c
JM
217082012-05-04 Joseph Myers <joseph@codesourcery.com>
21709
21710 [BZ #14049]
21711 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21712 nonzero digits before rounding a hex value.
21713 * stdlib/tst-strtod.c (tests): Add another test.
21714
5197d9c2
AK
217152012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21716
21717 * sysdeps/s390/fpu/libm-test-ulps: Update.
21718
f0c1dedf
AJ
217192012-05-03 Andreas Jaeger <aj@suse.de>
21720
21721 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21722 does not get optimized out.
21723 (malloc_opt_barrier): New.
21724
a65ef2ae 217252012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21726 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21727
2b942cb7 21728 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21729 intermediate file deletion.
2b942cb7 21730 (generated): Add .symlist files.
a65ef2ae 21731
54b71e02
JM
217322012-05-03 Joseph Myers <joseph@codesourcery.com>
21733
21734 [BZ #13775]
21735 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21736 Redirect under this condition.
21737 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21738 [__USE_GNU] (__dprintf_chk): Not under this condition.
21739 [__USE_GNU] (__vdprintf_chk): Likewise.
21740 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21741 under this condition.
21742 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21743 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21744 [__USE_XOPEN2K8] (vdprintf): Likewise.
21745 [__USE_GNU] (__dprintf_chk): Not under this condition.
21746 [__USE_GNU] (__vdprintf_chk): Likewise.
21747 [__USE_GNU] (dprintf): Likewise.
21748 [__USE_GNU] (vdprintf): Likewise.
21749
d3dfcc41
RM
217502012-05-03 Roland McGrath <roland@hack.frob.com>
21751
21752 * elf/Makefile (common-generated): Set this instead of generated for
21753 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21754 $(all-built-dso)-derived lists.
21755
7ac30cc5
AJ
217562012-05-03 Andreas Jaeger <aj@suse.de>
21757
0c51e550
AJ
21758 * sysdeps/i386/fpu/libm-test-ulps: Update.
21759
7ac30cc5
AJ
21760 * FAQ: Removed.
21761 * FAQ.in: Likewise.
21762 * scripts/gen-FAQ.pl: Likewise.
21763 * manual/install.texi (Installation): Point to online location of
21764 FAQ.
21765 * Makefile (files-for-dist): Remove FAQ.
21766 (FAQ): Remove.
21767
d4c2917f
AM
217682012-05-02 Allan McRae <allan@archlinux.org>
21769
21770 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21771 (LDFLAGS-reldepmod5.so): Likewise.
21772 (LDFLAGS-reldep6mod1.so): Likewise.
21773 (LDFLAGS-reldep6mod4.so): Likewise.
21774 (LDFLAGS-reldep8mod3.so): Likewise.
21775 (LDFLAGS-unload4mod1.so): Likewise.
21776 (LDFLAGS-unload4mod2.so): Likewise.
21777 (LDFLAGS-tst-initorder): Likewise.
21778 (LDFLAGS-tst-initordera2.so): Likewise.
21779 (LDFLAGS-tst-initordera3.so): Likewise.
21780 (LDFLAGS-tst-initordera4.so): Likewise.
21781 (LDFLAGS-tst-initorderb2.so): Likewise.
21782 (LDFLAGS-noload): Likewise.
21783 (LDFLAGS-next): Likewise.
21784 (LDFLAGS-order2mod1.so): Likewise.
21785 (LDFLAGS-order2mod2.so): Likewise.
21786 (LDFLAGS-tst-initorder2): Likewise.
21787 (LDFLAGS-tst-initorder2a.so): Likewise.
21788 (LDFLAGS-tst-initorder2b.so): Likewise.
21789 (LDFLAGS-tst-initorder2c.so): Likewise.
21790 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21791
d77f993f
DM
217922012-05-02 David S. Miller <davem@davemloft.net>
21793
21794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21795
171a70b4
PP
217962012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21797
21798 [BZ #14055]
21799 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21800
0be196ad
AJ
218012012-05-02 Andreas Jaeger <aj@suse.de>
21802
21803 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21804 since we manipulate rounding mode.
21805 (CPPFLAGS-test-idouble.c): Likewise.
21806 (CPPFLAGS-test-ifloat.c): Likewise.
21807 (CFLAGS-test-ldouble.c): Likewise.
21808 (CFLAGS-test-double.c): Likewise.
21809 (CFLAGS-test-float.c): Likewise.
21810 (CFLAGS-test-misc.c): Likewise.
21811 (CFLAGS-test-test-fenv.c): Likewise.
21812
4f9d04aa
AZ
218132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21814
2b942cb7
RM
21815 [BZ #2550]
21816 [BZ #2570]
21817 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21818 comparisons to determine direction to adjust input.
4f9d04aa 21819
82a79e7d
RM
218202012-05-01 Roland McGrath <roland@hack.frob.com>
21821
f5a01ca9
RM
21822 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21823 output to the target.
21824
90fe4186
RM
21825 * scripts/localplt.awk: New file.
21826 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21827 (check-localplt-CFLAGS): Variable removed.
21828 ($(all-built-dso:=.jmprel)): New static pattern rule.
21829 (generated): Add those targets.
21830 (localplt-built-dso): New variable.
21831 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21832
21833 * elf/check-localplt.c: File removed.
21834
82397ed6
RM
21835 * scripts/check-execstack.awk: New file.
21836 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21837 (check-execstack-CFLAGS): Variable removed.
21838 ($(objpfx)check-execstack.h): Target removed.
21839 ($(objpfx)execstack-default): New target.
21840 (generated): Add that instead of check-execstack.h.
21841 ($(all-built-dso:=.phdr)): New static pattern rule.
21842 (generated): Add those targets.
21843 * elf/check-execstack.c: File removed.
21844
82a79e7d
RM
21845 * scripts/check-textrel.awk: New file.
21846 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21847 (check-textrel-CFLAGS): Variable removed.
21848 (all-built-dso): Use := to define.o
21849 ($(all-built-dso:=.dyn)): New static pattern rule.
21850 (generated): Add those targets.
21851 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21852 * config.make.in (READELF): New substituted variable.
21853 * elf/check-textrel.c: File removed.
21854
62fde54f 218552012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21856
615605c9
JM
21857 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21858 allow.
21859 * conform/data/ctype.h-data [C99-based standards] (isblank):
21860 Expect function.
21861 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21862 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21863 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21864 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21865 Specify type. Require positive value.
21866 (EILSEQ): Likewise.
21867 (ERANGE): Likewise.
21868 [ISO || POSIX] (EILSEQ): Do not expect.
21869 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21870 Specify type. Require positive value.
21871 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21872 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21873 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21874 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21875 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21876 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21877 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21878 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21879 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21880 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21881 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21882 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21883 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21884 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21885 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21886 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21887 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21888 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21889 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21890 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21891 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21892 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21893 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21894 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21895 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21896 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21897 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21898 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21899 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21900 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21901 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21902 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21903 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21904 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21905 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21906 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21907 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21908 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21909 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21910 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21911 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21912 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21913 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21914 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21915 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21916 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21917 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21918 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21919 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21920 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21921 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21922 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21923 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21924 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21925 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21926 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21927 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21928 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21929 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21930 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21931 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21932 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21933 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21934 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21935 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21936 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21937 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21938 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21939 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21940 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21941 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21942 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21943 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21944 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21945 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21946 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21947 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21948 Require >= 2.
21949 (FLT_ROUNDS): Expect as macro, not constant.
21950 (FLT_MANT_DIG): Use macro-int-constant.
21951 (DBL_MANT_DIG): Likewise.
21952 (LDBL_MANT_DIG): Likewise.
21953 (FLT_DIG): Likewise.
21954 (DBL_DIG): Likewise.
21955 (LDBL_DIG): Likewise.
21956 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21957 (DBL_MIN_EXP): Likewise.
21958 (LDBL_MIN_EXP): Likewise.
21959 (FLT_MAX_EXP): Use macro-int-constant.
21960 (DBL_MAX_EXP): Likewise.
21961 (LDBL_MAX_EXP): Likewise.
21962 (FLT_MAX_10_EXP): Likewise.
21963 (DBL_MAX_10_EXP): Likewise.
21964 (LDBL_MAX_10_EXP): Likewise.
21965 (FLT_MAX): Use macro-constant.
21966 (DBL_MAX): Likewise.
21967 (LDBL_MAX): Likewise.
21968 (FLT_EPSILON): Use macro-constant. Give upper bound.
21969 (DBL_EPSILON): Likewise.
21970 (LDBL_EPSILON): Likewise.
21971 (FLT_MIN): Likewise.
21972 (DBL_MIN): Likewise.
21973 (LDBL_MIN): Likewise.
21974 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21975 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21976 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21977 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21978 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21979 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21980 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21981 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21982 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21983 [ISO11] (FLT_TRUE_MIN): Likewise.
21984 [ISO11] (LDBL_TRUE_MIN): Likewise.
21985 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21986 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21987 (SCHAR_MIN): Use macro-int-constant. Specify type.
21988 (SCHAR_MAX): Likewise.
21989 (UCHAR_MAX): Likewise.
21990 (CHAR_MIN): Likewise.
21991 (CHAR_MAX): Likewise.
21992 (MB_LEN_MAX): Use macro-int-constant.
21993 (SHRT_MIN): Use macro-int-constant. Specify type.
21994 (SHRT_MAX): Likewise.
21995 (USHRT_MAX): Likewise.
21996 (INT_MAX): Likewise.
21997 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21998 bound negative.
21999 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22000 bound with "U".
22001 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22002 bound with "L".
22003 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22004 bound negative. Suffix upper bound with "L".
22005 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22006 bound with "UL".
22007 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22008 Specify type.
22009 [C99-based standards] (LLONG_MAX): Likewise.
22010 [C99-based standards] (ULLONG_MAX): Likewise.
22011 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22012 == 0.
22013 [ISO11] (max_align_t): Require type.
22014 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22015
c9140a62
JM
22016 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22017 from $CFLAGS, without defining away __attribute__ calls.
22018 (checknamespace): Use $CFLAGS_namespace.
22019
9af0bf29
JM
22020 * conform/conformtest.pl (@keywords): Only include C99 keywords
22021 for standards based on C99 or C11.
22022
343222a2
JM
22023 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22024 Disable tests.
22025 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22026 UNIX98]: Likewise.
22027
661f8cf0
JM
22028 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22029 usability of symbols in #if.
22030
ee74b9cb
JM
22031 * conform/conformtest.pl: If macro or constant types start
22032 "promoted:", expect the symbol to be of the following type
22033 promoted by the integer promotions.
62fde54f 22034
aafc49b3
JM
22035 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22036 in one place. Also handle "macro-constant".
22037
fefdf574
JM
22038 * conform/conformtest.pl: Only accept expected macro values with
22039 "==". Parse all "macro" lines in one place.
22040 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22041
f2d922fe
JM
22042 * conform/conformtest.pl: Handle braced types on "constant" lines
22043 instead of handling "typed-constant".
22044 * conform/data/signal.h-data: Use "constant" instead of
22045 "typed-constant".
22046
d22956c9
JM
22047 * conform/conformtest.pl: Handle "optional-" at start of lines in
22048 one place rather than duplicating several cases. Handle each
22049 format of "macro" line with initial "optional-".
22050
028e2e38
JM
22051 * conform/conformtest.pl: Only accept expected constant or
22052 optional-constant values with "==". Parse all "constant" lines in
22053 one place. Parse all "optional-constant" lines in one place.
22054 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22055 * conform/data/fmtmsg.h-data: Likewise.
22056 * conform/data/netinet/in.h-data: Likewise.
22057 * conform/data/tar.h-data: Likewise.
22058 * conform/data/limits.h-data: Use "==" form on "constant" and
22059 "optional-constant" lines.
22060
1b8f2850
JM
22061 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22062 Use -std=c99 for XOPEN2K.
22063 (@knownproblems): Remove.
22064 (newtoken): Don't check %isknown.
22065
a05a144b
JM
22066 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22067 Do not expect macro.
22068 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22069 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22070 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22071 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22072 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22073 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22074 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22075 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22076 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22077 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22078 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22079 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22080 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22081 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22082 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22083 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22084 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22085 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22086 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22087 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22088 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22089 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22090 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22091 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22092 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22093 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22094 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22095 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22096 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22097 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22098 [XPG3] (acosh): Likewise.
22099 [XPG3] (asinh): Likewise.
22100 [XPG3] (atanh): Likewise.
22101 [XPG3] (cbrt): Likewise.
22102 [XPG3] (expm1): Likewise.
22103 [XPG3] (ilogb): Likewise.
22104 [XPG3] (log1p): Likewise.
22105 [XPG3] (logb): Likewise.
22106 [XPG3] (nextafter): Likewise.
22107 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22108 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22109 [XPG3] (remainder): Likewise.
22110 [XPG3] (rint): Likewise.
22111 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22112 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22113 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22114 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22115 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22116 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22117 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22118 [UNIX98 || XOPEN2K] (scalb): Expect.
22119 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22120 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22121 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22122 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22123 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22124 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22125 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22126 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22127 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22128 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22129 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22130 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22131 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22132 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22133 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22134 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22135 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22136 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22137 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22138 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22139 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22140 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22141 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22142 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22143 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22144 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22145 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22146 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22147 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22148 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22149 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22150 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22151 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22152 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22153 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22154 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22155 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22156 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22157 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22158 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22159 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22160 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22161 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22162 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22163 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22164 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22165 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22166 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22167 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22168 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22169 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22170 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22171 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22172 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22173 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22174 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22175 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22176 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22177 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22178 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22179 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22180 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22181 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22182 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22183 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22184 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22185 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22186 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22187 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22188 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22189 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22190 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22191 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22192 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22193 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22194 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22195 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22196 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22197 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22198 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22199 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22200 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22201 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22202 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22203 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22204 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22205 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22206 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22207 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22208 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22209 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22210 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22211 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22212 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22213 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22214 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22215 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22216 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22217 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22218 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22219 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22220 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22221 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22222 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22223 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22224 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22225 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22226 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22227 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22228 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22229 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22230 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22231 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22232 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22233 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22234 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22235 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22236 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22237 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22238 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22239 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22240 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22241 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22242 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22243 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22244 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22245 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22246 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22247 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22248 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22249 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22250 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22251 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22252 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22253 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22254 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22255 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22256
73c5ebe3
JM
22257 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22258 _XOPEN_SOURCE_EXTENDED for XPG4.
22259
39c33b6c
JM
22260 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22261
62fde54f
JM
22262 * Makeconfig (localtime): Remove variable.
22263 (inst_localtime-file): Likewise.
22264
0741d64c
AS
222652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22266
22267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22268 Update.
22269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22270 Update.
22271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22272 Update.
22273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22274 Update.
22275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22276 Update.
22277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22278 Update.
22279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22280 Update.
22281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22282 Update.
22283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22284 Update.
22285
7cb029ee
JM
222862012-05-01 Joseph Myers <joseph@codesourcery.com>
22287
22288 [BZ #2550]
22289 [BZ #2570]
22290 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22291 comparisons to determine direction to adjust input.
22292 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22293 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22294 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22295 Likewise.
22296 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22297 Likewise.
22298 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22299 Likewise.
22300 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22301 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22302 Likewise.
22303 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22304 Likewise.
22305 * math/libm-test.inc (nexttoward_test): Add more tests.
22306
412bd966
AS
223072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22308
22309 [BZ #14040]
22310 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22311 in version GLIBC_2.1, not GLIBC_2.0.
22312 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22313 Likewise.
22314
9568c0c2
JM
223152012-04-30 Joseph Myers <joseph@codesourcery.com>
22316
adfbc8ac
JM
22317 [BZ #13942]
22318 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22319 (1 - x) * (1 + x).
22320 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22321 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22322 * math/libm-test.inc (acos_test): Add more tests.
22323 (asin_test): Likewise.
22324 * sysdeps/i386/fpu/libm-test-ulps: Update.
22325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22326
5ba3cc69
JM
22327 [BZ #14034]
22328 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22329 of square root.
22330 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22331 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22332 * math/libm-test.inc (acos_test_tonearest): New function.
22333 (acos_test_towardzero): Likewise.
22334 (acos_test_downward): Likewise.
22335 (acos_test_upward): Likewise.
22336 (asin_test_tonearest): Likewise.
22337 (asin_test_towardzero): Likewise.
22338 (asin_test_downward): Likewise.
22339 (asin_test_upward): Likewise.
22340 (main): Call the new functions.
22341 * sysdeps/i386/fpu/libm-test-ulps: Update.
22342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22343
9568c0c2
JM
22344 [BZ #13884]
22345 [BZ #13924]
22346 * math/e_exp10.c: Include <float.h>.
22347 (__ieee754_exp10): Handle underflow here rather than multiplying
22348 large negative argument by M_LN10.
22349 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22350 of __ieee754_expf.
22351 * math/e_exp10l.c: Include <float.h>.
22352 (__ieee754_exp10l): Handle underflow here rather than multiplying
22353 large negative argument by M_LN10l.
22354 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22355 spurious overflow exception on underflow.
22356
5ac3ea17
MP
223572012-04-29 Marek Polacek <polacek@redhat.com>
22358
22359 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22360 (__fortify_function): New macro.
22361 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22362 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22363 __extern_always_inline.
22364 * libio/bits/stdio2.h: Likewise.
22365 * libio/bits/stdio.h: Likewise.
22366 * string/string.h: Likewise.
22367 * string/bits/string3.h: Likewise.
22368 * include/stdio.h: Likewise.
22369 * stdlib/bits/stdlib.h: Likewise.
22370 * stdlib/stdlib.h: Likewise.
22371 * rt/bits/mqueue2.h: Likewise.
22372 * rt/mqueue.h: Likewise.
22373 * posix/bits/unistd.h: Likewise.
22374 * posix/unistd.h: Likewise.
22375 * io/bits/poll2.h: Likewise.
22376 * io/bits/fcntl2.h: Likewise.
22377 * io/fcntl.h: Likewise.
22378 * io/sys/poll.h: Likewise.
22379 * misc/bits/syslog.h: Likewise.
22380 * misc/bits/syslog-ldbl.h: Likewise.
22381 * misc/sys/syslog.h: Likewise.
22382 * socket/bits/socket2.h: Likewise.
22383 * socket/sys/socket.h: Likewise.
22384 * debug/tst-chk1.c: Likewise.
22385 * wcsmbs/bits/wchar2.h: Likewise.
22386 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22387 * wcsmbs/wchar.h: Likewise.
22388
ecf0ebfb
AJ
223892012-04-29 Andreas Jaeger <aj@suse.de>
22390
22391 * Makerules (tests): Remove enable-check-abi protection.
22392 (check-abi-warn): Remove.
22393 (check-abi-%): Remove check-abi-warn usage.
22394
22395 * configure.in: Remove check-abi configure option.
22396 * configure: Regenerated.
22397 * config.make.in (enable-check-abi): Remove.
22398
6d5c57fa
AS
223992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22400
24c5d07e 22401 [BZ #14033]
ded5180a
AS
22402 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22403 double functions to double *_finite functions.
22404
7e0d315d
AS
22405 [BZ #13941]
22406 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22407 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22408 LDBL_MIN_EXP.
22409 * stdio-common/Makefile (tests): Add tst-sprintf3.
22410 * stdio-common/tst-sprintf3.c: New file.
22411
6d5c57fa
AS
22412 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22413 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22414
0749ff8b
JM
224152012-04-28 Joseph Myers <joseph@codesourcery.com>
22416
22417 * conform/conformtest.pl: Remove duplicate typed-constant
22418 handling.
22419
8dbd5d7b
DM
224202012-04-28 David S. Miller <davem@davemloft.net>
22421
22422 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22423 (check-abi-%): Remove AWK script prerequisite and explicit
22424 abilist directory.
22425 (check-abi): Rewrite to just diff the symlist with the abilist.
22426 (config-tls, config-abi-config): Delete, no longer used.
22427 (update-abi-%): Remove AWK script and explicit abilist directory.
22428 (update-abi): Rewrite to simply compare and conditionally copy the
22429 symlist and the sysdep abilist file. Remove update-abi-config
22430 checks.
22431 * abilist/ld.abilist: Remove.
22432 * abilist/libBrokenLocale.abilist: Remove.
22433 * abilist/libanl.abilist: Remove.
22434 * abilist/libcrypt.abilist: Remove.
22435 * abilist/libdl.abilist: Remove.
22436 * abilist/librt.abilist: Remove.
22437 * abilist/libthread_db.abilist: Remove.
22438 * abilist/libutil.abilist: Remove.
22439 * scripts/extract-abilist.awk: Remove.
22440 * scripts/merge-abilist.awk: Remove.
22441 * sysdeps/generic/libcidn.abilist: New file.
22442 * sysdeps/generic/libnss_compat.abilist: New file.
22443 * sysdeps/generic/libnss_db.abilist: New file.
22444 * sysdeps/generic/libnss_dns.abilist: New file.
22445 * sysdeps/generic/libnss_files.abilist: New file.
22446 * sysdeps/generic/libnss_hesiod.abilist: New file.
22447 * sysdeps/generic/libnss_nis.abilist: New file.
22448 * sysdeps/generic/libnss_nisplus.abilist: New file.
22449 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22450 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22451 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22452 file.
22453 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22454 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22455 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22456 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22457 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22458 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22459 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22460 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22461 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22462 file.
22463 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22464 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22465 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22466 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22467 file.
22468 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22469 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22470 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22471 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22472 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22473 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22474 file.
22475 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22476 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22477 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22478 file.
22479 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22481 New file.
22482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22483 New file.
22484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22485 New file.
22486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22487 New file.
22488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22489 New file.
22490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22491 New file.
22492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22493 New file.
22494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22495 New file.
22496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22497 New file.
22498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22499 New file.
22500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22501 New file.
22502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22503 New file.
22504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22505 New file.
22506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22507 file.
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22509 New file.
22510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22511 New file.
22512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22513 file.
22514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22515 New file.
22516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22517 New file.
22518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22519 file.
22520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22521 New file.
22522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22523 New file.
22524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22525 New file.
22526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22527 New file.
22528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22529 New file.
22530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22531 New file.
22532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22534 file.
22535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22536 New file.
22537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22538 file.
22539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22540 file.
22541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22542 file.
22543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22544 file.
22545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22546 file.
22547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22548 New file.
22549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22550 file.
22551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22552 file.
22553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22554 New file.
22555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22556 file.
22557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22559 file.
22560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22561 New file.
22562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22563 file.
22564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22565 file.
22566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22567 file.
22568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22569 file.
22570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22571 file.
22572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22573 New file.
22574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22575 file.
22576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22577 file.
22578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22579 New file.
22580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22581 file.
22582 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22583 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22584 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22585 file.
22586 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22587 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22588 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22589 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22590 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22591 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22592 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22593 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22594 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22595 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22598 file.
22599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22600 New file.
22601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22602 file.
22603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22604 file.
22605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22606 file.
22607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22608 file.
22609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22610 file.
22611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22612 New file.
22613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22614 New file.
22615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22616 file.
22617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22618 New file.
22619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22620 file.
22621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22623 file.
22624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22625 New file.
22626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22627 file.
22628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22629 file.
22630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22631 file.
22632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22633 file.
22634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22635 file.
22636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22637 New file.
22638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22639 New file.
22640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22641 file.
22642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22643 New file.
22644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22645 file.
22646
41d73a1b
JM
226472012-04-28 Joseph Myers <joseph@codesourcery.com>
22648
22649 * conform/conformtest.pl: Fix typo in handling typed-constant from
22650 allow-header.
22651
28aeeda4
JM
226522012-04-27 Joseph Myers <joseph@codesourcery.com>
22653
adae8f5e
JM
22654 * README: Cut down references to pre-2.6 Linux kernels and
22655 Linuxthreads. Update lists of configurations in libc and ports
22656 and sort alphabetically. Say "or newer" with Linux kernel version
22657 requirements.
22658
28aeeda4
JM
22659 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22660
a462cb63
RA
226612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22662
22663 [BZ #887]
22664 * math/libm-test.inc (logb_test_downward): New test to expose
22665 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22666 rounding mode.
22667
6ad3493e
JM
226682012-04-27 Joseph Myers <joseph@codesourcery.com>
22669
22670 [BZ #14027]
22671 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22672 to be done.
22673 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22674 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22675
2ce4f015
JM
226762012-04-26 Joseph Myers <joseph@codesourcery.com>
22677
5aeb141a
JM
22678 * sysdeps/unix/i386/brk.S: Remove file.
22679 * sysdeps/unix/i386/dl-brk.S: Likewise.
22680 * sysdeps/unix/i386/pipe.S: Likewise.
22681 * sysdeps/unix/i386/sigreturn.S: Likewise.
22682 * sysdeps/unix/i386/syscall.S: Likewise.
22683 * sysdeps/unix/i386/vfork.S: Likewise.
22684 * sysdeps/unix/i386/wait.S: Likewise.
22685
7143acae
JM
22686 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22687 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22688
2ce4f015
JM
22689 * configure.in (arm*-none*): Do not allow without
22690 --enable-hacker-mode.
22691 (netbsd*): Remove case setting base_os.
22692 (386bsd*): Likewise.
22693 (freebsd*): Likewise.
22694 (bsdi*): Likewise.
22695 (osf*): Likewise.
22696 (sunos*): Likewise.
22697 (ultrix*): Likewise.
22698 (newsos*): Likewise.
22699 (dynix*): Likewise.
22700 (*bsd*): Likewise.
22701 (sysv*): Likewise.
22702 (isc*): Likewise.
22703 (esix*): Likewise.
22704 (sco*): Likewise.
22705 (minix*): Likewise.
22706 (irix4*): Likewise.
22707 (irix6*): Likewise.
22708 (solaris[2-9]*): Likewise.
22709 (none): Likewise.
22710 * configure: Regenerated.
22711
0ac229c8
AZ
227122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22713
22714 [BZ #11521]
22715 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22716 overflow or cancellation in calculating denominator.
22717 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22718 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22719 down expression to avoid unexpected rounding in newer GCCs.
22720 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22721
33f244f4
DM
227222012-04-26 David S. Miller <davem@davemloft.net>
22723
22724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22725 long-double compat symbols.
22726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22739
cfa1f3e8
DM
227402012-04-25 David S. Miller <davem@davemloft.net>
22741
22742 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22743 HWCAP_* values only after the memory barriers have been defined.
22744 (atomic_full_barrier): Define.
22745 (atomic_read_barrier): Define.
22746 (atomic_write_barrier): Define.
22747
6e236b92
SP
227482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22749
22750 * shlib-versions: Add libgcc_s version information.
22751 * sysdeps/generic/libgcc_s.h: Remove.
22752 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22753 libgcc_s.h.
22754 * sysdeps/gnu/unwind-resume.c: Likewise.
22755 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22756
aab39a09
DM
227572012-04-25 David S. Miller <davem@davemloft.net>
22758
22759 * sysdeps/unix/sparc/brk.S: Delete.
22760 * sysdeps/unix/sparc/dl-brk.S: Delete.
22761 * sysdeps/unix/sparc/pipe.S: Delete.
22762 * sysdeps/unix/sparc/sysdep.S: Delete.
22763 * sysdeps/unix/sparc/sysdep.h: Delete.
22764 * sysdeps/unix/sparc/vfork.S: Delete.
22765 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22766 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22767 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22768 ret_ERRVAL, r0, r1, MOVE): Define.
22769 (JUMPTARGET): Remove.
22770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22771 sysdeps/unix/sparc/sysdep.h
22772 (ENTRY, END): Remove.
22773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22774
a3cc4f48
JM
227752012-04-25 Joseph Myers <joseph@codesourcery.com>
22776
2ed8cda2
JM
22777 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22778 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22779 -DIS_IN_build.
22780
35d76d59
JM
22781 * timezone/README: Update upstream location and email address for
22782 tzcode and tzdata.
22783 * timezone/zdump.c: Update from tzcode 2012b.
22784 * timezone/zic.c: Likewise.
22785
a3cc4f48
JM
22786 * configure.in (libc_cv_as_needed): Remove test.
22787 * configure: Regenerated.
22788 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22789 conditional definition.
22790 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22791 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22792 * config.make.in (have-as-needed): Remove variable.
22793
ceab42c3
SP
227942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22795 Paul Pluzhnikov <ppluzhnikov@google.com>
22796
22797 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22798 strings correctly.
22799
3ce2865f
CLT
228002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22801
22802 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22803 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22804 * sysdeps/sh/strlen.S: Likewise.
22805
f37e0d68
JM
228062012-04-24 Joseph Myers <joseph@codesourcery.com>
22807
ae186e9a
JM
22808 * sysdeps/unix/fork.S: Remove file.
22809 * sysdeps/unix/i386/fork.S: Likewise.
22810 * sysdeps/unix/sparc/fork.S: Likewise.
22811
b96914af
JM
22812 * sysdeps/unix/system.c: Remove file.
22813 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22814
f37e0d68
JM
22815 * sysdeps/unix/getegid.S: Remove file.
22816 * sysdeps/unix/geteuid.S: Likewise.
22817
87ef29ca
RM
228182012-04-24 Roland McGrath <roland@hack.frob.com>
22819
83bcd236
RM
22820 * scripts/check-localplt.awk: New file.
22821 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22822 of diff.
22823 * scripts/data/localplt-generic.data: Add a comment.
22824
87ef29ca
RM
22825 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22826 NODE when __dir_mkfile failed.
22827 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22828 Reported by Ludovic Courtès <ludo@gnu.org>.
22829
e5a6e567
AJ
228302012-04-24 Andreas Jaeger <aj@suse.de>
22831
22832 * Makerules (common-clean): Also remove gen-as-const-headers
22833 files.
22834
c1820385
JM
228352012-04-24 Joseph Myers <joseph@codesourcery.com>
22836
22837 * Makerules (native-compile): Do not change working directory for
22838 build. Use $(OUTPUT_OPTION) in command.
22839 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22840
94e02fc4
AZ
228412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22842
22843 [BZ #13886]
22844 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22845 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22846 * math/libm-test.inc (floor_test): Add more tests.
22847 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22848
3a533ca3
JM
228492012-04-24 Joseph Myers <joseph@codesourcery.com>
22850
940ab4b3
JM
22851 * sysdeps/unix/getdents.c: Remove file.
22852 * sysdeps/unix/sysv/getdents.c: Likewise.
22853 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22854
90e037bd
JM
22855 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22856 sysdeps/unix/mman/syscalls.list.
22857 (mmap): Likewise.
22858 (mprotect): Likewise.
22859 (msync): Likewise.
22860 (munmap): Likewise.
22861 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22862 * sysdeps/unix/mman/syscalls.list: Remove.
22863 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22864
3a533ca3
JM
22865 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22866 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22867 * configure: Regenerated.
22868 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22869 $(libgcc_s_suffix).
22870 * config.make.in (libgcc_s_suffix): Remove variable.
22871
1ad743de
JM
228722012-04-23 Joseph Myers <joseph@codesourcery.com>
22873
4ad451e2
JM
22874 * sysdeps/unix/sysv/gethostname.c: Move to ...
22875 * sysdeps/posix/gethostname.c: ... here.
22876
5e37ce39
JM
22877 * sysdeps/unix/execve.S: Remove file.
22878
1ad743de
JM
22879 * sysdeps/unix/_exit.S: Remove file.
22880
4e681b5b
AJ
228812012-04-23 Andreas Jaeger <aj@suse.de>
22882
22883 [BZ #13739]
22884 * manual/Makefile: Remove make dist support, there's no
22885 need for a stand-alone documentation tar ball.
22886 (TEXI2DVI): Define always, it's not in Makeconfig.
22887 (dist): Removed.
22888 (tar-it): Removed.
22889 (edition): Removed.
22890 (glibc-doc-$(edition).tar): Removed
22891 (%.Z): Removed.
22892 (%.gz): Removed.
22893 (%.uu): Removed.
22894 (ETAGS): Remove, it's in Makeconfig.
22895 (move-if-change): Remove, it's in Makeconfig.
22896
38686a03 228972012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22898
22899 [BZ #13970]
22900 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22901 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22902 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22903 (strtod_l, strtof_l, strtold_l): Remove __wur.
22904 It is not necessarily an error to ignore strtol's return value.
22905 One can reliably look at the stored endptr to decide whether
22906 the number had valid syntax.
22907
7c0616fa
AJ
229082012-04-21 Andreas Jaeger <aj@suse.de>
22909
803cb6b7 22910 [BZ #13739]
7c0616fa
AJ
22911 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22912
b0fe253f
JM
229132012-04-21 Joseph Myers <joseph@codesourcery.com>
22914
22915 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22916 * sysdeps/unix/sysv/Versions: Remove file.
22917
8280f22d
MT
229182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22919
22920 [BZ #13927]
22921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22922
75ce411f 229232012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22924
22925 [BZ #7064]
22926 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22927 version from __vm86.
22928
097d59fa
JM
229292012-04-20 Joseph Myers <joseph@codesourcery.com>
22930
a90f3bcb
JM
22931 * sysdeps/unix/common/lxstat.c: Remove file.
22932 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22933
edc7ea78
JM
22934 * sysdeps/unix/sysv/Makefile: Remove file.
22935
cb78c221
JM
22936 * sysdeps/unix/sysv/direct.h: Remove file.
22937
efa6a45f
JM
22938 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22939 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22940 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22941 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22942 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22943 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22944 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22945
9c9f2d0c
JM
22946 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22947
4541c83b
JM
22948 * sysdeps/unix/xmknod.c: Remove file.
22949 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22950
f5d153a0
JM
22951 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22952
aa746595
JM
22953 * sysdeps/unix/sysv/i386/time.S: Remove file.
22954
cce5905e
JM
22955 * sysdeps/unix/fxstat.c: Remove file.
22956 * sysdeps/unix/xstat.c: Likewise.
22957 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22958
37fa3841
JM
22959 * sysdeps/unix/sysv/sigaction.c: Remove file.
22960
ff1962a3
JM
22961 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22962 (sysdep_headers): Remove variable.
22963 [termio.h not in sysdep_headers] (generated): Likewise.
22964 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22965 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22966 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22967 * sysdeps/unix/sysv/tcflow.c: Likewise.
22968 * sysdeps/unix/sysv/tcflush.c: Likewise.
22969 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22970 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22971 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22972 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22973 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22974
e7740d31
JM
22975 * sysdeps/unix/siglist.c: Remove file.
22976
ee06f18b
JM
22977 * sysdeps/unix/getppid.S: Remove file.
22978
097d59fa
JM
22979 * sysdeps/unix/mkdir.c: Remove file.
22980 * sysdeps/unix/rmdir.c: Likewise.
22981
ff3d51ec
AS
229822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22983
22984 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22985 ERR_MAX value.
22986 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22987 errlist-compat value.
22988
50f81fd7
DM
229892012-04-18 David S. Miller <davem@davemloft.net>
22990
22991 * sysdeps/generic/memcopy.h (reg_char): Delete.
22992 * debug/strcat_chk.c: Use char, not reg_char.
22993 * debug/strcpy_chk.c: Likewise.
22994 * debug/strncat_chk.c: Likewise.
22995 * debug/strncpy_chk.c: Likewise.
22996 * string/memchr.c: Likewise.
22997 * string/memrchr.c: Likewise.
22998 * string/rawmemchr.c: Likewise.
22999 * string/strcat.c: Likewise.
23000 * string/strchr.c: Likewise.
23001 * string/strchrnul.c: Likewise.
23002 * string/strcmp.c: Likewise.
23003 * string/strcpy.c: Likewise.
23004 * string/strncat.c: Likewise.
23005 * string/strncmp.c: Likewise.
23006 * string/strncpy.c: Likewise.
23007
8ff41c46
WS
230082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23009
23010 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23011 __builtin_memcopy is called when src and dest ranges are known to not
23012 overlap.
23013
6b652f46
WS
230142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23015
23016 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23017 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23018 fwd_align_merge macro call.
23019 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23020 bwd_align_merge macro call.
23021 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23022
b282631e
WS
230232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23024
23025 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23026 bwd_align_merge macros.
23027 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23028 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23029 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23030
95aa737c
DM
230312012-04-18 David S. Miller <davem@davemloft.net>
23032
23033 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23034
7a99a614
AJ
230352012-04-18 Andreas Jaeger <aj@suse.de>
23036
23037 [BZ# 6794]
23038 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23039 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23040 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23041
23042 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23043 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23044 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23045
23046 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23047 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23048 Adjust for changed ldbl-128 files.
23049
23050 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23051 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23052 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23053
e5270c23
DM
230542012-04-17 David S. Miller <davem@davemloft.net>
23055
23056 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23057
fb5e92c9
AS
230582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23059
23060 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23061 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23062 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23063 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23064 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23065 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23066
76da7265
AZ
230672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23068
23069 [BZ #6794]
23070 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23071 * math/libm-test.inc: Add ilogb errno and exception tests.
23072 * math/w_ilogb.c: New file: ilogb wrapper.
23073 * math/w_ilogbf.c: New file: ilogbf wrapper.
23074 * math/w_ilogbl.c: New file: ilogbl wrapper.
23075 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23076 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23077 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23078 exception being thrown with 0.0 as argument.
23079 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23080 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23081 exception being thrown with 0.0 as argument.
23082 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23083 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23084 exception being thrown with 0.0 as argument.
23085 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23086 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23087 exception being thrown with 0.0 as argument.
23088 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23089 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23090 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23091 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23092 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23093 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23094 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23095 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23096 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23097
0396e69d
PB
230982012-04-17 Petr Baudis <pasky@ucw.cz>
23099
23100 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23101 with altivec.
23102
750b5926
MP
231032012-04-16 Marek Polacek <polacek@redhat.com>
23104
23105 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23106
751728a1
MP
231072012-04-16 Marek Polacek <polacek@redhat.com>
23108
23109 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23110 operands of fdivp instruction.
23111
34a27407
L
231122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23113
23114 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23115 * elf/tst-auditmod3b.c: Likewise.
23116 * elf/tst-auditmod4b.c: Likewise.
23117 * elf/tst-auditmod5b.c: Likewise.
23118 * elf/tst-auditmod6b.c: Likewise.
23119 * elf/tst-auditmod6c.c: Likewise.
23120 * elf/tst-auditmod7b.c: Likewise.
23121 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23122 * sysdeps/x86_64/preconfigure.in: Likewise.
23123 * sysdeps/x86_64/preconfigure: Regenerated.
23124
7e73e17d
L
231252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23126
23127 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23128 __ILP32__.
23129
c7a6ab72
AB
231302012-04-13 Antoine Balestrat <merkil33@gmail.com>
23131
23132 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23133 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23134
a9e8e0e0
CL
231352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23136
23137 [BZ #13973]
23138 * locale/iso-639.def: Fix gl language name. Spotted by
23139 Yaron Shahrabani.
23140
ec98af7d
RM
231412012-04-12 Roland McGrath <roland@hack.frob.com>
23142
23143 [BZ #2074]
23144 * libio/libio.h (__io_write_fn): Update comment.
23145
247c3ede
PB
231462012-04-12 Petr Baudis <pasky@ucw.cz>
23147
23148 [BZ #2074]
23149 * stdio.texi (Hook Functions): The user provided writer function
23150 is not allowed to return -1.
23151
55939d6d
DM
231522012-04-11 David S. Miller <davem@davemloft.net>
23153
23154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23155
90020f5a
MF
231562012-04-11 Mike Frysinger <vapier@gentoo.org>
23157
23158 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23159 Add a leading slash to rtkaio.
23160
288f9098
JM
231612012-04-11 Jim Meyering <meyering@redhat.com>
23162
90020f5a
MF
23163 [BZ #11959]
23164 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23165 It is not necessarily an error to ignore fwrite's return
23166 value. One can reliably use ferror to test for errors after
23167 the fact.
288f9098 23168
4be2b570
L
231692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23170
23171 * bits/types.h (__snseconds_t): New type.
23172 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23173
23174 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23175 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23176 (__SNSECONDS_T_TYPE): Likewise.
23177 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23178 (__SNSECONDS_T_TYPE): Likewise.
23179 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23180 (__SNSECONDS_T_TYPE): Likewise.
23181
288f9098 231822012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23183
23184 [BZ #2636]
23185 * manual/time.texi (Processor Time): Return type of times is
23186 elapsed real time since an arbitrary point in the past.
23187 (CPU Time): Move CLK_TCK from here...
23188 (Processor Time): ...to here. Correct description.
23189 * manual/conf.texi (Constants for Sysconf): Correct description of
23190 _SC_CLK_TCK.
23191
d7dd4413
DM
231922012-04-10 David S. Miller <davem@davemloft.net>
23193
23194 [BZ #13967]
23195 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23196 where the is a gap between DT_REL(A) and DT_JMPREL.
23197
b46068fc
L
231982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23199
23200 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23201 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23202 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23203
73d65cc3
SP
232042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23205
23206 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23207 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23208 (dl_main): Handle --inhibit-cache.
23209 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23210 _dl_inhibit_cache.
23211 * elf/dl-load.c (_dl_map_object): Use it.
23212 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23213
bcc8d661
JM
232142012-04-09 Joseph Myers <joseph@codesourcery.com>
23215
8f9a2fae
JM
23216 [BZ #13872]
23217 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23218 (__ieee754_powl): Saturate large exponents rather than testing for
23219 overflow of y*log2(x).
23220 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23221 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23222 exceptions.
23223
bcc8d661
JM
23224 [BZ #11521]
23225 * math/s_ctan.c: Include <float.h>.
23226 (__ctan): Avoid internal overflow or cancellation in calculating
23227 denominator.
23228 * math/s_ctanf.c: Likewise.
23229 * math/s_ctanl.c: Likewise.
23230 * math/s_ctanh.c: Likewise.
23231 * math/s_ctanhf.c: Likewise.
23232 * math/s_ctanhl.c: Likewise.
23233 * math/libm-test.inc (ctan_test): Add more tests.
23234 (ctanh_test): Likewise.
23235 * sysdeps/i386/fpu/libm-test-ulps: Update.
23236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23237
823fbbb4
AJ
232382012-04-09 Andreas Jaeger <aj@suse.de>
23239
03879793
AJ
23240 [BZ #6894]
23241 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23242 is an optional BSD extension.
23243
823fbbb4
AJ
23244 [BZ #10254]
23245 * manual/stdio.texi (Opening Streams): Document additional fopen
23246 parameters.
23247
8de131cb
RM
232482012-04-09 Roland McGrath <roland@hack.frob.com>
23249
23250 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23251 %eax without telling the compiler.
23252
c0ed9d7d
CD
232532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23254
23255 [BZ # 13963]
23256 * manual/install.texi: Use sourceware.org.
23257
c483f6b4
JM
232582012-04-09 Joseph Myers <joseph@codesourcery.com>
23259
d7dd9453
JM
23260 [BZ #13873]
23261 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23262 (__ieee754_pow): Generate overflow and underflow using huge*huge
23263 and tiny*tiny rather than just returning constant infinity or zero
23264 for large exponents.
23265 * math/libm-test.inc (pow_test): Require overflow exceptions for
23266 applicable cases of large exponents.
23267
c483f6b4
JM
23268 [BZ #706]
23269 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23270 (__ieee754_pow): Use iterative multiplication algorithm only for
23271 integer exponents with absolute value below 1024. Check for odd
23272 integer exponents when using algorithm for real exponents.
23273 * math/libm-test.inc (pow_test): Add more tests.
23274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23275
d2de7579
JM
232762012-04-08 Joseph Myers <joseph@codesourcery.com>
23277
23278 [BZ #13705]
23279 * math/libm-test.inc (exp_test): Do not allow overflow exception
23280 on underflow test.
23281
f77f1232
AJ
232822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23283
23284 [BZ #13705]
23285 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23286 instead of __kernel_standard_f.
23287
3884932b
MF
232882012-04-08 Mike Frysinger <vapier@gentoo.org>
23289
23290 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23291 * sysdeps/x86_64/memset_chk.S: Likewise.
23292
54472e9c
AJ
232932012-04-08 Andreas Jaeger <aj@suse.de>
23294
6ab0fbfc
AJ
23295 [BZ #10153]
23296 * manual/startup.texi (Environment Access): Describe return value
23297 for putenv and setenv.
23298
61efba8c
AJ
23299 [BZ #6895]
23300 * manual/filesys.texi (Directory Entries): Add description for
23301 DT_LNK.
23302
95c3f29a
AJ
23303 [BZ #6890]
23304 * manual/filesys.texi (Directory Entries): Clarify that it's file
23305 system not operating system in the description of DT_UNKNOWN.
23306
54472e9c
AJ
23307 [BZ #6578]
23308 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23309
624254b1
SC
233102012-04-08 Stephen Compall <s11@member.fsf.org>
23311
23312 [BZ #6649]
23313 * manual/llio.texi (Opening and Closing Files): Add cross
23314 reference to explain mode argument.
23315
1e4920e0
MF
233162012-04-07 Mike Frysinger <vapier@gentoo.org>
23317
23318 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23319 * sysdeps/x86_64/memset_chk.S: Likewise.
23320
5ed848f3
DM
233212012-04-07 David S. Miller <davem@davemloft.net>
23322
23323 * elf/elf.h (R_SPARC_WDISP10): Define.
23324 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23325 R_SPARC_SIZE32.
23326 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23327 R_SPARC_SIZE64 and R_SPARC_H34.
23328
96154cd8
CD
233292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23330
23331 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23332 conditions and remove no longer applicable assertion.
23333
9904dc47
L
233342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23335
23336 * bits/byteswap.h: Include <features.h>.
23337 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23338 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23339
f8887d0a
L
233402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23341
23342 * bits/byteswap.h (__bswap_16): Removed.
23343 Include <bits/byteswap-16.h> to get __bswap_16.
23344 * sysdeps/i386/bits/byteswap.h: Likewise.
23345 * sysdeps/s390/bits/byteswap.h: Likewise.
23346 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23347 * bits/byteswap-16.h: New file.
23348 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23349 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23350 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23351 * string/Makefile (headers): Add bits/byteswap-16.h.
23352
62470f60
PP
233532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23354
23355 [BZ #13895]
23356 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23357 extra indirection.
23358 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23359 * nss/tst-nss-static.c: New.
23360
4dad7bab
RM
233612012-04-06 Robert Millan <rmh@gnu.org>
23362
23363 [BZ #6486]
23364 * manual/llio.texi (File Position Primitive): lseek
23365 refers to WHENCE when it really means OFFSET.
23366
e9142a17
AJ
233672012-04-06 Andreas Jaeger <aj@suse.de>
23368
2c040eff
AJ
23369 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23370 strncmp declarations.
23371
e9142a17
AJ
23372 * abilist/libc.abilist: Add __poll and __ppoll.
23373
ff9f1c5f
DM
233742012-04-05 David S. Miller <davem@davemloft.net>
23375
dcd2ae90
DM
23376 * scripts/check-local-headers.sh: Accept a host triplet in the
23377 path matched by the exclude regexp.
23378
993eb054
DM
23379 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23380 definition.
23381 * sysdeps/powerpc/powerpc32/dl-machine.h
23382 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23383 * sysdeps/s390/s390-32/dl-machine.h
23384 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23385 * sysdeps/sparc/sparc32/dl-machine.h
23386 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23387 * sysdeps/sparc/sparc64/dl-machine.h
23388 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23389
ff9f1c5f
DM
23390 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23391 lazy binding.
48e2e132 23392 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23393 undefined symbol errors.
23394
48e2e132 23395 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23396 DT_NEEDED entries.
23397
e80d6f94
MM
233982012-04-05 Michael Matz <matz@suse.de>
23399
23400 [BZ #13592]
23401 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23402
349fa79f
AJ
234032012-04-05 Andreas Jaeger <aj@suse.de>
23404
23405 [BZ #13908]
23406 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23407 comment.
23408
f402708f
KK
234092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23410
23411 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23412 which ROUND is no valid rounding mode.
23413
2ecccfc9
KK
234142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23415
23416 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23417 read again.
23418 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23419
8a53f50f
KK
234202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23421
23422 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23423 an exception using FPU order intentionally.
23424
234252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23426
23427 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23428 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23429 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23430 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23431
d653abb7
SJ
234322012-04-05 Simon Josefsson <simon@josefsson.org>
23433
23434 [BZ #12340]
23435 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23436 EINVAL when BUFLEN is too smal.
23437
c3b1bf7d
TS
234382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23439
23440 [BZ #13553]
23441 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23442 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23443
b1aa60f3
AJ
234442012-04-03 Andreas Jaeger <aj@suse.de>
23445
c3b1bf7d 23446 [BZ #13938]
67f60a26
AJ
23447 * manual/setjmp.texi (System V contexts): Fix sentence.
23448
b1aa60f3
AJ
23449 [BZ #13926]
23450 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23451 New macro for this case.
23452 [!__GNUC__] (__bswap_64): New inline function for this case.
23453 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23454 * bits/byteswap.h: Likewise.
23455 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23456 ull, guard with __GLIBC_HAVE_LONG_LONG.
23457
23458 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23459 __GLIBC_HAVE_LONG_LONG.
23460
23461 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23462 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23463
39c59c35
TMQMF
234642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23465
23466 [BZ #13691]
23467 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23468 inptr and inend, rather than using last_ch.
23469
135ffda8
DM
234702012-04-02 David S. Miller <davem@davemloft.net>
23471
23472 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23473 * stdio-common/printf-parse.h (read_int): Change return type to
23474 'int', return -1 on INT_MAX overflow.
23475 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23476 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23477 overflows INT_MAX. Check for overflow of in-format-string precision
23478 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23479 SIZE_MAX not INT_MAX for integer overflow test.
23480 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23481 skip the construct in the format string but do not record anything.
23482 * stdio-common/bug22.c: Adjust to test both width/prevision
23483 INT_MAX overflow as well as total length INT_MAX overflow. Check
23484 explicitly for proper errno values.
23485
228c019e
TS
234862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23487
302cadd3
TS
23488 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23489 CHAR_MAX.
23490 * string/test-strcmp.c [! WIDE]: Likewise.
23491 * time/tst-mktime2.c: Likewise for INT_MAX.
23492 * string/test-string.h: #include <sys/param.h> for MIN.
23493
228c019e
TS
23494 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23495 * sysdeps/i386/init-first.c (init): Likewise.
23496 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23497 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23498 * sysdeps/sh/init-first.c (init): Likewise.
23499
cfa633f5
UD
235002012-04-01 Ulrich Drepper <drepper@gmail.com>
23501
23502 * po/ru.po: Update from translation team.
d1635ef8 23503 * po/vi.po: Likewise.
cfa633f5 23504
6cd0a5ea
SP
235052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23506
23507 * resolv/nss_dns/dns-host.c: Merge copyright years.
23508
4b43400f
LD
235092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23510
23511 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23512 Optimize memcpy with prefetch if
23513 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23514 src, dst pointers have unequal 16 byte alignments.
23515
48c41d04
SP
235162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23517
23518 [BZ #13928]
23519 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23520 from a CNAME entry and return the minimum ttl for the query.
23521 (gaih_getanswer_slice): Likewise.
23522
b8dc394d
JL
235232012-03-30 Jeff Law <law@redhat.com>
23524
23525 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23526 due to long keys.
23527 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23528 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23529
2f5a5ed0
JL
23530 * resolv/nss_dns/dns-host.c: Update copyright year.
23531
1d39e359
UD
235322012-03-30 Ulrich Drepper <drepper@gmail.com>
23533
c030f70c 23534 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23535 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23536
1d39e359
UD
23537 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23538 comments for sendmmsg.
23539
235402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23541
23542 [BZ #13691]
23543 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23544 with only 1 character between 0x0041 and 0x01b0.
23545 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23546 * wcsmbs/tst-mbsnrtowcs.c: New file.
23547
20fde227
DM
235482012-03-29 David S. Miller <davem@davemloft.net>
23549
23550 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23551 small copies by hand.
23552
984a4237
JL
235532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23554
23555 [BZ #13761]
23556 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23557 _nss_compat_initgroups_dyn): Fall back to malloc/free
23558 for large group memberships.
23559
18c9d62b
DM
235602012-03-28 David S. Miller <davem@davemloft.net>
23561
88d85d4f
DM
23562 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23563 that branches into memcpy.
23564 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23565 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23566 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23567 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23569 bits.
23570 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23571 implementation too.
23572 * sysdeps/sparc/mempcpy.S: New file.
23573
e5aa83e1
DM
23574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23575 the IFUNC routine in the libc case.
23576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23577
88570753
DM
23578 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23579 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23580 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23581 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23582 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23583 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23584 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23585 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23586
249d7567
DM
23587 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23588 loop to 256 bytes instead of 64 bytes and fix test signedness.
23589
18c9d62b
DM
23590 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23591 * sysdeps/sparc/sparc32/Makefile: rather than here...
23592 * sysdeps/sparc/sparc64/Makefile: and here.
23593
05f3d1f6
UD
235942012-03-28 Ulrich Drepper <drepper@gmail.com>
23595
23596 * malloc/mallocbug.c: Avoid warnings about unused variables.
23597
86ae07a8
JL
235982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23599
23600 [BZ #13760]
23601 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23602 in the right place. Discard and retry query if response is
23603 larger than input buffer size.
23604
41bf21a1
JM
236052012-03-28 Joseph Myers <joseph@codesourcery.com>
23606
d6270972
JM
23607 [BZ #369]
23608 [BZ #2678]
23609 [BZ #3866]
23610 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23611 x for large integer exponent.
23612 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23613 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23614 sign of result as needed afterwards.
23615 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23616 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23617 result for underflowing pow the same as for overflow.
23618 (__kernel_standard_l): Handle powl overflow and underflow here
23619 rather than calling __kernel_standard.
23620 * math/libm-test.inc (pow_test): Add more tests.
23621
414fca03 23622 [BZ #3868]
41bf21a1
JM
23623 [BZ #13879]
23624 [BZ #13910]
23625 [BZ #13911]
23626 [BZ #13912]
23627 [BZ #13913]
23628 [BZ #13915]
23629 [BZ #13916]
23630 [BZ #13917]
23631 [BZ #13918]
23632 [BZ #13919]
23633 [BZ #13920]
23634 [BZ #13921]
23635 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23636 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23637 (__kernel_standard_l): New function.
23638 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23639 __kernel_standard.
23640 * math/w_acosl.c (__acosl): Likewise.
23641 * math/w_asinl.c (__asinl): Likewise.
23642 * math/w_atan2l.c (__atan2l): Likewise.
23643 * math/w_atanhl.c (__atanhl): Likewise.
23644 * math/w_coshl.c (__coshl): Likewise.
23645 * math/w_exp10l.c (__exp10l): Likewise.
23646 * math/w_exp2l.c (__exp2l): Likewise.
23647 * math/w_fmodl.c (__fmodl): Likewise.
23648 * math/w_hypotl.c (__hypotl): Likewise.
23649 * math/w_j0l.c (__j0l, __y0l): Likewise.
23650 * math/w_j1l.c (__j1l, __y1l): Likewise.
23651 * math/w_jnl.c (__jnl, __ynl): Likewise.
23652 * math/w_lgammal.c (__lgammal): Likewise.
23653 * math/w_log10l.c (__log10l): Likewise.
23654 * math/w_log2l.c (__log2l): Likewise.
23655 * math/w_logl.c (__logl): Likewise.
23656 * math/w_powl.c (__powl): Likewise.
23657 * math/w_remainderl.c (__remainderl): Likewise.
23658 * math/w_scalbl.c (sysv_scalbl): Likewise.
23659 * math/w_sinhl.c (__sinhl): Likewise.
23660 * math/w_sqrtl.c (__sqrtl): Likewise.
23661 * math/w_tgammal.c (__tgammal): Likewise.
23662 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23663 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23664 * math/libm-test.inc (acos_test): Add more tests.
23665 (acosh_test): Likewise.
23666 (asin_test): Likewise.
23667 (atanh_test): Likewise.
23668 (exp_test): Likewise.
23669 (exp10_test): Likewise.
23670 (exp2_test): Likewise.
23671 (expm1_test): Likewise.
23672 (lgamma_test): Likewise.
23673 (log_test): Likewise.
23674 (log10_test): Likewise.
23675 (log1p_test): Likewise.
23676 (log2_test): Likewise.
23677 (pow_test): Do not allow some spurious overflow exceptions.
23678 (sqrt_test): Add more tests.
23679 (tgamma_test): Likewise.
23680 (y0_test): Likewise.
23681 (y1_test): Likewise.
23682 (yn_test): Likewise.
23683
dd62fda6
AB
236842012-03-27 Anton Blanchard <anton@samba.org>
23685
23686 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23687 MAP_HUGETLB.
23688 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23689 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23691
1e3cdfda
AJ
236922012-03-27 David S. Miller <davem@davemloft.net>
23693
b855ab85
DM
23694 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23695
1e3cdfda
AJ
23696 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23697 have-as-vis3 check.
23698
236992012-03-27 Andreas Jaeger <aj@suse.de>
23700
23701 * sysdeps/x86_64/elf/configure.in: Moved to ...
23702 * sysdeps/x86_64/configure.in: ... here.
23703 * sysdeps/x86_64/elf/start.S: Moved to ...
23704 * sysdeps/x86_64/start.S: ... here.
23705 * sysdeps/x86_64/elf/configure: Delete.
23706
23707 * sysdeps/x86_64/configure.in: Merge contents from
23708 sysdeps/i386/configure.in (without i686 check).
23709
23710 * sysdeps/i386/elf/Versions: Merge into ...
23711 * sysdeps/i386/Versions: ... this.
23712 * sysdeps/i386/elf/Versions: Delete file.
23713 * sysdeps/i386/elf/start.S: Moved to ...
23714 * sysdeps/i386/start.S: ...here.
23715 * sysdeps/i386/elf/configure.in: Merge into...
23716 * sysdeps/i386/configure.in: ...here.
23717 * sysdeps/i386/elf/configure.in: Delete file.
23718 * sysdeps/i386/elf/configure: Delete file.
23719
23720 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23721 * debug/backtracesyms.c: ... here.
23722 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23723 * debug/backtracesymsfd.c: ... here.
23724 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23725 * sysdeps/generic/ifunc-sel.h: ... here.
23726
23727 * sysdeps/unix/i386/start.c: Delete file.
23728 * sysdeps/unix/sparc/start.c: Delete file.
23729 * sysdeps/unix/start.c: Delete file.
23730
23731 * sysdeps/sh/elf/configure.in: Moved to ...
23732 * sysdeps/sh/configure.in: ... here.
23733 * sysdeps/sh/elf/start.S: Moved to ...
23734 * sysdeps/sh/start.S: ... here.
23735 * sysdeps/sh/elf/configure: Delete file.
23736
23737 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23738 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23739 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23740 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23741 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23742 * sysdeps/powerpc/powerpc64/start.S: here.
23743 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23744 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23745 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23746 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23747 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23748
23749 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23750 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23751 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23752 * sysdeps/powerpc/powerpc32/start.S: ... here.
23753 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23754 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23755 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23756
23757 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23758 * sysdeps/powerpc/ifunc-sel.h: ... here.
23759 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23760 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23761
23762 * sysdeps/sparc/elf/configure.in: Moved to ...
23763 * sysdeps/sparc/configure.in: ... here.
23764 * sysdeps/sparc/elf/configure: Delete file.
23765 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23766 * sysdeps/sparc/sparc32/start.S: ... here.
23767 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23768 * sysdeps/sparc/sparc64/start.S: ... here.
23769 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23770 * sysdeps/sparc/sparc32/Makefile: ... this.
23771 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23772 * sysdeps/sparc/sparc64/Makefile: ... this.
23773
23774 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23775 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23776 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23777 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23778 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23779 * sysdeps/s390/s390-32/setjmp.S: ... here.
23780 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23781 * sysdeps/s390/s390-32/configure.in: ... here.
23782 * sysdeps/s390/s390-32/elf/configure: Delete file.
23783 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23784 * sysdeps/s390/s390-32/start.S: ... here.
23785
23786 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23787 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23788 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23789 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23790 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23791 * sysdeps/s390/s390-64/setjmp.S: ... here.
23792 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23793 * sysdeps/s390/s390-64/configure.in: ... here
23794 * sysdeps/s390/s390-64/elf/configure: Delete file.
23795 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23796 * sysdeps/s390/s390-64/start.S: ... here.
23797 * sysdeps/s390/s390-64/elf/configure: Delete.
23798
23799 * configure.in: Remove support for elf directories in sysdeps.
23800
23801 * configure: Regenerated.
23802 * sysdeps/i386/configure: Regenerated.
23803 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23804 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23805 * sysdeps/s390/s390-32/configure: Regenerated.
23806 * sysdeps/s390/s390-64/configure: Regenerated.
23807 * sysdeps/sh/configure: Regenerated.
23808 * sysdeps/sparc/configure: Regenerated.
23809 * sysdeps/x86_64/configure: Regenerated.
23810
a3f61311
AS
238112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23812
c876e002
AS
23813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23814
a3f61311
AS
23815 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23816 denormal result into account.
23817
ac4c54f0
RM
238182012-03-25 Roland McGrath <roland@hack.frob.com>
23819
23820 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23821 Reported by Allan McRae <allan@archlinux.org>.
23822
6a9b9c02
JL
238232012-03-23 Jeff Law <law@redhat.com>
23824
23825 * nss/getnssent.c (__nss_getent): Fix typo.
23826
4c42a0c1
DM
238272012-03-23 David S. Miller <davem@davemloft.net>
23828
23829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23830
1532c7ac
L
238312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23832
23833 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23834 to pad to uint64_t for each field.
23835 (dl_tls_index): Replace unsigned long with uint64_t.
23836
3ff42526
PP
238372012-03-23 Daniel Jacobowitz <dmj@google.com>
23838 Paul Pluzhnikov <ppluzhnikov@google.com>
23839
23840 [BZ #6528]
23841 * grp/Makefile (otherlibs): Don't set it.
23842 * inet/Makefile (otherlibs): Likewise.
23843 * login/Makefile (otherlibs): Likewise.
23844 * nscd/Makefile (otherlibs): Likewise.
23845 * posix/Makefile (otherlibs): Likewise.
23846 * pwd/Makefile (otherlibs): Likewise.
23847 * rt/Makefile (otherlibs): Likewise.
23848 * sunrpc/Makefile (otherlibs): Likewise.
23849 * nss/Makefile (otherlibs): Likewise.
23850 Add libnss_files to routines and static-only-routines.
23851 ($(objpfx)getent): Remove rule.
23852 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23853 static-only-routines.
23854
7c69cd14
JM
238552012-03-22 Joseph Myers <joseph@codesourcery.com>
23856
23857 [BZ #13892]
23858 * math/s_cexp.c: Include <float.h>.
23859 (__cexp): Handle exp result overflowing not necessarily
23860 overflowing both real and imaginary parts of result.
23861 * math/s_cexpf.c: Likewise.
23862 * math/s_cexpl.c: Likewise.
23863 * math/libm-test.inc (cexp_test): Add more tests.
23864 * sysdeps/i386/fpu/libm-test-ulps: Update.
23865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23866
81b035fe
L
238672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23868
23869 * include/link.h (ELFW): New macro.
23870 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23871 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23872
1da7940c
L
238732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23874
23875 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23876 with uint64_t.
23877
b749dbb9
L
238782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23879
23880 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23881 declaration.
23882 (struct La_x32_retval): Likewise.
23883
2ff87f3f
L
238842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23885
23886 * sysdeps/x86_64/preconfigure.in: New file.
23887 * sysdeps/x86_64/preconfigure: New generated file.
23888
c0df8e69
JM
238892012-03-22 Joseph Myers <joseph@codesourcery.com>
23890
48e44791
JM
23891 [BZ #13824]
23892 * math/e_exp2l.c: Include <float.h>.
23893 (__ieee754_exp2l): Handle overflow and underflow cases
23894 separately. Only pass fractional part of argument to
23895 __ieee754_expl.
23896 * math/libm-test.inc (exp2_test): Add more tests.
23897
c0df8e69
JM
23898 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23899 negating x to take absolute value.
23900 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23901 Likewise.
23902 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23903 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23904 Likewise.
23905 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23906 computing low part if x was negated.
23907 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23908
c8e43ba7
L
239092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23910
23911 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23912 la_x32_gnu_pltexit.
23913 (pltexit): Cast int_retval to ptrdiff_t.
23914 * elf/tst-auditmod3b.c: Likewise.
23915 * elf/tst-auditmod4b.c: Likewise.
23916 * elf/tst-auditmod5b.c: Likewise.
23917 * elf/tst-auditmod6b.c: Likewise.
23918 * elf/tst-auditmod6c.c: Likewise.
23919 * elf/tst-auditmod7b.c: Likewise.
23920
23921 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23922 and x32_gnu_pltexit.
23923
23924 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23925 __ELF_NATIVE_CLASS.
23926 (La_x32_regs): New macro.
23927 (La_x32_retval): Likewise.
23928 (la_x32_gnu_pltenter): New function prototype.
23929 (la_x32_gnu_pltexit): Likewise.
23930
7998fa78
AS
239312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23932
dcb33988
AS
23933 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23934 exponent.
23935
233fc563
AS
23936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23937
7998fa78
AS
23938 * configure.in (libc_cv_cc_nofma): Check for option to disable
23939 generation of FMA instructions.
23940 * configure: Regenerate.
23941 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23942 * sysdeps/ieee754/dbl-64/Makefile: New file.
23943 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23944 Remove brandred-fma4.
23945 (CFLAGS-brandred-fma4.c): Remove.
23946 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23947 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23948 define.
23949 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23950 define.
23951
8e95c99a
L
239522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23953
23954 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23955 LLONG_MAX != LONG_MAX.
23956 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23957 (_fitoa_word): Likewise.
23958 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23959 LLONG_MAX != LONG_MAX.
23960 * stdio-common/_itowa.h: Include <_itoa.h>.
23961 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23962 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23963 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23964 only if not defined.
23965 (_ITOA_WORD_TYPE): Likewise.
23966 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23967 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23968
6f4db457
DM
239692012-03-21 David S. Miller <davem@davemloft.net>
23970
23971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23972
7785fe5a
L
239732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23974
23975 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23976 of x86_64 when setting libc_cv_slibdir, libdir and
23977 libc_cv_localedir.
23978 * sysdeps/unix/sysv/linux/configure: Regenerated.
23979
4535cd55
JM
239802012-03-21 Joseph Myers <joseph@codesourcery.com>
23981
23982 * manual/lang.texi (Old Varargs): Remove section.
23983 (How Variadic): Update menu.
23984 (va_start): Do not mention varargs.h.
23985
17228132
TS
239862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23987 Joseph Myers <joseph@codesourcery.com>
23988
23989 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23990 link test.
23991 * configure: Regenerated.
23992
8149f976
TS
239932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23994
05f3d1f6
UD
23995 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23996 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23997 conformtest.pl
8149f976 23998
1a4ac776
JM
239992012-03-21 Joseph Myers <joseph@codesourcery.com>
24000
be22ce65
JM
24001 * NOTES: Remove.
24002 * Makefile (files-for-dist): Remove NOTES.
24003 (NOTES): Remove rule.
24004 * README: Don't refer to NOTES.
24005 * manual/creature.texi: Don't include macros.texi.
24006 * manual/intro.texi (creature.texi): Remove comment referring to
24007 NOTES.
24008
40b601fb
JM
24009 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24010 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24011 * configure: Regenerated.
24012 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24013 LIBC_TRY_CC_OPTION.
24014 (libc_cv_as_i686): Likewise.
24015 (libc_cv_cc_avx): Likewise.
24016 (libc_cv_cc_sse2avx): Likewise.
24017 (libc_cv_cc_fma4): Likewise.
24018 (libc_cv_cc_novzeroupper): Likewise.
24019 * sysdeps/i386/configure: Regenerated.
24020
1a4ac776
JM
24021 [BZ #13883]
24022 * sysdeps/i386/fpu/s_cexp.S: Remove.
24023 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24024 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24025 * math/libm-test.inc (cexp_test): Add more tests.
24026 * sysdeps/i386/fpu/libm-test-ulps: Update.
24027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24028
a458e7fe
AM
240292012-03-21 Allan McRae <allan@archlinux.org>
24030
24031 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24032
0cb7efc5
JM
240332012-03-21 Joseph Myers <joseph@codesourcery.com>
24034
24035 [BZ #13871]
24036 * math/w_exp2.c: Do not include <float.h>.
24037 (o_threshold, u_threshold): Remove.
24038 (__exp2): Calculate result before checking finiteness and calling
24039 __kernel_standard.
24040 * math/w_exp2f.c: Likewise.
24041 * math/w_exp2l.c: Likewise.
24042 * math/libm-test.inc (exp2_test): Require overflow exception for
24043 1e6 input.
2460d3aa
JM
24044
24045 [BZ #3866]
24046 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24047 range of signed 64-bit integers before using fistpll. Remove
24048 checks for whether integers fit in mantissa bits.
24049 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24050 the range of signed 32-bit integers before using fistpl. Remove
24051 checks for whether integers fit in mantissa bits.
24052 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24053 (__ieee754_powl): Test for y outside the range of signed 64-bit
24054 integers before using fistpll. Reduce 64-bit values to 63-bit
24055 ones as needed.
24056 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24057 divide-by-zero is raised for zero to large negative powers.
24058 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24059 (__ieee754_powl): Test for y outside the range of signed 64-bit
24060 integers before using fistpll. Reduce 64-bit values to 63-bit
24061 ones as needed.
24062 * math/libm-test.inc (pow_test): Add more tests.
24063
eb96ffb0
L
240642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24065
24066 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24067 <stdio-common/_itoa.h>.
24068 * debug/segfault.c: Likewise.
24069 * elf/dl-cache.c: Likewise.
24070 * elf/dl-minimal.c: Likewise.
24071 * elf/dl-misc.c: Likewise.
24072 * elf/dl-sysdep.c: Likewise.
24073 * elf/dl-version.c: Likewise.
24074 * elf/rtld.c: Likewise.
24075 * hurd/hurdsock.c: Likewise.
24076 * hurd/lookup-retry.c: Likewise.
24077 * malloc/malloc.c: Likewise.
24078 * malloc/mtrace.c: Likewise.
24079 * nscd/nscd_getgr_r.c: Likewise.
24080 * nscd/nscd_getpw_r.c: Likewise.
24081 * nscd/nscd_getserv_r.c: Likewise.
24082 * posix/getopt_init.c: Likewise.
24083 * posix/wordexp.c: Likewise.
24084 * stdio-common/_itoa.c: Likewise.
24085 * stdio-common/printf_fphex.c: Likewise.
24086 * stdio-common/vfprintf.c: Likewise.
24087 * string/_strerror.c: Likewise.
24088 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24089 * sysdeps/i386/i686/hp-timing.h: Likewise.
24090 * sysdeps/mach/_strerror.c: Likewise.
24091 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24092 * sysdeps/mach/hurd/sethostid.c: Likewise.
24093 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24094 * sysdeps/mach/xpg-strerror.c: Likewise.
24095 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24096 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24097 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24098 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24099 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24100 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24101 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24102 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24103 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24104 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24105 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24106 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24107 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24108 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24109 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24110 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24111 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24112 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24113 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24114 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24115 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24116
24117 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24118
24119 * stdio-common/_itoa.h: Moved to ...
24120 * sysdeps/generic/_itoa.h: Here.
24121
24122 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24123
24124 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24125 instead of "_itoa.h" and "_itowa.h".
24126 * stdio-common/vfprintf.: Likewise.
24127
d1af992d
L
241282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24129
24130 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24131 <bits/wordsize.h>.
24132 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24133 (__signbit): Likwise.
24134 (llrintf): Likwise.
24135 (llrint): Likwise.
24136
114883e0
L
241372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24138
24139 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24140 __WORDSIZE != 64.
24141
c135cc1b
JM
241422012-03-20 Joseph Myers <joseph@codesourcery.com>
24143
24144 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24145 OVERFLOW_EXCEPTION_OK.
24146 * math/libm-test.inc ("Philosophy"): Update comment about
24147 exception testing.
24148 (OVERFLOW_EXCEPTION): Define.
24149 (OVERFLOW_EXCEPTION_OK): Likewise.
24150 (INVALID_EXCEPTION_OK): Renumber.
24151 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24152 (IGNORE_ZERO_INF_SIGN): Likewise.
24153 (test_exceptions): Handle FE_OVERFLOW.
24154 (exp10_test): Expect overflow exceptions.
24155 (exp2_test): Likewise.
24156 (expm1_test): Likewise.
24157 (nextafter_test): Likewise.
24158 (pow_test): Likewise.
24159 (scalbn_test): Likewise.
24160 (scalbln_test): Likewise.
24161
95443d88
L
241622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24163
24164 * sysdeps/x86_64/bits/atomic.h
24165 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24166 64bit integer.
24167 (atomic_exchange_acq): Likewise.
24168 (__arch_exchange_and_add_body): Likewise.
24169 (__arch_add_body): Likewise.
24170 (atomic_add_negative): Likewise.
24171 (atomic_add_zero): Likewise.
24172
490df6c4
L
241732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24174
c2722551 24175 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24176 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24177
5e52b189
L
241782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24179
24180 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24181 Check __x86_64__ instead of __WORDSIZE.
24182
a9879d4c
L
241832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24184
24185 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24186
5df98260
DM
241872012-03-19 David S. Miller <davem@davemloft.net>
24188
e1497744
DM
24189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24190
5df98260
DM
24191 * sysdeps/sparc/fpu/fenv_private.h: New file.
24192 * sysdeps/sparc/fpu/math_private.h: Use it.
24193 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24194 Remove.
24195 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24196 (libc_feholdexcept_setroundl): Remove.
24197 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24198 Remove.
24199 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24200 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24201
b4c35121
L
242022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24203
24204 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24205 int64_t instead of long int.
24206 (INSERT_WORDS64): Likwise.
24207
56965fd7
L
242082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24209
24210 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24211 _Unwind_GetCFA return to _Unwind_Ptr first.
24212
83d1aec8
JM
242132012-03-19 Joseph Myers <joseph@codesourcery.com>
24214
1897ad44
JM
24215 [BZ #13629]
24216 * math/s_clog.c: Include <float.h>.
24217 (__clog): Scale large or subnormal inputs.
24218 * math/s_clogf.c: Likewise.
24219 * math/s_clogl.c: Likewise.
24220 * math/s_clog10.c: Include <float.h>.
24221 (M_LOG10_2): Define.
24222 (__clog10): Scale large or subnormal inputs.
24223 * math/s_clog10f.c: Likewise.
24224 * math/s_clog10l.c: Likewise.
24225 * math/libm-test.inc (clog_test): Add more tests.
24226 (clog10_test): Likewise.
24227 * sysdeps/i386/fpu/libm-test-ulps: Update.
24228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24229
7726d6a9
JM
24230 [BZ #11451]
24231 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24232 x and y.
24233 * math/libm-test.inc (atan2_test): Add another test.
24234
83d1aec8
JM
24235 * Makerules (common-objdir-compile): Remove.
24236 * sysdeps/unix/Makefile (config-generated): Do not add
24237 $(unix-generated) to variable.
24238 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24239 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24240 Remove rule.
24241 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24242 Likewise.
24243 [generic bits/local_lim.h] (before-compile): Do not append to
24244 variable.
24245 [generic bits/local_lim.h] (common-generated): Likewise.
24246 [generic sys/param.h] (before-compile): Do not append to variable.
24247 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24248 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24249 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24250 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24251 include.
24252 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24253 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24254 [generic sys/param.h] ($(addprefix
24255 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24256 [generic sys/param.h] (common-generated): Do not append to
24257 variable.
24258 [generic sys/param.h] (sysdep_headers): Likewise.
24259 [generic bits/errno.h] (before-compile): Do not append to
24260 variable.
24261 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24262 rule.
24263 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24264 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24265 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24266 [generic bits/errno.h] (common-generated): Do not append to
24267 variable.
24268 [generic bits/ioctls.h] (before-compile): Do not append to
24269 variable.
24270 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24271 rule.
24272 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24273 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24274 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24275 rule.
24276 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24277 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24278 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24279 [generic bits/ioctls.h] (common-generated): Do not append to
24280 variable.
24281 [generic sys/syscall.h] (syscall.h): Remove variable.
24282 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24283 rule.
24284 [generic sys/syscall.h] (before-compile): Do not append to
24285 variable.
24286 [generic sys/syscall.h] (common-generated): Likewise.
24287 * sysdeps/unix/errnos-tmpl.c: Remove file.
24288 * sysdeps/unix/errnos.awk: Likewise.
24289 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24290 * sysdeps/unix/ioctls.awk: Likewise.
24291 * sysdeps/unix/mk-local_lim.c: Likewise.
24292 * sysdeps/unix/snarf-ioctls: Likewise.
24293
4851a949
RH
242942012-03-19 Richard Henderson <rth@twiddle.net>
24295
bd37f2ee
RH
24296 * sysdeps/i386/fpu/fenv_private.h: New file.
24297 * sysdeps/i386/fpu/math_private.h: Use it.
24298 (math_opt_barrier, math_force_eval): Remove.
24299 (libc_feholdexcept_setround_53bit): Remove.
24300 (libc_feupdateenv_53bit): Remove.
24301 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24302 (math_opt_barrier, math_force_eval): Remove.
24303 (libc_feholdexcept): Remove.
24304 (libc_feholdexcept_setround): Remove.
24305 (libc_fetestexcept, libc_fesetenv): Remove.
24306 (libc_feupdateenv_test): Remove.
24307 (libc_feupdateenv, libc_feholdsetround): Remove.
24308 (libc_feresetround): Remove.
24309
d0adc922
RH
24310 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24311 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24312
0fe0f1f8
RH
24313 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24314 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24315 (libc_feupdateenv_testl): New.
24316 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24317 (libc_feupdateenv_testf): New.
24318 (libc_feupdateenv): Use libc_feupdateenv_test.
24319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24320 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24321
eb92c487
RH
24322 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24323 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24324 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24325 (libc_feresetround_noex): New.
24326 (libc_feresetround_noexf): New.
24327 (libc_feresetround_noexl): New.
24328 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24329 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24330 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24331 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24332 SET_RESTORE_ROUND.
24333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24334 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24335 (__cos): Likewise.
24336 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24337 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24338 SET_RESTORE_ROUND_NOEX.
24339 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24340 SET_RESTORE_ROUND_NOEXF.
24341 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24342 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24343 (libc_feholdsetroundf): New.
24344 (libc_feresetround, libc_feresetroundf): New.
24345
7d2e8012
RH
24346 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24347 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24348 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24349
b4dabbb4
RH
24350 * sysdeps/generic/math_private.h: Include <fenv.h>.
24351 (default_libc_feholdexcept): New.
24352 (default_libc_feholdexcept_setround): New.
24353 (default_libc_fesetenv, default_libc_feupdateenv): New.
24354 (libc_feholdexcept): Only define if undefined.
24355 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24356 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24357 (libc_feholdexcept_setroundl): Likewise.
24358 (libc_feholdexcept_setround_53bit): Likewise.
24359 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24360 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24361 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24362 (libc_feupdateenv_53bit): Likewise.
24363 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24364 (libc_feholdexcept): Convert from macro to inline function.
24365 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24366 (libc_fesetenv, libc_feupdateenv): Likewise.
24367
4851a949
RH
24368 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24369 not previously defined.
24370 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24371 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24372 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24373 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24374 * sysdeps/ieee754/flt-32/math_private.h: New file.
24375 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24376 math_private.h below SET_FLOAT_WORD.
24377 (__isnan, __isinf_ns, __finite): Remove.
24378 (__isnanf, __isinf_nsf, __finitef): Remove.
24379
e79d442e
AS
243802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24381
24382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24383
90b80344
DM
243842012-03-17 David S. Miller <davem@davemloft.net>
24385
24386 [BZ #6471]
24387 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24388 for 2.16.
24389
edc21804
DM
243902012-03-16 David S. Miller <davem@davemloft.net>
24391
77e927af
DM
24392 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24393 warnings.
24394
374976dd
DM
24395 [BZ #6471]
24396 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24397 properly.
24398 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24399 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24400 sysdep_routines when subdir is sysvipc.
24401 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24402 __getshmlba helper.
24403
edc21804
DM
24404 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24405
473c3ef3
L
244062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24407
24408 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24409 [__LP64__].
24410
eb0f39b6
L
244112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24412
24413 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24414 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24415 (__lround): Renamed to ...
24416 (__llround): This. Replace long int with long long int.
24417 Define lround functions as aliases of llround functions.
24418 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24419
6b6cd74b
L
244202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24421
24422 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24423 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24424 adresses to uintptr_t. Replace "long int" and "unsigned long
24425 int" with "greg_t" on va_arg.
24426
f1a77b01
L
244272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24428
24429 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24430 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24431
24432 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24433 Move e_machine check before EI_CLASS check. Handle x32
24434 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24435 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24436 SKIP_EM_IA_64 and include
24437 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24438
24439 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24440 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24441 (add_system_dir): New macro.
24442
24443 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24444 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24445
11b90b9f
JM
244462012-03-16 Joseph Myers <joseph@codesourcery.com>
24447
c36e1d23
JM
24448 [BZ #2551]
24449 [BZ #2552]
24450 [BZ #2553]
24451 [BZ #2554]
24452 [BZ #2562]
24453 [BZ #2563]
24454 [BZ #2565]
24455 [BZ #2566]
24456 [BZ #2576]
24457 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24458 (y0): Likewise.
24459 * math/w_j0f.c (j0f): Likewise.
24460 (y0f): Likewise.
24461 * math/w_j0l.c (__j0l): Likewise.
24462 (__y0l): Likewise.
24463 * math/w_j1.c (j1): Likewise.
24464 (y1): Likewise.
24465 * math/w_j1f.c (j1f): Likewise.
24466 (y1f): Likewise.
24467 * math/w_j1l.c (__j1l): Likewise.
24468 (__y1l): Likewise.
24469 * math/w_jn.c (jn): Likewise.
24470 (yn): Likewise.
24471 * math/w_jnf.c (jnf): Likewise.
24472 (ynf): Likewise.
24473 * math/w_jnl.c (__jnl): Likewise.
24474 (__ynl): Likewise.
24475 * math/libm-test.inc (j0_test): Add more tests.
24476 (j1_test): Likewise.
24477 (jn_test): Likewise. Add trailing semicolon to existing test.
24478 (y0_test): Likewise.
24479 (y1_test): Likewise.
24480 * sysdeps/i386/fpu/libm-test-ulps: Update.
24481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24482
11b90b9f
JM
24483 [BZ #13851]
24484 [BZ #13854]
24485 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24486 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24487 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24488 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24489 (__tanl): Set errno for infinite argument.
24490 * sysdeps/i386/fpu/mptan.c: Remove.
24491 * sysdeps/i386/fpu/s_tan.S: Likewise.
24492 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24493 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24494 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24495 * math/libm-test.inc (tan_test): Add more tests and enable more
24496 tests for double and long double.
24497 * sysdeps/i386/fpu/libm-test-ulps: Update.
24498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24499
6a1bd2a1
JK
245002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24501
24502 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24503 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24504
10a803e0
RM
245052012-03-16 Roland McGrath <roland@hack.frob.com>
24506
24507 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24508 * configure.in: Use it for both main tree and add-ons.
24509 * configure: Regenerated.
24510
f196c7f7
L
245112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24512
24513 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24514
8848d99d
JM
245152012-03-16 Joseph Myers <joseph@codesourcery.com>
24516
96cbe7f4
JM
24517 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24518 in comment.
24519
8848d99d
JM
24520 [BZ #13851]
24521 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24522 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24523 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24524 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24525 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24526 infinite argument.
24527 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24528 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24529 != 0 for prec == 2.
24530 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24531 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24532 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24533 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24534 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24535 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24536 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24537 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24538 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24539 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24540 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24541 * math/libm-test.inc (cos_test): Add more tests and enable more
24542 tests for long double.
24543 (sin_test): Likewise.
24544 (sincos_test): Likewise.
24545 * sysdeps/i386/fpu/libm-test-ulps: Update.
24546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24547
dd7f4703
DM
245482012-03-16 David S. Miller <davem@davemloft.net>
24549
24550 * sysdeps/sparc/fpu/math_private.h: New file.
24551
006f1daa
DM
245522012-03-15 David S. Miller <davem@davemloft.net>
24553
c0c83bc8
DM
24554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24555 file.
e6a62e18 24556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
24557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24558 file.
e6a62e18
DM
24559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24564 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24565 sysdep routines.
24566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24567
88cb87d9
DM
24568 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24569 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24570
006f1daa 24571 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24573 sparc-ifunc.h
006f1daa 24574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24576 Likewise.
24577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24578 Likewise.
006f1daa
DM
24579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24583 Likewise.
006f1daa
DM
24584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24589 Likewise.
24590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24591 Likewise.
006f1daa
DM
24592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24598 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24599 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24610 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24611 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24612 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24613 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24614 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24615 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24616
11e0098e
AS
246172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24618
24619 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24620 scaling.
24621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24622
e85b09d0
AJ
246232012-03-15 Andreas Jaeger <aj@suse.de>
24624
24625 [BZ #13852]
24626 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24627 ieee754/flt-32 implementation for sin, cos and sincos.
24628 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24629 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24630 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24631 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24632 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24633 ieee754/flt-32 implementation for tan.
24634
24635 * math/libm-test.inc (cos_test): Enable some large input tests for
24636 float as well
24637 (sin_test): Likewise.
24638 (sincos_test): Likewise.
24639 (tan_test): Add tests for large input.
24640
24641 * sysdeps/i386/fpu/libm-test-ulps: Update.
24642
81c64153
AJ
246432012-03-15 Andreas Jaeger <aj@suse.de>
24644
24645 [BZ #13658]
24646 * math/libm-test.inc (cos_test): Add more test cases.
24647 (sin_test): Likewise.
24648 (sincos_test): Likewise.
24649
7bbfa5c6
AJ
246502012-03-15 Andreas Jaeger <aj@suse.de>
24651
24652 [BZ #13837]
24653 * math/libm-test.inc (cos_test): Add a test case for large input
24654 value.
24655 (sin_test): Likewise.
24656 (sincos_test): Likewise.
24657
246582012-03-15 Andreas Jaeger <aj@suse.de>,
24659 Joseph Myers <joseph@codesourcery.com>
24660
24661 [BZ #13658]
0671f479 24662 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24663 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24664 * sysdeps/i386/fpu/branred.c: Likewise.
24665 * sysdeps/i386/fpu/dosincos.c: Likewise.
24666 * sysdeps/i386/fpu/mpa.c: Likewise.
24667 * sysdeps/i386/fpu/s_cos.S: Likewise.
24668 * sysdeps/i386/fpu/s_sin.S: Likewise.
24669 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24670 * sysdeps/i386/fpu/sincos32.c: Likewise.
24671
24672 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24673 Define.
24674 (libc_feupdateenv_53bit): Define.
24675 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24676 Define.
24677 (libc_feupdateenv_53bit): Define.
24678
24679 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24680 53 bit (without extend i386 double precision).
24681
24682 * math/libm-test.inc (sincos_test): Add tests for large input.
24683 (sin): Likewise.
24684 (cos): Likewise.
24685
24686 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24687
9cad04ea
AS
246882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24689
24690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24691
f7062b9a
DM
246922012-03-15 David S. Miller <davem@davemloft.net>
24693
24694 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24695 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24696 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24697 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24710 file.
f7062b9a 24711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24713 file.
f7062b9a 24714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24716 file.
f7062b9a 24717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24719 file.
f7062b9a
DM
24720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24722 fmin/fmax sysdep routines.
24723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24724
7bd951ff
DM
247252012-03-14 David S. Miller <davem@davemloft.net>
24726
559398ab
DM
24727 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24728 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24731 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24732 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24733 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24734 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24747 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24750 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24752 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24753 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24755 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24756 routines.
24757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24758 file.
559398ab 24759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24761 file.
559398ab 24762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24764 file.
559398ab 24765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24767 file.
559398ab 24768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24770 file.
559398ab 24771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24773 file.
24774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24775 file.
24776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24777 file.
24778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24779 file.
24780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24781 New file.
24782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24783 file.
24784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24785 file.
559398ab 24786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24788 file.
559398ab 24789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24791 file.
559398ab 24792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24794 file.
559398ab 24795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24797 VIS3 routines.
559398ab
DM
24798
24799 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24800 New file.
24801
5a1c1e32
DM
24802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24803
eae47a36
DM
24804 * sysdeps/sparc/configure.in: New file.
24805 * sysdeps/sparc/configure: Generate.
24806 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24807 * configure: Regenerate.
24808 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24809 * config.make.in (have-as-vis3): New.
24810 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24811 available use -Av9d instead of -Av9a.
24812 * sysdeps/sparc/sparc64/Makefile: Likewise.
24813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24815 New file.
24816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24817 file.
24818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24819 New file.
24820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24821 file.
eae47a36
DM
24822 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24823 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24824 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24826 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24827
c0c83bc8
DM
24828 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24829 fzeros/fnegs to load 0x80000000 into a float register instead of
24830 using the stack.
7bd951ff
DM
24831 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24832
bd951ccb
JM
248332012-03-14 Joseph Myers <joseph@codesourcery.com>
24834
24835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24836 bits/syscall.h.
24837 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24838 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24839 ($(inst_includedir)/bits/syscall.h): Remove rule.
24840 ($(objpfx)bits/syscall.d): Include instead of
24841 $(objpfx)syscall-list.d.
24842 (generated): Change syscall-list.h and syscall-list.d to
24843 bits/syscall.h and bits/syscall.d.
24844
bb4e6db2
RM
248452012-03-14 Roland McGrath <roland@hack.frob.com>
24846
24847 [BZ #13846]
24848 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24849
aa4a2ae1
JM
248502012-03-14 Joseph Myers <joseph@codesourcery.com>
24851
e456826d
JM
24852 [BZ #13841]
24853 * math/s_csqrt.c: Include <float.h>.
24854 (__csqrt): Scale large or subnormal inputs.
24855 * math/s_csqrtf.c: Likewise.
24856 * math/s_csqrtl.c: Likewise.
24857 * math/libm-test.inc (csqrt_test): Add more tests.
24858 * sysdeps/i386/fpu/libm-test-ulps: Update.
24859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24860
aa4a2ae1
JM
24861 [BZ #13840]
24862 * math/libm-test.inc (hypot_test): Add more tests.
24863
7c10fd35
DM
248642012-03-13 David S. Miller <davem@davemloft.net>
24865
24866 [BZ #13840]
24867 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24868 double-precision for the calculation instead of scaling.
24869
f453b98b
JM
248702012-03-13 Joseph Myers <joseph@codesourcery.com>
24871
24872 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24873 manipulate bits before adding and subtracting TWO52[sx].
24874 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24875 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24876 Likewise.
24877 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24878
09a3453f
DM
248792012-03-13 David S. Miller <davem@davemloft.net>
24880
8e59da90
DM
24881 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24882 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24883 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24884 rtld-global-offsets.h
24885 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24886
2a8ab7f2
DM
24887 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24888 large parameters.
24889
10f62770
DM
24890 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24891
5f0bdb18
DM
24892 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24893 'err' in the ifdef scope in which it is actually used.
24894
09a3453f
DM
24895 * nss/nss_db/db-init.c: Include string.h
24896
b4b2eb5e
DM
248972012-03-12 David S. Miller <davem@davemloft.net>
24898
98bb2f1c
DM
24899 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24900 masking out of the most significant byte of random value used.
24901 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24902 Fix coding style in previous change.
24903
b4b2eb5e
DM
24904 * sysdeps/unix/sysv/linux/kernel-features.h
24905 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24906 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24907 expression.
24908 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24909 later.
24910
6e226b09
DM
249112012-03-11 David S. Miller <davem@davemloft.net>
24912
a1bcbd40
DM
24913 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24914 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24915 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24916 for 'resultvar' otherwise things get truncated on 64-bit.
24917
cb9d6174
DM
24918 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24919 Fix masking out of the most significant byte of random value used.
24920
6e226b09
DM
24921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24922
058c132d
AS
249232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24924
24925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24926
2d2cd515
DM
249272012-03-09 David S. Miller <davem@davemloft.net>
24928
24929 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24930 variables with appropriate CPP guards.
24931 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24932 frame pointer, not the stack pointer. Correct layout comments. Fix test
24933 on resulting framesize and the management of the outregs buffer for pltexit.
24934 Preserve floating point return values across _dl_call_pltexit call.
24935 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24936 framesize and the management of the outregs buffer for pltexit.
24937 Preserve floating point return values across _dl_call_pltexit
24938 call.
24939 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24940 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24941 (print_exit): Fix format string for return register value.
24942
9a07f9d0
JM
249432012-03-10 Joseph Myers <joseph@codesourcery.com>
24944
24945 * sunrpc/Makefile (others): Add rpcgen.
24946 ($(objpfx)rpcgen): Remove special build rule and dependency on
24947 libc.
24948 * sunrpc/rpcgen.c: New file.
24949
547b5e30
PE
249502012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24951
c524201a
PE
24952 [BZ #13673]
24953 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24954 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24955 * sysdeps/i386/crti.S: Likewise.
24956 * sysdeps/i386/crtn.S: Likewise.
24957 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24958 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24959 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24960 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24961 * sysdeps/sh/crti.S: Likewise.
24962 * sysdeps/sh/crtn.S: Likewise.
24963 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24964
7b6235f2
PE
24965 [BZ #13673]
24966 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24967 with URL.
24968 * locale/programs/locfile-kw.gperf: Likewise.
24969 * locale/programs/charmap-kw.h: Regenerated.
24970 * locale/programs/locfile-kw.h: Likewise.
24971
547b5e30
PE
24972 [BZ #13673]
24973 * intl/plural.y: Replace FSF snail mail address with URL.
24974 * intl/plural.c: Regenerated.
24975
5f0a5dae
RH
249762012-03-09 Richard Henderson <rth@twiddle.net>
24977
24978 * include/math_private.h: Remove file.
24979 * math/math_private.h: Move file ...
24980 * sysdeps/generic/math_private.h: ... here.
24981
b8c03620
RH
24982 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24983 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24984 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24985
4e234f5d 24986 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24987 and <math_private.h>.
24988 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24989 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24990 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24991 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24992 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24993 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24994 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24996 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24997 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24999 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25000 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25001 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25002 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25003 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25004 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25005 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25006 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25007 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25009 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25010 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25012 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25013 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25014 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25015 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25016 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25017 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25018 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25019 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25020 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25021 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25022 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25023 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25024 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25025 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25026 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25027 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25028 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25029 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25030 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25031 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25032 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25033 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25034 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25035 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25036 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25037 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25038 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25039 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25040 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25041 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25042 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25043 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25044 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25045 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25046 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25047 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25048 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25049 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25050 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25051 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25052 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25053 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25054 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25055 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25056 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25057 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25058 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25059 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25060 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25061 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25062 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25063 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25064 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25065 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25066 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25067 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25068 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25069 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25070 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25071 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25072 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25073 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25075 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25076 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25077 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25078 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25079 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25080 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25081 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25082 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25083 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25084 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25085 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25086 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25087 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25088 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25089 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25090 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25091 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25092 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25093 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25094 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25095 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25096 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25097 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25098 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25099 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25100 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25101 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25102 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25103 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25104 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25105 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25106 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25107 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25108 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25109 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25110 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25111 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25112 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25113 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25114 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25115 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25116 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25117 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25118 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25119 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25120 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25121 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25122 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25123 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25124 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25125 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25126 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25127 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25128 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25129 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25130 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25131 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25132 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25133 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25134 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25135 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25136 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25137 * sysdeps/ieee754/k_standard.c: Likewise.
25138 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25139 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25140 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25141 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25142 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25143 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25144 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25145 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25146 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25147 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25148 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25149 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25150 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25151 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25152 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25153 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25154 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25155 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25156 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25157 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25158 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25159 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25160 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25161 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25162 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25163 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25164 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25165 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25166 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25167 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25168 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25169 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25170 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25171 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25172 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25173 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25174 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25175 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25176 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25177 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25178 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25179 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25180 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25181 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25182 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25183 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25184 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25185 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25186 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25187 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25188 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25189 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25190 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25191 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25192 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25193 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25194 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25195 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25196 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25197 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25198 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25199 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25200 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25201 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25202 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25203 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25204 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25205 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25206 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25207 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25208 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25210 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25211 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25212 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25213 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25214 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25216 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25217 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25219 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25220 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25221 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25222 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25223 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25224 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25225 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25226 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25227 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25228 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25229 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25230 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25231 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25232 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25233 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25234 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25235 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25236 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25237 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25239 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25240 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25241 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25242 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25243 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25244 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25245 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25246 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25247 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25248 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25249 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25250 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25251 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25252 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25253 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25254 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25255 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25256 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25257 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25258 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25259 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25260 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25261 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25262 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25263 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25264 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25265 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25266 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25267 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25268 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25269 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25270 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25271 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25272 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25273 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25274 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25275 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25276 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25277 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25278 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25279 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25280 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25281 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25282 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25283 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25284 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25285 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25286 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25287 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25288 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25289 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25290 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25291 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25292 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25293 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25294 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25295 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25296 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25297 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25298 * sysdeps/ieee754/s_lib_version.c: Likewise.
25299 * sysdeps/ieee754/s_matherr.c: Likewise.
25300 * sysdeps/ieee754/s_signgam.c: Likewise.
25301 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25302 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25303 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25304 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25305 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25306 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25307 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25308 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25309 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25310 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25311 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25312 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25313 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25314 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25315 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25316 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25317 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25318 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25319 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25320 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25321 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25322
1991fa03
JM
253232012-03-09 Joseph Myers <joseph@codesourcery.com>
25324
25325 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25326 * sunrpc/rpc_main.c: Likewise.
25327 * sunrpc/rpc_svcout.c: Likewise.
25328
60d6f5a6
DM
253292012-03-09 David S. Miller <davem@davemloft.net>
25330
25331 * include/math_private.h: New file.
25332
4962050e
JM
253332012-03-09 Joseph Myers <joseph@codesourcery.com>
25334
02a6f887
JM
25335 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25336 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25337 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25338 from <bits/socket_type.h>.
25339 (enum __socket_type): Don't define here.
25340 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25342 bits/socket_type.h.
25343
c6e013c1
JM
25344 [BZ #13566]
25345 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25346 checking __USE_GNU.
25347
4962050e
JM
25348 * Makerules ($(inst_includedir)/%.h): New rule.
25349 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25350 (install-others): Remove variable setting.
25351 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25352
38842f45
RH
253532012-03-08 Richard Henderson <rth@twiddle.net>
25354
67bb6da6
RH
25355 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25356 from macro to inline function; merge with the
25357 !__LIBC_INTERNAL_MATH_INLINES version.
25358 (__ieee754_sqrtf): Likewise.
25359
15194b4b
RH
25360 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25361 to inline function.
25362 (__rintf, __floor, __floorf): Likewise.
25363
64e21ede
RH
25364 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25365 macro to inline function.
25366 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25367
38842f45
RH
25368 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25369 not <math/math_private.h>.
25370
c64bf5fe
DM
253712012-03-08 David S. Miller <davem@davemloft.net>
25372
25373 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25374 copyright year.
25375 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25376
82d86f28
TS
253772012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25378
25379 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25380 normalization.
25381 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25382 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25383
aea5d727
UD
253842012-03-08 Ulrich Drepper <drepper@gmail.com>
25385
25386 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25387 be defined individually, they must be defined as a block. Define
25388 S for printing a string instead of hidint the different by using a
25389 macro for adding the 'l'.
25390 * stdio-common/tst-fphex-wide.c: Adjust.
25391
70bca0a3
MP
253922012-03-07 Marek Polacek <polacek@redhat.com>
25393
25394 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25395
65b81130
MP
253962012-03-08 Marek Polacek <polacek@redhat.com>
25397
25398 [BZ #13806]
25399 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25400 * stdio-common/tst-fphex.c: Define a few macros to make the
25401 test reusable. Use them.
25402 * stdio-common/tst-fphex-wide.c: New file.
25403
07037eeb
JM
254042012-03-08 Joseph Myers <joseph@codesourcery.com>
25405
a7a93d50
JM
25406 [BZ #6911]
25407 * manual/macros.texi (gnusystems): New macro.
25408 (nongnusystems): Likewise.
25409 (gnulinuxhurdsystems): Likewise.
25410 (gnuhurdsystems): Likewise..
25411 (gnulinuxsystems): Likewise.
25412 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25413 variants of the GNU system, not "GNU system".
25414 * manual/conf.texi: Likewise.
25415 * manual/errno.texi: Likewise. Update example of errno macro
25416 expansion.
25417 * manual/filesys.texi: Likewise.
25418 (getumask): Document as specific to GNU/Hurd.
25419 * manual/install.texi: Likewise. Reword some references to
25420 GNU/Linux.
25421 * manual/intro.texi: Likewise.
25422 * manual/io.texi: Likewise.
25423 (File Name Portability): Detail which constraints are inapplicable
25424 to all GNU systems and which are only inapplicable to GNU/Hurd.
25425 * manual/job.texi: Likewise.
25426 * manual/llio.texi: Likewise.
25427 (O_NOCTTY): Document as present on GNU/Linux.
25428 * manual/maint.texi: Likewise.
25429 * manual/memory.texi: Likewise.
25430 * manual/pattern.texi: Likewise.
25431 * manual/pipe.texi: Likewise.
25432 * manual/process.texi: Likewise.
25433 * manual/resource.texi: Likewise.
25434 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25435 child on GNU/Hurd.
25436 * manual/setjmp.texi: Likewise.
25437 * manual/signal.texi: Likewise.
25438 * manual/startup.texi: Likewise.
25439 * manual/stdio.texi: Likewise.
25440 * manual/terminal.texi: Likewise.
25441 (ONLCR): Document as POSIX.
25442 (OXTABS): Document availability on GNU/Linux as XTABS.
25443 (ONOEOT): Document availability separately from other bits.
25444 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25445 * manual/time.texi: Likewise.
25446 * manual/users.texi: Likewise.
25447 * INSTALL: Regenerated.
25448 * sysdeps/gnu/errlist.c: Regenerated.
25449
07037eeb
JM
25450 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25451 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25452 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25453 puts.
25454 * configure: Regenerated.
25455
d1d3431a
JM
254562012-03-07 Joseph Myers <joseph@codesourcery.com>
25457
af6a1e37
JM
25458 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25459 default includes instead of AC_HEADER_CHECK.
25460 * sysdeps/i386/configure: Regenerated.
25461
d1d3431a
JM
25462 [BZ #10716]
25463 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25464 * math/s_cacoshf.c (__cacoshf): Likewise.
25465 * math/s_cacoshl.c (__cacoshl): Likewise.
25466 * math/s_casinh.c (__casinh): Set signs of result from argument.
25467 * math/s_casinhf.c (__casinhf): Likewise.
25468 * math/s_casinhl.c (__casinhl): Likewise.
25469 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25470 (casinh_test): Add more tests.
25471 * sysdeps/i386/fpu/libm-test-ulps: Update.
25472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25473
482ff4da
UD
254742012-03-07 Ulrich Drepper <drepper@gmail.com>
25475
872fda05
UD
25476 * po/zh_TW.po: Update from translation team.
25477
a4300c7a
UD
25478 * login/Makefile (distribute): Remove variable.
25479 * catgets/Makefile: Likewise.
25480 * mach/Makefile: Likewise.
25481 * malloc/Makefile: Likewise.
25482 * misc/Makefile: Likewise.
25483 * iconv/Makefile: Likewise.
25484 * nscd/Makefile: Likewise.
25485 * hurd/Makefile: Likewise.
25486 * manual/Makefile: Likewise.
25487 * locale/Makefile: Likewise.
25488 * intl/Makefile: Likewise.
25489 * conform/Makefile: Likewise.
25490 * nss/Makefile: Likewise.
25491 * time/Makefile: Likewise.
25492 * soft-fp/Makefile: Likewise.
25493 * dirent/Makefile: Likewise.
25494 * gmon/Makefile: Likewise.
25495 * po/Makefile: Likewise.
25496 * rt/Makefile: Likewise.
25497 * socket/Makefile: Likewise.
25498 * math/Makefile: Likewise.
25499 * signal/Makefile: Likewise.
25500 * debug/Makefile: Likewise.
25501 * elf/Makefile: Likewise.
25502 * timezone/Makefile: Likewise.
25503 * stdlib/Makefile: Likewise.
25504 * iconvdata/Makefile: Likewise.
25505 * sunrpc/Makefile: Likewise.
25506 * io/Makefile: Likewise.
25507 * argp/Makefile: Likewise.
25508 * inet/Makefile: Likewise.
25509 * hesiod/Makefile: Likewise.
25510 * grp/Makefile: Likewise.
25511 * csu/Makefile: Likewise.
25512 * wctype/Makefile: Likewise.
25513 * crypt/Makefile: Likewise.
25514 * libio/Makefile: Likewise.
25515 * string/Makefile: Likewise.
25516 * nis/Makefile: Likewise.
25517 * resolv/Makefile: Likewise.
25518 * stdio-common/Makefile: Likewise.
25519 * wcsmbs/Makefile: Likewise.
25520 * dlfcn/Makefile: Likewise.
25521 * posix/Makefile: Likewise.
25522
3b7c4e74 25523 [BZ #6959]
482ff4da
UD
25524 * timezone/Makefile: Don't install timezone files, just the programs
25525 and scripts.
25526
f72ed77d
UD
255272012-03-06 Ulrich Drepper <drepper@gmail.com>
25528
a000466f
UD
25529 * nss/databases.def: Add missing gshadow entry.
25530
f72ed77d
UD
25531 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25532
a53b7a4e
MP
255332012-03-06 Marek Polacek <polacek@redhat.com>
25534
25535 [BZ #13726]
25536 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25537 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25538 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25539 * stdio-common/tst-long-dbl-fphex.c: New file.
25540
e9258400
DM
255412012-03-06 David S. Miller <davem@davemloft.net>
25542
25543 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25544 (set_obp_int): New function.
25545 (get_obp_int): New function.
25546 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25547 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25548 Avoid unused variable warnings on 'val' and use builtin_expect.
25549 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25550 __builtin_expect.
e9258400
DM
25551 (INLINE_CLONE_SYSCALL): Likewise.
25552
3bd2c723
DM
255532012-03-05 David S. Miller <davem@davemloft.net>
25554
25555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25556
bbb78d03
AS
255572012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25558
884c5db4
AS
25559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25560
bbb78d03
AS
25561 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25562 only for |x| >= 40.
25563 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25564
1c9f702a 255652012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
25566
25567 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25568 Replace gettimeofday with __vdso_gettimeofday.
25569
7be16f82
RM
25570 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25571 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25572 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25573
25574 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25575 time with __vdso_time.
25576
ed58a00f
JM
255772012-03-05 Joseph Myers <joseph@codesourcery.com>
25578
25579 * manual/lang.texi (size_t): Note types to which size_t may be
25580 equivalent with the GNU C Library, but do not describe when
25581 differences between them are significant.
25582
30ee4ced
AJ
255832012-03-05 Andreas Jaeger <aj@suse.de>
25584
25585 * sysdeps/i386/fpu/libm-test-ulps: Update.
25586
b7cd39e8
JM
255872012-03-05 Joseph Myers <joseph@codesourcery.com>
25588
25589 [BZ #3976]
25590 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25591 (__ieee754_pow): Save and restore rounding mode and use
25592 round-to-nearest for main computations.
25593 * math/libm-test.inc (pow_test_tonearest): New function.
25594 (pow_test_towardzero): Likewise.
25595 (pow_test_downward): Likewise.
25596 (pow_test_upward): Likewise.
25597 (main): Call the new functions.
25598 * sysdeps/i386/fpu/libm-test-ulps: Update.
25599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25600
25601 [BZ #3976]
25602 * math/libm-test.inc (cosh_test_tonearest): New function.
25603 (cosh_test_towardzero): Likewise.
25604 (cosh_test_downward): Likewise.
25605 (cosh_test_upward): Likewise.
25606 (sinh_test_tonearest): Likewise.
25607 (sinh_test_towardzero): Likewise.
25608 (sinh_test_downward): Likewise.
25609 (sinh_test_upward): Likewise.
25610 (main): Call the new functions.
25611 * sysdeps/i386/fpu/libm-test-ulps: Update.
25612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25613
6c6a98c9
TV
256142012-03-05 Tom de Vries <tom@codesourcery.com>
25615
25616 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25617 default stack guard is set in last bytes.
25618 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25619
21bb2d2e 256202012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25621
21bb2d2e 25622 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25623
21bb2d2e
AJ
25624 [BZ #13656]
25625 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25626 possibly allocate from heap instead of stack.
25627 * stdio-common/bug-vfprintf-nargs.c: New file.
25628 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25629
c6922934
AS
256302012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25631
25632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25633
bc957d53
MP
256342012-03-03 Marek Polacek <polacek@redhat.com>
25635
25636 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25637 * math/math_private.h: Likewise.
25638 * stdlib/tst-strtod.c: Likewise.
25639 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25640 * sysdeps/x86_64/bits/atomic.h: Likewise.
25641
6358490d
DM
256422012-03-02 David S. Miller <davem@davemloft.net>
25643
25644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25648 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25649 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25650 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25651 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25652
01ae168d
RM
256532012-03-02 Roland McGrath <roland@hack.frob.com>
25654
d9a17c07
RM
25655 [BZ #13792]
25656 * manual/examples/README: New file, says the example source files
25657 can be used under GPL>=2.
25658 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25659 line containing just "*/".
25660 * manual/examples/add.c: Add copyright header (GPL>=2).
25661 * manual/examples/argp-ex1.c: Likewise.
25662 * manual/examples/argp-ex2.c: Likewise.
25663 * manual/examples/argp-ex3.c: Likewise.
25664 * manual/examples/argp-ex4.c: Likewise.
25665 * manual/examples/atexit.c: Likewise.
25666 * manual/examples/db.c: Likewise.
25667 * manual/examples/dir.c: Likewise.
25668 * manual/examples/dir2.c: Likewise.
25669 * manual/examples/execinfo.c: Likewise.
25670 * manual/examples/filecli.c: Likewise.
25671 * manual/examples/filesrv.c: Likewise.
25672 * manual/examples/fmtmsgexpl.c: Likewise.
25673 * manual/examples/genpass.c: Likewise.
25674 * manual/examples/inetcli.c: Likewise.
25675 * manual/examples/inetsrv.c: Likewise.
25676 * manual/examples/isockad.c: Likewise.
25677 * manual/examples/longopt.c: Likewise.
25678 * manual/examples/memopen.c: Likewise.
25679 * manual/examples/memstrm.c: Likewise.
25680 * manual/examples/mkfsock.c: Likewise.
25681 * manual/examples/mkisock.c: Likewise.
25682 * manual/examples/mygetpass.c: Likewise.
25683 * manual/examples/pipe.c: Likewise.
25684 * manual/examples/popen.c: Likewise.
25685 * manual/examples/rprintf.c: Likewise.
25686 * manual/examples/search.c: Likewise.
25687 * manual/examples/select.c: Likewise.
25688 * manual/examples/setjmp.c: Likewise.
25689 * manual/examples/sigh1.c: Likewise.
25690 * manual/examples/sigusr.c: Likewise.
25691 * manual/examples/stpcpy.c: Likewise.
25692 * manual/examples/strdupa.c: Likewise.
25693 * manual/examples/strftim.c: Likewise.
25694 * manual/examples/strncat.c: Likewise.
25695 * manual/examples/subopt.c: Likewise.
25696 * manual/examples/swapcontext.c: Likewise.
25697 * manual/examples/termios.c: Likewise.
25698 * manual/examples/testopt.c: Likewise.
25699 * manual/examples/testpass.c: Likewise.
25700 * manual/examples/timeval_subtract.c: Likewise.
25701
01ae168d
RM
25702 [BZ #13792]
25703 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25704 function to ...
25705 * manual/timeval_subtract.c.texi: ... here, new file.
25706
49efa33d
DM
257072012-03-02 David S. Miller <davem@davemloft.net>
25708
25709 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25710
28afd92d
JM
257112012-03-02 Joseph Myers <joseph@codesourcery.com>
25712
804360ed
JM
25713 [BZ #3976]
25714 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25715 (__sin): Save and restore rounding mode and use round-to-nearest
25716 for all computations.
25717 (__cos): Save and restore rounding mode and use round-to-nearest
25718 for all computations.
25719 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25720 <fenv.h>.
25721 (tan): Save and restore rounding mode and use round-to-nearest for
25722 all computations.
25723 * math/libm-test.inc (cos_test_tonearest): New function.
25724 (cos_test_towardzero): Likewise.
25725 (cos_test_downward): Likewise.
25726 (cos_test_upward): Likewise.
25727 (sin_test_tonearest): Likewise.
25728 (sin_test_towardzero): Likewise.
25729 (sin_test_downward): Likewise.
25730 (sin_test_upward): Likewise.
25731 (tan_test_tonearest): Likewise.
25732 (tan_test_towardzero): Likewise.
25733 (tan_test_downward): Likewise.
25734 (tan_test_upward): Likewise.
25735 (main): Call the new functions.
25736 * sysdeps/i386/fpu/libm-test-ulps: Update.
25737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25738
a6d06d7b
JM
25739 [BZ #10135]
25740 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25741 small n, then large n, before computing and testing k+n.
25742 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25743 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25744 Likewise.
25745 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25746 Likewise.
25747 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25748 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25749 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25750 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25751 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25752 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25753 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25754 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25755 * math/libm-test.inc (scalbn_test): Add more tests.
25756 (scalbln_test): Likewise.
25757
07e12bb3
JM
25758 * manual/filesys.texi (mode_t): Describe constraints on size and
25759 signedness, not exact equivalence to a particular type.
25760 (ino_t): Likewise.
25761 (ino64_t): Likewise.
25762 (dev_t): Likewise.
25763 (nlink_t): Likewise.
25764 (blkcnt_t): Likewise.
25765 (blkcnt64_t): Likewise.
25766 * manual/llio.texi (off_t): Likewise.
25767
28afd92d
JM
25768 [BZ #3976]
25769 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25770 (__ieee754_exp): Save and restore rounding mode and use
25771 round-to-nearest for all computations.
25772 * math/libm-test.inc (exp_test_tonearest): New function.
25773 (exp_test_towardzero): Likewise.
25774 (exp_test_downward): Likewise.
25775 (exp_test_upward): Likewise.
25776 (main): Call the new functions.
25777 * sysdeps/i386/fpu/libm-test-ulps: Update.
25778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25779
b1eeb65d
CD
257802012-03-01 Chris Demetriou <cgd@google.com>
25781
25782 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25783 have predictable order.
25784
53362a4b
DM
257852012-03-01 David S. Miller <davem@davemloft.net>
25786
3c969083
DM
25787 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25788
759707de
DM
25789 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25790 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25791 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25792 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25793
dfdb8ff2
DM
25794 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25795 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25796 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25798 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25799 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25800 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25801 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25802 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25803
ead89f96
DM
25804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25805
7f66bd07
DM
25806 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25807 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25808 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25809
53362a4b
DM
25810 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25811 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25812 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25813 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25814 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25815 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25816 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25817 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25818 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25819 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25820 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25821 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25823 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25824 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25826 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25827 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25828 * sysdeps/sparc/elf/configure: Regenerated.
25829
7b1902cb
JM
258302012-03-01 Joseph Myers <joseph@codesourcery.com>
25831
bec039bc
JM
25832 * configure.in (AS, LD): Require binutils 2.20 or later.
25833 * configure: Regenerated.
25834 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25835 as required minimum version.
25836 * INSTALL: Regenerated.
25837
7b1902cb
JM
25838 [BZ #2541]
25839 [BZ #4108]
25840 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25841 before squaring exponent.
25842 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25843 bottom long double and 27 bits of top long double before squaring
25844 exponent.
25845 * math/libm-test.inc (erfc_test): Add more tests.
25846 * sysdeps/i386/fpu/libm-test-ulps: Update.
25847 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25849
f775c276
KT
258502012-03-01 Kai Tietz <ktietz@redhat.com>
25851
25852 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25853 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25854 containing bit-fields.
25855 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25856 * soft-fp/single.h (_FP_UNION_S): Likewise.
25857 * soft-fp/double.h (_FP_UNION_D): Likewise.
25858
5b8a4d4a
JM
258592012-02-29 Joseph Myers <joseph@codesourcery.com>
25860
0bab47b6
JM
25861 [BZ #13786]
25862 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25863 not include ../strcmp.S.
25864 [USE_AS_STRNCASECMP_L]: Likewise.
25865 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25866 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25867 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25868 (__strncasecmp_l_ia32): Define as alias to
25869 __strncasecmp_l_nonascii.
25870
0fcad3e2
JM
25871 [BZ #5794]
25872 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25873 * sysdeps/i386/fpu/libm-test-ulps: Update.
25874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25875
5b8a4d4a
JM
25876 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25878
8fdceb2e
JL
258792012-02-29 Jeff Law <law@redhat.com>
25880
25881 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25882 out of bounds read.
25883
1f393a11
MP
258842012-02-29 Marek Polacek <polacek@redhat.com>
25885
25886 [BZ #13706]
25887 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25888 * elf/Makefile: Add rules to run tst-unused-dep.out.
25889
8847f037
DM
258902012-02-28 David S. Miller <davem@davemloft.net>
25891
25892 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25893 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25894 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25895 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25896 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25897 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25898
169d7f11
JM
258992012-02-29 Joseph Myers <joseph@codesourcery.com>
25900
25901 * math/libm-test.inc (llround_test): Move one test from
25902 lround_test. Use TEST_f_L in moved test.
25903 (lround_test): Move misplaced test to llround_test. Add testcase
25904 from bug 2561.
25905
39adf059
UD
259062012-02-28 Ulrich Drepper <drepper@gmail.com>
25907
25908 * sysdeps/x86_64/fpu/e_expf.S: New file.
25909 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25910
71b5d1c5
SB
259112012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25912
25913 [BZ #13637]
25914 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25915 of remain_len that may cause incomplete multi-byte character and
25916 false match.
25917 * posix/bug-regex33.c: New file.
25918 * posix/Makefile (tests): Add bug-regex33.
25919
1f77f049
JM
259202012-02-28 Joseph Myers <joseph@codesourcery.com>
25921
25922 * manual/macros.texi: New file.
25923 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25924 * manual/libc.texinfo: Include macros.texi.
25925 * manual/creatute.texi: Likewise.
25926 * manual/install.texi: Likewise.
25927 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25928 @glibcadj{} in references to the GNU C Library.
25929 * manual/charset.texi: Likewise.
25930 * manual/conf.texi: Likewise.
25931 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25932 when not using those macros.
25933 * manual/creature.texi: Likewise.
25934 * manual/crypt.texi: Likewise.
25935 * manual/errno.texi: Likewise.
25936 * manual/filesys.texi: Likewise.
25937 * manual/header.texi: Likewise.
25938 * manual/install.texi: Likewise.
25939 * manual/intro.texi: Likewise.
25940 * manual/io.texi: Likewise.
25941 * manual/job.texi: Likewise.
25942 * manual/lang.texi: Likewise.
25943 * manual/libc.texiinfo: Likewise.
25944 * manual/llio.texi: Likewise.
25945 * manual/locale.texi: Likewise.
25946 * manual/maint.texi: Likewise.
25947 * manual/math.texi: Likewise.
25948 * manual/memory.texi: Likewise.
25949 * manual/message.texi: Likewise.
25950 * manual/nss.texi: Likewise.
25951 * manual/pattern.texi: Likewise.
25952 * manual/process.texi: Likewise.
25953 * manual/resource.texi: Likewise.
25954 * manual/search.texi: Likewise.
25955 * manual/setjmp.texi: Likewise.
25956 * manual/signal.texi: Likewise.
25957 * manual/socket.texi: Likewise.
25958 * manual/startup.texi: Likewise.
25959 * manual/stdio.texi: Likewise.
25960 * manual/string.texi: Likewise.
25961 * manual/sysinfo.texi: Likewise.
25962 * manual/syslog.texi: Likewise.
25963 * manual/terminal.texi: Likewise.
25964 * manual/time.texi: Likewise.
25965 * manual/users.texi: Likewise.
25966 * INSTALL: Regenerated.
25967 * NOTES: Regenerated.
d40c5d54 25968 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25969
450bf206
AS
259702012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25971
25972 * include/dirent.h: Include <dirstream.h> before
25973 <dirent/dirent.h>.
25974
741a235b
DM
259752012-02-28 David S. Miller <davem@davemloft.net>
25976
25977 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25978 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25979 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25980 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25981
d6b5aa58
DM
259822012-02-27 David S. Miller <davem@davemloft.net>
25983
1aff59a3
DM
25984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25986 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25987 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25988
d6b5aa58
DM
25989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25990 frame pointer instead of stack pointer relative arg slot.
25991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25992 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25993 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25994
433f48bf
CD
259952012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25996
25997 [BZ #3992]
25998 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25999
d674b76d
DM
260002012-02-27 David S. Miller <davem@davemloft.net>
26001
26002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26006 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26007 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26008 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26009 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26010
0e7727f7
JM
260112012-02-27 Joseph Myers <joseph@codesourcery.com>
26012
26013 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26014 later. Allow versions 5-9.
43be4ca2 26015 * configure: Regenerated.
0e7727f7
JM
26016 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26017 required minimum version and 4.6 as recommended version. Do not
26018 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26019 * INSTALL: Regenerated.
0e7727f7 26020
a78bc654
DM
260212012-02-27 David S. Miller <davem@davemloft.net>
26022
428d5830
DM
26023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26027 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26028 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26029 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26030 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26031
a78bc654
DM
26032 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26033 manipulate bits before adding and subtracting TWO112[sx].
26034 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26035
4579f81c
RM
260362012-02-27 Roland McGrath <roland@hack.frob.com>
26037
36c8acb4
RM
26038 [BZ #13775]
26039 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26040 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26041 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26042 being in POSIX, because they are in 1003.1-2008.
26043
84ad622b
RM
26044 * rt/tst-aio.c: Include <fcntl.h>.
26045 * rt/tst-aio7.c: Likewise.
26046 * rt/tst-aio64.c: Likewise.
26047
4579f81c
RM
26048 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26049
abd923db
JM
260502012-02-27 Joseph Myers <joseph@codesourcery.com>
26051
26052 * manual/install.texi (--with-headers): Describe headers as
26053 interface headers, not private headers.
26054 (Specific advice for GNU/Linux systems): Describe use of headers
26055 from "make headers_install", not private headers from older
26056 kernels.
43be4ca2 26057 * INSTALL: Regenerated.
abd923db
JM
26058 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26059 Change to 2.6.19.
26060 * sysdeps/unix/sysv/linux/configure: Regenerated.
26061
6664049b
JM
26062 * manual/llio.texi (fclean): Remove documentation.
26063
bb8b6697
JM
26064 * manual/Makefile (libc-texi-generated): New variable. Include
26065 version.texi.
26066 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26067 $(libc-texi-generated), not duplicated list of files.
26068 (version.texi, stamp-version): New rules.
26069 (realclean): Remove $(libc-texi-generated), not individual files
26070 from that list. Do not remove dir-add.texinfo.
26071 * manual/libc.texinfo: Comment out uses of edition numbers and
26072 references to printed manual. Remove last-updated dates.
26073 (EDITION): Comment out.
26074 (ISBN): Likewise.
26075 (VERSION, UPDATED): Remove.
26076 (version.texi): Include.
26077
12e5c3b9
AS
260782012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26079
26080 * sysdeps/posix/spawni.c: Include <signal.h>.
26081 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26082 * sysdeps/pthread/aio_fsync.c: Likewise.
26083
4efeffc1 260842012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26085
ba63ba08
UD
26086 * conform/Makefile (tests): Run only when not cross-compiling and
26087 when fast-check is not defined.
26088
d94a4670
UD
26089 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26090 * conform/data/limits.h-data: Fixes for POSIX2008.
26091 * conform/run-conformtest.sh: Run all tests.
26092 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26093 headers.
26094 * include/bits/dlfcn.h: Likewise.
26095 * include/langinfo.h: Likewise.
26096 * include/monetary.h: Likewise.
26097 * include/sys/poll.h: Likewise.
26098
26099 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26100 for __USE_GNU.
26101 * posix/spawn.h: Define __need_sigset_t.
26102 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26103 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26104 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26105 to get sigevent_t only.
26106 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26107 only for __USE_GNU.
26108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26109 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26110 process_vm_writev only for __USE_GNU.
26111 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26112
26113 * conform/Makefile: For now ignore errors from run-conformtest.
26114 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26115 POSIX to avoid namespace pollution. Don't prepend headers.
26116 * conform/data/aio.h-data: Fixes for POSIX testing.
26117 * conform/data/fcntl.h-data: Likewise.
26118 * conform/data/glob.h-data: Likewise.
26119 * conform/data/grp.h-data: Likewise.
26120 * conform/data/pthread.h-data: Likewise.
26121 * conform/data/pwd.h-data: Likewise.
26122 * conform/data/signal.h-data: Likewise.
26123 * conform/data/spawn.h-data: Likewise.
26124 * conform/data/stdio.h-data: Likewise.
26125 * conform/data/stdlib.h-data: Likewise.
26126 * conform/data/stropts.h-data: Likewise.
26127 * conform/data/sys/mman.h-data: Likewise.
26128 * conform/data/sys/stat.h-data: Likewise.
26129 * conform/data/sys/types.h-data: Likewise.
26130 * conform/data/sys/wait.h-data: Likewise.
26131 * conform/data/time.h-data: Likewise.
26132 * conform/data/unistd.h-data: Likewise.
26133 * conform/data/utime.h-data: Likewise.
26134
26135 * io/sys/stat.h: fchmod was always in POSIX.
26136 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26137 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26138 * rt/aio.h: Define __need_timespec before including <time.h>.
26139 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26140 struct. Add forward declaration of pthread_attr_t and use it in
26141 sigevent.
26142 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26143 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26144 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26145 always remove CLK_TCK definition.
26146
c20105c3
AS
261472012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26148
26149 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26150
7a270350
UD
261512012-02-25 Ulrich Drepper <drepper@gmail.com>
26152
31341567
UD
26153 * conform/run-conformtest.sh: New file.
26154 * conform/Makefile: Run run-conformtest for tests.
26155 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26156 support.
26157
26158 * conform/data/uchar.h-data: New file.
26159 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26160 * conform/data/arpa/inet.h-data: Likewise.
26161 * conform/data/assert.h-data: Likewise.
26162 * conform/data/complex.h-data: Likewise.
26163 * conform/data/cpio.h-data: Likewise.
26164 * conform/data/ctype.h-data: Likewise.
26165 * conform/data/dirent.h-data: Likewise.
26166 * conform/data/dlfcn.h-data: Likewise.
26167 * conform/data/errno.h-data: Likewise.
26168 * conform/data/fcntl.h-data: Likewise.
26169 * conform/data/float.h-data: Likewise.
26170 * conform/data/fmtmsg.h-data: Likewise.
26171 * conform/data/fnmatch.h-data: Likewise.
26172 * conform/data/ftw.h-data: Likewise.
26173 * conform/data/glob.h-data: Likewise.
26174 * conform/data/grp.h-data: Likewise.
26175 * conform/data/iconv.h-data: Likewise.
26176 * conform/data/inttypes.h-data: Likewise.
26177 * conform/data/langinfo.h-data: Likewise.
26178 * conform/data/libgen.h-data: Likewise.
26179 * conform/data/limits.h-data: Likewise.
26180 * conform/data/locale.h-data: Likewise.
26181 * conform/data/math.h-data: Likewise.
26182 * conform/data/monetary.h-data: Likewise.
26183 * conform/data/mqueue.h-data: Likewise.
26184 * conform/data/ndbm.h-data: Likewise.
26185 * conform/data/net/if.h-data: Likewise.
26186 * conform/data/netdb.h-data: Likewise.
26187 * conform/data/netinet/in.h-data: Likewise.
26188 * conform/data/nl_types.h-data: Likewise.
26189 * conform/data/poll.h-data: Likewise.
26190 * conform/data/pthread.h-data: Likewise.
26191 * conform/data/pwd.h-data: Likewise.
26192 * conform/data/regex.h-data: Likewise.
26193 * conform/data/sched.h-data: Likewise.
26194 * conform/data/search.h-data: Likewise.
26195 * conform/data/semaphore.h-data: Likewise.
26196 * conform/data/setjmp.h-data: Likewise.
26197 * conform/data/signal.h-data: Likewise.
26198 * conform/data/spawn.h-data: Likewise.
26199 * conform/data/stdarg.h-data: Likewise.
26200 * conform/data/stdio.h-data: Likewise.
26201 * conform/data/stdlib.h-data: Likewise.
26202 * conform/data/string.h-data: Likewise.
26203 * conform/data/strings.h-data: Likewise.
26204 * conform/data/stropts.h-data: Likewise.
26205 * conform/data/sys/ipc.h-data: Likewise.
26206 * conform/data/sys/mman.h-data: Likewise.
26207 * conform/data/sys/msg.h-data: Likewise.
26208 * conform/data/sys/resource.h-data: Likewise.
26209 * conform/data/sys/select.h-data: Likewise.
26210 * conform/data/sys/sem.h-data: Likewise.
26211 * conform/data/sys/shm.h-data: Likewise.
26212 * conform/data/sys/socket.h-data: Likewise.
26213 * conform/data/sys/stat.h-data: Likewise.
26214 * conform/data/sys/statvfs.h-data: Likewise.
26215 * conform/data/sys/time.h-data: Likewise.
26216 * conform/data/sys/timeb.h-data: Likewise.
26217 * conform/data/sys/times.h-data: Likewise.
26218 * conform/data/sys/types.h-data: Likewise.
26219 * conform/data/sys/uio.h-data: Likewise.
26220 * conform/data/sys/un.h-data: Likewise.
26221 * conform/data/sys/utsname.h-data: Likewise.
26222 * conform/data/sys/wait.h-data: Likewise.
26223 * conform/data/syslog.h-data: Likewise.
26224 * conform/data/tar.h-data: Likewise.
26225 * conform/data/termios.h-data: Likewise.
26226 * conform/data/utime.h-data: Likewise.
26227 * conform/data/utmpx.h-data: Likewise.
26228 * conform/data/varargs.h-data: Likewise.
26229 * conform/data/wchar.h-data: Likewise.
26230 * conform/data/wctype.h-data: Likewise.
26231 * conform/data/wordexp.h-data: Likewise.
26232
26233 * include/stropts.h: New file.
26234 * include/uchar.h: New file.
26235 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26236 * include/assert.h: Likewise.
26237 * include/ctype.h: Likewise.
26238 * include/dirent.h: Likewise.
26239 * include/dlfcn.h: Likewise.
26240 * include/fcntl.h: Likewise.
26241 * include/fnmatch.h: Likewise.
26242 * include/glob.h: Likewise.
26243 * include/grp.h: Likewise.
26244 * include/libio.h: Likewise.
26245 * include/locale.h: Likewise.
26246 * include/math.h: Likewise.
26247 * include/net/if.h: Likewise.
26248 * include/netdb.h: Likewise.
26249 * include/netinet/in.h: Likewise.
26250 * include/pthread.h: Likewise.
26251 * include/pwd.h: Likewise.
26252 * include/regex.h: Likewise.
26253 * include/sched.h: Likewise.
26254 * include/search.h: Likewise.
26255 * include/setjmp.h: Likewise.
26256 * include/signal.h: Likewise.
26257 * include/stdio.h: Likewise.
26258 * include/stdlib.h: Likewise.
26259 * include/string.h: Likewise.
26260 * include/sys/cdefs.h: Likewise.
26261 * include/sys/mman.h: Likewise.
26262 * include/sys/msg.h: Likewise.
26263 * include/sys/resource.h: Likewise.
26264 * include/sys/select.h: Likewise.
26265 * include/sys/socket.h: Likewise.
26266 * include/sys/stat.h: Likewise.
26267 * include/sys/statvfs.h: Likewise.
26268 * include/sys/time.h: Likewise.
26269 * include/sys/times.h: Likewise.
26270 * include/sys/uio.h: Likewise.
26271 * include/sys/utsname.h: Likewise.
26272 * include/sys/wait.h: Likewise.
26273 * include/termios.h: Likewise.
26274 * include/time.h: Likewise.
26275 * include/ulimit.h: Likewise.
26276 * include/unistd.h: Likewise.
26277 * include/utime.h: Likewise.
26278 * include/wchar.h: Likewise.
26279 * include/wctype.h: Likewise.
26280 * include/wordexp.h: Likewise.
26281
26282 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26283
7a270350
UD
26284 * time/time.h: TIME_UTC must be a macro.
26285 Make timespec_get available for ISO C11 only as well.
26286
7724defc
UD
262872012-02-24 Ulrich Drepper <drepper@gmail.com>
26288
26289 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26290 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26291
6b1d1d46
JM
262922012-02-24 Joseph Myers <joseph@codesourcery.com>
26293
26294 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26295
0f8bbd69
JM
262962012-02-24 Joseph Myers <joseph@codesourcery.com>
26297
26298 * manual/texinfo.tex: Update to version 2012-01-19.16.
26299
66ab80bc
JM
263002012-02-24 Joseph Myers <joseph@codesourcery.com>
26301
26302 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26303
74981cc5
RM
263042012-02-24 Roland McGrath <roland@hack.frob.com>
26305
ee968201
RM
26306 [BZ #13738]
26307 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26308 * manual/fdl-1.3.texi: New file.
26309 * manual/fdl-1.1.texi: File removed.
26310
74981cc5
RM
26311 [BZ #13738]
26312 * manual/libc.texinfo (FDL_VERSION): New @set.
26313 Use it for mention of FDL in cover text.
26314 (Documentation License): Use it in @include file name.
26315
7bb764bc
JM
263162012-02-22 Joseph Myers <joseph@codesourcery.com>
26317 Roland McGrath <roland@hack.frob.com>
26318
26319 [BZ #5461]
26320 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26321 not LONG_LONG_MAX and LONG_LONG_MIN.
26322 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26323 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26324 name.
26325 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26326
6cbeae47
JM
263272012-02-22 Joseph Myers <joseph@codesourcery.com>
26328
26329 [BZ #2547]
26330 [BZ #11365]
26331 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26332 manipulate bits before adding and subtracting TWO23[sx].
26333 * math/libm-test.inc (nearbyint_test): Add more tests.
26334
fe45ce09
JM
263352012-02-22 Joseph Myers <joseph@codesourcery.com>
26336
26337 [BZ #2548]
26338 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26339 bits before adding and subtracting TWO23[sx].
26340 * math/libm-test.inc (rint_test): Add more tests.
26341 (rint_test_tonearest): Likewise.
26342 (rint_test_towardzero): Likewise.
26343 (rint_test_downward): Likewise.
26344 (rint_test_upward: Likewise.
26345
ff3b3d82
JM
263462012-02-22 Joseph Myers <joseph@codesourcery.com>
26347
26348 [BZ #10110]
26349 * include/stdc-predef.h: New file. Extracted from features.h.
26350 * include/features.h: Include stdc-predef.h.
26351 * Makefile (headers): Add stdc-predef.h.
26352 * CONFORMANCE (Compiler limitations): Update.
26353
ef0aab35
JM
263542012-02-22 Joseph Myers <joseph@codesourcery.com>
26355
26356 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26357
58639409
DM
263582012-02-21 David S. Miller <davem@davemloft.net>
26359
26360 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26361 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26362
c0e70b25
DM
263632012-02-20 David S. Miller <davem@davemloft.net>
26364
26365 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26366 using a normal save/restore sequence, rather than allocating a
26367 dummy stack frame just to store a frame pointer and restore.
26368 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26369
fb06851d
JM
263702012-02-21 Joseph Myers <joseph@codesourcery.com>
26371
26372 * manual/install.texi: Fix stray word in line-wrapped comment.
26373
7a8b71c3
DM
263742012-02-20 David S. Miller <davem@davemloft.net>
26375
d510c123
DM
26376 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26377 both binutils and gcc support GOTDATA.
26378
0722d7c2
DM
26379 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26380 "rd %pc" in the PIC register setup sequences.
26381
3d2b3019
DM
26382 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26383 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26384 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26385 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26386 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26387 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26388 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26389 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26390 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26391 (SYSCALL_ERROR_HANDLER): Likewise.
26392 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26393 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26394 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26395 (SYSCALL_ERROR_HANDLER): Likewise.
26396
c80098a9
DM
26397 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26398 (HAVE_GCC_GOTDATA): New.
26399 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26400 relocation support in both binutils and gcc.
26401 * sysdeps/sparc/elf/configure: Regenerate.
26402
3a2545a0
DM
26403 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26404 * sysdeps/sparc/sparc32/elf/configure: Delete.
26405 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26406 * sysdeps/sparc/sparc64/elf/configure: Delete.
26407 * sysdeps/sparc/elf/configure.in: New file.
26408 * sysdeps/sparc/elf/configure: Generate.
26409
7a8b71c3
DM
26410 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26411 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26412 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26413 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26414 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26415
f1e86fca
JM
264162012-02-21 Joseph Myers <joseph@codesourcery.com>
26417
26418 * manual/install.texi: Do not mention specific glibc version
26419 numbers.
26420 * manual/libc.texinfo (VERSION, UPDATED): Update.
26421 (@copying): Use @copyright{} and range of years.
26422
0e7dfaef
JM
264232012-02-21 Joseph Myers <joseph@codesourcery.com>
26424
26425 [BZ #13695]
26426 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26427 [crti.S not in sysdirs] (generated): Do not append.
26428 [crti.S not in sysdirs] (omit-deps): Likewise.
26429 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26430 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26431 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26432 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26433 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26434 Likewise.
26435 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26436 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26437 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26438 * csu/defs.awk: Remove file.
26439 * sysdeps/generic/initfini.c: Likewise.
26440 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26441 variable.
26442 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26443 Likewise.
26444
599af3ca
JM
264452012-02-20 Joseph Myers <joseph@codesourcery.com>
26446
26447 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26448 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26449 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26450 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26451 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26452 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26453 <bits/epoll.h>.
26454 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26455 (__EPOLL_PACKED): Define to empty if not defined by
26456 <bits/epoll.h>.
26457 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26459 bits/epoll.h.
26460
0e499750
JM
264612012-02-20 Joseph Myers <joseph@codesourcery.com>
26462
26463 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26464 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26465 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26466 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26467 <bits/timerfd.h>.
26468 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26470 bits/timerfd.h.
26471
5ad91f6e
JM
264722012-02-20 Joseph Myers <joseph@codesourcery.com>
26473
26474 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26475 in C locale.
26476 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26477 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26478 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26480
06b99b02
AJ
264812012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26482
26483 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26484 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26485
7638c0fd
AS
264862012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26487
26488 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26489 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26490 defined.
26491 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26492 Likewise.
26493 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26494 entry for 2.16.
26495
92221550
AJ
264962012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26497
26498 * math/w_acos.c: Use non-signaling floating-point comparisons.
26499 * math/w_acosf.c: Likewise.
26500 * math/w_acosh.c: Likewise.
26501 * math/w_acoshf.c: Likewise.
26502 * math/w_acoshl.c: Likewise.
26503 * math/w_acosl.c: Likewise.
26504 * math/w_asin.c: Likewise.
26505 * math/w_asinf.c: Likewise.
26506 * math/w_asinl.c: Likewise.
26507 * math/w_atanh.c: Likewise.
26508 * math/w_atanhf.c: Likewise.
26509 * math/w_atanhl.c: Likewise.
26510 * math/w_exp2.c: Likewise.
26511 * math/w_exp2f.c: Likewise.
26512 * math/w_exp2l.c: Likewise.
26513 * math/w_j0.c: Likewise.
26514 * math/w_j0f.c: Likewise.
26515 * math/w_j0l.c: Likewise.
26516 * math/w_j1.c: Likewise.
26517 * math/w_j1f.c: Likewise.
26518 * math/w_j1l.c: Likewise.
26519 * math/w_jn.c: Likewise.
26520 * math/w_jnf.c: Likewise.
26521 * math/w_log.c: Likewise.
26522 * math/w_log10.c: Likewise.
26523 * math/w_log10f.c: Likewise.
26524 * math/w_log10l.c: Likewise.
26525 * math/w_log2.c: Likewise.
26526 * math/w_log2f.c: Likewise.
26527 * math/w_log2l.c: Likewise.
26528 * math/w_logf.c: Likewise.
26529 * math/w_logl.c: Likewise.
26530 * math/w_sqrt.c: Likewise.
26531 * math/w_sqrtf.c: Likewise.
26532 * math/w_sqrtl.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26535 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26536 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26537 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26538
ebaf36eb
JM
265392012-02-19 Joseph Myers <joseph@codesourcery.com>
26540
26541 [BZ #9739]
26542 * manual/string.texi (strnlen): Use correct parameter name in
26543 equivalent expression.
26544
71c254a6
JM
265452012-02-19 Joseph Myers <joseph@codesourcery.com>
26546
26547 [BZ #11174]
26548 * manual/users.texi (seteuid): Consistently use neweuid for
26549 argument name.
26550
16d2c631
JM
265512012-02-19 Joseph Myers <joseph@codesourcery.com>
26552
26553 [BZ #13704]
26554 * manual/nss.texi (Services in the NSS configuration): Correct
26555 list of services in example configuration file.
26556
cd837b09
NB
265572012-02-19 Nick Bowler <nbowler@draconx.ca>
26558
26559 [BZ #11322]
26560 * manual/arith.texi: Remove statements about negative zero
26561 behaving identically to zero.
26562
02c4bbad
JM
265632012-02-18 Joseph Myers <joseph@codesourcery.com>
26564
26565 [BZ #5993]
26566 * manual/install.texi: Do not document upgrading from libc5.
26567
366842e7
JM
265682012-02-18 Joseph Myers <joseph@codesourcery.com>
26569
26570 [BZ #4596]
26571 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26572
dd54084d
DM
265732012-02-18 David S. Miller <davem@davemloft.net>
26574
26575 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26576 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26577 %o7 across the call.
26578 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26579 instead.
26580 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26581 SETUP_PIC_REG_LEAF.
26582 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26583 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26584 * sysdeps/sparc/crtn.S: Likewise.
26585
2bcc53a3
UD
265862012-02-17 Ulrich Drepper <drepper@gmail.com>
26587
26588 * aout/Makefile: Remove.
26589
09c093b5
RK
265902012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26591
26592 [BZ #13058]
26593 * manual/examples/argp-ex1.c (main): Format definition in GNU
26594 style.
26595 * manual/examples/argp-ex2.c (main): Likewise.
26596 * manual/examples/argp-ex3.c (main): Likewise.
26597 * manual/examples/argp-ex4.c (main): Likewise.
26598 * manual/examples/longopt.c (main): Use new-style prototype
26599 definition.
26600 * manual/examples/strncat.c (main): Specify return type and use
26601 (void) for arguments.
26602 * manual/examples/subopt.c (main): Use char **argv argument.
26603
2ee633a2
JM
266042012-02-17 Joseph Myers <joseph@codesourcery.com>
26605
26606 [BZ #5077]
26607 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26608 rounding modes.
26609
0520adde
FB
266102012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26611
26612 [BZ #6907]
26613 * manual/string.texi (strchr): Change when strchrnul is
26614 recommended.
26615
3f4081cd
DGM
266162012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26617
26618 [BZ #174]
26619 * manual/locale.texi (setlocale): Document LOCPATH.
26620
d1b10e78
JM
266212012-02-17 Joseph Myers <joseph@codesourcery.com>
26622
26623 [BZ #10210]
26624 * manual/process.texi (execle): Move @dots{} before last argument.
26625
79c6869c
PB
266262012-02-17 Paul Bolle <pebolle@tiscali.nl>
26627
26628 [BZ #12047]
26629 * manual/charset.texi (Generic Charset Conversion): Fix typo
26630 (LC_TYPE -> LC_CTYPE).
26631
cc6e48bc
NB
266322012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26633
26634 [BZ #5805]
26635 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26636 (scalbnf): Likewise.
26637 (scalbnl): Likewise.
26638 (scalbln): Likewise.
26639 (scalblnf): Likewise.
26640 (scalblnl): Likewise.
26641 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26642 (vwarnx): Likewise.
26643 (verr): Likewise.
26644 (verrx): Likewise.
26645 * manual/filesys.texi (telldir): Use braces around return type.
26646 * manual/llio.texi (mmap): Add space after comma.
26647 (mmap64): Likewise.
26648 * manual/math.texi (jn): Use @var{} on parameter names.
26649 (jnf): Likewise.
26650 (jnl): Likewise.
26651 (yn): Likewise.
26652 (ynf): Likewise.
26653 (ynl): Likewise.
26654 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26655 line.
26656 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26657 "...".
26658 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26659 (sched_get_priority_max): Likewise.
26660 * manual/signal.texi (sigvec): Add space after comma.
26661 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26662 names.
26663 (if_indextoname): Likewise.
26664 (if_freenameindex): Likewise.
26665 (sendto): Use ',' instead of '.' in prototype.
26666 * manual/startup.texi (syscall): Use @dots{} instead of literal
26667 "...".
26668 * manual/stdio.texi (__fpending): Separate initial words of
26669 paragraph from @deftypefun line.
26670 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26671 "...".
26672 (vsyslog): Use @var{} on parameter names.
26673 * manual/terminal.texi (stty): Use @var{} on parameter names.
26674 * manual/users.texi (getutmp): Use @var{} on parameter names.
26675 (getutmpx): Likewise.
26676
5b23062f
JM
266772012-02-17 Joseph Myers <joseph@codesourcery.com>
26678
26679 [BZ #6884]
26680 * manual/stdio.texi (fopen): Fix typos in description of
26681 ",ccs=STRING".
26682
8dee4833
AJ
266832012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26684
26685 [BZ #4026]
26686 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26687 get clock_id definition.
26688
9078ce93
TS
266892012-02-17 Thomas Schwinge <thomas@schwinge.name>
26690
26691 [BZ #4822]
26692 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26693 (madvise): Cast every argument to void on its own.
26694
3835c55f
JM
266952012-02-17 Joseph Myers <joseph@codesourcery.com>
26696
26697 [BZ #9902]
26698 * manual/startup.texi (Exit Status): Fix typo.
26699
35c47e37
JM
267002012-02-17 Joseph Myers <joseph@codesourcery.com>
26701
26702 [BZ #10140]
26703 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26704 * manual/examples/argp-ex2.c: Likewise.
26705 * manual/examples/argp-ex3.c: Likewise.
26706
e3b69ca7
RH
267072012-02-16 Richard Henderson <rth@redhat.com>
26708
26709 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26710 * sysdeps/s390/s390-32/initfini.c: Remove.
26711 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26712 * sysdeps/s390/s390-64/initfini.c: Remove.
26713
df83af67
KK
267142012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26715
26716 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26717 compiler output for sysdeps/generic/initfini.c.
26718 * sysdeps/sh/elf/initfini.c: Remove file.
26719
f63f3380
DM
267202012-02-16 David S. Miller <davem@davemloft.net>
26721
fb59b3a4
DM
26722 [BZ #11494]
26723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26724
f63f3380
DM
26725 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26726 * sysdeps/sparc/crti.S: New file.
26727 * sysdeps/sparc/crtn.S: New file.
26728 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26729 * sysdeps/sparc/sparc64/Makefile: Likewise.
26730
df6a4a4a
MF
267312012-02-15 Mike Frysinger <vapier@gentoo.org>
26732
6dd8f3dc 26733 [BZ #3335]
df6a4a4a
MF
26734 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26735
1cac7236
RM
267362012-02-15 Roland McGrath <roland@hack.frob.com>
26737
d2c736f8
RM
26738 [BZ #4822]
26739 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26740
1cac7236
RM
26741 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26742 (write, read, close): Likewise.
26743 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26744
8e475601
JM
267452012-02-15 Joseph Myers <joseph@codesourcery.com>
26746
26747 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26748 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26749 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26750 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26751 <bits/signalfd.h>.
26752 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26754 bits/signalfd.h.
26755
ed656b40
MP
267562012-02-14 Marek Polacek <polacek@redhat.com>
26757
26758 * sysdeps/x86_64/crti.S: New file.
26759 * sysdeps/x86_64/crtn.S: New file.
26760 * sysdeps/x86_64/elf/initfini.c: Remove file.
26761
2a979d3a
JM
267622012-02-13 Joseph Myers <joseph@codesourcery.com>
26763
26764 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26765 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26766 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26767 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26768 <bits/inotify.h>.
26769 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26771 bits/inotify.h.
26772
2a418ac3
JM
267732012-02-13 Joseph Myers <joseph@codesourcery.com>
26774
26775 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26776 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26777 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26778 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26779 <bits/eventfd.h>.
26780 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26782 bits/eventfd.h.
26783
fb779be7
TS
267842012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26785
e19e83c5
RM
26786 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26787 __feraiseexcept instead of feraiseexcept.
7c35ffed 26788
fb779be7
TS
26789 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26790 nanosleep invocations.
26791 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26792 strings, and add error checking for a nanosleep invocations.
26793
59ba27a6
PE
267942012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26795
26796 Replace FSF snail mail address with URLs, as per GNU coding standards.
26797 Most of the snail mail addresses were wrong anyway, and omitting
26798 them makes the source code easier to maintain. Almost all of the
26799 changes are to license notices and to locale LC_IDENTIFICATION
26800 addresses, except for this one:
26801 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26802 not its snail mail address.
26803
57b957eb
RH
268042012-02-09 Richard Henderson <rth@twiddle.net>
26805
af850b1c
RH
26806 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26807 of kernel-features.h.
26808
57b957eb
RH
26809 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26810
6b73181a
MP
268112012-02-08 Marek Polacek <polacek@redhat.com>
26812
26813 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26814 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26815 * sysdeps/gnu/_G_config.h: Likewise.
26816 * sysdeps/generic/_G_config.h: Likewise.
26817
26ecc33a
AS
268182012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26819
6c6dbc63
AS
26820 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26821 tests.
26822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26823
e216c012
AS
26824 * sysdeps/powerpc/powerpc32/crti.S: New file.
26825 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26826 * sysdeps/powerpc/powerpc64/crti.S: New file.
26827 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26828
26ecc33a
AS
26829 * Makeconfig (have-initfini): Don't set.
26830 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26831 * configure.in (nopic_initfini): Don't substitute.
26832 * config.h.in (HAVE_INITFINI): Don't #undef.
26833 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26834 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26835
3add8e13
JM
268362012-02-08 Joseph Myers <joseph@codesourcery.com>
26837
26838 Support crti.S and crtn.S provided directly by architectures.
26839 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26840 [crti.S in sysdirs] (omit-deps): Likewise.
26841 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26842 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26843 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26844 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26845 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26846 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26847 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26848 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26849 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26850 compiler output for sysdeps/generic/initfini.c.
26851 * sysdeps/i386/elf/Makefile: Remove file.
26852 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26853
a22f12b4
MP
268542012-02-07 Marek Polacek <polacek@redhat.com>
26855
26856 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26857 * sysdeps/gnu/_G_config.h: Likewise.
26858 * sysdeps/mach/hurd/_G_config.h: Likewise.
26859
148cf100
MP
268602012-02-07 Marek Polacek <polacek@redhat.com>
26861
26862 * math/Makefile (tests): Add tst-CMPLX2.
26863 * math/tst-CMPLX2.c: New file.
26864
cfdc0dd7
AS
268652012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26866
84ba42c4
AS
26867 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26868
cfdc0dd7
AS
26869 * math/libm-test.inc (jn_test): Add missing L suffix.
26870
622c86f4
MP
268712012-02-06 Marek Polacek <polacek@redhat.com>
26872
26873 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26874 * sysdeps/i386/fpu/e_powf.S: Likewise.
26875 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26876 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26877 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26878 * sysdeps/i386/fpu/e_pow.S: Likewise.
26879 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26880 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26881 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26882 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26883 * sysdeps/i386/fpu/e_log2.S: Likewise.
26884 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26885 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26886 * sysdeps/i386/fpu/e_powl.S: Likewise.
26887 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26888 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26889 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26890 * sysdeps/i386/fpu/e_logl.S: Likewise.
26891 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26892 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26893 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26894 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26895 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26896 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26897 * sysdeps/i386/fpu/e_log.S: Likewise.
26898 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26899 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26900 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26901 * sysdeps/i386/fpu/e_logf.S: Likewise.
26902 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26903 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26904 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26905 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26906 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26907 * sysdeps/i386/fpu/e_log10.S: Likewise.
26908 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26909 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26910 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26911 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26912 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26913 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26914 * sysdeps/i386/asm-syntax.h: Likewise.
26915 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26916 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26917 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26918 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26919 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26920 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26921 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26922 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26923 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26924 * sysdeps/powerpc/sysdep.h: Likewise.
26925 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26926 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26927
d4a54ac6
JM
269282012-02-06 Joseph Myers <joseph@codesourcery.com>
26929
26930 [BZ #411]
26931 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26932
314054ea
JM
269332012-02-06 Joseph Myers <joseph@codesourcery.com>
26934
26935 * sysdeps/i386/sysdep.h: Include <features.h>.
26936 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26937 version.
26938
d8e0ca50
JM
269392012-02-05 Joseph Myers <joseph@codesourcery.com>
26940
26941 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26942 Define.
26943 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26944 LOAD_PIC_REG_STR.
26945
b1da7dd9
JM
269462012-02-03 Joseph Myers <joseph@codesourcery.com>
26947
26948 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26949 (SETUP_PIC_REG): Use GET_PC_THUNK.
26950 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26951 macro.
26952
9a1d9254
JM
269532012-02-03 Joseph Myers <joseph@codesourcery.com>
26954
26955 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26956 for non-PIC compilation.
26957 (SETUP_PIC_REG): Add .p2align directive.
26958 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26959 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26960 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26961 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26962 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26963 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26964 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26965 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26966 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26967 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26968 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26969 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26970 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26971 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26972 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26973 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26974 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26975 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26976 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26977 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26978 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26979 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26980 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26981 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26982 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26983 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26984 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26985 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26986 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26987 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26988 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26989 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26990 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26991 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26992 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26993 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26994 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26995 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26996 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26997 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26998 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26999
65dc3b75
JM
270002012-02-03 Joseph Myers <joseph@codesourcery.com>
27001
27002 * math/tst-CMPLX.c: Include <stdio.h>.
27003
d55bf177
JM
270042012-01-31 Joseph Myers <joseph@codesourcery.com>
27005
27006 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27007 float.
27008 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27009 * sysdeps/sparc/bits/mathdef.h: Likewise.
27010
69db4f8f
MP
270112012-01-31 Marek Polacek <polacek@redhat.com>
27012
27013 * libio/libio.h: Don't define _PARAMS.
27014 * locale/programs/config.h: Don't define PARAMS.
27015 * stdlib/strtol_l.c: Likewise.
27016 (__strtol_l): Remove PARAMS from the prototype.
27017
41b81892
UD
270182012-01-31 Ulrich Drepper <drepper@gmail.com>
27019
3b49edc0
UD
27020 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27021 names. Just use the correct names. Remove unnecessary wrapper
27022 functions.
27023 * malloc/arena.c: Likewise.
27024 * malloc/hooks.c: Likewise.
27025
41b81892
UD
27026 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27027 ARENA_TEST says not to. Simplify test for creation of a new arena.
27028 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27029
27a25b6e
UD
270302012-01-30 Ulrich Drepper <drepper@gmail.com>
27031
27032 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27033 into tail calls.
27034 (update_get_addr): New function.
27035 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27036 GET_ADDR_MODULE parameter.
27037
c8a89e7d
JM
270382012-01-30 Joseph Myers <joseph@codesourcery.com>
27039
27040 * crypt/cert.c: Remove __STDC__ conditionals.
27041 * crypt/crypt-entry.c: Likewise.
27042 * crypt/crypt_util.c: Likewise.
27043 * libio/filedoalloc.c: Likewise.
27044 * libio/fileops.c: Likewise.
27045 * libio/genops.c: Likewise.
27046 * libio/iofclose.c: Likewise.
27047 * libio/iofdopen.c: Likewise.
27048 * libio/iofopen.c: Likewise.
27049 * libio/iofopen64.c: Likewise.
27050 * libio/iogetdelim.c: Likewise.
27051 * libio/iopopen.c: Likewise.
27052 * libio/obprintf.c: Likewise.
27053 * libio/oldfileops.c: Likewise.
27054 * libio/oldiofclose.c: Likewise.
27055 * libio/oldiofdopen.c: Likewise.
27056 * libio/oldiofopen.c: Likewise.
27057 * libio/oldiopopen.c: Likewise.
27058 * libio/wfiledoalloc.c: Likewise.
27059 * libio/wgenops.c: Likewise.
27060 * locale/programs/xmalloc.c: Likewise.
27061 * misc/syslog.c: Likewise.
27062 * stdio-common/xbug.c: Likewise.
27063 * string/memchr.c: Likewise.
27064 * string/memcmp.c: Likewise.
27065 * string/memrchr.c: Likewise.
27066 * string/rawmemchr.c: Likewise.
27067 * sysdeps/posix/getcwd.c: Likewise.
27068 * time/strftime_l.c: Likewise.
27069
3b100462
JM
270702012-01-30 Joseph Myers <joseph@codesourcery.com>
27071
27072 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27073 * config.make.in (config-cflags-sse2avx): Define.
27074 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27075 Fix typo.
27076
607998af
CM
270772012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27078
27079 * scripts/config.guess: Update from upstream config git repository.
27080 * scripts/config.sub: Likewise.
27081
3601428f
CM
270822012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27083
3ac8b282
CM
27084 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27085 (EM_NUM): Update.
27086 (R_TILEPRO_*, R_TILEGX_*): New macros.
27087
e034841e
CM
27088 * scripts/firstversions.awk: Fix bug in version range handling.
27089
540d7568
CM
27090 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27091
3601428f
CM
27092 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27093
463de862
CM
27094 * include/sys/epoll.h: New file.
27095 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27096 libc_hidden_def.
27097
73139a76
UD
270982012-01-28 Ulrich Drepper <drepper@gmail.com>
27099
96bc5b45
UD
27100 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27101 Avoid unnecessary __WORDSIZE == 64 test.
27102 (fmaxf): Use VEX format if possible.
27103 (fmax): Likewise.
27104 (fminf): Likewise.
27105 (fmin): Likewise.
27106
56f6f6a2
UD
27107 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27108 * math/math_private.h: Remove libc_fegetround* and
27109 libc_fesetround*.
27110 * sysdeps/i386/configure.in: Check for -msse2avx.
27111 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27112 also if SSE2AVX is defined.
27113 Remove libc_fegetround* and libc_fesetround*.
27114 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27115 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27116 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27117 of HAS_YMM_USABLE.
27118 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27119 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27120 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27121 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27122 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27123
73139a76
UD
27124 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27125
d73f93a4
AZ
271262012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27127
27128 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27129 size is not set.
27130 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27131
6ee65ed6
UD
271322012-01-27 Ulrich Drepper <drepper@gmail.com>
27133
27134 [BZ #13618]
27135 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27136 relocation.
27137 * Makeconfig (libm): Define.
27138 * elf/Makefile: Add rules to build and run tst-relsort1.
27139 * elf/tst-relsort1.c: New file.
27140 * elf/tst-relsort1mod1.c: New file.
27141 * elf/tst-relsort1mod2.c: New file.
27142
8db21882
JM
271432012-01-27 Joseph Myers <joseph@codesourcery.com>
27144
27145 * math/s_ldexp.c: Remove __STDC__ conditionals.
27146 * math/s_ldexpf.c: Likewise.
27147 * math/s_ldexpl.c: Likewise.
27148 * math/s_nextafter.c: Likewise.
27149 * math/s_nexttowardf.c: Likewise.
27150 * math/s_significand.c: Likewise.
27151 * math/s_significandf.c: Likewise.
27152 * math/s_significandl.c: Likewise.
27153 * math/w_jnl.c: Likewise.
27154 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27155 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27156 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27157 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27158 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27159 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27160 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27162 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27163 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27164 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27165 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27166 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27167 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27168 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27170 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27171 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27173 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27174 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27175 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27176 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27177 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27178 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27179 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27180 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27181 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27182 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27183 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27184 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27185 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27186 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27187 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27188 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27189 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27190 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27191 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27192 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27193 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27194 * sysdeps/ieee754/k_standard.c: Likewise.
27195 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27196 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27197 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27198 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27199 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27200 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27201 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27202 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27203 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27204 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27205 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27206 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27207 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27208 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27209 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27210 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27213 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27214 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27215 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27216 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27217 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27218 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27219 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27220 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27221 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27225 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27226 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27227 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27229 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27230 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27231 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27232 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27233 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27236 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27237 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27238 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27239 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27242 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27243 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27244 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27246 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27249 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27252 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27256 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27257 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27260 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27261 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27262 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27263 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27264 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27265 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27266 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27267 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27268 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27269 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27270 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27271 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27272 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27273 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27274 * sysdeps/ieee754/s_matherr.c: Likewise.
27275 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27276 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27277 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27278 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27279
965a54a4
JM
272802012-01-26 Joseph Myers <joseph@codesourcery.com>
27281
27282 * crypt/md5.h: Remove __STDC__ conditionals.
27283 * libio/libioP.h: Likewise.
27284 * locale/programs/config.h: Likewise.
27285 * sysdeps/generic/sysdep.h: Likewise.
27286 * sysdeps/i386/asm-syntax.h: Likewise.
27287 * sysdeps/s390/asm-syntax.h: Likewise.
27288 * sysdeps/unix/sysdep.h: Likewise.
27289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27291
7071ad79
JM
272922012-01-26 Joseph Myers <joseph@codesourcery.com>
27293
27294 * libio/libio.h: Remove __STDC__ conditionals.
27295 * malloc/obstack.h: Likewise.
27296 * math/complex.h: Likewise.
27297 * math/math.h: Likewise.
27298 * sysdeps/generic/_G_config.h: Likewise.
27299 * sysdeps/gnu/_G_config.h: Likewise.
27300 * sysdeps/mach/hurd/_G_config.h: Likewise.
27301 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27302 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27303 * sysdeps/sparc/bits/mathdef.h: Likewise.
27304
afc5ed09
UD
273052012-01-26 Ulrich Drepper <drepper@gmail.com>
27306
27307 [BZ #13583]
27308 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27309 Clean up HAS_* macros.
afc5ed09 27310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27311 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27312 possible.
27313 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27314 HAS_AVX.
27315 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27316 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27317 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27318 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27319 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27320
bdb6de1d
JM
273212012-01-25 Joseph Myers <joseph@codesourcery.com>
27322
27323 * elf/tst-unique3.cc (gets): Remove declaration.
27324 * elf/tst-unique3lib.cc (gets): Likewise.
27325 * elf/tst-unique3lib2.cc (gets): Likewise.
27326 * elf/tst-unique4.cc (gets): Likewise.
27327
b15549e6
UD
273282012-01-24 Ulrich Drepper <drepper@gmail.com>
27329
27330 * include/stdio.h: Add C++ protection. Add gets declarations and
27331 definitions.
27332 * debug/tst-chk1.c: Don't declare gets here.
27333 * stdio-common/tst-gets.c: Likewise.
27334
a037381f
JM
273352012-01-24 Joseph Myers <joseph@codesourcery.com>
27336
27337 * posix/glob: Remove directory.
27338
f1d4aa75
JM
273392012-01-24 Joseph Myers <joseph@codesourcery.com>
27340
27341 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27342
81c0c964
PT
273432012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27344
27345 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27346 of the non-standard EPFNOSUPPORT.
27347
0ea698ae
ST
273482011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27349
27350 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27351 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27352 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27353
d220b117
UD
273542012-01-21 Ulrich Drepper <drepper@gmail.com>
27355
27356 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27357
3e1aa84e
UD
273582012-01-20 Ulrich Drepper <drepper@gmail.com>
27359
27360 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27361 transient errors.
27362 * nscd/grpcache.c (cache_addgr): Likewise.
27363 * nscd/hstcache.c (cache_addhst): Likewise.
27364 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27365 * nscd/pwdcache.c (cache_addpw): Likewise.
27366 * nscd/servicescache.c (cache_addserv): Likewise.
27367
400aa020
UD
273682012-01-16 Ulrich Drepper <drepper@gmail.com>
27369
d77e7869
UD
27370 * malloc/malloc.c: Various cleanups.
27371 * malloc/hooks.c: Likewise.
27372
400aa020
UD
27373 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27374 * stdlib/bug-fmtmsg1.c: New file.
27375
27376 * stdlib/fmtmsg.c (init): Add missing unlock.
27377 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27378
e0a309cf
MP
273792012-01-12 Marek Polacek <polacek@redhat.com>
27380
27381 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27382 and _GNU_SOURCE.
27383
929d11c7
WS
273842012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27385
27386 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27387 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27388 macro to ensure uniqueness of label name.
27389 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27390 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27391
41d0e869
UD
273922012-01-11 Ulrich Drepper <drepper@gmail.com>
27393
0cc5ed3b
UD
27394 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27395
41d0e869
UD
27396 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27397 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27398 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27400
a47a831a
UD
274012012-01-10 Ulrich Drepper <drepper@gmail.com>
27402
daa891c0
UD
27403 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27404
27405 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27406 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27407 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27408
e58ef0f2
UD
27409 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27410
a47a831a 27411 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27412 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27413 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27414 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27415
27416 * math/bits/math-finite.h: Add ldexp support.
27417
a0bfc9c7
MP
274182012-01-10 Marek Polacek <polacek@redhat.com>
27419
27420 * locale/programs/localedef.h (show_archive_content): Add noreturn
27421 attribute.
27422
d6e97a1d
UD
274232012-01-09 Ulrich Drepper <drepper@gmail.com>
27424
27425 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27426
d5835c26
UD
274272012-01-08 Ulrich Drepper <drepper@gmail.com>
27428
e5f484c6
UD
27429 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27430
d5835c26
UD
27431 * io/Makefile (headers): Add bits/poll2.h.
27432
d1f741e9
WS
274332011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27434
27435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27436 typo #include statement.
27437
ec09c1c4
UD
274382012-01-08 Ulrich Drepper <drepper@gmail.com>
27439
27440 * include/sys/cdefs.h: Define __attribute_alloc_size.
27441 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27442 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27443 * elf/pldd.c: Likewise.
27444 * iconv/iconv_charmap.c: Likewise.
27445 * iconv/iconvconfig.c: Likewise.
27446 * iconv/strtab.c: Likewise.
27447 * locale/programs/locale.c: Likewise.
27448 * locale/programs/localedef.h: Likewise.
27449 * locale/programs/simple-hash.c: Likewise.
27450 * nscd/nscd.h: Likewise.
27451 * nss/makedb.c: Likewise.
27452 * sysdeps/generic/ldconfig.h: Likewise.
27453 * locale/programs/localedef.c: Remove xmalloc prototype.
27454 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27455
20b38e03
PP
274562012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27457
27458 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27459 appropriate.
27460
a0da5fe1
UD
274612012-01-08 Ulrich Drepper <drepper@gmail.com>
27462
1d5a644a 27463 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27464 * math/tst-CMPLX.c: New file.
1d5a644a 27465
8784a6db
UD
27466 * math/complex.h (CMPLXL): Fix typo.
27467
d9a216c0
UD
27468 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27469 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27470 GLIBC_2.16.
27471 * debug/tst-chk1.c: Add poll and ppoll tests.
27472 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27473 * include/sys/poll.h: Add hidden proto for ppoll.
27474 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27475 * sysdeps/mach/hurd/ppoll.c: Likewise.
27476 * io/ppoll.c: Likewise.
27477 * debug/poll_chk.c: New file.
27478 * debug/ppoll_chk.c: New file.
27479 * include/bits/poll2.h: New file.
27480 * io/bits/poll2.h: New file.
27481
ac097f5c
UD
27482 [BZ #1350]
27483 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27484
2119dcfa
UD
27485 * configure.in: static is always set to yes. Remove.
27486 * config.make.in: Don't set build-static.
27487 * Makeconfig: Remove use of build-static.
27488 * dlfcn/Makefile: Likewise.
27489 * elf/Makefile: Likewise.
27490 * math/Makefile: Likewise.
27491 * misc/Makefile: Likewise.
27492 * nptl/Makefile: Likewise.
27493 * sysdeps/mach/hurd/Makefile: Likewise.
27494
121766a9
UD
27495 * configure.in: PWD_P is not used anymore.
27496 * config.make.in: Remove PWD_P entry.
27497
51a1d39c 27498 * configure.in: Remove last remnants of RANLIB.
8720d066 27499 No need to check for signed size_t anymore.
215f4bdc
UD
27500 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27501 and IA-64.
3857022a 27502 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27503 * aclocal.m4: Likewise.
27504
d3ed7225
UD
27505 * wcsmbs/mbrtoc16.c: Implement using towc function.
27506 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27507 * wcsmbs/wcsmbsload.c: Likewise.
27508 * iconv/gconv_simple.c: Likewise.
27509 * iconv/gconv_int.h: Likewise.
27510 * iconv/gconv_builtin.h: Likewise.
27511 * iconv/iconv_prog.c: Remove CHAR16 handling.
27512
27513 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27514
27515 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27516
a0da5fe1
UD
27517 * configure.in: Remove --with-elf and --enable-bounded options.
27518 Dont set base_machine for ia64. More non-ELF conditions removed.
27519 Remove testing and setting of leading underscore information.
27520 * config.make.in (build-bounded): Set to no.
27521 * config.h.in: Remove NO_UNDERSCORES entry.
27522 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27523 them.
27524 * csu/start.c: Remove !NO_UNDERSCORE code.
27525 * locale/localeinfo.h: Likewise.
27526 * sysdeps/generic/machine-gmon.h: Likewise.
27527 * sysdeps/generic/sysdep.h: Likewise.
27528 * sysdeps/i386/sysdep.h: Likewise.
27529 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27530 * sysdeps/mach/sysdep.h: Likewise.
27531 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27532 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27533 * sysdeps/sh/sysdep.h: Likewise.
27534 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27535 * sysdeps/unix/i386/sysdep.S: Likewise.
27536 * sysdeps/unix/sparc/start.c: Likewise.
27537 * sysdeps/unix/sparc/sysdep.S: Likewise.
27538 * sysdeps/unix/sparc/sysdep.h: Likewise.
27539 * sysdeps/unix/start.c: Likewise.
27540 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27541 * sysdeps/x86_64/sysdep.h: Likewise.
27542
df78418a
UD
275432012-01-07 Ulrich Drepper <drepper@gmail.com>
27544
a784e502
UD
27545 [BZ #13553]
27546 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27547 for non-gcc.
27548 * argp/argp-fmtstream.h: Use const instead __const.
27549 * argp/argp.h: Likewise.
27550 * assert/assert.h: Likewise.
27551 * bits/fenv.h: Likewise.
27552 * bits/sched.h: Likewise.
27553 * bits/sigset.h: Likewise.
27554 * bits/sigthread.h: Likewise.
27555 * catgets/nl_types.h: Likewise.
27556 * conform/data/pthread.h-data: Likewise.
27557 * crypt/crypt-private.h: Likewise.
27558 * crypt/crypt.h: Likewise.
27559 * crypt/crypt_util.c: Likewise.
27560 * ctype/ctype.h: Likewise.
27561 * debug/execinfo.h: Likewise.
27562 * debug/mbsnrtowcs_chk.c: Likewise.
27563 * debug/mbsrtowcs_chk.c: Likewise.
27564 * debug/wcsnrtombs_chk.c: Likewise.
27565 * debug/wcsrtombs_chk.c: Likewise.
27566 * debug/wcstombs_chk.c: Likewise.
27567 * dirent/dirent.h: Likewise.
27568 * dlfcn/dlfcn.h: Likewise.
27569 * elf/neededtest4.c: Likewise.
27570 * grp/grp.h: Likewise.
27571 * gshadow/gshadow.h: Likewise.
27572 * iconv/gconv.h: Likewise.
27573 * iconv/gconv_int.h: Likewise.
27574 * iconv/gconv_simple.c: Likewise.
27575 * iconv/iconv.h: Likewise.
27576 * iconv/loop.c: Likewise.
27577 * iconv/skeleton.c: Likewise.
27578 * include/aio.h: Likewise.
27579 * include/aliases.h: Likewise.
27580 * include/argz.h: Likewise.
27581 * include/arpa/inet.h: Likewise.
27582 * include/assert.h: Likewise.
27583 * include/dirent.h: Likewise.
27584 * include/dlfcn.h: Likewise.
27585 * include/execinfo.h: Likewise.
27586 * include/fcntl.h: Likewise.
27587 * include/fenv.h: Likewise.
27588 * include/glob.h: Likewise.
27589 * include/grp.h: Likewise.
27590 * include/libintl.h: Likewise.
27591 * include/mntent.h: Likewise.
27592 * include/netdb.h: Likewise.
27593 * include/pwd.h: Likewise.
27594 * include/rpc/netdb.h: Likewise.
27595 * include/sched.h: Likewise.
27596 * include/search.h: Likewise.
27597 * include/shadow.h: Likewise.
27598 * include/signal.h: Likewise.
27599 * include/stdio.h: Likewise.
27600 * include/stdlib.h: Likewise.
27601 * include/string.h: Likewise.
27602 * include/sys/socket.h: Likewise.
27603 * include/sys/stat.h: Likewise.
27604 * include/sys/statfs.h: Likewise.
27605 * include/sys/statvfs.h: Likewise.
27606 * include/sys/syslog.h: Likewise.
27607 * include/sys/time.h: Likewise.
27608 * include/sys/uio.h: Likewise.
27609 * include/time.h: Likewise.
27610 * include/unistd.h: Likewise.
27611 * include/utmp.h: Likewise.
27612 * include/wchar.h: Likewise.
27613 * include/wctype.h: Likewise.
27614 * inet/aliases.h: Likewise.
27615 * inet/arpa/inet.h: Likewise.
27616 * inet/netinet/ether.h: Likewise.
27617 * inet/netinet/in.h: Likewise.
27618 * intl/libintl.h: Likewise.
27619 * io/bits/fcntl2.h: Likewise.
27620 * io/fcntl.h: Likewise.
27621 * io/ftw.h: Likewise.
27622 * io/sys/poll.h: Likewise.
27623 * io/sys/stat.h: Likewise.
27624 * io/sys/statfs.h: Likewise.
27625 * io/sys/statvfs.h: Likewise.
27626 * io/utime.h: Likewise.
27627 * libio/bits/stdio.h: Likewise.
27628 * libio/bits/stdio2.h: Likewise.
27629 * libio/libio.h: Likewise.
27630 * libio/libioP.h: Likewise.
27631 * libio/stdio.h: Likewise.
27632 * locale/lc-ctype.c: Likewise.
27633 * locale/locale.h: Likewise.
27634 * login/utmp.h: Likewise.
27635 * malloc/arena.c: Likewise.
27636 * malloc/malloc.c: Likewise.
27637 * malloc/malloc.h: Likewise.
27638 * malloc/mcheck.c: Likewise.
27639 * malloc/mtrace.c: Likewise.
27640 * math/bits/mathcalls.h: Likewise.
27641 * math/fenv.h: Likewise.
27642 * math/math_private.h: Likewise.
27643 * misc/bits/error.h: Likewise.
27644 * misc/bits/syslog.h: Likewise.
27645 * misc/err.h: Likewise.
27646 * misc/error.h: Likewise.
27647 * misc/fstab.h: Likewise.
27648 * misc/mntent.h: Likewise.
27649 * misc/regexp.h: Likewise.
27650 * misc/search.h: Likewise.
27651 * misc/sgtty.h: Likewise.
27652 * misc/sys/mman.h: Likewise.
27653 * misc/sys/syslog.h: Likewise.
27654 * misc/sys/uio.h: Likewise.
27655 * misc/sys/xattr.h: Likewise.
27656 * misc/ttyent.h: Likewise.
27657 * nis/rpcsvc/ypclnt.h: Likewise.
27658 * nss/nss.h: Likewise.
27659 * posix/bits/unistd.h: Likewise.
27660 * posix/fnmatch.h: Likewise.
27661 * posix/glob.h: Likewise.
27662 * posix/sched.h: Likewise.
27663 * posix/spawn.h: Likewise.
27664 * posix/sys/wait.h: Likewise.
27665 * posix/unistd.h: Likewise.
27666 * posix/wordexp.h: Likewise.
27667 * pwd/pwd.h: Likewise.
27668 * resolv/netdb.h: Likewise.
27669 * resource/sys/resource.h: Likewise.
27670 * rt/aio.h: Likewise.
27671 * rt/bits/mqueue2.h: Likewise.
27672 * rt/mqueue.h: Likewise.
27673 * shadow/shadow.h: Likewise.
27674 * signal/signal.h: Likewise.
27675 * socket/send.c: Likewise.
27676 * socket/sendto.c: Likewise.
27677 * socket/sys/socket.h: Likewise.
27678 * stdio-common/printf.h: Likewise.
27679 * stdlib/bits/stdlib.h: Likewise.
27680 * stdlib/fmtmsg.h: Likewise.
27681 * stdlib/monetary.h: Likewise.
27682 * stdlib/stdlib.h: Likewise.
27683 * stdlib/ucontext.h: Likewise.
27684 * streams/stropts.h: Likewise.
27685 * string/argz.h: Likewise.
27686 * string/bits/string2.h: Likewise.
27687 * string/string.h: Likewise.
27688 * string/strings.h: Likewise.
27689 * sunrpc/rpc/auth.h: Likewise.
27690 * sunrpc/rpc/auth_des.h: Likewise.
27691 * sunrpc/rpc/clnt.h: Likewise.
27692 * sunrpc/rpc/netdb.h: Likewise.
27693 * sunrpc/rpc/pmap_clnt.h: Likewise.
27694 * sunrpc/rpc/xdr.h: Likewise.
27695 * sysdeps/generic/inttypes.h: Likewise.
27696 * sysdeps/generic/net/if.h: Likewise.
27697 * sysdeps/generic/sys/swap.h: Likewise.
27698 * sysdeps/gnu/net/if.h: Likewise.
27699 * sysdeps/gnu/utmpx.h: Likewise.
27700 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27701 * sysdeps/i386/i486/bits/string.h: Likewise.
27702 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27703 * sysdeps/s390/bits/string.h: Likewise.
27704 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27705 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27706 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27707 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27708 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27709 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27710 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27711 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27712 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27713 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27714 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27715 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27716 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27717 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27718 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27719 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27720 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27722 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27723 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27724 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27725 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27726 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27727 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27728 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27729 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27730 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27731 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27732 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27733 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27734 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27735 * sysvipc/sys/ipc.h: Likewise.
27736 * sysvipc/sys/msg.h: Likewise.
27737 * sysvipc/sys/sem.h: Likewise.
27738 * sysvipc/sys/shm.h: Likewise.
27739 * termios/termios.h: Likewise.
27740 * time/sys/time.h: Likewise.
27741 * time/time.h: Likewise.
27742 * wcsmbs/bits/wchar2.h: Likewise.
27743 * wcsmbs/uchar.h: Likewise.
27744 * wcsmbs/wchar.h: Likewise.
27745 * wctype/wctype.h: Likewise.
27746
0269750c
UD
27747 [BZ #13551]
27748 * Makeconfig: Remove all but ELF support including AIX support.
27749 * Makerules: Likewise.
27750 * config.h.in: Likewise.
27751 * config.make.in: Likewise.
27752 * configure: Likewise.
27753 * configure.in: Likewise.
27754 * csu/Makefile: Likewise.
27755 * csu/version.c: Likewise.
27756 * debug/Makefile: Likewise.
27757 * dlfcn/Makefile: Likewise.
27758 * elf/Makefile: Likewise.
27759 * extra-lib.mk: Likewise.
27760 * iconv/Makefile: Likewise.
27761 * include/libc-symbols.h: Likewise.
27762 * include/shlib-compat.h: Likewise.
27763 * resolv/Makefile: Likewise.
27764 * resolv/res_libc.c: Likewise.
27765 * rt/Makefile: Likewise.
27766 * sysdeps/i386/asm-syntax.h: Likewise.
27767 * sysdeps/i386/sysdep.h: Likewise.
27768 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27769 * sysdeps/mach/sysdep.h: Likewise.
27770 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27771 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27772 * sysdeps/s390/asm-syntax.h: Likewise.
27773 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27774 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27775 * sysdeps/sh/sysdep.h: Likewise.
27776 * sysdeps/unix/sparc/sysdep.h: Likewise.
27777 * sysdeps/wordsize-32/divdi3.c: Likewise.
27778 * sysdeps/x86_64/sysdep.h: Likewise.
27779
00bbd29b
UD
27780 * argp/Versions: Remove _argp_unlock_xxx.
27781
27782 [BZ #13559]
27783 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27784 * abilist/libBrokenLocale.abilist: Likewise.
27785 * abilist/libanl.abilist: Likewise.
27786 * abilist/libc.abilist: Likewise.
27787 * abilist/libcrypt.abilist: Likewise.
27788 * abilist/libdl.abilist: Likewise.
27789 * abilist/libm.abilist: Likewise.
27790 * abilist/libnsl.abilist: Likewise.
27791 * abilist/libpthread.abilist: Likewise.
27792 * abilist/libresolv.abilist: Likewise.
27793 * abilist/librt.abilist: Likewise.
27794 * abilist/libthread_db.abilist: Likewise.
27795 * abilist/libutil.abilist: Likewise.
27796 * abilist/libnss_db.abilist: New file.
27797
27798 * scripts/abilist.awk: Add support for indirect functions.
27799
a2693a0e
UD
27800 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27801
3f05895f
UD
27802 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27803
ecb6fb48
UD
27804 * shlib-versions: Remove entries for ports architectures.
27805
664f8cb9
UD
27806 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27807 files in ports.
27808 * elf/stackguard-macros.h: Remove support for IA-64.
27809 * elf/tst-auditmod1.c: Likewise.
27810 * sysdeps/generic/ldsodefs.h: Likewise.
27811
7ae81d88
UD
27812 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27813 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27814 configure files.
27815
bdeba135
UD
27816 [BZ #13552]
27817 * configure.in: Remove --enable-omitfp support.
27818 * FAQ.in: Adjust.
27819 * config.make.in: Likewise.
27820 * Makeconfig: Likewise.
27821 * manual/install.texi: Likewise.
27822
d75a0a62
UD
27823 In case anyone cares, the IA-64 architecture could move to ports.
27824 * sysdeps/ia64/*: Removed.
27825 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27826 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27827
dcc9756b
UD
27828 [BZ #13555]
27829 * configure.in: Remove entries for unsupported architectures.
27830
d3761ebc 27831 [BZ #13533]
9954432e
UD
27832 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27833 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27834 routines.
27835 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27836 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27837 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27838 fall back to using wcrtomb.
27839 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27840 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27841 renaming.
27842 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27843 * wcsmbs/tst-c16c32-1.c: New file.
27844
27845 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27846 local variable.
27847
c3a87236
UD
27848 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27849
28926a1b
UD
27850 * elf/tst-unique3.cc: Add explicit declaration of gets.
27851 * elf/tst-unique3lib.cc: Likewise.
27852 * elf/tst-unique3lib2.cc: Likewise.
27853 * elf/tst-unique4.cc: Likewise.
27854
df78418a
UD
27855 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27856
8ecd6b2a
JM
278572012-01-06 Joseph Myers <joseph@codesourcery.com>
27858
27859 [BZ #13566]
27860 * assert/assert.h (static_assert): Don't define for C++.
27861 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27862 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27863
9f115170
UD
278642012-01-03 Ulrich Drepper <drepper@gmail.com>
27865
5e0d0300
UD
27866 * iconv/loop.c (single loop): Fix assertion in storing of
27867 remaining bytes.
27868
9f115170
UD
27869 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27870
81fb02b0
UD
278712012-01-01 Ulrich Drepper <drepper@gmail.com>
27872
27873 * posix/getconf.c: Update copyright year.
27874 * nss/getent.c: Likewise.
a316c1f6 27875 * nss/makedb.c: Likewise.
81fb02b0
UD
27876 * iconv/iconvconfig.c: Likewise.
27877 * iconv/iconv_prog.c: Likewise.
27878 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27879 * elf/pldd.c: Likewise.
27880 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27881 * catgets/gencat.c: Likewise.
27882 * csu/version.c: Likewise.
27883 * elf/ldd.bash.in: Likewise.
27884 * elf/sprof.c (print_version): Likewise.
27885 * locale/programs/locale.c: Likewise.
27886 * locale/programs/localedef.c: Likewise.
a316c1f6 27887 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27888 * nscd/nscd.c (print_version): Likewise.
27889 * debug/xtrace.sh: Likewise.
27890 * malloc/memusage.sh: Likewise.
27891 * malloc/mtrace.pl: Likewise.
27892 * debug/catchsegv.sh: Likewise.
27893
2ba92745
JJ
278942011-12-30 Jakub Jelinek <jakub@redhat.com>
27895
27896 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27897 pure attribute.
27898
dadebdae
UD
278992011-12-24 Ulrich Drepper <drepper@gmail.com>
27900
d3761ebc 27901 [BZ #13533]
db6af3eb
UD
27902 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27903 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27904 transformations.
27905 * iconv/gconv_int.h: Likewise.
27906 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27907 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27908 from libc for GLIBC_2.16.
27909 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27910 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27911 * wcsmbs/uchar.h: Really define mbstate_t.
27912 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27913 * wcsmbs/c16rtomb.c: New file.
27914 * wcsmbs/mbrtoc16.c: New file.
27915 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27916 for C/POSIX locale.
27917 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27918 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27919
dadebdae
UD
27920 * wcsmbs/wchar.h: Add missing __restrict.
27921
67371b56
UD
279222011-12-23 Ulrich Drepper <drepper@gmail.com>
27923
74033a25
UD
27924 [BZ #13532]
27925 * time/Makefile (routines): Add timespec_get.
27926 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27927 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27928 timespec for ISO C11.
27929 * time/timespec_get.c: New file.
27930 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27931 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27932
380d7e87
UD
27933 [BZ #13531]
27934 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27935 * stdlib/stdlib.h: Declare aligned_alloc.
27936 * Versions.def: Add GLIBC_2.16 for libc.
27937 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27938
4e9e7a35
UD
27939 [BZ 13527]
27940 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27941 ISO C11.
27942
380d7e87 27943 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27944 code.
27945
03a71829
UD
27946 [BZ #13528]
27947 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27948
839e283e
UD
27949 [BZ #13529]
27950 * assert/assert.h (static_assert): Define.
27951
ce5294e2 27952 * version.h: Update for 2.16 development version.
90fa7312 27953
8d44e150 27954 [BZ #13526]
d7809905
UD
27955 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27956 _ISOC11_SOURCE.
27957
c0da14cd
UD
27958 * version.h (RELEASE): Bump for 2.15 release.
27959 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27960
530a3249
MP
27961 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27962 Patch by Marek Polacek <mpolacek@redhat.com>.
27963
67371b56
UD
27964 * bits/byteswap.h: Protect long long constants with __extension__.
27965 * sysdeps/i386/bits/byteswap.h: Likewise.
27966 * sysdeps/ia64/bits/byteswap.h: Likewise.
27967 * sysdeps/s390/bits/byteswap.h: Likewise.
27968 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27969
15db4de1
LD
279702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27971
27972 [BZ #13540]
bbe315ea
LD
27973 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27974 destination buffer.
15db4de1
LD
27975 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27976
2b2596b1
MP
279772011-12-23 Marek Polacek <polacek@redhat.com>
27978
27979 * elf/dl-addr.c (determine_info): Add inline keyword.
27980 * elf/tst-auditmod4b.c (check_avx): Likewise.
27981 * elf/tst-auditmod6b.c (check_avx): Likewise.
27982 * elf/tst-auditmod6c.c (check_avx): Likewise.
27983 * elf/tst-auditmod7b.c (check_avx): Likewise.
27984
70c6c246
UD
279852011-12-23 Ulrich Drepper <drepper@gmail.com>
27986
27987 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27988 !__SSE_MATH__.
27989
c044cf14
LD
279902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27991
15db4de1 27992 [BZ #13540]
c044cf14
LD
27993 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27994 processing for last bytes.
27995
6b13d9d9
BH
279962011-08-06 Bruno Haible <bruno@clisp.org>
27997
d455f537
BH
27998 [BZ #13061]
27999 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28000 U+0385, not to U+1FEE.
28001
6b13d9d9
BH
28002 [BZ #13062]
28003 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28004 entry for U+00A5 U+0301.
28005
db910efd
UD
280062011-12-22 Ulrich Drepper <drepper@gmail.com>
28007
27deeafc
UD
28008 [BZ #13166]
28009 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28010 buffer for the output is too small.
28011
aed9d171
UD
28012 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28013 optimization.
28014
db910efd
UD
28015 [BZ #13185]
28016 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28017 SSE flags if possible.
28018
2bd779ae
LD
280192011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28020
e7f9dac3 28021 [BZ #13540]
2bd779ae
LD
28022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28023 processing for last bytes.
28024
154bfc16
JM
280252011-12-22 Joseph Myers <joseph@codesourcery.com>
28026
28027 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28028 (syscall-list-default-options, syscall-list-default-condition)
28029 (syscall-list-includes): Define.
28030 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28031 list of ABIs and options and #if conditions for each ABI. Do not
28032 handle common syscalls between ABIs specially.
28033 * sysdeps/unix/sysv/linux/powerpc/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 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28039 (syscall-list-variants, syscall-list-32bit-options)
28040 (syscall-list-32bit-condition, syscall-list-64bit-options)
28041 (syscall-list-64bit-condition): Define.
28042 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28043 Remove.
28044 (syscall-list-variants, syscall-list-32bit-options)
28045 (syscall-list-32bit-condition, syscall-list-64bit-options)
28046 (syscall-list-64bit-condition): Define.
28047 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28048 Remove.
28049 (syscall-list-variants, syscall-list-32bit-options)
28050 (syscall-list-32bit-condition, syscall-list-64bit-options)
28051 (syscall-list-64bit-condition): Define.
28052
21eaf3a5
UD
280532011-12-22 Ulrich Drepper <drepper@gmail.com>
28054
16c6f992
UD
28055 * locale/iso-639.def: Add brx entry.
28056
41043168
UD
28057 [BZ #13328]
28058 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28059 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28060
21eaf3a5
UD
28061 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28062 __feraiseexcept_renamed.
28063
e3a851a2
UD
280642011-12-21 Ulrich Drepper <drepper@gmail.com>
28065
4920765e
UD
28066 [BZ #13538]
28067 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28068 EPOLLET with unsigned values.
28069 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28070 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28071
e3a851a2
UD
28072 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28073 to large cancellation.
28074 * math/s_cacoshf.c: Likewise.
28075 * math/s_cacoshl.c: Likewise.
28076
b27e24b8
RK
280772011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28078
28079 [BZ #13305]
aebefeee 28080 [BZ #12786]
b27e24b8
RK
28081 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28082 * math/s_cacoshf.c: Likewise.
28083 * math/s_cacoshl.c: Likewise.
28084
ee190f67
UD
280852011-12-21 Ulrich Drepper <drepper@gmail.com>
28086
28087 [BZ #13439]
28088 * iconv/gconv.h: Define __GCONV_SWAP.
28089 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28090 * iconvdata/utf-16.c: Likewise.
28091 * iconvdata/utf-32.c: Likewise.
28092
707f25df
AS
280932011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28094
28095 [BZ #13524]
28096 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28097 numerator after shifting it by one limb.
28098
d2daaa1e
RÁE
280992011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28100
28101 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28102 under [__USE_EXTERN_INLINES].
28103
a4647e72
UD
281042011-12-17 Ulrich Drepper <drepper@gmail.com>
28105
28106 [BZ #13446]
28107 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28108
f0b264f1
AZ
281092011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28110
28111 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28112 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28113 optimized code.
28114 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28115 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28116 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28117 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28118 for strncasecmp/strncasecmp_l compilation.
28119 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28120 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28121
8ef4f244
MP
281222011-12-08 Marek Polacek <mpolacek@redhat.com>
28123
28124 [BZ #13484]
28125 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28126 of __asm__.
28127
97ac2654
UD
281282011-12-17 Ulrich Drepper <drepper@gmail.com>
28129
28130 [BZ #13506]
28131 * time/tzfile.c (__tzfile_read): Check values from file header.
28132
91d2a845
WS
281332011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28134
28135 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28136 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28137 * powerpc/powerpc32/dl-start.S: Likewise.
28138 * powerpc/powerpc32/elf/start.S: Likewise.
28139 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28140 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28141 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28142 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28143 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28144 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28145 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28146 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28147 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28148 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28149 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28150 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28151 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28152 * powerpc/powerpc32/memset.S: Likewise.
28153 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28154 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28155 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28156 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28157 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28158 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28159 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28160 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28161 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28162 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28163 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28164 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28165 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28166
a1267ba1
AZ
281672011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28168
28169 * math/libm-test.inc: Added more nearbyint tests.
28170 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28171 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28172 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28173 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28174
ad8ac1bd
RL
281752011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28176
28177 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28178 FD_CLOEXEC.
28179
1d3e4b61
UD
281802011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28181
28182 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28183 Add wcscpy-ssse3 wcscpy-c.
28184 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28185 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28186 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28187 * sysdeps/x86_64/wcschr.S: New file.
28188 * sysdeps/x86_64/wcsrchr.S: New file.
28189 * string/test-strcmp.c: Remove checking of wcscmp function for
28190 wrong alignments.
28191 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28192 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28193 wcsrchr-sse2 wcsrchr-c.
28194 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28195 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28196 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28197 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28198 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28199 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28200 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28201 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28202 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28203 * wcsmbc/wcschr.c (WCSCHR): New macro.
28204
5b330a2d
UD
282052011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28206
28207 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28208 * wcsmbs/test-wcsrchr.c: New file.
28209 * string/test-strrchr.c: Add wcsrchr support.
28210 (WIDE): New macro.
28211 * wcsmbs/test-wcscpy.c: New file.
28212 * string/test-strcpy.c: Add wcscpy support.
28213 (WIDE): New macro.
26428b7c 28214
f039c043
UD
282152011-12-10 Ulrich Drepper <drepper@gmail.com>
28216
28217 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28218 the inner loop.
28219
850fb039
AS
282202011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28221
28222 [BZ #13472]
28223 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28224
4efbd5cb
UD
282252011-12-04 Ulrich Drepper <drepper@gmail.com>
28226
52ff5dd0 28227 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28228 Minor optimizations.
52ff5dd0 28229
4efbd5cb
UD
28230 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28231 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28232 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28233
8a426e12
UD
282342011-12-03 Ulrich Drepper <drepper@gmail.com>
28235
aff2453d
UD
28236 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28237 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28238 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28239 for gcc to avoid warnings.
28240 * inet/Makefile (tests): Add tst-checks.
28241 * inet/tst-checks.c: New file.
28242
28243 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28244 warning.
28245
28246 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28247 __wmemcmp_sse2.
28248
28249 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28250 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28251
8a426e12
UD
28252 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28253
9bea3473
UD
282542011-12-02 Ulrich Drepper <drepper@gmail.com>
28255
3a965496
UD
28256 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28257 problem.
28258
9bea3473
UD
28259 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28260
f101631b
UD
282612011-11-29 Joseph Myers <joseph@codesourcery.com>
28262
28263 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28264 conditional on GCC version.
28265 (__arch_compare_and_exchange_val_8_acq)
28266 (__arch_compare_and_exchange_val_16_acq)
28267 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28268 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28269 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28270
a98275aa
UD
282712011-12-02 Joseph Myers <joseph@codesourcery.com>
28272
28273 * sysdeps/sh/backtrace.c: New file.
28274
d4cc29a2
AS
282752011-12-02 Andreas Schwab <schwab@redhat.com>
28276
28277 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28278 parenthesis.
28279
6257af2d
AS
282802011-12-01 Andreas Schwab <schwab@redhat.com>
28281
28282 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28283 falling back to utime.
28284
b5f44c1a
AS
282852011-11-30 Andreas Schwab <schwab@redhat.com>
28286
28287 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28288 expectations for float.
28289
f3a6cc0a
AS
282902011-11-29 Andreas Schwab <schwab@redhat.com>
28291
28292 * locale/weight.h (findidx): Add parameter len.
28293 * locale/weightwc.h (findidx): Likewise.
28294 * posix/fnmatch_loop.c (FCT): Adjust caller.
28295 * posix/regcomp.c (build_equiv_class): Likewise.
28296 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28297 * posix/regexec.c (check_node_accept_bytes): Likewise.
28298 * string/strcoll_l.c (STRCOLL): Likewise.
28299 * string/strxfrm_l.c (STRXFRM): Likewise.
28300
9d65ea3a
UD
283012011-11-17 Ulrich Drepper <drepper@gmail.com>
28302
28303 * Makefile.in: Remove CVSOPT handling.
28304 * configure.in: Remove use of AC_REVISION.
28305 * iconvdata/Makefile (distribute): No need to filter out CVS.
28306 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28307 handling.
28308
5583a086
AS
283092011-11-16 Andreas Schwab <schwab@redhat.com>
28310
28311 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28312 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28313 [USE_AS_STRNCASECMP_L]: Likewise.
28314 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28315 NO_TLS_DIRECT_SEG_REFS.
28316 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28317 Fix argument offsets for non-PIC.
28318 [USE_AS_STRNCASECMP_L]: Likewise.
28319 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28320 NO_TLS_DIRECT_SEG_REFS.
28321
d62a8200
UD
283222011-11-15 Ulrich Drepper <drepper@gmail.com>
28323
9d65ea3a 28324 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28325 O_CLOEXEC.
28326 * locale/loadlocale.c (_nl_load_locale): Likewise.
28327
09f93bd3
AS
283282011-11-15 Andreas Schwab <schwab@redhat.com>
28329
446514f9
AS
28330 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28331 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28332 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28333 (SYSCALL_GETTIME): Set errno on error.
28334
09f93bd3
AS
28335 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28336 count references to noai6ai_cached.
28337
312be3f9
UD
283382011-11-15 Ulrich Drepper <drepper@gmail.com>
28339
28340 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28341
28342 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28343 FD_CLOEXEC for /proc/self/maps.
28344
28345 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28346 FD_CLOEXEC for /proc/meminfo.
28347
28348 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28349 gai.conf.
28350
28351 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28352 FD_CLOEXEC for given file.
28353
28354 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28355
28356 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28357 FD_CLOEXEC for /etc/hosts.
28358 (_gethtent): Likewise.
28359
28360 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28361
28362 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28363 cancellation and set FD_CLOEXEC for /etc/netgroup.
28364
28365 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28366 reading /etc/publickey.
28367
28368 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28369 allow cancellation when reading /etc/group.
28370
28371 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28372 cancellation.
28373 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28374
28375 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28376 when using data file.
28377
28378 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28379
28380 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28381 (write_nis_obj): Use "c" and "e" in fopen.
28382
28383 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28384
28385 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28386
28387 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28388
28389 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28390
28391 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28392 locale.alias.
28393
28394 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28395
28396 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28397
28398 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28399
28400 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28401 file parsing and set FD_CLOEXEC.
28402
82af0fa8
UD
284032011-11-14 Ulrich Drepper <drepper@gmail.com>
28404
28405 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28406
a5fb313c
AS
284072011-11-14 Andreas Schwab <schwab@redhat.com>
28408
28409 * malloc/arena.c (arena_get2): Don't call reused_arena when
28410 _int_new_arena failed.
28411
6abf3465
UD
284122011-11-14 Ulrich Drepper <drepper@gmail.com>
28413
28414 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28415 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28416 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28417 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28418 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28419 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28420 to compile strcasecmp and strncasecmp.
28421 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28422 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28423
28424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28425
76e3966e
UD
284262011-11-13 Ulrich Drepper <drepper@gmail.com>
28427
28428 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28429 locale-defines.sym to gen-as-const-headers.
28430 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28431 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28433 to compile strcasecmp and strncasecmp.
28434 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28435 strcasecmp_l and strncasecmp_l.
28436 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28437 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28438 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28439 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28440 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28441 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28442 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28443 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28444 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28445 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28446 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28447
ab26144e
UD
284482011-11-12 Ulrich Drepper <drepper@gmail.com>
28449
7edb22ef
UD
28450 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28451 result of SYSDEP_GETTIME_CPU to retval.
28452 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28453 parameter list to macro. Remove trailing semicolon. Adjust users.
28454
9694fc44
UD
28455 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28456 variable.
28457
8ad89ef8
UD
28458 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28459 mantissa words.
28460 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28461
0c822ef9
UD
28462 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28463 from unused variable.
28464
874e0564
UD
28465 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28466 DWARF definitions.
28467 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28468 for assembling.
28469
3a2edc79
UD
28470 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28471 over namespaces.
28472
f3c2577f
UD
28473 * sunrpc/rpc_prot.c (rejected): Fix case value.
28474
294ce126
UD
28475 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28476 unsigned long long int to avoid warnings in shift.
28477
5e2b63c6
UD
28478 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28479 of use of trans.
28480 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28481 variable tmp.
28482
e7f4b08e
UD
28483 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28484 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28485 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28486
ab26144e
UD
28487 * nis/nis_table.c (nis_list): Use variable of correct type for
28488 result of __follow_path call.
28489
8a6d5255
AZ
284902011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28491
28492 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28493 of math functions ceil, trunc, floor, round, and sqrt, when
28494 avaliable on the platform.
28495 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28496 name clash.
28497 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28498 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28499 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28500
aaddc98c
MP
285012011-10-30 Marek Polacek <mpolacek@redhat.com>
28502
28503 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28504 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28505
95b7042b
RM
285062011-11-11 Roland McGrath <roland@hack.frob.com>
28507
28508 * include/unistd.h: Fix __readlink return type.
28509 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28510
57769839
UD
285112011-11-11 Ulrich Drepper <drepper@gmail.com>
28512
28513 * stdlib/ucontext.h: Undo last change for makecontext.
28514
edc5984d
AS
285152011-11-11 Andreas Schwab <schwab@redhat.com>
28516
98591e58
AS
28517 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28518
edc5984d
AS
28519 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28520 * setjmp/setjmp.h: Mark functions as non-leaf.
28521 * setjmp/bits/setjmp2.h: Likewise.
28522 * stdlib/ucontext.h: Likewise.
28523
77cdc054
AS
285242011-11-10 Andreas Schwab <schwab@redhat.com>
28525
28526 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28527 (reused_arena): Don't check arena limit.
28528 (arena_get2): Atomically check arena limit.
28529
fe72eebd
UD
285302011-11-08 Ulrich Drepper <drepper@gmail.com>
28531
5f078c32
UD
28532 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28533 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28534
fe72eebd
UD
28535 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28536 instructions.
28537
ae1bc2fa
AS
285382011-11-07 Andreas Schwab <schwab@redhat.com>
28539
7583a88d
AS
28540 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28541 handler when locking.
28542
ae1bc2fa
AS
28543 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28544 Fix size of allocated buffer.
28545
10fb0bfa
AS
285462011-11-04 Andreas Schwab <schwab@redhat.com>
28547
998832a4
AS
28548 [BZ #10103]
28549 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28550 declarations for long double functions.
28551 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28552
10fb0bfa
AS
28553 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28554
3d7ba52b
AS
285552011-11-03 Andreas Schwab <schwab@redhat.com>
28556
a9ae54a1
AS
28557 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28558 installed.
28559
3d7ba52b
AS
28560 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28561 is disabled.
28562
bc8db248
ST
285632011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28564
28565 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28566
45b96dd6
AS
285672011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28568
647776f6
AS
28569 * include/alloca.h (stackinfo_alloca_round): Define.
28570 (extend_alloca): Use it.
28571 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28572 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28573 here.
28574
d91a8b93
AS
28575 * scripts/check-local-headers.sh: Ignore libaudit.h.
28576
45b96dd6
AS
28577 * nscd/Makefile (extra-objs): Make recursively expanded.
28578
432d41ce
UD
285792011-11-01 Ulrich Drepper <drepper@gmail.com>
28580
34372fc6
UD
28581 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28582 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28583
fadb59f8
UD
28584 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28585 * posix/tst-rfc3484-2.c: Likewise.
28586 * posix/tst-rfc3484-3.c: Likewise.
28587
78239589
UD
28588 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28589 process_vm_writev.
28590 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28591 process_vm_writev.
28592 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28593 process_vm_writev from libc using GLIBC_2.15 version.
28594
432d41ce
UD
28595 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28596
02f9c6cf
PP
285972011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28598
28599 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28600 stack usage.
28601
3a2c0242
UD
286022011-10-31 Ulrich Drepper <drepper@gmail.com>
28603
f4ec4833
UD
28604 [BZ #13367]
28605 * nss/getent.c (initgroups_keys): Show error message in case no group
28606 names are given.
28607
3a2c0242
UD
28608 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28609 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28610 __bump_nl_timestamp.
28611 * nscd/connections (nscd_init): When host database is served open
28612 netlink socket and request notification about configuration changes.
28613 (main_loop_poll): Track netlink file descriptor and bump timestamp
28614 in case data becomes available.
28615 (main_loop_epoll): Likewise.
28616 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28617 (database_pers_head): Add extra_data fileds.
28618 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28619 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28620 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28621 Adjust caller.
28622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28623 in6ai data, call __free_in6ai.
28624 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28625 Add -DHAVE_NETLINK.
28626 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28627 interface information. Reuse previous data if netlink timestamp
28628 is not changed.
28629 (__bump_nl_timestamp): New function.
28630 (__free_in6ai): New function.
28631
636064eb
UD
286322011-10-30 Ulrich Drepper <drepper@gmail.com>
28633
28634 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28635 close_not_cancel_no_status here.
28636 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28637
9beb2334
UD
286382011-10-29 Ulrich Drepper <drepper@gmail.com>
28639
6ef76f3b
UD
28640 [BZ #13276]
28641 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28642 return value.
28643
0ffc4f3e 28644 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28645 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28646 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28647
cb95113e
UD
286482011-07-03 Andreas Jaeger <aj@suse.de>
28649
28650 [BZ #10709]
28651 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28652 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28653 * math/libm-test.inc (sin_test): Add test case.
28654
a1b560ff
UD
286552011-10-29 Ulrich Drepper <drepper@gmail.com>
28656
c9aaface
UD
28657 [BZ #13337]
28658 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28659 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28660
d272e7f1
UD
28661 * elf/chroot_canon.c (chroot_canon): Cleanups.
28662
1bc33071
UD
28663 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28664
1760874d
TJ
28665 [BZ #13335]
28666 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28667 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28668
51d91b18
UD
28669 * string/test-strchr.c: Make usable for strchrnul testing.
28670 * string/test-strchrnul.c: New file.
28671 * string/Makefile (strop-tests): Add strchrnul.
28672
a1b560ff 28673 * po/it.po: Update from translation team.
b611fb81 28674 * po/es.po: Likewise.
a1b560ff 28675
a5b81e1f
UD
286762011-10-28 Ulrich Drepper <drepper@gmail.com>
28677
fd52bc6d
UD
28678 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28679 the three constants needed as parameters. Drop the others.
28680 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28681 __m128i_strloadu_tolower.
52e4b9eb
UD
28682 Create and initialize variable zero and use it in all the places
28683 where _mm_setzero_si128 was used.
fd52bc6d 28684
a5b81e1f
UD
28685 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28686 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28687 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28688 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28689 anymore.
28690 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28691 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28692 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28693 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28694 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28695 __mpranred, __mptan.
28696 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28697 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28698 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28699 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28700 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28701 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28702 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28703 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28704 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28705
b4343346
AS
287062011-10-28 Andreas Schwab <schwab@redhat.com>
28707
0c92d8a8
AS
28708 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28709 redefine if SHARED.
28710 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28711
b4343346
AS
28712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28713 wide char related routines to wcsmbs subdir.
28714
3871f58f
AS
287152011-10-27 Andreas Schwab <schwab@redhat.com>
28716
28717 [BZ #13344]
28718 * misc/sys/cdefs.h (__THROWNL): Define.
28719 * posix/unistd.h: Use __THREADNL instead of __THREAD
28720 for memory synchronization functions.
28721
94d44d9f
RM
287222011-10-26 Roland McGrath <roland@hack.frob.com>
28723
21b64b15 28724 [BZ #13349]
94d44d9f
RM
28725 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28726 doesn't exist.
28727 * manual/stdio.texi (Obstack Streams): Node removed.
28728
f6ce9294
AS
287292011-10-26 Andreas Schwab <schwab@redhat.com>
28730
80479147
AS
28731 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28732 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28733 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28734
f6ce9294
AS
28735 * math/math_private.h (math_force_eval): Allow non-addressable
28736 arguments.
28737 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28738
618280a1
UD
287392011-10-25 Ulrich Drepper <drepper@gmail.com>
28740
e0016b11
UD
28741 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28742 file is not needed.
28743
28744 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28745 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28746 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28747 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28748 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28749 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28750 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28751 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28752 Add AVX variants.
28753 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28754 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28755 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28756 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28757 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28758 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28759 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28760 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28761 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28762 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28763 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28764 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28765 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28766 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28767 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28768 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28769 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28770 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28771 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28772
28773 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28774 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28775
618280a1
UD
28776 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28777 place. Use VEX encoding when compiling for AVX.
28778
37822576
AS
287792011-10-25 Andreas Schwab <schwab@redhat.com>
28780
1f1e1947
AS
28781 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28782 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28783
37822576
AS
28784 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28785
31ea014d
UD
287862011-10-25 Ulrich Drepper <drepper@gmail.com>
28787
d7826aa1 28788 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28789 useless if() expression.
d7826aa1
UD
28790 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28791 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28792 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28793 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28794 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28795 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28796 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28797 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28798 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28799 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28800 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28801 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28802 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28803 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28804 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28805 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28806 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28807 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28808 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28809
31ea014d
UD
28810 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28811
16437fec
AS
288122011-10-25 Andreas Schwab <schwab@redhat.com>
28813
28814 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28815 condition.
28816 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28817
31d3cc00
UD
288182011-10-25 Ulrich Drepper <drepper@gmail.com>
28819
28820 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28821 .text section. Avoid duplicate constants.
28822 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28830 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28831 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28832 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28833 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28834 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28835 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28836 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28837 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28838 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28839 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28840 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28841 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28842 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28843 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28844 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28845 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28846 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28847 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28848 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28849 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28850 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28851 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28852 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28853 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28854 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28855 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28856 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28857 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28858 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28859 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28860 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28861 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28862 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28863 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28864 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28865 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28866 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28867
58985aa9
UD
288682011-10-24 Ulrich Drepper <drepper@gmail.com>
28869
202c9deb
UD
28870 * sysdeps/x86_64/dla.h: Move to ...
28871 * sysdeps/x86_64/fpu/dla.h: ...here.
28872 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28873 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28874
af968f62
UD
28875 * config.make.in: Add have-mfma4 entry.
28876 * configure.in: Substitute libc_cv_cc_fma4.
28877 * math/Makefile (dbl-only-routines): Add sincostab.
28878 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28879 Use __sincostab not sincos.
28880 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28881 name is a macro.
28882 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28883 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28884 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28885 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28886 using __copysign.
28887 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28888 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28889 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28890 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28891 and __inv.
28892 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28893 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28894 __copysign.
28895 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28896 define aliases when function name is a macro.
28897 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28898 sysdeps/ieee754/dbl-64/sincos.tbl.
28899 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28900 fma4-enabled routines.
28901 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28902 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28903 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28904 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28905 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28906 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28907 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28908 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28909 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28910 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28911 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28912 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28913 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28914 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28915 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28916 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28917 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28918 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28919 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28920 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28921 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28922 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28923 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28924 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28925 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28926 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28927 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28928 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28929 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28930 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28931
58985aa9
UD
28932 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28933 rename.
28934 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28935 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28937 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28939 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28940 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28941 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28942
a201fbcf
AS
289432011-10-24 Andreas Schwab <schwab@redhat.com>
28944
28945 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28946
fc2ee42a
LD
289472011-10-23 Ulrich Drepper <drepper@gmail.com>
28948
bb3129bd
UD
28949 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28950
0275fff8
UD
28951 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28952 prediction.
28953 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28954
2fa2ae85
UD
28955 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28956 Remove unused variable magic_bits.
28957 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28958
fc2ee42a
LD
28959 * string/strnlen.c: Define and use STRNLEN macro.
28960 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28961 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28962 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28963 * wcsmbs/wcslen.c: Define and use WCSLEN.
28964 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28965 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28966 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28967 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28968 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28969 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28970 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28971
ce7dd29f
LD
289722011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28973
28974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28975 strnlen-sse2-no-bsf.
28976 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28977 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28978 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28979 Add strnlen support.
28980 (USE_AS_STRNLEN): New macro.
28981 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28982 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28983 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28984 * sysdeps/x86_64/wcslen.S: New file.
28985
979c70a3
MZ
289862011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28987
28988 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28989 XMM-moves are used for copying on small sizes.
28990
2d09f82f
LD
289912011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28992
28993 * wcsmbs/Makefile (strop-tests): Add wcschr.
28994 * wcsmbs/test-wcschr.c: New file.
28995 * string/test-strchr.c: Update.
28996 Add wcschr support.
28997 (WIDE): New macro.
28998
619fccca
LD
289992011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29000
2d09f82f 29001 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29002 * wcsmbs/test-wcslen.c: New file.
29003 * string/test-strlen.c: Update.
29004 Add wcslen support.
29005 (WIDE): New macro.
29006
09f699ea
UD
290072011-10-23 Ulrich Drepper <drepper@gmail.com>
29008
29009 * po/it.po: Update from translation team.
29010
95584d3b
LD
290112011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29012
29013 * sysdeps/x86_64/wcscmp.S: Update.
29014 Fix wrong comparison semantics.
29015 wcscmp shall use signed comparison not unsigned.
29016 Don't use substraction to avoid overflow bug.
29017 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29018 * wcsmbc/wcscmp.c: Likewise.
29019 * string/test-strcmp.c: Likewise.
29020 Add new tests to check cases with negative values.
29021
c8b3296b
UD
290222011-10-23 Ulrich Drepper <drepper@gmail.com>
29023
29024 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29025 * sysdeps/x86_64/dla.h: ...here. New file.
29026 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29027 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29029 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29030 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29031 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29033 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29035
246ad57a
AS
290362011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29037
29038 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29039 __ynl_finite aliases.
29040
a1a87169
UD
290412011-10-22 Ulrich Drepper <drepper@gmail.com>
29042
0d355eb7
UD
29043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29044
a1a87169
UD
29045 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29046 define DLA_FMA.
29047 [DLA_FMA] (EMULV): Use DLA_FMA.
29048 [DLA_FMA] (MUL12): Use EMULV.
29049 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29050 that are not needed.
29051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29057 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29058
ee2aafe0
AS
290592011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29060
29061 * math/s_nan.c: Undef __nan.
29062 * math/s_nanf.c: Undef __nanf.
29063 * math/s_nanl.c: Undef __nanl.
29064 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29065 "math_private.h".
29066
bc62c2fb
UD
290672011-10-22 Ulrich Drepper <drepper@gmail.com>
29068
77425c63
UD
29069 * math/s_catan.c: Add branch predictions.
29070 * math/s_catanf.c: Likewise.
29071 * math/s_catanh.c: Likewise.
29072 * math/s_catanhf.c: Likewise.
29073 * math/s_catanhl.c: Likewise.
29074 * math/s_catanl.c: Likewise.
29075 * math/s_cexp.c: Likewise.
29076 * math/s_cexpf.c: Likewise.
29077 * math/s_cexpl.c: Likewise.
29078 * math/s_clog.c: Likewise.
29079 * math/s_clog10.c: Likewise.
29080 * math/s_clog10f.c: Likewise.
29081 * math/s_clog10l.c: Likewise.
29082 * math/s_clogf.c: Likewise.
29083 * math/s_clogl.c: Likewise.
29084 * math/s_csqrt.c: Likewise.
29085 * math/s_csqrtf.c: Likewise.
29086 * math/s_csqrtl.c: Likewise.
29087 * math/s_ctanf.c: Likewise.
29088 * math/s_ctanh.c: Likewise.
29089 * math/s_ctanhf.c: Likewise.
29090 * math/s_ctanhl.c: Likewise.
29091 * math/s_ctanl.c: Likewise.
29092
bc62c2fb
UD
29093 * math/math_private.h: Define __nan, __nanf, __nanl.
29094 * math/s_cacosh.c: Include <math_private.h>.
29095 * math/s_cacoshl.c: Likewise.
29096 * math/s_casinh.c: Likewise.
29097 * math/s_casinhf.c: Likewise.
29098 * math/s_casinhl.c: Likewise.
29099 * math/s_ccos.c: Rely entire on ccosh.
29100 * math/s_ccosf.c: Rely entire on ccoshf.
29101 * math/s_ccosl.c: Rely entirely on ccoshl.
29102 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29103 Remove tests for FE_INVALID.
29104 * math/s_ccoshf.c: Likewise.
29105 * math/s_ccoshl.c: Likewise.
29106 * math/s_csin.c: Likewise.
29107 * math/s_csinf.c: Likewise.
29108 * math/s_csinh.c Likewise.
29109 * math/s_csinhf.c: Likewise.
29110 * math/s_csinhl.c: Likewise.
29111 * math/s_csinl.c: Likewise.
29112 * math/s_ctan.c: Likewise.
29113 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29114 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29115 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29116
8ec250a4
UD
291172011-10-21 Ulrich Drepper <drepper@gmail.com>
29118
c196fed8
UD
29119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29120 compilation problems.
29121
8ec250a4
UD
29122 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29123 __builtin_expect.
29124
8d4f46c6
UD
291252011-10-20 Ulrich Drepper <drepper@gmail.com>
29126
ed72b654
UD
29127 * sysdeps/i386/configure.in: Test for -mfma4 option.
29128 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29129 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29130 COMMON_CPUID_INDEX_80000001.
29131 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29132 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29133 use it if FMA3 is not supported.
29134 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29135
8d4f46c6
UD
29136 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29137 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29138
d45c60c2
AS
291392011-10-20 Andreas Schwab <schwab@redhat.com>
29140
29141 [BZ #12892]
29142 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29143 it would create a cycle with a link time dependency.
29144
d9a4d2ab
UD
291452011-10-19 Ulrich Drepper <drepper@gmail.com>
29146
855d1560
UD
29147 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29148 instruction.
29149 * string/Makefile (strop-tests): Add rawmemchr.
29150 * string/test-rawmemchr.c: New file.
29151
d9a4d2ab
UD
29152 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29153 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29154 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29155 when compiling str{,n}casecmp and when AVX is available. Hook up
29156 new optimized code in initializers.
29157
8f3b1ffe
AS
291582011-10-19 Andreas Schwab <schwab@redhat.com>
29159
29160 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29161 __feraiseexcept instead of feraiseexcept.
29162
d38f1dba
UD
291632011-10-18 Ulrich Drepper <drepper@gmail.com>
29164
d9a8d0ab
UD
29165 * math/math_private.h: Define defaults for libc_fetestexcept and
29166 libc_feupdateenv.
29167 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29168 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29169 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29170 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29171 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29172 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29173 libc_fetestexcept and libc_feupdateenv.
29174
4855e3dd
UD
29175 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29176 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29177 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29178 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29179 libc_feholdexcept_setround.
29180
581d30e3
UD
29181 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29182 Add s_nearbyint-c and s_nearbyintf-c.
29183 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29184 nearbyintf inlines.
29185 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29186 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29187 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29188 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29189
d38f1dba
UD
29190 * math/math_private.h: Define defaults for libc_fegetround,
29191 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29192 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29193 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29194 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29195 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29196 standard functions.
29197 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29198 Remove comments and hacks for old compiler versions.
29199 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29200 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29201 libc_feholdexceptl.
29202
caa6c9d8
AS
292032011-10-18 Andreas Schwab <schwab@redhat.com>
29204
29205 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29206 (__feraiseexcept_renamed): Add __NTH.
29207 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29208 namespace violations.
29209
97c066e6
UD
292102011-10-17 Ulrich Drepper <drepper@gmail.com>
29211
99ce7b04
UD
29212 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29213
1004d182
UD
29214 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29215
228a984d
UD
29216 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29217 recently added interfaces.
29218 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29219
c8553a6a
UD
29220 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29221 about macro parameter expansion.
29222
ed22dcf6
UD
29223 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29224 __NO_MATH_INLINES is defined. Cleanups.
29225
29226 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29227 and __floorf is target has SSE4.1.
29228 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29229 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29230 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29231 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29232
b171c137
UD
29233 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29234 name.
29235 (floorf): Likewise.
29236
97c066e6
UD
29237 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29238
629f62ef
AS
292392011-10-17 Andreas Schwab <schwab@redhat.com>
29240
49a43d80
AS
29241 * misc/sys/cdefs.h: Fix last change.
29242
629f62ef
AS
29243 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29244 database lookup.
29245
e453f6cd
UD
292462011-10-16 Ulrich Drepper <drepper@gmail.com>
29247
aa78043a
UD
29248 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29249
ad0f5cad
UD
29250 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29251 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29252 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29253 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29254 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29255 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29256 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29257 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29258 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29259 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29260 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29261 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29262 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29263 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29264 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29265 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29266 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29267 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29268 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29269 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29270 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29271 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29272
29273 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29274 ceil, ceilf, floor, floorf.
29275
29276 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29277 Perform IRELATIVE relocations last.
29278
e453f6cd
UD
29279 * elf/do-rel.h: Add another parameter nrelative, replacing the
29280 local variable with the same name. Change name of the function
29281 to end in Rel or Rela (uppercase).
29282 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29283 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29284 elf_dynamic_do_##reloc function.
29285
fd5bdc09
UD
292862011-10-15 Ulrich Drepper <drepper@gmail.com>
29287
79b195b5
UD
29288 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29289 is sufficient, at least on modern CPUs.
29290
d4a28569
UD
29291 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29292
b61099b5
UD
29293 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29294 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29295
bcf01e6d
UD
29296 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29297 __expl_finite.
29298 * math/bits/math-finite.h: Add entries for exp.
29299 * math/e_expl.c: Add __*_finite alias.
29300 * sysdeps/i386/fpu/e_exp.S: Likewise.
29301 * sysdeps/i386/fpu/e_expf.S: Likewise.
29302 * sysdeps/i386/fpu/e_expl.c: Likewise.
29303 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29304 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29305 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29306 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29307 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29308 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29309 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29310
ba1a0d59
UD
29311 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29312 is sufficient, at least on modern CPUs.
29313
fd5bdc09
UD
29314 * ctype/ctype-info.c (__ctype_init): Define.
29315 * include/ctype.h (__ctype_init): Declare.
29316 (__ctype_b_loc): The variable is always initialized.
29317 (__ctype_toupper_loc): Likewise.
29318 (__ctype_tolower_loc): Likewise.
29319 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29320 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29321
7872cfb0
AS
293222011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29323
b468825a
AS
29324 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29325
7872cfb0
AS
29326 * configure.in: Also look in $cxxmachine/include for C++ system
29327 headers.
29328
be13f7bf
LD
293292011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29330
29331 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29332 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29333 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29334 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29335 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29336 (USE_AS_WMEMCMP): New macro.
29337 Fixing indents.
29338 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29339 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29340 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29341 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29342 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29343 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29344 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29345 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29346 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29347 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29348 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29349 (USE_AS_WMEMCMP): New macro.
29350 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29351 * sysdeps/string/test-memcmp.c: Update.
29352 Fix simple_wmemcmp.
29353 Add new tests.
29354 * wcsmbs/wmemcmp.c: Update.
29355 (WMEMCMP): New macro.
29356 Fix overflow bug.
29357
556a2007
AJ
293582011-10-12 Andreas Jaeger <aj@suse.de>
29359
29360 [BZ #13268]
29361 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29362
538faaa7
UD
293632011-10-15 Ulrich Drepper <drepper@gmail.com>
29364
ab6737ff
UD
29365 * libio/iofwide.c (do_length): Avoid warning.
29366
538faaa7
UD
29367 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29368
396a21b1
UD
293692011-10-14 Ulrich Drepper <drepper@gmail.com>
29370
cdf2901f
UD
29371 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29372
38ad40ce
UD
29373 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29374 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29375 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29376 * sysdeps/i386/i686/fpu/e_log.S: New file.
29377 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29378 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29379
396a21b1
UD
29380 * ctype/ctype.h: Add support for inlined isXXX functions when
29381 compiling C++ code.
29382
6b1f68c9
AS
293832011-10-14 Andreas Schwab <schwab@redhat.com>
29384
349290c0
AS
29385 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29386
6b1f68c9
AS
29387 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29388
f2282d42
RM
293892011-10-13 Roland McGrath <roland@hack.frob.com>
29390
29391 [BZ #13291]
29392 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29393
5298ffa8
AS
293942011-10-13 Andreas Schwab <schwab@redhat.com>
29395
714fad23
AS
29396 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29397 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29398 feraiseexcept.
29399
81dcc7fb
AS
29400 * sysdeps/x86_64/memrchr.S: Check for zero size.
29401
5298ffa8
AS
29402 * string/stratcliff.c: Add memrchr tests.
29403
951fbcec
LD
294042011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29405
29406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29407 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29408 rawmemchr-sse2 rawmemchr-sse2-bsf.
29409 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29410 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29411 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29412 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29413 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29414 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29415 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29416 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29417 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29418 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29419 * string/memrchr.c (MEMRCHR): New macro.
29420
0ac5ae23
UD
294212011-10-12 Ulrich Drepper <drepper@gmail.com>
29422
29423 Add integration with gcc's -ffinite-math-only and optimize wrapper
29424 functions in libm.
29425 * Versions.def: Define GLIBC_2.15 version for libm.
29426 * math/Makefile (headers): Add bits/math-finite.h.
29427 * math/bits/math-finite.h: New file.
29428 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29429 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29430 * math/e_acoshl.c: Add __*_finite alias.
29431 * math/e_acosl.c: Likewise.
29432 * math/e_asinl.c: Likewise.
29433 * math/e_atan2l.c: Likewise.
29434 * math/e_atanhl.c: Likewise.
29435 * math/e_coshl.c: Likewise.
29436 * math/e_exp10.c: Likewise.
29437 * math/e_exp10f.c: Likewise.
29438 * math/e_exp10l.c: Likewise.
29439 * math/e_exp2l.c: Likewise.
29440 * math/e_fmodl.c: Likewise.
29441 * math/e_gammal_r.c: Likewise.
29442 * math/e_hypotl.c: Likewise.
29443 * math/e_j0l.c: Likewise.
29444 * math/e_j1l.c: Likewise.
29445 * math/e_jnl.c: Likewise.
29446 * math/e_lgammal_r.c: Likewise.
29447 * math/e_log10l.c: Likewise.
29448 * math/e_log2l.c: Likewise.
29449 * math/e_logl.c: Likewise.
29450 * math/e_powl.c: Likewise.
29451 * math/e_sinhl.c: Likewise.
29452 * math/e_sqrtl.c: Likewise.
29453 * math/e_scalb.c: Completely rewritten and optimized.
29454 * math/e_scalbf.c: Likewise.
29455 * math/e_scalbl.c: Likewise.
29456 * math/w_acos.c: Likewise.
29457 * math/w_acosf.c: Likewise.
29458 * math/w_acosl.c: Likewise.
29459 * math/w_acosh.c: Likewise.
29460 * math/w_acoshf.c: Likewise.
29461 * math/w_acoshl.c: Likewise.
29462 * math/w_asin.c: Likewise.
29463 * math/w_asinf.c: Likewise.
29464 * math/w_asinl.c: Likewise.
29465 * math/w_atan2.c: Likewise.
29466 * math/w_atan2f.c: Likewise.
29467 * math/w_atan2l.c: Likewise.
29468 * math/w_atanh.c: Likewise.
29469 * math/w_atanhf.c: Likewise.
29470 * math/w_atanhl.c: Likewise.
29471 * math/w_exp10.c: Likewise.
29472 * math/w_exp10f.c: Likewise.
29473 * math/w_exp10l.c: Likewise.
29474 * math/w_fmod.c: Likewise.
29475 * math/w_fmodf.c: Likewise.
29476 * math/w_fmodl.c: Likewise.
29477 * math/w_j0.c: Likewise.
29478 * math/w_j0f.c: Likewise.
29479 * math/w_j0l.c: Likewise.
29480 * math/w_j1.c: Likewise.
29481 * math/w_j1f.c: Likewise.
29482 * math/w_j1l.c: Likewise.
29483 * math/w_jn.c: Likewise.
29484 * math/w_jnf.c: Likewise.
29485 * math/w_log.c: Likewise.
29486 * math/w_logf.c: Likewise.
29487 * math/w_logl.c: Likewise.
29488 * math/w_log10.c: Likewise.
29489 * math/w_log10f.c: Likewise.
29490 * math/w_log10l.c: Likewise.
29491 * math/w_log2.c: Likewise.
29492 * math/w_log2f.c: Likewise.
29493 * math/w_log2l.c: Likewise.
29494 * math/w_pow.c: Likewise.
29495 * math/w_powf.c: Likewise.
29496 * math/w_powl.c: Likewise.
29497 * math/w_remainder.c: Likewise.
29498 * math/w_remainderf.c: Likewise.
29499 * math/w_remainderl.c: Likewise.
29500 * math/w_scalb.c: Likewise.
29501 * math/w_scalbf.c: Likewise.
29502 * math/w_scalbl.c: Likewise.
29503 * math/w_sqrt.c: Likewise.
29504 * math/w_sqrtf.c: Likewise.
29505 * math/w_sqrtl.c: Likewise.
29506 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29507 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29508 used.
29509 * math/math_private.h: Declare __kernel_standard_f.
29510 * math/w_cosh.c: Remove cruft and optimize a bit.
29511 * math/w_coshf.c: Likewise.
29512 * math/w_coshl.c: Likewise.
29513 * math/w_exp2.c: Likewise.
29514 * math/w_exp2f.c: Likewise.
29515 * math/w_exp2l.c: Likewise.
29516 * math/w_hypot.c: Likewise.
29517 * math/w_hypotf.c: Likewise.
29518 * math/w_hypotl.c: Likewise.
29519 * math/w_lgamma.c: Likewise.
29520 * math/w_lgamma_r.c: Likewise.
29521 * math/w_lgammaf.c: Likewise.
29522 * math/w_lgammaf_r.c: Likewise.
29523 * math/w_lgammal.c: Likewise.
29524 * math/w_lgammal_r.c: Likewise.
29525 * math/w_sinh.c: Likewise.
29526 * math/w_sinhf.c: Likewise.
29527 * math/w_sinhl.c: Likewise.
29528 * math/w_tgamma.c: Likewise.
29529 * math/w_tgammaf.c: Likewise.
29530 * math/w_tgammal.c: Likewise.
29531 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29532 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29533 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29534 Minor optimizations. Pretty printing. Remove cruft.
29535 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29536 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29537 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29538 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29539 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29540 * sysdeps/i386/fpu/e_asin.S: Likewise.
29541 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29542 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29543 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29544 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29545 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29546 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29547 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29548 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29549 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29550 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29551 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29552 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29553 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29554 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29555 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29556 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29557 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29558 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29559 * sysdeps/i386/fpu/e_log.S: Likewise.
29560 * sysdeps/i386/fpu/e_log10.S: Likewise.
29561 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29562 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29563 * sysdeps/i386/fpu/e_log2.S: Likewise.
29564 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29565 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29566 * sysdeps/i386/fpu/e_logf.S: Likewise.
29567 * sysdeps/i386/fpu/e_logl.S: Likewise.
29568 * sysdeps/i386/fpu/e_pow.S: Likewise.
29569 * sysdeps/i386/fpu/e_powf.S: Likewise.
29570 * sysdeps/i386/fpu/e_powl.S: Likewise.
29571 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29572 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29573 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29574 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29575 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29576 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29577 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29578 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29579 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29580 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29581 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29583 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29584 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29585 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29586 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29587 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29588 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29589 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29590 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29591 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29592 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29593 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29594 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29596 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29597 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29598 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29600 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29601 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29602 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29603 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29604 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29605 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29606 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29607 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29608 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29609 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29610 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29611 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29612 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29613 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29614 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29615 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29616 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29617 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29618 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29619 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29620 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29621 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29622 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29623 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29624 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29625 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29626 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29627 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29628 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29629 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29630 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29631 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29632 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29633 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29634 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29635 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29636 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29637 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29638 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29639 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29640 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29641 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29643 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29644 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29645 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29646 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29647 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29648 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29649 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29650 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29651 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29652 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29654 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29655 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29656 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29657 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29658 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29659 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29660 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29661 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29662 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29663 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29664 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29665 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29666 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29667 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29668 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29669 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29670 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29671 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29672 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29673 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29674 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29675 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29676 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29677 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29678 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29679 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29680 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29681 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29682 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29683 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29684 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29685 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29686 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29687 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29688 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29689 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29690 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29691 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29692 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29693 (__isnanf): Likewise.
29694 (__isinf_ns): Likewise.
29695 (__isinf_nsf): Likewise.
29696 (__finite): Likewise.
29697 (__finitef): Likewise.
29698 (__ieee754_sqrt): Define as macro.
29699 (__ieee754_sqrtf): Define as macro.
29700 (__ieee754_sqrtl): Define as macro.
29701 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29702 inlined copy.
29703 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29704 __FINITE_MATH_ONLY__ consistent.
29705 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29706
12cc2fcd
AS
297072011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29708
a843a204
AS
29709 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29710 of rawmemchr.
29711
12cc2fcd
AS
29712 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29713
c853acd5
UD
297142011-10-09 Ulrich Drepper <drepper@gmail.com>
29715
29716 * po/ja.po: Update from translation team.
29717
c658d255
RM
297182011-10-08 Roland McGrath <roland@hack.frob.com>
29719
110946e4
RM
29720 * locale/programs/locarchive.c (prepare_address_space): New function.
29721 (create_archive, enlarge_archive, open_archive): Use it.
29722
50604220
RM
29723 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29724 inside [SHARED], where it is used.
29725
c658d255
RM
29726 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29727
29728 * nss/getent.c (netgroup_keys): Remove unused variable.
29729 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29730
6a621eb7
UD
297312011-10-08 Ulrich Drepper <drepper@gmail.com>
29732
7edb55ce
UD
29733 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29734 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29735 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29736 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29737 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29738 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29739 * math/Makefile (libm-calls): Add s_isinf_ns.
29740 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29741 * math/multc3.c: Likewise.
29742 * math/s_casin.c: Likewise.
29743 * math/s_casinf.c: Likewise.
29744 * math/s_casinl.c: Likewise.
29745 * math/s_ccos.c: Likewise.
29746 * math/s_ccosf.c: Likewise.
29747 * math/s_ccosl.c: Likewise.
29748 * math/s_ctan.c: Likewise.
29749 * math/s_ctanf.c: Likewise.
29750 * math/s_ctanh.c: Likewise.
29751 * math/s_ctanhf.c: Likewise.
29752 * math/s_ctanhl.c: Likewise.
29753 * math/s_ctanl.c: Likewise.
29754 * math/w_fmod.c: Likewise.
29755 * math/w_fmodf.c: Likewise.
29756 * math/w_fmodl.c: Likewise.
29757 * math/w_remainder.c: Likewise.
29758 * math/w_remainderf.c: Likewise.
29759 * math/w_remainderl.c: Likewise.
29760 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29761 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29762 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29763 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29764 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29765 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29766 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29767 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29768
187da0ae
UD
29769 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29770 of the number.
29771 * stdio-common/printf_fphex.c: Likewise.
29772 * stdio-common/printf_size.c: Likewise.
29773
9277c064
UD
29774 * math/e_exp10.c: Include math_private.h using <...> not "...".
29775 * math/e_exp10f.c: Likewise.
29776 * math/e_exp10l.c: Likewise.
29777 * math/e_exp2l.c: Likewise.
29778 * math/e_j0l.c: Likewise.
29779 * math/e_j1l.c: Likewise.
29780 * math/e_jnl.c: Likewise.
29781 * math/e_lgammal_r.c: Likewise.
29782 * math/e_rem_pio2l.c: Likewise.
29783 * math/e_scalb.c: Likewise.
29784 * math/e_scalbf.c: Likewise.
29785 * math/e_scalbl.c: Likewise.
29786 * math/k_cosl.c: Likewise.
29787 * math/k_sinl.c: Likewise.
29788 * math/k_tanl.c: Likewise.
29789 * math/s_cacoshf.c: Likewise.
29790 * math/s_catan.c: Likewise.
29791 * math/s_catanf.c: Likewise.
29792 * math/s_catanh.c: Likewise.
29793 * math/s_catanhf.c: Likewise.
29794 * math/s_catanhl.c: Likewise.
29795 * math/s_catanl.c: Likewise.
29796 * math/s_ccosh.c: Likewise.
29797 * math/s_ccoshf.c: Likewise.
29798 * math/s_ccoshl.c: Likewise.
29799 * math/s_cexp.c: Likewise.
29800 * math/s_cexpf.c: Likewise.
29801 * math/s_cexpl.c: Likewise.
29802 * math/s_clog.c: Likewise.
29803 * math/s_clog10.c: Likewise.
29804 * math/s_clog10f.c: Likewise.
29805 * math/s_clog10l.c: Likewise.
29806 * math/s_clogf.c: Likewise.
29807 * math/s_clogl.c: Likewise.
29808 * math/s_csin.c: Likewise.
29809 * math/s_csinf.c: Likewise.
29810 * math/s_csinh.c: Likewise.
29811 * math/s_csinhf.c: Likewise.
29812 * math/s_csinhl.c: Likewise.
29813 * math/s_csinl.c: Likewise.
29814 * math/s_csqrt.c: Likewise.
29815 * math/s_csqrtf.c: Likewise.
29816 * math/s_csqrtl.c: Likewise.
29817 * math/s_ctan.c: Likewise.
29818 * math/s_ctanf.c: Likewise.
29819 * math/s_ctanh.c: Likewise.
29820 * math/s_ctanhf.c: Likewise.
29821 * math/s_ctanhl.c: Likewise.
29822 * math/s_ctanl.c: Likewise.
29823 * math/s_ldexp.c: Likewise.
29824 * math/s_ldexpf.c: Likewise.
29825 * math/s_ldexpl.c: Likewise.
29826 * math/s_significand.c: Likewise.
29827 * math/s_significandf.c: Likewise.
29828 * math/s_significandl.c: Likewise.
29829 * math/w_acos.c: Likewise.
29830 * math/w_acosf.c: Likewise.
29831 * math/w_acosh.c: Likewise.
29832 * math/w_acoshf.c: Likewise.
29833 * math/w_acoshl.c: Likewise.
29834 * math/w_acosl.c: Likewise.
29835 * math/w_asin.c: Likewise.
29836 * math/w_asinf.c: Likewise.
29837 * math/w_asinl.c: Likewise.
29838 * math/w_atan2.c: Likewise.
29839 * math/w_atan2f.c: Likewise.
29840 * math/w_atan2l.c: Likewise.
29841 * math/w_atanh.c: Likewise.
29842 * math/w_atanhf.c: Likewise.
29843 * math/w_atanhl.c: Likewise.
29844 * math/w_cosh.c: Likewise.
29845 * math/w_coshf.c: Likewise.
29846 * math/w_coshl.c: Likewise.
29847 * math/w_dremf.c: Likewise.
29848 * math/w_exp10.c: Likewise.
29849 * math/w_exp10f.c: Likewise.
29850 * math/w_exp10l.c: Likewise.
29851 * math/w_exp2.c: Likewise.
29852 * math/w_exp2f.c: Likewise.
29853 * math/w_fmod.c: Likewise.
29854 * math/w_fmodf.c: Likewise.
29855 * math/w_fmodl.c: Likewise.
29856 * math/w_hypot.c: Likewise.
29857 * math/w_hypotf.c: Likewise.
29858 * math/w_hypotl.c: Likewise.
29859 * math/w_j0.c: Likewise.
29860 * math/w_j0f.c: Likewise.
29861 * math/w_j0l.c: Likewise.
29862 * math/w_j1.c: Likewise.
29863 * math/w_j1f.c: Likewise.
29864 * math/w_j1l.c: Likewise.
29865 * math/w_jn.c: Likewise.
29866 * math/w_jnf.c: Likewise.
29867 * math/w_jnl.c: Likewise.
29868 * math/w_lgamma.c: Likewise.
29869 * math/w_lgamma_r.c: Likewise.
29870 * math/w_lgammaf.c: Likewise.
29871 * math/w_lgammaf_r.c: Likewise.
29872 * math/w_lgammal.c: Likewise.
29873 * math/w_lgammal_r.c: Likewise.
29874 * math/w_log.c: Likewise.
29875 * math/w_log10.c: Likewise.
29876 * math/w_log10f.c: Likewise.
29877 * math/w_log10l.c: Likewise.
29878 * math/w_log2.c: Likewise.
29879 * math/w_log2f.c: Likewise.
29880 * math/w_log2l.c: Likewise.
29881 * math/w_logf.c: Likewise.
29882 * math/w_logl.c: Likewise.
29883 * math/w_pow.c: Likewise.
29884 * math/w_powf.c: Likewise.
29885 * math/w_powl.c: Likewise.
29886 * math/w_remainder.c: Likewise.
29887 * math/w_remainderf.c: Likewise.
29888 * math/w_remainderl.c: Likewise.
29889 * math/w_scalb.c: Likewise.
29890 * math/w_scalbf.c: Likewise.
29891 * math/w_scalbl.c: Likewise.
29892 * math/w_sinh.c: Likewise.
29893 * math/w_sinhf.c: Likewise.
29894 * math/w_sinhl.c: Likewise.
29895 * math/w_sqrt.c: Likewise.
29896 * math/w_sqrtf.c: Likewise.
29897 * math/w_sqrtl.c: Likewise.
29898 * math/w_tgamma.c: Likewise.
29899 * math/w_tgammaf.c: Likewise.
29900 * math/w_tgammal.c: Likewise.
29901
6a621eb7
UD
29902 * po/ja.po: Update from translation team.
29903
bf582445
AJ
299042011-09-29 Andreas Jaeger <aj@suse.de>
29905
f9efbf3a
AJ
29906 [BZ #13179]
29907 * sunrpc/netname.c (netname2host): Fix logic.
29908
bf582445
AJ
29909 [BZ #6779]
29910 [BZ #6783]
29911 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29912 correctly.
29913 * math/w_remainder.c (__remainder): Likewise.
29914 * math/w_remainderf.c (__remainderf): Likewise.
29915 * math/libm-test.inc (remainder_test): Add test cases.
29916
48693bea
AK
299172011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29918
29919 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29920 sdiv_qrnnd.
29921
42622229
LD
299222011-10-07 Ulrich Drepper <drepper@gmail.com>
29923
29924 * string/test-memcmp.c: Avoid unncessary #defines.
29925 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29926
093ecf92
LD
299272011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29928
29929 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29930 Use new sse2 version for core i3 - i7 as it's faster
29931 than sse42 version.
29932 (bit_Prefer_PMINUB_for_stringop): New.
29933 * sysdeps/x86_64/rawmemchr.S: Update.
29934 Replace with faster SSE2 version.
29935 * sysdeps/x86_64/memrchr.S: New file.
29936 * sysdeps/x86_64/memchr.S: Update.
29937 Replace with faster SSE2 version.
29938
fde56e5c
MP
299392011-09-12 Marek Polacek <mpolacek@redhat.com>
29940
29941 * elf/dl-load.c (lose): Add cast to avoid warning.
29942
21fd49a9
UD
299432011-10-07 Ulrich Drepper <drepper@gmail.com>
29944
5a06e643
UD
29945 * po/ca.po: Update from translation team.
29946
684ae515
UD
29947 * inet/getnetgrent_r.c: Hook up nscd.
29948 * nscd/Makefile (routines): Add nscd_netgroup.
29949 (nscd-modules): Add netgroupcache.
29950 (CFLAGS-netgroupcache.c): Define.
29951 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29952 (cache_search): Add const to second parameter.
29953 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29954 INNETGR.
29955 (dbs): Add netgrdb entry.
29956 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29957 (verify_persistent_db): Handle netgrdb.
29958 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29959 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29960 GETFDNETGR.
29961 (netgroup_response_header): Define.
29962 (innetgroup_response_header): Define.
29963 (datahead): Add netgroup_response_header and innetgroup_response_header
29964 elements.
29965 * nscd/nscd.conf: Add entries for netgroup cache.
29966 * nscd/nscd.h (dbtype): Add netgrdb.
29967 (_PATH_NSCD_NETGROUP_DB): Define.
29968 (netgroup_iov_disabled): Declare.
29969 (xmalloc, xcalloc, xrealloc): Move declarations here.
29970 (cache_search): Adjust prototype.
29971 Add netgroup-related prototypes.
29972 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29973 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29974 (__nscd_innetgr): Declare.
29975 * nscd/selinux.c (perms): Use access_vector_t as element type and
29976 add netgroup-related initializers.
29977 * nscd/netgroupcache.c: New file.
29978 * nscd/nscd_netgroup.c: New file.
29979 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29980 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29981 For four parameters use innetgr.
29982 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29983 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29984 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29985 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29986
21fd49a9
UD
29987 * nscd/connections.c (register_traced_file): Don't register file
29988 for disabled databases.
29989
054c0457
UD
299902011-10-06 Ulrich Drepper <drepper@gmail.com>
29991
32b63198
UD
29992 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29993
054c0457
UD
29994 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29995 from tree and freeing node.
29996
64031225
JO
299972011-09-25 Jiri Olsa <jolsa@redhat.com>
29998
29999 * nss/nsswitch.c (__nss_database_lookup): Handle
30000 nss_parse_service_list out of memory case.
30001
0490345c
JO
300022011-09-15 Jiri Olsa <jolsa@redhat.com>
30003
30004 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30005 out of memory case.
30006
3a62d00d
AS
300072011-10-04 Andreas Schwab <schwab@redhat.com>
30008
30009 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30010 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30011 pass it down.
30012 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30013 elf_machine_rela, elf_machine_lazy_rel.
30014 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30015 (ELF_DYNAMIC_DO_REL): Likewise.
30016 (ELF_DYNAMIC_DO_RELA): Likewise.
30017 (ELF_DYNAMIC_RELOCATE): Likewise.
30018 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30019 to ELF_DYNAMIC_DO_REL.
30020 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30021 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30022 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30023 elf_machine_rela.
30024 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30025 skip_ifunc, don't call ifunc function if non-zero.
30026 (elf_machine_rela): Likewise.
30027 (elf_machine_lazy_rel): Likewise.
30028 (elf_machine_lazy_rela): Likewise.
30029 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30030 (elf_machine_lazy_rel): Likewise.
30031 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30032 Likewise.
30033 (elf_machine_lazy_rel): Likewise.
30034 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30035 Likewise.
30036 (elf_machine_lazy_rel): Likewise.
30037 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30038 (elf_machine_lazy_rel): Likewise.
30039 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30040 (elf_machine_lazy_rel): Likewise.
30041 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30042 (elf_machine_lazy_rel): Likewise.
30043 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30044 (elf_machine_lazy_rel): Likewise.
30045 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30046 (elf_machine_lazy_rel): Likewise.
30047 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30048 (elf_machine_lazy_rel): Likewise.
30049
68577918
UD
300502011-09-28 Ulrich Drepper <drepper@gmail.com>
30051
30052 * nss/nss_files/files-init.c (_nss_files_init): Use static
30053 initialization for all the *_traced_file variables.
30054
68822d74
AS
300552011-09-28 Andreas Schwab <schwab@redhat.com>
30056
30057 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30058
2056100b
RM
300592011-09-27 Roland McGrath <roland@hack.frob.com>
30060
30061 [BZ #13226]
30062 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30063
32c76b63
AS
300642011-09-27 Andreas Schwab <schwab@redhat.com>
30065
30066 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30067 Reread the line before reparsing it.
30068
bf972c9d
AS
300692011-09-26 Andreas Schwab <schwab@redhat.com>
30070
30071 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30072
e057a1b5
JM
300732011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30074 Maxim Kuvyrkov <maxim@codesourcery.com>
30075 Joseph Myers <joseph@codesourcery.com>
30076
30077 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30078 if needed for __stack_chk_guard.
30079
bc7e1c36
RM
300802011-09-19 Roland McGrath <roland@hack.frob.com>
30081
ecb1482f
RM
30082 * sysdeps/posix/spawni.c (script_execute): Always define it.
30083 It will be optimized away if unused.
30084 (maybe_script_execute): New function.
30085 (__spawni): Call it.
30086
bc7e1c36
RM
30087 * Makerules: Don't include tls.make.
30088 (config-tls): Always set to thread.
30089 * tls.make.c: File removed.
30090
1c3b002b
MF
300912011-09-19 Mike Frysinger <vapier@gentoo.org>
30092
30093 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30094 * config.make.in (CPPFLAGS-config): New substituted variable.
30095
2840865d
UD
300962011-09-15 Ulrich Drepper <drepper@gmail.com>
30097
88738eb6
UD
30098 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30099
cbf645a6 30100 [BZ #13192]
2840865d
UD
30101 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30102 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30103
b402e91a
RM
301042011-09-15 Roland McGrath <roland@hack.frob.com>
30105
30106 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30107 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30108 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30109 (CALL_FAIL): Likewise.
30110 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30111 (CALL_FAIL): Macro removed.
30112 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30113
4c1a1f71
UD
301142011-09-15 Ulrich Drepper <drepper@gmail.com>
30115
30116 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30117 for __FINITE_MATH_ONLY__ == 1.
30118
edc121be
AS
301192011-09-15 Andreas Schwab <schwab@redhat.com>
30120
30121 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30122 __ieee754_sqrt instead of sqrt.
30123 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30124 __ieee754_sqrtf instead of sqrtf.
30125 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30126 __floorf instead of floorf.
30127 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30128 __floorf, __truncf instead of floorf, truncf.
30129
cd205654
UD
301302011-09-14 Ulrich Drepper <drepper@gmail.com>
30131
ee4d0315
UD
30132 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30133
cd205654
UD
30134 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30135 __extern_always_inline.
30136 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30137 32-bit.
30138
48b67d71
AS
301392011-09-14 Andreas Schwab <schwab@redhat.com>
30140
30141 * elf/rtld.c (dl_main): Also relocate in dependency order when
30142 doing symbol dependency testing.
30143
1ae12c75
AS
301442011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30145
30146 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30147 Always define `refsym'.
30148
995a80df
AS
301492011-09-13 Andreas Schwab <schwab@redhat.com>
30150
e529793b
AS
30151 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30152 (__FD_ELT): Renamed from __FDELT.
30153 * misc/bits/select2.h (__FD_ELT): Likewise.
30154 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30155 __FD_MASK instead of __FDELT, __FDMASK.
30156 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30157 Likewise.
30158 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30159 Likewise.
30160
52d4fef8
AS
30161 * elf/Makefile (gen-ldd): Fix pattern.
30162
995a80df
AS
30163 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30164 (init_tls): Likewise.
30165
8682f8b0
UD
301662011-09-12 Ulrich Drepper <drepper@gmail.com>
30167
30168 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30169
de82006d
AS
301702011-09-12 Andreas Schwab <schwab@redhat.com>
30171
a7c8e6a1
AS
30172 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30173 `struct cmsghdr *' instead of `void *'.
30174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30175 Likewise.
30176
0f31fe77
AS
301772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30178
30179 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30180 if non-absolute.
30181 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30182 ldd_rewrite_script.
0f31fe77 30183
32b4c839
UD
301842011-09-11 Ulrich Drepper <drepper@gmail.com>
30185
83cd1420
UD
30186 * configure.in: Remove --with-tls option.
30187 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30188 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30189 out in case it is missing.
30190 * sysdeps/ia64/elf/configure.in: Likewise.
30191 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30192 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30193 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30194 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30195 * sysdeps/sh/elf/configure.in: Likewise.
30196 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30197 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30198 * sysdeps/x86_64/elf/configure.in: Likewise.
30199 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30200 * sysdeps/mach/hurd/tls.h: Likewise.
30201
633f745d
UD
30202 [BZ #13067]
30203 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30204
f318beb8
UD
30205 [BZ #13090]
30206 * configure.in: Fix use of AC_INIT.
30207
32b4c839
UD
30208 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30209
3ce1f295
UD
302102011-09-10 Ulrich Drepper <drepper@gmail.com>
30211
bb016596
UD
30212 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30213 __set_errno.
8e58439c
UD
30214 * malloc/hooks.c: Likewise.
30215
aebae053 30216 [BZ #11929]
02d46fc4
UD
30217 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30218 variables statically.
30219 (narenas): Initialize.
30220 (list_lock): Initialize.
bb016596
UD
30221 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30222 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30223 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30224 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30225 Add initializers to main_arena and mp_.
30226 (malloc_state): Remove pagesize member. Change all users to use
30227 GLRO(dl_pagesize).
30228
30229 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30230 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30231 is always initialized.
30232
22a89187
UD
30233 * malloc/malloc.c: Removed unused configurations and dead code.
30234 * malloc/arena.c: Likewise.
30235 * malloc/hooks.c: Likewise.
02d46fc4 30236 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30237
d063d164
UD
30238 * include/tls.h: Removed. USE___THREAD must always be defined.
30239 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30240 * elf/dl-libc.c: Likewise.
30241 * elf/dl-tsd.c: Likewise.
30242 * include/errno.h: Likewise.
30243 * include/netdb.h: Likewise.
30244 * include/resolv.h: Likewise.
30245 * inet/herrno-loc.c: Likewise.
30246 * inet/herrno.c: Likewise.
30247 * malloc/arena.c: Likewise.
30248 * malloc/hooks.c: Likewise.
30249 * malloc/malloc.c: Likewise.
30250 * resolv/res-state.c: Likewise.
30251 * resolv/res_libc.c: Likewise.
30252 * sysdeps/i386/dl-machine.h: Likewise.
30253 * sysdeps/ia64/dl-machine.h: Likewise.
30254 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30255 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30256 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30257 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30258 * sysdeps/sh/dl-machine.h: Likewise.
30259 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30260 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30261 * sysdeps/unix/i386/sysdep.S: Likewise.
30262 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30263 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30264 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30266 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30267 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30268 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30269 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30270 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30272 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30273 * sysdeps/x86_64/dl-machine.h: Likewise.
30274 * tls.make.c: Likewise.
30275
3ce1f295
UD
30276 * configure.in: Remove --with-__thread option. Make tests for
30277 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30278 tls_model attribute fail if no support is available. Remove
30279 USE_IN_LIBIO.
30280 * Makeconfig: Adjust for dropped configure option. All features are
30281 now mandatory.
30282 * Makerules: Likewise.
30283 * Versions.def: Likewise.
30284 * argp/argp-fmtstream.c: Likewise.
30285 * argp/argp-fmtstream.h: Likewise.
30286 * argp/argp-help.c: Likewise.
30287 * assert/assert.c: Likewise.
30288 * config.h.in: Likewise.
30289 * config.make.in: Likewise.
30290 * configure: Likewise.
30291 * configure.in: Likewise.
30292 * csu/Versions: Likewise.
30293 * csu/init.c: Likewise.
30294 * elf/tst-audit2.c: Likewise.
30295 * elf/tst-tls10.c: Likewise.
30296 * elf/tst-tls10.h: Likewise.
30297 * elf/tst-tls11.c: Likewise.
30298 * elf/tst-tls12.c: Likewise.
30299 * elf/tst-tls14.c: Likewise.
30300 * elf/tst-tlsmod11.c: Likewise.
30301 * elf/tst-tlsmod12.c: Likewise.
30302 * elf/tst-tlsmod13.c: Likewise.
30303 * elf/tst-tlsmod13a.c: Likewise.
30304 * elf/tst-tlsmod14a.c: Likewise.
30305 * elf/tst-tlsmod15b.c: Likewise.
30306 * elf/tst-tlsmod16a.c: Likewise.
30307 * elf/tst-tlsmod16b.c: Likewise.
30308 * elf/tst-tlsmod7.c: Likewise.
30309 * elf/tst-tlsmod8.c: Likewise.
30310 * elf/tst-tlsmod9.c: Likewise.
30311 * gmon/gmon.c: Likewise.
30312 * grp/fgetgrent_r.c: Likewise.
30313 * grp/putgrent.c: Likewise.
30314 * hurd/fopenport.c: Likewise.
30315 * include/libc-symbols.h: Likewise.
30316 * include/tls.h: Likewise.
30317 * intl/gettextP.h: Likewise.
30318 * intl/loadinfo.h: Likewise.
30319 * locale/global-locale.c: Likewise.
30320 * locale/localeinfo.h: Likewise.
30321 * mach/devstream.c: Likewise.
30322 * malloc/arena.c: Likewise.
30323 * malloc/set-freeres.c: Likewise.
30324 * misc/err.c: Likewise.
30325 * misc/getttyent.c: Likewise.
30326 * misc/mntent_r.c: Likewise.
30327 * posix/getopt.c: Likewise.
30328 * posix/wordexp.c: Likewise.
30329 * pwd/fgetpwent_r.c: Likewise.
30330 * resolv/Versions: Likewise.
30331 * resolv/res_hconf.c: Likewise.
30332 * shadow/fgetspent_r.c: Likewise.
30333 * shadow/putspent.c: Likewise.
30334 * stdio-common/printf_fphex.c: Likewise.
30335 * stdio-common/tmpfile.c: Likewise.
30336 * stdlib/abort.c: Likewise.
30337 * stdlib/fmtmsg.c: Likewise.
30338 * sunrpc/auth_unix.c: Likewise.
30339 * sunrpc/clnt_perr.c: Likewise.
30340 * sunrpc/clnt_tcp.c: Likewise.
30341 * sunrpc/clnt_udp.c: Likewise.
30342 * sunrpc/clnt_unix.c: Likewise.
30343 * sunrpc/openchild.c: Likewise.
30344 * sunrpc/svc_simple.c: Likewise.
30345 * sunrpc/svc_tcp.c: Likewise.
30346 * sunrpc/svc_udp.c: Likewise.
30347 * sunrpc/svc_unix.c: Likewise.
30348 * sunrpc/xdr.c: Likewise.
30349 * sunrpc/xdr_array.c: Likewise.
30350 * sunrpc/xdr_rec.c: Likewise.
30351 * sunrpc/xdr_ref.c: Likewise.
30352 * sunrpc/xdr_stdio.c: Likewise.
30353
1248c1c4
PB
303542011-09-09 Ulrich Drepper <drepper@gmail.com>
30355
30356 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30357
303582011-07-03 Andreas Jaeger <aj@suse.de>
30359
30360 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30361 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30362 regenerate with gen-libm-tests.pl.
30363
303642010-05-12 Petr Baudis <pasky@suse.cz>
30365
30366 [BZ #11589]
30367 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30368 around j0() zero points by switching to j1().
30369 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30370 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30371 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30372 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30373
f22e1074
UD
303742011-09-09 Ulrich Drepper <drepper@gmail.com>
30375
f19009c1
UD
30376 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30377 instead of 0.
30378 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30379 instead of 0.
f19009c1
UD
30380 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30381 Patch in part by Pavel Roskin <proski@gnu.org>.
30382
3f8cc204
UD
30383 [BZ #13138]
30384 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30385 realloc.
30386 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30387 Free memory block if necessary.
30388
f22e1074
UD
30389 [BZ #12847]
30390 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30391 be NULL. Don't lock in this case.
30392
0a2349f9
RM
303932011-09-09 Roland McGrath <roland@hack.frob.com>
30394
30395 * elf/elf.h (ELFOSABI_GNU): New macro.
30396 (ELFOSABI_LINUX): Define to that.
30397
f3cdd467
DZ
303982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30399
30400 * string/strncat.c (strncat): Undef the symbol in case it has been
30401 defined in bits/string.h.
30402
74718d13
UD
304032011-09-09 Ulrich Drepper <drepper@gmail.com>
30404
633e9e0f
UD
30405 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30406
0a2349f9 30407 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30408 link map.
30409
f9924780
AJ
304102011-08-17 Andreas Jaeger <aj@suse.de>
30411
30412 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30413
7f5517aa
PP
304142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30415 Ian Lance Taylor <iant@google.com>
30416
30417 * math/libm-test.inc (lround_test): New testcase.
30418 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30419
762011fe
UD
304202011-09-08 Ulrich Drepper <drepper@gmail.com>
30421
92963737
UD
30422 * Makefile: Remove support for automatic cvs check-ins.
30423 * Makerules: Likewise.
30424 * config.make.in: Likewise.
30425 * configure.in: Likewise.
30426 * intl/Makefile: Likewise.
30427 * locale/Makefile: Likewise.
30428 * po/Makefile: Likewise.
30429 * posix/Makefile: Likewise.
30430 * sysdeps/gnu/Makefile: Likewise.
30431 * sysdeps/mach/hurd/Makefile: Likewise.
30432 * sysdeps/sparc/sparc32/Makefile: Likewise.
30433
b0727fd8
JS
30434 [BZ #13118]
30435 * posix/Makefile (bug-regex32-ENV): Define.
30436 Patch by John Stanley <jpsinthemix@verizon.net>.
30437
a0f33f99
UD
30438 * misc/Makefile (headers): Add bits/select2.h.
30439 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30440 * misc/bits/select2.h: New file.
30441 * include/bits/select2.h: New file.
30442 * debug/Makefile (routines): Add fdelt_chk.
30443 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30444 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30445 FD_ISSET.
30446 * debug/fdelt_chk.c: New file.
30447
762011fe
UD
30448 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30449 * wcsmbs/test-wmemcmp.c: Likewise.
30450 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30451 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30452
304532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30454
30455 * string/Makefile (strop-tests): Add memcmp.
30456 * string/test-wmemcmp.c: New file.
30457 * string/test-memcmp.c: Add wmemcmp support.
30458
7f513ec8
RM
304592011-09-08 Roland McGrath <roland@hack.frob.com>
30460
0442afb4
RM
30461 [BZ #13153]
30462 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30463 2011-07-19 change.
30464
7f513ec8
RM
30465 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30466 garbage value in a __mach_port_mod_refs call in the cases of the
30467 task-self and thread-self ports.
30468
a12b2239
ST
304692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30470
30471 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30472
610f9ab4
AS
304732011-09-08 Andreas Schwab <schwab@redhat.com>
30474
7f513ec8 30475 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30476
48882a1a
LD
304772011-09-07 Ulrich Drepper <drepper@gmail.com>
30478
b49865be
UD
30479 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30480
fdc86bc9
UD
30481 * elf/dl-libc.c (dlerror_run): Pass back error code from
30482 dl_catch_error.
30483
c966526a
UD
30484 [BZ #13123]
30485 * elf/dl-load.c (lose): Free l_origin if it is valid.
30486
48882a1a
LD
30487 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30488 names.
30489 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30490 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30491 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30492 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30493 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30494 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30495
77a2a8b4
AZ
304962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30497
30498 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30499 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30500 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30501 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30502 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30503 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30504 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30505 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30506 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30507 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30508
24f579d8
AM
305092011-08-15 Alan Modra <amodra@gmail.com>
30510
30511 [BZ #13092]
30512 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30513 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30514 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30515 ppc_mcount to static-only-routines.
30516 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30517 __mcount_internal.
30518 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30519 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30520
3d4837df
UD
305212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30522
30523 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30524 for finite and infinity parameters.
30525
22700377
WS
305262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30527
30528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30529 and add nop instructions for throughput optimization.
30530 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30531
5025581e
WS
305322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30533
30534 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30535 aligned copy for power7 with vector-scalar instructions.
30536 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30537
08a300c9
L
305382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30539
30540 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30541 AVX check.
30542
59178ef9
AS
305432011-09-07 Andreas Schwab <schwab@redhat.com>
30544
30545 [BZ #13144]
30546 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30547 last change.
30548
e38ba7ab
UD
305492011-09-07 Ulrich Drepper <drepper@gmail.com>
30550
30551 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30552 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30553 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30554 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30555 clock_gettime.
30556
d53a73ac
UD
305572011-09-06 Ulrich Drepper <drepper@gmail.com>
30558
fc8bffcc
UD
30559 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30560 Forgot to demangle the pointer.
30561
ceaa0c5d
UD
30562 * sysdeps/i386/sysdep.h: Define atom_text_section.
30563 * sysdeps/x86_64/sysdep.h: Likewise.
30564 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30565 section with atom_text_section.
30566 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30567 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30568 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30569 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30570 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30571
a77d3c17
UD
30572 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30573 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30574 already be defined. Change to take two parameters and don't assign
30575 result to variable. Adjust all users.
30576 Define INTERNAL_GETTIME if not already defined.
30577 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30578 call.
30579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30580 HAVE_CLOCK_GETTIME_VSYSCALL.
30581 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30582
d53a73ac
UD
30583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30584 gettimeofday vsyscall, just use time.
30585
a8f84144
AS
305862011-09-06 Andreas Schwab <schwab@redhat.com>
30587
30588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30589 <errno.h>.
30590
ef606249
UD
305912011-09-06 Ulrich Drepper <drepper@gmail.com>
30592
30593 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30594 syscall on x86-64.
30595 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30596 syscall.
30597 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30598 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30599 syscall if possible.
30600
6585cb60
UD
306012011-09-05 Ulrich Drepper <drepper@gmail.com>
30602
30603 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30604 e_ident. Don't pass to find_mapsXX.
30605 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30606
a5f524e4
LD
306072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30608
30609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30610 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30611 * sysdeps/x86_64/multiarch/strchr.S: Update.
30612 Check bit_slow_BSF bit.
30613 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30614 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30615 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30616
554881ef
UD
306172011-09-05 Ulrich Drepper <drepper@gmail.com>
30618
d96de963
UD
30619 [BZ #13134]
30620 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30621 before glibc 2.15.
30622 (tryshell): Define.
30623 (__spawni): Change last parameter to be flag. Test
30624 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30625 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30626 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30627 * posix/spawni.c: Likewise.
30628 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30629 * posix/spawnp.c: Likewise. Change normal version to use
30630 SPAWN_XFLAGS_USE_PATH.
30631 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30632 SPAWN_XFLAGS_TRY_SHELL.
30633
d48e5868
UD
30634 [BZ #13150]
30635 * posix/glob.h: Remove gcc 1.x support.
30636
554881ef
UD
30637 [BZ #13068]
30638 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30639
693fb948
LD
306402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30641
30642 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30643 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30644 strrchr-sse2-bsf
30645 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30646 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30647 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30648 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30649 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30650 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30651
1b48c537
UD
306522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30653
49d42c37
UD
30654 * sysdeps/x86_64/wcscmp.S: New file.
30655
1b48c537
UD
30656 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30657 wcscmp-c wcscmp-sse2
30658 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30659 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30660 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30661 * wcsmbs/wcscmp.c: Allow renaming.
30662
15c95c5d
DM
306632011-09-05 David S. Miller <davem@davemloft.net>
30664
30665 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30666 stack slot, rather than the struct return pointer slot.
30667 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30668 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30670 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30671
2f0ad8f3
UD
306722011-09-05 Ulrich Drepper <drepper@gmail.com>
30673
d88ae418
UD
30674 * po/ja.po: Update from translation team.
30675
2f0ad8f3
UD
30676 [BZ #13144]
30677 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30678 kernel in 64-bit binaries.
30679
5f4318d1
DM
306802011-09-01 David S. Miller <davem@davemloft.net>
30681
30682 * elf/elf.h (HWCAP_SPARC_*): Move to..
30683 * sysdeps/sparc/sysdep.h: this new file and add new values.
30684 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30685 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30686 _DL_HWCAP_COUNT to 24.
30687 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30688 entries.
30689 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30690 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30691 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30693 instead of magic constants.
30694 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30695
3ba57516
DM
306962011-08-31 David S. Miller <davem@davemloft.net>
30697
30698 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30699 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30700 Reimplement to do errno handling inline.
30701 (SYSCALL_ERROR_HANDLER): New macro.
30702 (__SYSCALL_STRING): Do not do errno handling in asm.
30703 (__CLONE_SYSCALL_STRING): Delete.
30704 (__INTERNAL_SYSCALL_STRING): Delete.
30705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30706 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30707 (PSEUDO): Reimplement to do errno handling inline.
30708 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30709 (SYSCALL_ERROR_HANDLER): New macro.
30710 (__SYSCALL_STRING): Do not do errno handling in asm.
30711 (__CLONE_SYSCALL_STRING): Delete.
30712 (__INTERNAL_SYSCALL_STRING): Delete.
30713 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30714 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30715 i386.
30716 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30717 (inline_syscall*): Add 'err' argument.
30718 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30719 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30720 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30721 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30722
30723 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30724 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30725
2bc17433
AS
307262011-08-30 Andreas Schwab <schwab@redhat.com>
30727
30728 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30729
fbeb5f4d
JO
307302011-08-29 Jiri Olsa <jolsa@redhat.com>
30731
30732 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30733 directive.
30734
ad69cc26
DM
307352011-08-24 David S. Miller <davem@davemloft.net>
30736
30737 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30738
39dd69df
AS
307392011-08-24 Andreas Schwab <schwab@redhat.com>
30740
30741 * elf/Makefile: Add rules to build and run unload8 test.
30742 * elf/unload8.c: New file.
30743 * elf/unload8mod1.c: New file.
30744 * elf/unload8mod1x.c: New file.
30745 * elf/unload8mod2.c: New file.
30746 * elf/unload8mod3.c: New file.
30747
30748 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30749 it wasn't used.
30750
2c0b250a
DM
307512011-08-23 David S. Miller <davem@davemloft.net>
30752
30753 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30754 subtract stack bias.
30755 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30756 %sp not %fp in calculations.
30757 (_JMPBUF_UNWINDS_ADJ): Likewise.
30758
22044b48
DM
30759 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30760 (aio_suspend): Call it to force an exception region around the
30761 AIO_MISC_WAIT() invocation.
30762
2cae4995
AS
307632011-08-23 Andreas Schwab <schwab@redhat.com>
30764
30765 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30766 backslash.
30767
873a772e
AJ
307682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30769
30770 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30771 protection macro.
30772 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30773 and <dl-machine.h>.
30774 (Elf64_FuncDesc): Remove.
30775
25ad0df1
DM
307762011-08-22 David S. Miller <davem@davemloft.net>
30777
30778 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30779 sigaltstack check, add missing cfi directives.
30780 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30781 missing cfi directives, and sigaltstack handling.
30782
e888bcbe
AS
307832011-08-16 Andreas Schwab <schwab@redhat.com>
30784
30785 [BZ #11724]
30786 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30787 object is seen twice.
30788 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30789
30790 * elf/Makefile (distribute): Add tst-initorder2.c.
30791 (tests): Add tst-initorder2.
30792 (modules-names): Add tst-initorder2a tst-initorder2b
30793 tst-initorder2c tst-initorder2d. Add rules to build them.
30794 ($(objpfx)tst-initorder2.out): New rule.
30795 * elf/tst-initorder2.c: New file.
30796 * elf/tst-initorder2.exp: New file.
30797
87162f46
AS
307982011-08-22 Andreas Schwab <schwab@redhat.com>
30799
70538b7f
AS
30800 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30801
f55ffe58
AS
30802 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30803 dependencies back to end of function.
30804
87162f46
AS
30805 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30806 $(elfobjdir)/ld.so.
30807
91b392a4
UD
308082011-08-21 Ulrich Drepper <drepper@gmail.com>
30809
30810 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30811 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30813 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30814 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30815 of __vdso_gettimeofday.
30816 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30817 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30818 attribute_hidden.
30819 (_libc_vdso_platform_setup): Remove initialization of
30820 __vdso_gettimeofday and __vdso_time.
30821
5c43483f
UD
308222011-08-20 Ulrich Drepper <drepper@gmail.com>
30823
775a77e7
UD
30824 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30825 and fgetc_unlocked.
30826 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30827 getc_unlocked.
89f447ed 30828
49c74ba9
UD
30829 * elf/dl-open.c (add_to_global): Report additions to the global scope
30830 for LD_DEBUG=scopes.
30831 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30832 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30833
5c43483f
UD
30834 [BZ #13114]
30835 * stdio-common/Makefile (tests): Add bug24.
30836 * stdio-common/bug24.c: New file.
30837
a101b025
AJ
308382011-08-19 Andreas Jaeger <aj@suse.de>
30839
30840 [BZ #13114]
30841 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30842 non-existant file when using close-on-exec mode.
30843
c88f1766
UD
308442011-08-20 Ulrich Drepper <drepper@gmail.com>
30845
0276a718
UD
30846 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30847 the very first instruction.
30848
c88f1766
UD
30849 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30850 the CFI state in the end.
30851 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30852 inclusion of dl-trampoline.h.
30853 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30854
51ccffa0
AS
308552011-08-19 Andreas Schwab <schwab@redhat.com>
30856
94d7165f
AS
30857 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30858 expectations for long double.
30859
51ccffa0
AS
30860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30861 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30862
fd708658 308632011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30864
30865 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30866 artificual limit depends upon the system page size.
30867
44f0a71e
UD
308682011-08-17 Ulrich Drepper <drepper@gmail.com>
30869
30870 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30871 * resolv/Makefile: Define CFLAGS-libresolv.
30872
8de79a24
AS
308732011-08-17 Andreas Schwab <schwab@redhat.com>
30874
30875 * nss/makedb.c (compute_tables): Make variables used in nested
30876 function static.
30877
27724598
UD
308782011-08-17 Ulrich Drepper <drepper@gmail.com>
30879
c5305d88
UD
30880 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30881 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30882 if buffer was too small.
30883
27724598
UD
30884 * elf/pldd.c (main): Attach to all threads in the process.
30885 Rewrite /proc handling to use *at functions.
30886
076fe015
UD
308872011-08-16 Ulrich Drepper <drepper@gmail.com>
30888
174baab3
UD
30889 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30890 specifies first scope to show.
30891 (dl_open_worker): Update callers. Move printing scope of new
30892 object to before the relocation.
44f0a71e 30893 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30894 * sysdeps/generic/ldsodefs.h: Update declaration.
30895
076fe015
UD
30896 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30897 string for the scope number.
30898
a60df2c3
UD
308992011-08-14 Ulrich Drepper <drepper@gmail.com>
30900
30901 * nscd/servicescache.c (cache_addserv): Make sure written is always
30902 initialized.
30903
5e4287d1
RM
309042011-08-14 Roland McGrath <roland@hack.frob.com>
30905
85ae0589
RM
30906 * sysdeps/i386/i486/bits/atomic.h
30907 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30908 statement expression, so as to suppress "set but not used" warning.
30909 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30910
69f63097
RM
30911 * string/strncat.c (STRNCAT): Use prototype definition.
30912
675456ef
RM
30913 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30914 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30915 -Iprograms here.
30916 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30917 (localedef-modules): Add localedef.
30918 (locale-modules): Add locale.
30919
5e4287d1
RM
30920 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30921 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30922 to avoid a warning.
30923
9c96ff23
DM
309242011-08-14 David S. Miller <davem@davemloft.net>
30925
30926 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30927 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30928
f9ddf089
UD
309292011-08-13 Ulrich Drepper <drepper@gmail.com>
30930
44f0a71e 30931 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30932 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30933 * elf/rtld.c (dl_main): Set l_name of vDSO.
30934 Call _dl_show_scope when DL_DEBUG_SCOPES.
30935 (process_dl_debug): Recognize scopes flag and also set it for all.
30936 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30937 Declare _dl_show_scope.
30938
1dc27704
UD
30939 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30940 (do_dlopen): Pass caller_dlopen to dl_open.
30941 (__libc_dlopen_mode): Initialize caller_dlopen.
30942
f9ddf089
UD
30943 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30944 of libc. Make tolower call locale-independent. Optimize a bit by
30945 using isdigit instead of isalnum.
30946 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30947
9ac533d3
UD
309482011-08-12 Ulrich Drepper <drepper@gmail.com>
30949
30950 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30951 was a dependency or dynamically loaded.
30952
89edf2e9
UD
309532011-08-11 Ulrich Drepper <drepper@gmail.com>
30954
8e999d29
UD
30955 * intl/l10nflist.c: Allow architecture-specific pop function.
30956 * sysdeps/x86_64/l10nflist.c: New file.
30957
89edf2e9
UD
30958 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30959 classification.
30960
14d96785
AS
309612011-08-10 Andreas Schwab <schwab@redhat.com>
30962
30963 * include/dirent.h: Add libc_hidden_proto for scandirat and
30964 scandirat64. Don't declare __scandirat64.
30965 * dirent/scandirat.c: Add libc_hidden_def.
30966 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30967 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30968
6761ac04
DM
309692011-08-10 David S. Miller <davem@davemloft.net>
30970
30971 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30972 enum.
30973 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30974 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30975 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30976
c55fbd1e
UD
309772011-08-09 Ulrich Drepper <drepper@gmail.com>
30978
30979 * Versions.def [libc]: Add GLIBC_2.15.
30980 * dirent/Makefile (routines): Add scandirat and scandirat64.
30981 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30982 GLIBC_2.15.
30983 * dirent/dirent.h: Declare scandirat and scandirat64.
30984 * dirent/scandirat.c: New file.
30985 * dirent/scandirat64.c: New file.
30986 * sysdeps/wordsize-64/scandirat.c: New file.
30987 * sysdeps/wordsize-64/scandirat64.c: New file.
30988 * dirent/opendir.c: Define opendirat.
30989 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30990 using scandirat.
30991 * dirent/scandir64.c: Adjust for scandir.c change.
30992 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30993 __scandirat64, and __scandir_cancel_handler.
30994 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30995 additional parameter and use openat instead of open (outside of ld.so).
30996 Add new __opendir as wrapper around __opendirat.
30997 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30998 here without requiring old scandirat implementation.
30999
879165f2
UD
310002011-08-08 Ulrich Drepper <drepper@gmail.com>
31001
31002 * dirent/scandir.c (cancel_handler): Renamed to
31003 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31004 defined. Adjust users.
31005 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31006 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31007
cb7e923b
UD
310082011-08-04 Ulrich Drepper <drepper@gmail.com>
31009
16292edd
UD
31010 * string/test-string.h (IMPL): Use __STRING to expand name and then
31011 stringify it.
31012
cb7e923b
UD
31013 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31014 of cleanups.
31015
cff82933
LD
310162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31017
31018 * string/Makefile: Update.
31019 (strop-tests): Append strncat.
31020 * string/test-wcscmp.c: New file.
31021 New comprehensive test for wcscmp.
31022 * string/test-strcmp.c: Update.
31023 (WIDE): New define.
31024
9be9bfcc
AS
310252011-07-22 Andreas Schwab <schwab@redhat.com>
31026
31027 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31028 line.
31029
2e96f1c7
AS
310302011-07-26 Andreas Schwab <schwab@redhat.com>
31031
31032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31033 encoding to ACE if AI_IDN.
31034
85188888
JJ
310352011-08-01 Jakub Jelinek <jakub@redhat.com>
31036
31037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31038 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31039
5fa16e9b
LD
310402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31041
31042 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31043 Fix overflow bug in strncat.
31044 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31045
31046 * string/test-strncat.c: Update.
31047 Add new tests for checking overflow bugs.
31048
310492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31050
31051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31052 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31053 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31054 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31055 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31056 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31057 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31058 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31059 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31060
31061 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31062 (USE_AS_STRCAT): Define.
31063 Add strcat and strncat support.
31064 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31065
8c1a459f
AS
310662011-07-25 Andreas Schwab <schwab@redhat.com>
31067
31068 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31069 __n bigger than INT_MAX+1.
31070 (__strncmp_g): Likewise.
31071
bba33c28
UD
310722011-07-23 Ulrich Drepper <drepper@gmail.com>
31073
798be72d
UD
31074 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31075 * libio/stido.h: Likewise.
31076
8accd4dc
UD
31077 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31078 (AF_NFC): Define.
31079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31080 (AF_NFC): Define.
31081
cbff0d96
UD
31082 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31083 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31084 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31085 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31086 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31087
9191c04a
UD
31088 [BZ #13021]
31089 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31090 installed.
31091
bba33c28
UD
31092 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31093 typo.
31094 (_dl_x86_64_save_sse): Likewise.
31095
90f139dd
UD
310962011-07-22 Ulrich Drepper <drepper@gmail.com>
31097
1aae088a
UD
31098 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31099 OSXSAVE.
31100 (_dl_x86_64_save_sse): Likewise.
31101
8e2045f5
UD
31102 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31103
90f139dd
UD
31104 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31105
1d002f25
AS
311062011-07-21 Andreas Schwab <schwab@redhat.com>
31107
31108 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31109 change.
31110 (_dl_x86_64_save_sse): Use correct AVX check.
31111
21137f89
UD
311122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31113
31114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31115 bug in strncpy/strncat.
31116 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31117
a65c0b7a
UD
311182011-07-21 Ulrich Drepper <drepper@gmail.com>
31119
31120 * string/tester.c (test_strcat): Add tests for different alignments
31121 of source and destination.
31122 (test_strncat): Likewise.
31123
6986b98a
UD
311242011-07-20 Ulrich Drepper <drepper@gmail.com>
31125
90bb2039
UD
31126 [BZ #12852]
31127 * posix/glob.c (glob): Check passed in values before using them in
31128 expressions to avoid some overflows.
31129 (glob_in_dir): Likewise.
31130
5644ef54
UD
31131 [BZ #13007]
31132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31133 check for AVX enablement so that we don't crash with old kernels and
31134 new hardware.
31135 * elf/tst-audit4.c: Add same checks here.
31136 * elf/tst-audit6.c: Likewise.
31137
31138 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31139
bfc9dc9b
AS
311402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31141
31142 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31143
702e64bb
UD
311442011-07-20 Ulrich Drepper <drepper@gmail.com>
31145
31146 * po/cs.po: Update from translation team.
31147 * po/bg.po: Likewise.
31148
295e904f
MP
311492011-07-12 Marek Polacek <mpolacek@redhat.com>
31150
31151 * misc/sys/cdefs.h: Add support for const attribute.
31152 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31153 to gnu_dev_{major,minor,makedev} functions.
31154
3ff94596
MP
311552011-07-20 Marek Polacek <mpolacek@redhat.com>
31156
31157 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31158
28b59fca
AS
311592011-07-20 Andreas Schwab <schwab@redhat.com>
31160
31161 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31162 strlen results.
31163
19df733e
AK
311642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31165
31166 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31167 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31168 register in order to avoid conflicts with the soft frame pointer
31169 being held in r11 when necessary.
31170 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31171 (INTERNAL_VSYSCALL_NCS): Likewise.
31172
c8835729
MP
311732011-07-14 Marek Polacek <mpolacek@redhat.com>
31174
31175 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31176 * elf/dl-fini.c (_dl_fini): Adjust caller.
31177 * elf/dl-close.c (_dl_close_worker): Likewise.
31178 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31179
b902330c
MP
311802011-07-15 Marek Polacek <mpolacek@redhat.com>
31181
8991e135
MP
31182 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31183 "aux_cache->nlibs < 0".
31184
b902330c
MP
31185 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31186 in the reload-count case.
31187
99710781
LD
311882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31189
31190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31191 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31192 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31193 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31194 * sysdeps/x86_64/multiarch/strcat.S: New file.
31195 * sysdeps/x86_64/multiarch/strncat.S: New file.
31196 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31197 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31198 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31199 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31200 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31201 (USE_AS_STRCAT): Define.
31202 Add strcat and strncat support.
31203 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31204 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31205 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31206 * string/strncat.c: Update.
31207 (USE_AS_STRNCAT): Define.
31208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31209 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31210 and i7.
31211 * sysdeps/x86_64/multiarch/init-arch.h
31212 (bit_Prefer_PMINUB_for_stringop): New.
31213 (index_Prefer_PMINUB_for_stringop): Likewise.
31214 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31215 bit_Prefer_PMINUB_for_stringop.
31216
7dc6bd90
UD
312172011-07-19 Ulrich Drepper <drepper@gmail.com>
31218
31219 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31220 buffer64.
31221 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31222 of casting of buffer.
31223 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31224 buffer32 and buffer64.
31225 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31226 writes instead of casting of buffer.
31227 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31228 buffer32.
31229 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31230 casting of buffer.
31231
e0e72284
AS
312322011-07-19 Andreas Schwab <schwab@redhat.com>
31233
31234 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31235
feb1eb0b
UD
312362011-07-19 Ulrich Drepper <drepper@gmail.com>
31237
31238 * nscd/nscd.c (termination_handler): Don't do anything for a database
31239 if it has not yet been initialized.
31240
298711ff
UD
312412011-07-18 Ulrich Drepper <drepper@gmail.com>
31242
31243 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31244
312452011-07-15 Marek Polacek <mpolacek@redhat.com>
31246
31247 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31248
f9d68389
UD
312492011-07-18 Ulrich Drepper <drepper@gmail.com>
31250
31251 * po/nl.po: Update from translation team.
31252 * po/sv.po: Likewise.
31253
db290cf5
RM
312542011-07-16 Roland McGrath <roland@hack.frob.com>
31255
31256 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31257 now disallowed by GCC.
5c550700 31258
fd5e21c7
RM
31259 * configure.in (use-default-link): Default to yes if a test -shared
31260 link meets our qualifications.
31261 * configure: Regenerated.
31262
5c550700
RM
31263 * config.make.in (output-format): New variable.
31264 * configure.in: Check for ld --print-output-format support.
31265 * configure: Regenerated.
31266 * Makerules ($(common-objpfx)format.lds)
31267 [$(output-format) != unknown]: Just use $(output-format),
31268 instead of the linker-script munging.
31269
9fa2c032
RM
312702011-07-14 Roland McGrath <roland@hack.frob.com>
31271
a6928d51
RM
31272 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31273 of $(common-objpfx)shlib.lds.
31274 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31275
661607b3
RM
31276 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31277 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31278
9fa2c032
RM
31279 * configure.in (-z relro check): Adjust test code to add a large
31280 writable data section after it.
31281 * configure: Regenerated.
31282
defe9061
RM
312832011-07-11 Roland McGrath <roland@hack.frob.com>
31284
31285 * configure.in (-z relro check): Fix test code to make the variable
31286 truly const.
31287 * configure: Regenerated.
31288
319b9ad4
UD
312892011-07-11 Ulrich Drepper <drepper@gmail.com>
31290
31291 * nscd/nscd.h (struct traced_file): Define.
31292 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31293 elements. Add traced_files.
31294 (inotify_fd): Declare.
31295 (register_traced_file): Declare.
31296 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31297 (inotify_fd): Export.
31298 (resolv_conf_descr): Remove.
31299 (nscd_init): Move inotify descriptor creation to main.
31300 Don't register files for notification here.
31301 (register_traced_file): New function.
31302 (invalidate_cache): Don't use reset_res to determine whether to call
31303 res_init, go through the list of registered files.
31304 (main_loop_poll): The inotify descriptors are now stored in the
31305 structures for the traced files.
31306 (main_loop_epoll): Likewise
31307 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31308 to __nss_disable_nscd.
31309 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31310 for a database anymore. Check the records for all the registered
31311 files instead.
31312 * nss/Makefile (libnss_files-routines): Add files-init.
31313 (libnss_db-routines): Add db-init.
31314 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31315 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31316 * nss/nss_db/db-init.c: New file.
31317 * nss/nss_files/files-init.c: New file.
31318 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31319 __nss_lookup_function.
31320 (__nss_lookup_function): Call nss_load_library.
31321 (nss_load_all_libraries): New function.
31322 (__nss_disable_nscd): Take parameter with callback function for files
31323 to register. Set is_nscd. Load all the DSOs for the NSS modules
31324 used for the cached services.
31325 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31326 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31327 options for features to all the files in nscd.
31328
31329 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31330
23bee3e8
RM
313312011-07-10 Roland McGrath <roland@hack.frob.com>
31332
31333 * csu/elf-init.c (__libc_csu_init): Comment typo.
31334
46a5b7f0
UD
313352011-07-09 Ulrich Drepper <drepper@gmail.com>
31336
31337 * po/pl.po: Update from translation team.
31338 * po/ja.po: Likewise.
31339 * po/ru.po: Likewise.
31340 * po/ko.po: Likewise.
31341 * po/fr.po: Likewise.
31342
d30cf5bb
RM
313432011-07-09 Roland McGrath <roland@hack.frob.com>
31344
113ddea4
RM
31345 * configure.in (.ctors/.dtors header and trailer check):
31346 Use an empirical test on a built program.
31347 * configure: Regenerated.
31348
574920b4
RM
31349 * configure.in (-z relro check): Use an empirical test on a built DSO.
31350 Detect, but do not require, on ia64.
31351 * configure: Regenerated.
31352
d30cf5bb
RM
31353 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31354 Update tests that use readelf to use $READELF instead.
31355 * configure: Regenerated.
31356
8538fdb3
UD
313572011-07-08 Ulrich Drepper <drepper@gmail.com>
31358
31359 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31360 if the result is not used.
31361
04d08991
AJ
313622011-07-05 Andreas Jaeger <aj@suse.de>
31363
31364 [BZ#9696]
31365 * stdlib/tst-strtod.c: Add testcase.
31366
de283087
AD
313672011-07-07 Ulrich Drepper <drepper@gmail.com>
31368
4e5f31c8 31369 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31370 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31371 The latter has a higher limit. Take additional parameter to pass to
31372 the new function.
31373 (__pathconf): Pass file to __statfs_link_max.
31374 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31375 __statfs_link_max.
31376 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31377 __statfs_link_max.
31378
de283087
AD
31379 [BZ #12868]
31380 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31381 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31382 Handle Lustre.
31383 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31384 (__statfs_filesize_max): Likewise.
31385 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31386
c75fa153
AJ
313872011-07-05 Andreas Jaeger <aj@suse.de>
31388
31389 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31390
1a544854
UD
313912011-07-06 Marek Polacek <mpolacek@redhat.com>
31392
31393 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31394 `status' variable.
31395 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31396 Likewise.
31397
6f0eec67
UD
313982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31399
31400 * Makefile (strop-tests): Add strncat.
31401 * string/test-strncat.c: New file.
31402
aae30307
UD
314032011-06-30 Marek Polacek <mpolacek@redhat.com>
31404
31405 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31406
c0cfb5eb
UD
314072011-06-21 Andreas Jaeger <aj@suse.de>
31408
31409 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31410 Copy rule from iconvdata/Makefile.
31411
01636b21
UD
314122011-07-06 Ulrich Drepper <drepper@gmail.com>
31413
31414 [BZ #12922]
31415 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31416 but no long options are defined, just return 'W'.
31417
9895c8bc
UD
314182011-06-22 Marek Polacek <mpolacek@redhat.com>
31419
31420 [BZ #9696]
31421 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31422
5d4cf042
UD
314232011-07-06 Ulrich Drepper <drepper@gmail.com>
31424
31425 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31426 netgroups to read.
960e5535 31427 (innetgr): Likewise.
5d4cf042 31428
751eb97e
RM
314292011-07-05 Roland McGrath <roland@hack.frob.com>
31430
31431 * config.make.in (install_root): Default to $(DESTDIR).
31432
f15f1e45
UD
314332011-07-05 Ulrich Drepper <drepper@gmail.com>
31434
31435 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31436
4e34ac6a
RM
314372011-07-02 Roland McGrath <roland@hack.frob.com>
31438
5e9b6af4
RM
31439 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31440
84f9ea0f
RM
31441 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31442 containing directory rather than embedding absolute directory names.
31443
ea5ee9f7
RM
31444 * scripts/check-local-headers.sh: Rewritten using awk.
31445 Match by word, not by line. Print error messages for matches.
31446 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31447
1b74661a
RM
31448 * Makerules [shlib-lds-flags empty]:
31449 ($(common-objpfx)libc_pic.opts): New target.
31450 ($(common-objpfx)libc_pic.os.clean): New target.
31451 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31452
31453 * config.make.in (OBJCOPY): New variable.
31454 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31455 * configure: Regenerated.
31456
f781ef40
RM
31457 * config.make.in (use-default-link): New variable.
31458 * configure.in (use_default_link): Grok --with-default-link to set it.
31459 * configure: Regenerated.
31460 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31461 (shlib-lds, shlib-lds-flags): Define to empty.
31462
2d4fa81e
RM
31463 * Makerules (shlib-lds): New variable.
31464 (shlib-lds-flags): New variable.
31465 (build-shlib, build-moduile, build-module-asneeded): Use it.
31466 ($(common-objpfx)libc.so): Use $(shlib-lds).
31467 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31468 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31469
31fffa6b
RM
31470 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31471 DT_FLAGS/DT_FLAGS_1 with zero flags.
31472
4e34ac6a
RM
31473 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31474 linker script munging.
31475
fcfc776b
UD
314762011-07-02 Ulrich Drepper <drepper@gmail.com>
31477
31478 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31479 as 128-bit value.
31480 * crypt/sha512.c (sha512_process_block): Perform total addition using
31481 128-bit if possible.
31482 (__sha512_finish_ctx): Likewise.
31483 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31484 as 64-bit value.
31485 * crypt/sha256.c (SWAP64): Define.
31486 (sha256_process_block): Perform total addition using 64-bit if
31487 possible.
31488 (__sha256_finish_ctx): Likewise.
31489
99231d9a
UD
314902011-07-01 Ulrich Drepper <drepper@gmail.com>
31491
31492 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31493 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31494 * nscd/hstcache.c (cache_addhst): Likewise.
31495 * nscd/grpcache.c (cache_addgr): Likewise.
31496 * nscd/aicache.c (addhstaiX): Likewise
31497 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31498
445b4a53
TK
314992011-07-01 Thorsten Kukuk <kukuk@suse.de>
31500
31501 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31502 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31503 * nscd/hstcache.c (cache_addhst): Likewise.
31504 * nscd/grpcache.c (cache_addgr): Likewise.
31505 * nscd/aicache.c (addhstaiX): Likewise
31506
6d4d8e8e
AS
315072011-07-01 Andreas Schwab <schwab@redhat.com>
31508
31509 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31510 domain only when needed.
31511
89f654c5
AS
315122011-06-30 Andreas Schwab <schwab@redhat.com>
31513
31514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31515 is always restored.
31516
cf3b23ff
UD
315172011-06-29 Ulrich Drepper <drepper@gmail.com>
31518
31519 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31520 are re-adding the entry.
31521 * nscd/servicescache.c (cache_addserv): Likewise.
31522
751626f9
AJ
315232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31524
31525 * sysdeps/generic/dl-irel.h: fix protection against multiple
31526 inclusions.
31527 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31528
9113ea1f
UD
315292011-06-28 Ulrich Drepper <drepper@gmail.com>
31530
5c0b8d90
UD
31531 [BZ #12935]
31532 * malloc/memusage.sh: Fix quoting in message.
31533 * debug/xtrace.sh: Likewise.
31534
9113ea1f
UD
31535 * configure.in: Remove support for --experimental-malloc option, make
31536 it the default.
31537 * config.make.in: Likewise.
31538 * malloc/Makefile: Likewise.
31539
a4172181
AS
315402011-06-27 Andreas Schwab <schwab@redhat.com>
31541
31542 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31543 two-byte characters.
31544
78a7eee7
RM
315452011-06-27 Roland McGrath <roland@hack.frob.com>
31546
62bede13
RM
31547 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31548 AC_CACHE_CHECK invocation.
31549 * configure: Regenerated.
31550
78a7eee7
RM
31551 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31552
5ce33a62
UD
315532011-06-27 Ulrich Drepper <drepper@gmail.com>
31554
034807a9
UD
31555 [BZ #12350]
31556 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31557 bit from old_res_options.
31558
4902da17
UD
31559 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31560
5ce33a62
UD
31561 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31562 value type for setfct.
31563
c2344f56
L
315642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31565
31566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31567 __gettimeofday instead of gettimeofday.
31568
68468076
UD
315692011-06-26 Ulrich Drepper <drepper@gmail.com>
31570
31571 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31572
acb0d739
L
315732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31574
31575 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31576
31577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31578 info.
31579
8912479f
L
315802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31581
31582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31583 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31584 strcpy-sse2-unaligned strncpy-sse2-unaligned
31585 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31586 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31587 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31588 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31589 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31590 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31591 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31592 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31593 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31594 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31595 (STRCPY): Support SSE2 and SSSE3 versions.
31596
d5495a11
UD
315972011-06-24 Ulrich Drepper <drepper@gmail.com>
31598
31599 [BZ #12874]
31600 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31601 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31602 kernels which artificially limit size of requests.
31603
0b1cbaae
L
316042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31605
31606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31607 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31608 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31609 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31610 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31611 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31612 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31613 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31614 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31615 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31616 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31617 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31618 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31619 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31620 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31622 Enable unaligned load optimization for Intel Core i3, i5 and i7
31623 processors.
31624 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31625 Define.
31626 (index_Fast_Unaligned_Load): Define.
31627 (HAS_FAST_UNALIGNED_LOAD): Define.
31628
07f494a0
MP
316292011-06-23 Marek Polacek <mpolacek@redhat.com>
31630
31631 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31632
fa3fc0fe
UD
316332011-06-22 Ulrich Drepper <drepper@gmail.com>
31634
31635 [BZ #12907]
31636 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31637 until it is clear that the information is realy needed.
31638 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31639
e12df166
AS
316402011-06-22 Andreas Schwab <schwab@redhat.com>
31641
31642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31643
852eb34d
UD
316442011-06-22 Ulrich Drepper <drepper@gmail.com>
31645
84e2a551
UD
31646 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31647 /sys/devices/system/cpu/online if it is usable.
31648
852eb34d
UD
31649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31650 reading the information from the /proc filesystem to once a second.
31651
6e502e19
UD
316522011-06-21 Andreas Jaeger <aj@suse.de>
31653
31654 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31655 NULL after inclusion of kernel headers.
31656
75d39ff2
UD
316572011-06-21 Ulrich Drepper <drepper@gmail.com>
31658
51f9aa6a
UD
31659 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31660 calls to internal_setent.
31661
c0244a9d
UD
31662 [BZ #12885]
31663 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31664 addresses using gethostbyname4_r ignore IPv4 addresses.
31665
c5e3c2ae
UD
31666 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31667 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31668
75d39ff2
UD
31669 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31670
42675c6f
DM
316712011-06-20 David S. Miller <davem@davemloft.net>
31672
31673 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31674 inclusions.
31675 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31676
31677 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31678 (elf_irel): Use it.
31679 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31680 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31681 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31682 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31683 * sysdeps/x86_64/dl-irel.h: Likewise.
31684
31685 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31686 * elf/dl-sym.c: Likewise.
31687
57912a71
UD
316882011-06-15 Ulrich Drepper <drepper@gmail.com>
31689
31690 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31691 need to dereference resplen2.
31692
ee22793d
AS
316932011-06-14 Andreas Schwab <schwab@redhat.com>
31694
31695 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31696
a9e836b0
UD
316972011-06-15 Ulrich Drepper <drepper@gmail.com>
31698
77fb9117
UD
31699 * Makeconfig: Define vardbdir and inst_vardbdir.
31700 * nss/Makefile: Add rules to install db-Makefile.
31701
40c1b22c
UD
31702 * nss/nss_db/db-XXX.c: Cleanup.
31703
9f2da732
UD
31704 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31705 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31706 GLIBC_PRIVATE.
31707 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31708 * nss/makedb.c: Implement -g option to specify that value strings
31709 are generated and should not be added to table iterated over for
31710 get*ent calls.
31711 * nss/nss_db/db-initgroups.c: New file.
31712
82e9a1f7
UD
31713 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31714 interface.
31715
c41af17e
UD
31716 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31717 (internal_getgrouplist): Adjust to name change.
31718 Update use_initgroups_entry if this is not the first call.
31719 * nss/databases.def: Add initgroups entry.
31720
a9e836b0
UD
31721 * nss/makedb.c (compute_tables): Check result of multiple hash table
31722 sizes to minimize maximum chain length.
31723
2666d441
UD
317242011-06-14 Ulrich Drepper <drepper@gmail.com>
31725
31726 * Versions.def: Add entry for libnss_db.
31727 * shlib-versions: Likewise.
31728 * nss/Makefile: Add rules to build libnss_db.
31729 * nss/Versions: Add libnss_db information. Organize libnss_files
31730 entries better.
31731 * nss/db-Makefile: Add gshadow support. Change rules for the new
31732 makedb progra. Some minor improvements to generate smaller files.
31733 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31734 here from...
31735 * nss/makedb.c: ...here.
31736 Improve database format to be smaller and require less memory at
31737 runtime.
31738 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31739 db anymore.
31740 * nss/nss_db/db-netgrp.c: Likewise.
31741 * nss/nss_db/db-open.c: Likewise.
31742 * nss/nss_files/flies-XXX.x: Adjust comments.
31743 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31744 * nss/nss_files/files-grp.c: Likewise.
31745 * nss/nss_files/files-hosts.c: Likewise.
31746 * nss/nss_files/files-network.c: Likewise.
31747 * nss/nss_files/files-proto.c: Likewise.
31748 * nss/nss_files/files-pwd.c: Likewise.
31749 * nss/nss_files/files-rpc.c: Likewise.
31750 * nss/nss_files/files-service.c: Likewise.
31751 * nss/nss_files/files-sgrp.c: Likewise.
31752 * nss/nss_files/files-spwd.c: Likewise.
31753 * nss/nss_db/db-alias.c: Removed.
31754 * nss/nss_db/dummy-db.h: Removed.
31755
9ee76b5a
UD
317562011-06-02 Ulrich Drepper <drepper@gmail.com>
31757
31758 * nss/makedb.c: Rewritten to not use database library.
31759 * nss/Makefile: Update to build new makedb program.
31760
c71ca1f8
AJ
317612011-06-14 Andreas Jaeger <aj@suse.de>
31762
31763 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31764 memset declaration.
31765
3154bfb8
UD
317662011-06-10 Andreas Schwab <schwab@redhat.com>
31767
31768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31769 tmpbuf.
31770
b350afab
RM
317712011-06-10 Roland McGrath <roland@hack.frob.com>
31772
decd4e50
RM
31773 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31774 * elf/Makefile ($(objpfx)ld.so): Likewise.
31775
5615eaf2
RM
31776 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31777 Don't list ld.so twice in dependencies.
31778
31779 * posix/bug-regex31.c: Include <stdlib.h>.
31780
31781 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31782
31783 * nis/nss_compat/compat-spwd.c
31784 (getspent_next_nss_netgr): Remove unused variable.
31785 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31786
31787 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31788 nonmembers" output to use the right array.
31789
31790 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31791
31792 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31793
31794 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31795 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31796 * catgets/gencat.c (read_input_file): Likewise.
31797 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31798
31799 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31800 variable definition inside #if's controlling its use.
31801
31802 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31803
31804 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31805
31806 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31807
31808 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31809 unreachable code.
31810
31811 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31812
b68e08db
RM
31813 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31814 * configure: Regenerated.
31815
b350afab
RM
31816 * Makerules: Revert last change.
31817 * elf/Makefile: Likewise.
31818
28368601
RM
318192011-06-09 Roland McGrath <roland@hack.frob.com>
31820
31821 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31822 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31823 (reloc-link): Likewise.
31824
11988f8f
UD
318252011-06-09 Ulrich Drepper <drepper@gmail.com>
31826
31827 * elf/Makefile: Add rules to build pldd.
31828 * elf/pldd.c: New file.
31829 * elf/pldd-xx.c: New file.
31830
e80fab37
UD
318312011-06-07 Ulrich Drepper <drepper@gmail.com>
31832
31833 * version.h: Update for 2.15 development version.
31834
9b849836
DM
318352011-06-07 David S. Miller <davem@davemloft.net>
31836
31837 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31838 ifuncs.
31839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31840 elf_machine_lazy_rel): Likewise.
31841 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31842 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31843 elf_machine_lazy_rel): Likewise.
31844 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31845 dl_hwcap via passed in argument.
31846 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31847 Likewise.
31848
5a31b283
AK
318492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31850
31851 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31852
069e52f8
RM
318532011-06-06 Roland McGrath <roland@hack.frob.com>
31854
31855 [BZ #12849]
31856 * manual/fdl-1.1.texi: New file, verbatim from:
31857 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31858 * manual/lgpl-2.1.texi: New file, verbatim from:
31859 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31860 * manual/Makefile (licenses): New variable, list those new file names.
31861 (texis): Use it.
31862 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31863
31864 * manual/fdl.texi: File removed.
31865 * manual/lesser.texi: File removed.
31866 * manual/libc.texinfo (Copying, Documentation License):
31867 Use new @include file names, put @appendix directive before @include.
31868
f16846a5
JJ
318692011-06-04 Jakub Jelinek <jakub@redhat.com>
31870
31871 [BZ #12841]
31872 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31873 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31874 (mq_open): Add __NTH.
31875
3d29045b
L
318762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31877
31878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31879 Assume Intel Core i3/i5/i7 processor if AVX is available.
31880
8c297311
UD
318812011-05-31 Ulrich Drepper <drepper@gmail.com>
31882
31883 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31884 typo.
31885
c8fc0c91
UD
318862011-05-31 Andreas Schwab <schwab@redhat.com>
31887
31888 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31889 memory. Use alloca_account. Fix memory leak when retrying.
31890
5b27a807
UD
318912011-05-31 Ulrich Drepper <drepper@gmail.com>
31892
356f8bc6
UD
31893 * version.h (RELEASE): Bump for 2.14 release.
31894 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31895
5b27a807
UD
31896 * config.make.in (RANLIB): Remove entry.
31897
01f16ab0
UD
318982011-05-30 Ulrich Drepper <drepper@gmail.com>
31899
41fce8bd
UD
31900 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31901 (libc.pot): Work around missing support for .ksh extension in xgettext.
31902
4769ae77
UD
31903 [BZ #12684]
31904 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31905 if both request failed.
31906 (send_dg): In case of server errors clear resplen or *resplen2.
31907
6b1e7d19
UD
31908 [BZ #12454]
31909 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31910 when there are multiple maps.
31911 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31912 (_dl_fini): Remove test here.
31913
01f16ab0
UD
31914 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31915
b1ebd700
UD
319162011-05-29 Ulrich Drepper <drepper@gmail.com>
31917
7ae22829
UD
31918 [BZ #12350]
31919 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31920 bit from old_res_options.
31921 (gaih_inet): Likewise.
31922
553149f6 31923 [BZ #11099]
18a84741 31924 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31925 as signed.
31926
652ffab1
UD
31927 * resolv/res_init.c (res_setoptions): Make the code more compact.
31928
16985fd0
UD
31929 [BZ #11558]
31930 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31931 set RES_USEVC.
31932
0464f746
UD
31933 [BZ #11634]
31934 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31935
7d17596c
UD
31936 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31937
cf6bbbd7
UD
31938 [BZ #11781]
31939 * malloc/malloc.h: Declare malloc hook variables as volatile.
31940
13f1ab36
UD
31941 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31942 in last patch.
31943
b1ebd700
UD
31944 [BZ #11799]
31945 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31946 raise in the comment.
80e2212d
UD
31947 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31948 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31949 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31950
ce67228d
UD
319512011-05-28 Ulrich Drepper <drepper@gmail.com>
31952
8887a920
UD
31953 [BZ #12811]
31954 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31955 grow the buffers more if it already has to be sufficient.
31956 (build_wcs_upper_buffer): Likewise.
31957 * posix/regexec.c (check_matching): Likewise.
31958 (clean_state_log_if_needed): Likewise.
31959 (extend_buffers): Don't enlarge buffers beyond size of the input
31960 buffer.
31961 Patches mostly by Emil Wojak <emil@wojak.eu>.
31962 * posix/bug-regex32.c: New file.
31963 * posix/Makefile (tests): Add bug-regex32.
31964
4f031072
UD
31965 * locale/findlocale.c (_nl_find_locale): Return right away if
31966 _nl_explode_name failed.
31967 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31968
d0478f0c
UD
31969 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31970
de81b246
UD
31971 * debug/xtrace.sh: Unify messages.
31972 * malloc/memusage.sh: Likewise.
31973
c738465a
UD
31974 [BZ #12813]
31975 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31976 time symbol from vDSO. Substitute with vsyscall if not available.
31977 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31978 __vdso_time.
31979
f1f929d7
UD
31980 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31981 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31982 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31983 Add sendmmsg and internal_sendmmsg.
31984 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31985 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31986 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31987
ce67228d
UD
31988 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31989 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31990 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31991
e57420c6
UD
319922011-05-27 Ulrich Drepper <drepper@gmail.com>
31993
a8509ca5
UD
31994 [BZ #12813]
31995 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31996 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31997 available.
31998 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31999 __vdso_getcpu.
32000
e57420c6
UD
32001 [BZ #12814]
32002 * iconvdata/Makefile (tests): Add bug-iconv9.
32003 * iconvdata/bug-iconv9.c: New file.
32004
4d07db15
AS
320052011-05-27 Andreas Schwab <schwab@redhat.com>
32006
32007 [BZ #12814]
32008 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32009
ea486f69
JJ
320102011-05-25 Jakub Jelinek <jakub@redhat.com>
32011
32012 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32013 (struct user_regs_struct): Change intcs field back to cs.
32014
6f038433
UD
320152011-05-25 Ulrich Drepper <drepper@gmail.com>
32016
32017 * po/ja.po: Update from translation team.
32018
67f86a25
UD
320192011-05-23 Ulrich Drepper <drepper@gmail.com>
32020
32021 [BZ #12795]
32022 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32023 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32024
def7fbd6
AS
320252011-05-20 Andreas Schwab <schwab@redhat.com>
32026
32027 * stdlib/longlong.h: Update from GCC.
32028
f50ef8f1
AS
320292011-05-23 Andreas Schwab <schwab@redhat.com>
32030
32031 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32032 parameter name.
32033 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32034 Add parameter name.
32035 (__sysconf): Pass it down.
32036
de7ce8f1
UD
320372011-05-22 Ulrich Drepper <drepper@gmail.com>
32038
f2962a71
UD
32039 [BZ #12671]
32040 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32041 some situations.
32042 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32043 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32044 add in in __libc_use_alloca calls. Adjust callers.
32045 (glob): Use malloc in some situations.
32046
de7ce8f1
UD
32047 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32048 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32049 pltexit.
32050
aec84f53
UD
320512011-05-21 Ulrich Drepper <drepper@gmail.com>
32052
05bb4a68
UD
32053 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32054 and CLOCK_BOOTTIME_ALARM.
32055
7ea72f99
UD
32056 [BZ #12782]
32057 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32058 is returned.
32059
7e4afad5
UD
32060 * string/_strerror.c (__strerror_r): Print negative errors as signed
32061 numbers.
32062
8e211fec
UD
32063 [BZ #12777]
32064 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32065 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32066 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32067
f7d82dc9
UD
32068 * configure.in: Fix typo in redirection and correct removal of test
32069 files in two cases.
32070
cc9e536d
UD
32071 [BZ #12788]
32072 * locale/setlocale.c (new_composite_name): Fix test to check for
32073 identical name of all categories.
32074
aec84f53
UD
32075 [BZ #12792]
32076 * libio/filedoalloc.c (local_isatty): New function.
32077 (_IO_file_doallocate): Use local_isatty.
32078 * stdio-common/perror.c (perror): In case a new stream is used
32079 forward the stream error.
32080 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32081 error flag.
32082
78e64fdc
RT
320832011-05-20 Ulrich Drepper <drepper@gmail.com>
32084
34a9094f
UD
32085 [BZ #11869]
32086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32087 alloca.
32088 * include/alloca.h (extend_alloca_account): Define.
32089
78e64fdc
RT
32090 [BZ #11857]
32091 * posix/regex.h: Fix comments with documentation of user-accessible
32092 fields after compilation and describe correct free'ing of pattern
32093 after re_compile_pattern.
32094 Patch by Reuben Thomas <rrt@sc3d.org>.
32095
457bddfc
RA
320962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32097
32098 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32099 and -mno-altivec to prevent the compiler from using Altivec and/or
32100 VSX instructions when the corresponding registers are not available.
32101
a4527b51
AS
321022011-05-19 Andreas Schwab <schwab@redhat.com>
32103
32104 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32105
ed690b2f
UD
321062011-05-19 Ulrich Drepper <drepper@gmail.com>
32107
32108 * libio/freopen.c (freopen): Use __dup2, not dup2.
32109 * libio/freopen64.c (freopen64): Likewise.
32110
8db73634
L
321112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32112
32113 [BZ #12775]
32114 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32115 * math/Makefile (tests): Add test-powl.
32116 (CFLAGS-test-powl.c): Define.
32117 * math/test-powl.c: New file.
32118
0a197a9d
L
321192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32120
32121 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32122
ee30c380
UD
321232011-05-17 Ulrich Drepper <drepper@gmail.com>
32124
32125 [BZ #11837]
32126 * iconvdata/gb18030.c: Update to GB18020-2005.
32127
6ce75379
UD
321282011-05-16 Ulrich Drepper <drepper@gmail.com>
32129
a4b89fd8
AR
32130 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32131 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32132 Patch by Aharon Robbins <arnold@skeeve.com>.
32133
ea389b12
UD
32134 [BZ #11892]
32135 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32136 on the stack.
32137
68a3f91f
UD
32138 [BZ #11895]
32139 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32140 through underflows.
32141
15cc7dd1
UD
32142 [BZ #12766]
32143 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32144 point to strings before performing equality test for error_one_per_line
32145 mode.
32146
f3799213
UD
32147 [BZ #11697]
32148 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32149
d79a9c94
UD
32150 [BZ #11820]
32151 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32152 (struct user_fpregs_struct): Avoid __uint*_t types.
32153
56e5eb46
UD
32154 [BZ #6420]
32155 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32156 symbol info. Use it instead of calling _dl_addr locally.
32157 (lock_and_info): New function.
32158 (tr_freehook): Call lock_and_info and pass symbol info as additional
32159 parameter to tr_where.
32160 (tr_mallochook): Likewise.
32161 (tr_reallochook): Likewise.
32162 (tr_memalignhook): Likewise.
32163
6ce75379
UD
32164 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32165 used and couldn't be at all thread-safe.
32166
f8a3b5bf
UD
321672011-05-15 Ulrich Drepper <drepper@gmail.com>
32168
94b7cc37
UD
32169 * libio/freopen.c (freopen): Don't close old file descriptor
32170 before the new one is opened. Instead dup the new file descriptor
32171 to the old one after the new stream is created.
32172 * libio/freopen64.c (freopen64): Likewise.
32173 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32174 * libio/fileops.c (_IO_new_file_close_it): Handle new
32175 _IO_FLAGS2_NOCLOSE flag.
32176 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32177 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32178 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32179 _IO_FLAGS2_NOCLOSE flag.
32180 * include/unistd.h: Add hidden_proto for dup3.
32181 Define __have_dup3.
32182 * io/dup3.c: Define hidden symbol.
32183 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32184
bd25564e
UD
32185 [BZ #7101]
32186 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32187 when an incomplete long option is used.
32188 * posix/tst-getopt_long1.c: New file.
32189 * posix/Makefile (tests): Add tst-getopt_long1.
32190
c84cfef4
UD
32191 [BZ #10138]
32192 * scripts/config.guess: Update from autoconf-2.68.
32193 * scripts/config.sub: Likewise.
32194
3b85df27
UD
32195 [BZ #10157]
32196 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32197 tests into ...
32198 (has_cpuclock): ...this. New function.
32199 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32200 macro here based on has_cpuclock code.
32201
15a856b1
UD
32202 [BZ #10149]
32203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32204 First byte (not low byte) is now always NUL.
32205 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32206
05f399e6
UD
32207 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32208 Use non-cancelable interfaces.
32209
10a52685 32210 [BZ #9809]
94ecc67d
UD
32211 * locale/iso-639.def: Add entry for Sorani.
32212
f8a3b5bf
UD
32213 [BZ #11901]
32214 * include/stdlib.h: Move include protection to the right place.
32215 Define abort_msg_s. Declare __abort_msg with it.
32216 * stdlib/abort.c (__abort_msg): Adjust type.
32217 * assert/assert.c (__assert_fail_base): New function. Majority
32218 of code from __assert_fail. Allocate memory for __abort_msg with
32219 mmap.
32220 (__assert_fail): Now call __assert_fail_base.
32221 * assert/assert-perr.c: Remove bulk of implementation. Use
32222 __assert_fail_base.
32223 * include/assert.hL Declare __assert_fail_base.
32224 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32225 mmap.
32226 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32227
1af4e298
UD
322282011-05-14 Ulrich Drepper <drepper@gmail.com>
32229
f8a3b5bf 32230 [BZ #11952]
d26dfc60
MG
32231 [BZ #12453]
32232 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32233 until all modules are registered in the DTV.
32234 * elf/Makefile: Add rules to build and run tst-tls19.
32235 * elf/tst-tls19.c: New file.
32236 * elf/tst-tls19mod1.c: New file.
32237 * elf/tst-tls19mod2.c: New file.
32238 * elf/tst-tls19mod3.c: New file.
32239 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32240
2fc54d6f
UD
32241 [BZ #12083]
32242 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32243 correctly.
32244
98d76b46
UD
32245 [BZ #12601]
32246 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32247 two-byte sequence errors.
32248 * iconvdata/Makefile (tests): Add bug-iconv8.
32249 * iconvdata/bug-iconv8.c: New file.
32250
da3c19ef
UD
32251 [BZ #12626]
32252 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32253 buf2 definition.
32254
ca408c15
UD
32255 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32256
d6f67f7d
UD
32257 [BZ #12432]
32258 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32259 (dummy_getcfa): New function.
32260 (init): Get _Unwind_GetCFA address, use dummy if not found.
32261 (backtrace_helper): In recursion check, also check whether CFA changes.
32262 (__backtrace): Completely initialize arg.
32263
1af4e298 32264 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32265 storing incomplete byte sequence in state object. Avoid testing for
32266 guaranteed too small input if we know there is enough data available.
1af4e298 32267
da62f81b
AS
322682011-05-11 Andreas Schwab <schwab@redhat.com>
32269
32270 * Makeconfig (+link-pie): Indent.
32271 * Rules (binaries-pie): Define if $(have-fpie) and
32272 $(build-shared).
32273 (binaries-shared): Also filter out $(binaries-pie).
32274 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32275 * nscd/Makefile (others-pie): Add nscd.
32276 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32277 ($(objpfx)nscd): Remove command override.
32278 * login/Makefile (others-pie): Add pt_chown.
32279 ($(objpfx)pt_chown): Remove command override.
32280 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32281 remove command overrides.
32282
fcabc0f8
UD
322832011-05-13 Ulrich Drepper <drepper@gmail.com>
32284
20030ae6
UD
32285 * libio/tst_putwc.c: Fix error messages.
32286
fcabc0f8
UD
32287 [BZ #12724]
32288 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32289 currently writing and seek to current position when not.
32290 * libio/Makefile (tests): Add bug-fclose1.
32291 * libio/bug-fclose1.c: New file.
32292
320a5dc0
PB
322932011-05-12 Ulrich Drepper <drepper@gmail.com>
32294
32295 [BZ #12511]
32296 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32297 don't set DF_1_NODELETE here.
32298 (do_lookup_x): When entering new entry test for copy relocation
32299 and if necessary set DF_1_NODELETE flag.
32300 * elf/tst-unique4.cc: New file.
32301 * elf/tst-unique4.h: New file.
32302 * elf/tst-unique4lib.cc: New file.
32303 * elf/Makefile: Add rules to build and run tst-unique4.
32304 Patch by Piotr Bury <pbury@goahead.com>.
32305
22836f52
UD
323062011-05-11 Ulrich Drepper <drepper@gmail.com>
32307
f574184a
UD
32308 [BZ #12052]
32309 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32310
e1fb097f
UD
32311 [BZ #12625]
32312 * misc/mntent_r.c (addmntent): Flush the stream after the output
32313
22836f52
UD
32314 [BZ #12393]
32315 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32316 (is_trusted_path_normalize): Skip initial colon. Append slash
32317 to empty buffer. Duplicate is_trusted_path code but allow
32318 constructed patch to be prefix.
32319 (is_dst): Allow $ORIGIN followed by /.
32320 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32321 Correct testing of result of is_trusted_path_normalize
32322 (decompose_rpath): Fix warning.
32323
7b3b0b2a
UD
323242011-05-10 Ulrich Drepper <drepper@gmail.com>
32325
32326 [BZ #11257]
32327 * grp/initgroups.c (internal_getgrouplist): When we found the service
32328 list through the initgroups entry in nsswitch.conf do not always
32329 continue on a successful lookup. Don't always use the
eac80ce2 32330 __nss_group_database value if it is set.
7b3b0b2a
UD
32331 * nss/nsswitch.conf (initgroups): Change action for successful db
32332 lookup to continue for compatibility.
32333
2a81eaa5
UD
323342011-05-09 Ulrich Drepper <drepper@gmail.com>
32335
be97a69e
UD
32336 [BZ #11532]
32337 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32338 and CP774 modules.
32339 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32340 and CP774 modules.
32341 * iconvdata/tst-tables.sh: Likewise.
32342 * iconvdata/cp770.c: New file.
32343 * iconvdata/cp771.c: New file.
32344 * iconvdata/cp772.c: New file.
32345 * iconvdata/cp773.c: New file.
32346 * iconvdata/cp774.c: New file.
32347 * iconvdata/testdata/CP770: New file.
32348 * iconvdata/testdata/CP770..UTF8: New file.
32349 * iconvdata/testdata/CP771: New file.
32350 * iconvdata/testdata/CP771..UTF8: New file.
32351 * iconvdata/testdata/CP772: New file.
32352 * iconvdata/testdata/CP772..UTF8: New file.
32353 * iconvdata/testdata/CP773: New file.
32354 * iconvdata/testdata/CP773..UTF8: New file.
32355 * iconvdata/testdata/CP774: New file.
32356 * iconvdata/testdata/CP774..UTF8: New file.
32357
32358 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32359 END CHARMAP line.
32360 * iconvdata/gen-8bit-gap.sh: Likewise.
32361 * iconvdata/gen-8bit.sh: Likewise.
32362
c1e9e399
UD
32363 * locale/iso-639.def: Add ary entry.
32364
24c55fb3 32365 [BZ #11258]
96b4b1b0
UD
32366 * locale/C-translit.h.in: Add U20A1 transliteration.
32367
bdc2f971
KB
32368 [BZ #12178]
32369 * locale/iso-639.def: Add wae entry.
32370 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32371
2952b117
UD
32372 [BZ #12545]
32373 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32374 for n.
32375
2a81eaa5
UD
32376 [BZ #12711]
32377 * locale/C-translit.h.in: Add entry for U20B9.
32378 Patch by pravin.d.s@gmail.com.
32379
28377d1b
UD
323802011-05-08 Ulrich Drepper <drepper@gmail.com>
32381
7fb90fb8
UD
32382 [BZ #12713]
32383 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32384 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32385 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32386 in rtld. Use *stat64.
7fb90fb8 32387 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32388 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32389 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32390 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32391 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32392 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32393 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32394 __fstatat64 macros.
7fb90fb8
UD
32395 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32396 * dirent/rewinddir.c: Add libc_hidden_def.
32397 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32398 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32399
28377d1b
UD
32400 * include/dirent.h (__alloc_dir): Add flags parameter.
32401 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32402 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32403 __alloc_dir.
32404 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32405 from fdopendir if O_CLOEXEC is already set.
32406
66bdbaa4
AM
324072011-03-15 Alan Modra <amodra@gmail.com>
32408
32409 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32410 l_tls_firstbyte_offset non-zero. Save padding offset in
32411 l_tls_firstbyte_offset for later use.
32412 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32413 freeing static tls block.
32414
95721191
JN
324152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32416
32417 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32418 where #ifdef was intended. The intent is to prevent ARG_MAX from
32419 being defined by the kernel headers.
32420
f87dfb1f
UD
324212011-05-07 Ulrich Drepper <drepper@gmail.com>
32422
32423 [BZ #12734]
32424 * resolv/resolv.h: Define RES_NOTLDQUERY.
32425 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32426 no-tld-query and set RES_NOTLDQUERY.
32427 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32428 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32429 modern BIND to search name as TLD unless forbidden.
32430
47c3cd7a
UD
324312011-05-07 Petr Baudis <pasky@suse.cz>
32432 Ulrich Drepper <drepper@gmail.com>
32433
32434 [BZ #12393]
32435 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32436 (is_trusted_path): ...to here.
c1e9ea35 32437 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32438 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32439 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32440
8a35c912
PP
324412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32442
32443 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32444 __BEGIN/__END_DECLS.
32445
acd41f47
UD
324462011-05-06 Ulrich Drepper <drepper@gmail.com>
32447
32448 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32449 NSS_STATUS_NOTFOUND if no record was found.
32450
597df647
AS
324512011-05-05 Andreas Schwab <schwab@redhat.com>
32452
32453 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32454 (headers-not-in-tirpc): Remove rpc/netdb.h
32455 * resolv/netdb.h: Revert last change.
32456
b9af1301
PP
324572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32458
32459 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32460 circular dependency between libgcc.a and libc.a.
32461
4e34d5f5
AS
324622011-05-05 Andreas Schwab <schwab@redhat.com>
32463
32464 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32465 * nis/Makefile: Don't install rpcsvc/*.
32466 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32467 instead of <rpc/types.h>.
32468 (MAXHOSTNAMELEN): Define.
32469
00ee369c
AS
324702011-05-03 Andreas Schwab <schwab@redhat.com>
32471
32472 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32473
0b592a30
MB
324742011-04-28 Maciej Babinski <mbabinski@google.com>
32475
32476 [BZ #12714]
32477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32478 gethostbyname4_r when IPv6 results are possible.
32479
6e04cbbe
UD
324802011-05-02 Ulrich Drepper <drepper@gmail.com>
32481
32482 [BZ #12723]
32483 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32484 _PC_PIPE_BUF handling.
32485
e4ecafe0
BH
324862011-04-30 Bruno Haible <bruno@clisp.org>
32487
32488 [BZ #12717]
32489 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32490 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32491 to 'int'.
32492 * inet/getnameinfo.c (getnameinfo): Likewise.
32493
125ee683
UD
324942011-04-29 Ulrich Drepper <drepper@gmail.com>
32495
32496 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32497 to groups setting in database lookup.
32498 * nss/nsswitch.conf: Add initgroups entry.
32499
b722481a
EB
325002011-04-22 Ulrich Drepper <drepper@gmail.com>
32501
32502 [BZ #12685]
32503 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32504 mode string.
32505 Patch by Eric Blake <eblake@redhat.com>.
32506
4df46dbd
L
325072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32508
32509 * sunrpc/Makefile (need-export-routines): Add svc_run.
32510 (routines): Remove svc_run.
32511 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32512 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32513 * sunrpc/svc_run.c (svc_run): Likewise.
32514 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32515
e84142d2
UD
325162011-04-21 Ulrich Drepper <drepper@gmail.com>
32517
32518 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32519 problem in reallocation in last patch.
32520
877175d8
UD
325212011-04-20 Ulrich Drepper <drepper@gmail.com>
32522
32523 * sunrpc/Makefile: Move inclusion of Rules.
32524
ab8eed78
UD
325252011-04-19 Ulrich Drepper <drepper@gmail.com>
32526
32527 * nss/nss_files/files-initgroups.c: New file.
32528 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32529 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32530 _nss_files_initgroups_dyn.
32531
e3d8f584
RS
325322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32533
32534 * elf/elf.h (R_ARM_IRELATIVE): Define.
32535
af190f45
UD
325362011-04-19 Ulrich Drepper <drepper@gmail.com>
32537
32538 * po/ru.po: Update from translation team.
32539
53cf59ef
UD
325402011-04-17 Ulrich Drepper <drepper@gmail.com>
32541
32542 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32543 dependencies.
32544
4c559bcd
MF
325452011-02-06 Mike Frysinger <vapier@gentoo.org>
32546
32547 [BZ #12653]
32548 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32549 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32550 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32551 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32552 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32553
4420675c
AS
325542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32555
32556 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32557 differing bytes.
32558 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32559 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32560 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32561
75ea32ab
UD
325622011-04-17 Ulrich Drepper <drepper@gmail.com>
32563
32564 [BZ #12420]
32565 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32566 storing it.
32567 * stdlib/bug-getcontext.c: New file.
32568 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32569
27390476
AK
325702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32571
32572 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32573 instructions into .machine "z9-109".
32574 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32575 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32576
10442705
AK
325772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32578
32579 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32580 between environment variables and auxiliary vector.
32581
7b57bfe5
UD
325822011-04-16 Ulrich Drepper <drepper@gmail.com>
32583
32584 * Makefile: Add rules to build linkobj/libc.so.
32585 * include/libc-symbols.h: Define libc_hidden_nolink.
32586 * include/rpc/auth.h: Mark functions which are to be hidden.
32587 * include/rpc/auth_des.h: Likewise.
32588 * include/rpc/auth_unix.h: Likewise.
32589 * include/rpc/clnt.h: Likewise.
32590 * include/rpc/des_crypt.h: Likewise.
32591 * include/rpc/key_prot.h: Likewise.
32592 * include/rpc/pmap_clnt.h: Likewise.
32593 * include/rpc/pmap_prot.h: Likewise.
32594 * include/rpc/pmap_rmt.h: Likewise.
32595 * include/rpc/rpc_msg.h: Likewise.
32596 * include/rpc/svc.h: Likewise.
32597 * include/rpc/svc_auth.h: Likewise.
32598 * include/rpc/xdr.h: Likewise.
32599 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32600 * nss/Makefile: Likewise.
32601 * sunrpc/Makefile: Don't install headers. Build library with normal
32602 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32603 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32604 for the compat linking library. Remove use of INTDEF/INTUSE.
32605 * sunrpc/auth_none.c: Likewise.
32606 * sunrpc/auth_unix.c: Likewise.
32607 * sunrpc/authdes_prot.c: Likewise.
32608 * sunrpc/authuxprot.c: Likewise.
32609 * sunrpc/clnt_gen.c: Likewise.
32610 * sunrpc/clnt_perr.c: Likewise.
32611 * sunrpc/clnt_raw.c: Likewise.
32612 * sunrpc/clnt_simp.c: Likewise.
32613 * sunrpc/clnt_tcp.c: Likewise.
32614 * sunrpc/clnt_udp.c: Likewise.
32615 * sunrpc/clnt_unix.c: Likewise.
32616 * sunrpc/des_crypt.c: Likewise.
32617 * sunrpc/des_soft.c: Likewise.
32618 * sunrpc/get_myaddr.c: Likewise.
32619 * sunrpc/key_call.c: Likewise.
32620 * sunrpc/key_prot.c: Likewise.
32621 * sunrpc/netname.c: Likewise.
32622 * sunrpc/pm_getmaps.c: Likewise.
32623 * sunrpc/pm_getport.c: Likewise.
32624 * sunrpc/pmap_clnt.c: Likewise.
32625 * sunrpc/pmap_prot.c: Likewise.
32626 * sunrpc/pmap_prot2.c: Likewise.
32627 * sunrpc/pmap_rmt.c: Likewise.
32628 * sunrpc/publickey.c: Likewise.
32629 * sunrpc/rpc_cmsg.c: Likewise.
32630 * sunrpc/rpc_common.c: Likewise.
32631 * sunrpc/rpc_dtable.c: Likewise.
32632 * sunrpc/rpc_prot.c: Likewise.
32633 * sunrpc/rpc_thread.c: Likewise.
32634 * sunrpc/rtime.c: Likewise.
32635 * sunrpc/svc.c: Likewise.
32636 * sunrpc/svc_auth.c: Likewise.
32637 * sunrpc/svc_authux.c: Likewise.
32638 * sunrpc/svc_raw.c: Likewise.
32639 * sunrpc/svc_run.c: Likewise.
32640 * sunrpc/svc_simple.c: Likewise.
32641 * sunrpc/svc_tcp.c: Likewise.
32642 * sunrpc/svc_udp.c: Likewise.
32643 * sunrpc/svc_unix.c: Likewise.
32644 * sunrpc/svcauth_des.c: Likewise.
32645 * sunrpc/xcrypt.c: Likewise.
32646 * sunrpc/xdr.c: Likewise.
32647 * sunrpc/xdr_array.c: Likewise.
32648 * sunrpc/xdr_float.c: Likewise.
32649 * sunrpc/xdr_intXX_t.c: Likewise.
32650 * sunrpc/xdr_mem.c: Likewise.
32651 * sunrpc/xdr_rec.c: Likewise.
32652 * sunrpc/xdr_ref.c: Likewise.
32653 * sunrpc/xdr_sizeof.c: Likewise.
32654 * sunrpc/xdr_stdio.c: Likewise.
32655
e6c61494
UD
326562011-04-10 Ulrich Drepper <drepper@gmail.com>
32657
32658 [BZ #12650]
32659 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32660 * sysdeps/ia64/dl-tls.h: Likewise.
32661 * sysdeps/powerpc/dl-tls.h: Likewise.
32662 * sysdeps/s390/dl-tls.h: Likewise.
32663 * sysdeps/sh/dl-tls.h: Likewise.
32664 * sysdeps/sparc/dl-tls.h: Likewise.
32665 * sysdeps/x86_64/dl-tls.h: Likewise.
32666 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32667
34fe483e
AS
326682011-03-14 Andreas Schwab <schwab@redhat.com>
32669
32670 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32671 rpath element also skip the following colon.
32672 (expand_dynamic_string_token): Add is_path parameter and pass
32673 down to DL_DST_REQUIRED and _dl_dst_substitute.
32674 (decompose_rpath): Call expand_dynamic_string_token with
32675 non-zero is_path. Ignore empty rpaths.
32676 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32677 with zero is_path.
32678
f12a32e6
AS
326792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32680
32681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32682 Make cancelable.
32683
38a7d692
UD
326842011-04-09 Ulrich Drepper <drepper@gmail.com>
32685
32686 [BZ #12655]
32687 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32688 Patch by Filipe David Manana <fdmanana@apache.org>.
32689
e451d22b
AS
326902011-04-07 Andreas Schwab <schwab@redhat.com>
32691
32692 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32693 Maintain aligned stack.
32694 (CHECK_RSP): Remove unused macro.
32695
dedc7c7b
UD
326962011-04-03 Ulrich Drepper <drepper@gmail.com>
32697
32698 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32699 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32700
94521213
UD
327012011-04-02 Ulrich Drepper <drepper@gmail.com>
32702
32703 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32704
8cb700c0 32705 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32706
0354e355
L
327072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32708
32709 [BZ #12518]
32710 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32711 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32712 * sysdeps/x86_64/memmove.c: New file.
32713 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32714 (memcpy): Renamed to ...
32715 (__new_memcpy): This.
32716 (memcpy): Provide GLIBC_2_14 memcpy.
32717 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32718 (memcpy): Provide GLIBC_2_2_5 memcpy.
32719
8593482f
UD
327202011-04-01 Ulrich Drepper <drepper@gmail.com>
32721
32722 [BZ #12631]
32723 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32724
81a5726b
AS
327252011-03-30 Andreas Schwab <schwab@redhat.com>
32726
32727 * misc/syncfs.c: New file.
32728 * misc/Makefile (routines): Add syncfs.
32729 * posix/unistd.h: Declare syncfs.
32730 * sysdeps/unix/syscalls.list: Add syncfs.
32731
00e5419f
AS
327322011-04-01 Andreas Schwab <schwab@redhat.com>
32733
32734 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32735 open_by_handle_at.
32736 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32737 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32738 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32739 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32741 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32742 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32743
748876bf
UD
327442011-04-01 Ulrich Drepper <drepper@gmail.com>
32745
658e451d
UD
32746 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32747 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32748 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32750 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32752 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32753
748876bf
UD
32754 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32755 sync_file_range.c with -fexceptions.
32756 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32757 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32758 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32759 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32760 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32761 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32762 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32763 sync_file_range as cancellation point
32764 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32765 now a wrapper around __call_sync_file_range with cancellation handling.
32766 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32767 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32768 function name to __call_sync_file_range.
32769 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32770 Add call_sync_file_range.
748876bf 32771
6e63d5e1
AS
327722011-04-01 Andreas Schwab <schwab@redhat.com>
32773
32774 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32775 bits/timex.h.
6e63d5e1 32776
46998f74
UD
327772011-04-01 Ulrich Drepper <drepper@gmail.com>
32778
4c1423ed
UD
32779 * iconv/iconv.h: Fix typo in comment.
32780 * io/fcntl.h: Likewise.
32781 * libio/stdio.h: Likewise.
32782 * posix/spawn.h: Likewise.
32783 * posix/unistd.h: Likewise.
32784 * stdlib/stdlib.h: Likewise.
32785 * time/time.h: Likewise.
32786 * wcsmbs/wchar.h: Likewise.
32787
158648c0
UD
32788 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32789 open_by_handle): Add.
32790 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32791 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32792 Augment a few comments.
32793 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32794 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32795 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32796 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32797 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32798 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32799 open_by_handle.
32800
46998f74
UD
32801 * io/fcntl.h (AT_EMPTY_PATH): Define.
32802
83fe108b
UD
328032011-03-30 Ulrich Drepper <drepper@gmail.com>
32804
32805 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32806 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32807 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32808 to...
32809 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32810 * Versions.def: Add GLIBC_2.14.
32811 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32812 Export.
83fe108b 32813
bb242059
UD
328142011-03-22 Ulrich Drepper <drepper@gmail.com>
32815
32816 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32817 round counter.
32818 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32819
c97a1282
L
328202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32821
32822 [BZ #12597]
32823 * string/test-strncmp.c (do_page_test): New function.
32824 (check2): Likewise.
32825 (test_main): Call check2.
32826 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32827
2a115601
UD
328282011-03-20 Ulrich Drepper <drepper@gmail.com>
32829
32830 [BZ #12587]
32831 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32832 Handle cache information in CPU leaf 4.
32833 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32834
8126d904
UD
328352011-03-18 Ulrich Drepper <drepper@gmail.com>
32836
042c49c6 32837 [BZ #12583]
8126d904
UD
32838 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32839 character representation.
32840 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32841
ccfe366e
RA
328422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32843
32844 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32845 END(__isnan) to END(__isnanf) to match function entry point/label
32846 EALIGN(__isnanf,...).
32847
c6e13027
JJ
328482011-03-10 Jakub Jelinek <jakub@redhat.com>
32849
32850 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32851
33f85a3f
UD
328522011-03-10 Ulrich Drepper <drepper@gmail.com>
32853
028478fa
UD
32854 [BZ #12510]
32855 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32856 copy from the symbol referenced in the relocation to initialize the
32857 used variable.
32858 Patch by Piotr Bury <pbury@goahead.com>.
32859 * elf/Makefile: Add rules to build and tst-unique3.
32860 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32861 * elf/tst-unique3.cc: New file.
32862 * elf/tst-unique3.h: New file.
32863 * elf/tst-unique3lib.cc: New file.
32864 * elf/tst-unique3lib2.cc: New file.
32865
33f85a3f
UD
32866 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32867
03592fc7
MF
328682011-03-10 Mike Frysinger <vapier@gentoo.org>
32869
32870 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32871 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32872 to _start.
03592fc7 32873
6a5ee102
UD
328742011-03-06 Ulrich Drepper <drepper@gmail.com>
32875
32876 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32877 to-be-loaded object along a path to loader is ld.so.
32878
7e4ba49c
HJ
328792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32880 Ulrich Drepper <drepper@gmail.com>
32881
32882 * sysdeps/x86_64/memset.S: After aligning destination, code
32883 branches to different locations depending on the value of
32884 misalignment, when multiarch is enabled. Fix this.
32885
328862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32887
32888 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32889 Set _x86_64_preferred_memory_instruction for AMD processsors.
32890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32891 Set bit_Prefer_SSE_for_memop for AMD processors.
32892
13a804de
UD
328932011-03-04 Ulrich Drepper <drepper@gmail.com>
32894
32895 * libio/fmemopen.c (fmemopen): Optimize a bit.
32896
9d25c392
AS
328972011-03-03 Andreas Schwab <schwab@redhat.com>
32898
32899 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32900
a5543c6a
RM
329012011-03-03 Roland McGrath <roland@redhat.com>
32902
32903 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32904
012d35f7
DM
329052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32906
7e4ba49c 32907 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32908 __bzero_ultra1 instead of __memset_ultra1.
32909
4bff6e01
AS
329102011-02-23 Andreas Schwab <schwab@redhat.com>
32911 Ulrich Drepper <drepper@gmail.com>
32912
32913 [BZ #12509]
32914 * include/link.h (struct link_map): Add l_orig_initfini.
32915 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32916 returning unsuccessfully.
32917 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32918 close of a file loaded at startup, restore the original l_initfini
32919 list.
32920 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32921 list, store the pointer.
32922 * elf/Makefile ($(objpfx)noload-mem): New rule.
32923 (noload-ENV): Define.
32924 (tests): Add $(objpfx)noload-mem.
32925 * elf/noload.c: Include <memcheck.h>.
32926 (main): Call mtrace. Close all opened handles.
32927
f2092faf
AS
329282011-02-17 Andreas Schwab <schwab@redhat.com>
32929
32930 [BZ #12454]
32931 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32932 dependencies are missing.
32933
6c8a2e88
ST
329342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32935
f2092faf 32936 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32937 Hurd needs munmap.
32938 * sysdeps/mach/hurd/ifreq.h: New file.
32939
84a42118
PB
329402011-01-27 Petr Baudis <pasky@suse.cz>
32941 Ulrich Drepper <drepper@gmail.com>
32942
071f805e 32943 [BZ 12445]#
84a42118
PB
32944 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32945 to extend_alloca().
32946 * stdio-common/bug23.c: New file.
32947 * stdio-common/Makefile (tests): Add bug23.
32948
e23fe25b
AS
329492010-09-28 Andreas Schwab <schwab@redhat.com>
32950 Ulrich Drepper <drepper@gmail.com>
32951
32952 [BZ #12489]
32953 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32954 before performing relro protection. At old place add assertion
32955 to make sure nothing changed.
32956
d3f02e10
NS
329572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32958 Glauber de Oliveira Costa <glommer@gmail.com>
32959
32960 * elf/elf.h: Add new ARM TLS relocs.
32961
d55fd7a5
RA
329622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32963
32964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32965 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32966 cast from r3.
32967 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32968 'tests' variable.
32969 * sysdeps/wordsize-64/tst-writev.c: New file.
32970
2206397e
RA
329712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32972
32973 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32974 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32975 insns in _dl_start to prevent a TOC reference before relocs are
32976 resolved.
32977
e9433893
UD
329782011-02-15 Ulrich Drepper <drepper@gmail.com>
32979
32980 [BZ #12469]
32981 * Makeconfig: Remove RANLIB definition.
32982 * Makerules: Don't use RANLIB.
32983 * aclocal.m4: Remove ranlib test.
32984 * configure.in: No need to check for ranlib.
32985 * elf/rtld-Rules: Don't use RANLIB.
32986
f75286c6
ST
329872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32988
8e31c82d
ST
32989 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32990 protection macro.
32991 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32992 inclusion protection macro.
32993
f75286c6
ST
32994 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32995 SIGRTMIN and SIGRTMAX and print information in that case only when
32996 SIGRTMIN is defined.
32997
c1d0e639
JJ
329982011-02-11 Jakub Jelinek <jakub@redhat.com>
32999
33000 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33001 arginfo fn returning -1.
33002
33003 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33004 and thousands string is zero terminated.
33005
edf9294e
AS
330062011-02-03 Andreas Schwab <schwab@redhat.com>
33007
33008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33009 sysdeps/unix/sysv/linux/bits/socket.h.
33010
2b7e92df
ST
330112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33012
edf9294e
AS
33013 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33014 (__CPU_COUNT): Remove old macros.
33015 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33016 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33017 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33018 (__sched_cpualloc, __sched_cpufree): Add declarations.
33019
a4c7ea7b
UD
330202011-02-05 Ulrich Drepper <drepper@gmail.com>
33021
33022 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33023 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33024 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33025 (readdhstai): Return value of addhstaiX call.
33026 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33027 (addgrbyX): Return value returned by cache_addgr.
33028 (readdgrbyname): Return value returned by addgrbyX.
33029 (readdgrbygid): Likewise.
33030 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33031 (addpwbyX): Return value returned by cache_addpw.
33032 (readdpwbyname): Return value returned by addhstbyX.
33033 (readdpwbyuid): Likewise.
33034 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33035 (addservbyX): Return value returned by cache_addserv.
33036 (readdservbyname): Return value returned by addservbyX:
33037 (readdservbyport): Likewise.
33038 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33039 (addhstbyX): Return value returned by cache_addhst.
33040 (readdhstbyname): Return value returned by addhstbyX.
33041 (readdhstbyaddr): Likewise.
33042 (readdhstbynamev6): Likewise.
33043 (readdhstbyaddrv6): Likewise.
33044 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33045 (readdinitgroups): Return value returned by addinitgroupsX.
33046 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33047 (prune_cache): Keep track of timeout value of re-added entries.
33048 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33049 * nscd/nscd.h: Adjust prototypes of readd* functions.
33050
a0bf67cc
RM
330512011-02-04 Roland McGrath <roland@redhat.com>
33052
33053 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33054 (nis_stats): Likewise.
33055 * nis/nis_modify.c (nis_modify): Likewise.
33056 * nis/nis_remove.c (nis_remove): Likewise.
33057 * nis/nis_add.c (nis_add): Likewise.
33058
33059 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33060
33061 * posix/fnmatch_loop.c: Add some consts.
33062
33063 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33064
435b95eb
L
330652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33066
33067 [BZ #12460]
33068 * config.make.in (config-cflags-novzeroupper): Define.
33069 * configure.in: Substitute libc_cv_cc_novzeroupper.
33070 * elf/Makefile (AVX-CFLAGS): Define.
33071 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33072 (CFLAGS-tst-auditmod4a.c): Likewise.
33073 (CFLAGS-tst-auditmod4b.c): Likewise.
33074 (CFLAGS-tst-auditmod6b.c): Likewise.
33075 (CFLAGS-tst-auditmod6c.c): Likewise.
33076 (CFLAGS-tst-auditmod7b.c): Likewise.
33077 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33078
8517b15e
UD
330792011-02-02 Ulrich Drepper <drepper@gmail.com>
33080
33081 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33082 function to the callback.
33083 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33084
10a656fe
AS
330852011-02-02 Andreas Schwab <schwab@redhat.com>
33086
33087 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33088 of errno.
33089
968dad0a
UD
330902011-01-19 Ulrich Drepper <drepper@gmail.com>
33091
9f94d2ea 33092 [BZ #11724]
968dad0a
UD
33093 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33094 of constructors.
33095 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33096 of destructors.
33097 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33098
33099 [BZ #11724]
33100 * elf/Makefile: Add rules to build and run new test.
33101 * elf/tst-initorder.c: New file.
33102 * elf/tst-initorder.exp: New file.
33103 * elf/tst-initordera1.c: New file.
33104 * elf/tst-initordera2.c: New file.
33105 * elf/tst-initordera3.c: New file.
33106 * elf/tst-initordera4.c: New file.
33107 * elf/tst-initorderb1.c: New file.
33108 * elf/tst-initorderb2.c: New file.
33109 * elf/tst-order-a1.c: New file.
33110 * elf/tst-order-a2.c: New file.
33111 * elf/tst-order-a3.c: New file.
33112 * elf/tst-order-a4.c: New file.
33113 * elf/tst-order-b1.c: New file.
33114 * elf/tst-order-b2.c: New file.
33115 * elf/tst-order-main.c: New file.
33116 New test case by George Gensure <werkt0@gmail.com>.
33117
86e92359
UD
331182010-10-01 Andreas Schwab <schwab@redhat.com>
33119
33120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33121 decoding ACE if AI_CANONIDN.
33122
5d5732b0
UD
331232011-01-18 Ulrich Drepper <drepper@gmail.com>
33124
33125 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33126
a77e8cbc
UD
331272011-01-17 Ulrich Drepper <drepper@gmail.com>
33128
6392473f
UD
33129 * version.h (RELEASE): Bump for 2.13 release.
33130 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33131
620a0529
UD
33132 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33133
18ba70a5
UD
33134 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33135 MADV_NOHUGEPAGE.
32465c3e
UD
33136 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33137 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33138 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33139 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33141 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33142
c0dafcf1
UD
33143 * posix/getconf.c: Update copyright year.
33144 * catgets/gencat.c: Likewise.
33145 * csu/version.c: Likewise.
33146 * debug/catchsegv.sh: Likewise.
33147 * debug/xtrace.sh: Likewise.
33148 * elf/ldconfig.c: Likewise.
33149 * elf/ldd.bash.in: Likewise.
33150 * elf/sprof.c (print_version): Likewise.
33151 * iconv/iconv_prog.c: Likewise.
33152 * iconv/iconvconfig.c: Likewise.
33153 * locale/programs/locale.c: Likewise.
33154 * locale/programs/localedef.c: Likewise.
33155 * malloc/memusage.sh: Likewise.
33156 * malloc/mtrace.pl: Likewise.
33157 * nscd/nscd.c (print_version): Likewise.
33158 * nss/getent.c: Likewise.
33159
a77e8cbc
UD
33160 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33161 PF_CAIF, and PF_ALG.
33162 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33163
77e8bddf
AS
331642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33165
1f20b93a
AS
33166 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33167 (modules-names): Use them.
33168 (ifunc-test-modules, ifunc-pie-tests): Define.
33169 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33170 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33171 (test-extras): Likewise.
33172 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33173 $(compile-command.c).
33174 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33175 (all-built-dso): Define.
33176 (check-textrel.out, check-execstack.out): Depend on it.
33177
77e8bddf
AS
33178 * configure.in: Don't override --enable-multi-arch.
33179
bc425b33
UD
331802011-01-15 Ulrich Drepper <drepper@gmail.com>
33181
33182 [BZ #6812]
33183 * nscd/hstcache.c (tryagain): Define.
33184 (cache_addhst): Return tryagain not notfound for temporary errors.
33185 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33186 failed.
33187
794c3ad3
UD
331882011-01-14 Ulrich Drepper <drepper@gmail.com>
33189
70181fdd
UD
33190 [BZ #10563]
33191 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33192 to make the syscall.
33193 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33194
794c3ad3
UD
33195 [BZ #12378]
33196 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33197 and fall back to matching as normal character if the string ends before
33198 the matching ']' is found. This is what POSIX requires.
33199 * posix/testfnm.c: Adjust test result.
33200 * posix/globtest.sh: Adjust test result. Add new test.
33201 * posix/tst-fnmatch.input: Likewise.
33202 * posix/tst-fnmatch2.c: Add new test.
33203
68dc9497
AS
332042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33205
33206 * elf/Makefile (check-execstack): Revert last change. Depend on
33207 check-execstack.h.
33208 (check-execstack.h): New target.
33209 (generated): Add check-execstack.h.
33210 * elf/check-execstack.c: Include "check-execstack.h".
33211 (main): Revert last change.
33212 (handle_file): Return zero if GNU_STACK is absent and
33213 DEFAULT_STACK_PERMS doesn't include PF_X.
33214
451f001b
UD
332152011-01-13 Ulrich Drepper <drepper@gmail.com>
33216
cfa28e56
UD
33217 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33218 in child fails because the descriptor is already closed.
8cf8ce17
UD
33219 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33220 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33221 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33222
1086d70d
UD
33223 [BZ #12397]
33224 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33225 syscall.
33226
451f001b
UD
33227 [BZ #10484]
33228 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33229 temporary buffer used to handle multi lookups locally.
a85b5cb4 33230 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33231
08769175
UD
332322011-01-12 Ulrich Drepper <drepper@gmail.com>
33233
33234 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33235 loader is ld.so.
33236
5e49c52e
UD
332372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33238
33239 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33240 alignment for SSE2.
33241
60522a5f
UD
332422011-01-12 Ulrich Drepper <drepper@gmail.com>
33243
33244 [BZ #12394]
33245 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33246 characters. When rounding increased number of integer digits recompute
33247 number of groups.
33248 * stdio-common/tst-grouping.c: New file.
33249 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33250
f257bbd7
UD
332512011-01-09 Ulrich Drepper <drepper@gmail.com>
33252
33253 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33254 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33255
33256 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33257 void.
33258 * bits/select.h: Likewise.
33259
fa9c15cb
UD
332602011-01-08 Ulrich Drepper <drepper@gmail.com>
33261
33262 * po/ja.po: Update from translation team.
33263
16c2895f
DM
332642011-01-04 David S. Miller <davem@sunset.davemloft.net>
33265
33266 [BZ #11155]
33267 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33268 implementation just like for lxstat, fxstatat, et al.
33269
2543fef2
JM
332702010-12-27 Jim Meyering <meyering@redhat.com>
33271
33272 [BZ #12348]
33273 * posix/regexec.c (build_trtable): Return failure indication upon
33274 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33275
98727dbe
UD
332762010-12-25 Ulrich Drepper <drepper@gmail.com>
33277
5bd6dc5c
UD
33278 [BZ #12201]
33279 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33280 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33281 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33282 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33283
97983464
UD
33284 [BZ #12207]
33285 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33286
98727dbe
UD
33287 [BZ #12204]
33288 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33289 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33290
4a531bb0
L
332912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33292
33293 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33294 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33295 script has SORT_BY_INIT_PRIORITY.
33296 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33297 NO_CTORS_DTORS_SECTIONS is defined.
33298 * elf/soinit.c: Likewise.
33299 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33300 NO_CTORS_DTORS_SECTIONS is defined.
33301 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33302 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33303 * sysdeps/sh/init-first.c: Likewise.
33304 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33305
07eb4b71
UD
333062010-12-24 Ulrich Drepper <drepper@gmail.com>
33307
33308 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33309 always use the slow path.
33310
30950a5f
RA
333112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33312
33313 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33314 similar rule which adds the sysdep directories to the header search in
33315 order to pick up the correct platform stackinfo.h.
33316 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33317 perform test if it is, otherwise return successfully without testing.
33318 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33319 DEFAULT_STACK_PERMS define in stackinfo.h.
33320 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33321 defined in stackinfo.h.
33322 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33323 DEFAULT_STACK_PERMS defined in stackinfo.h.
33324 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33325 * sysdeps/ia64/stackinfo.h: Likewise.
33326 * sysdeps/s390/stackinfo.h: Likewise.
33327 * sysdeps/sh/stackinfo.h: Likewise.
33328 * sysdeps/sparc/stackinfo.h: Likewise.
33329 * sysdeps/x86_64/stackinfo.h: Likewise.
33330 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33331 PF_X for powerpc64. Retain PF_X for powerpc32.
33332
db753e2c
UD
333332010-12-19 Ulrich Drepper <drepper@gmail.com>
33334
14b697f7
UD
33335 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33336 accurately.
db753e2c
UD
33337 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33338 GETDENTS_64BIT_ALIGNED.
33339
28300719
UD
333402010-12-14 Ulrich Drepper <dreper@gmail.com>
33341
14b697f7 33342 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33343
4f197237
AS
333442010-12-10 Andreas Schwab <schwab@redhat.com>
33345
dbb0472f
AS
33346 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33347 _GNU_SOURCE.
33348
4f197237
AS
33349 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33350 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33351 Remove __restrict.
33352 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33353 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33354
fb88ac72
UD
333552010-12-09 Ulrich Drepper <drepper@gmail.com>
33356
33357 [BZ #11655]
33358 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33359 are initialized.
33360
42acbb92
JJ
333612010-12-09 Jakub Jelinek <jakub@redhat.com>
33362
33363 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33364
c038d98d
UD
333652010-12-03 Ulrich Drepper <drepper@gmail.com>
33366
33367 * po/it.po: Update from translation team.
33368
3a4a2499
L
333692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33370
33371 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33372 unused codes.
33373
1e24cf6e
UD
333742010-11-30 Ulrich Drepper <drepper@gmail.com>
33375
33376 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33377
a7690819
AS
333782010-11-24 Andreas Schwab <schwab@redhat.com>
33379
33380 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33381 specially.
33382 (gaih_getanswer_slice): Likewise.
33383
3bf8d1b1
JJ
333842010-10-20 Jakub Jelinek <jakub@redhat.com>
33385
33386 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33387
6db52fbb
PB
333882010-05-31 Petr Baudis <pasky@suse.cz>
33389
33390 [BZ #11149]
33391 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33392 silently even in the chroot mode.
33393
eaca7569
UD
333942010-11-22 Ulrich Drepper <drepper@gmail.com>
33395
33396 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33397 last patch a bit. Pretty printing
33398
3056dcdb
UD
333992010-05-31 Petr Baudis <pasky@suse.cz>
33400
33401 [BZ #10085]
33402 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33403 initialization of skip_initgroups_dyn.
33404
cf7c9078
UD
334052010-11-19 Ulrich Drepper <drepper@gmail.com>
33406
33407 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33408 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33409
a1fb5e3e
UD
334102010-11-16 Ulrich Drepper <drepper@gmail.com>
33411
33412 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33413
3540d66b
AS
334142010-11-11 Andreas Schwab <schwab@redhat.com>
33415
33416 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33417 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33418 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33419 ($(objpfx)tst-fnmatch-mem): New rule.
33420 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33421 * posix/tst-fnmatch.c (main): Call mtrace.
33422
13b69574
L
334232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33424
33425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33426 Support Intel processor model 6 and model 0x2c.
33427
da93d214
LM
334282010-11-10 Luis Machado <luisgpm@br.ibm.com>
33429
33430 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33431 signed comparison.
33432
8ca52c6e
L
334332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33434
33435 [BZ #12205]
33436 * string/test-strncasecmp.c (check_result): New function.
33437 (do_one_test): Use it.
33438 (check1): New function.
33439 (test_main): Use it.
33440 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33441 Support strcasecmp and strncasecmp.
33442
69da074d
UD
334432010-11-08 Ulrich Drepper <drepper@gmail.com>
33444
33445 [BZ #12194]
33446 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33447 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33448
ff02d528
L
334492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33450
33451 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33452 IFUNC support.
33453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33454 memset-x86-64.
33455 * sysdeps/x86_64/multiarch/bzero.S: New file.
33456 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33457 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33458 * sysdeps/x86_64/multiarch/memset.S: New file.
33459 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33461 Set bit_Prefer_SSE_for_memop for Intel processors.
33462 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33463 Define.
33464 (index_Prefer_SSE_for_memop): Define.
33465 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33466
344d0b54
LM
334672010-11-04 Luis Machado <luisgpm@br.ibm.com>
33468
33469 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33470 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33471
c0dde15b
UD
334722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33473
33474 [BZ #12191]
33475 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33476 (__x86_64_raw_data_cache_size_half): Likewise.
33477 (__x86_64_raw_shared_cache_size): Likewise.
33478 (__x86_64_raw_shared_cache_size_half): Likewise.
33479
33480 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33481 (__x86_64_raw_data_cache_size_half): Likewise.
33482 (__x86_64_raw_shared_cache_size): Likewise.
33483 (__x86_64_raw_shared_cache_size_half): Likewise.
33484 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33485 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33486 and __x86_64_raw_shared_cache_size_half. Round
33487 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33488 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33489 to multiple of 256 bytes.
33490
0e516e0e
MS
334912010-11-03 Ulrich Drepper <drepper@gmail.com>
33492
33493 [BZ #12167]
33494 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33495 of inacessible symlinks. Verify result of symlink before returning it.
33496 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33497 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33498
0e012e87
ER
334992010-10-28 Erich Ritz <erichritz@gmail.com>
33500
33501 * math/math.h (isinf): Fix typo in comment.
33502
de0ff7bc
UD
335032010-11-01 Ulrich Drepper <drepper@gmail.com>
33504
33505 * po/da.po: Update from translation team.
33506
fa41c84d
UD
335072010-10-26 Ulrich Drepper <drepper@gmail.com>
33508
33509 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33510 is added to the list.
33511
f0967738
AK
335122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33513 Ulrich Drepper <drepper@gmail.com>
33514
33515 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33516 the global list here. Move code to...
33517 (_dl_add_to_namespace_list): ...here. New function.
33518 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33519 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33520 * elf/dl-load.c (lose): Don't remove the element from the list.
33521 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33522 (_dl_map_object): Likewise.
33523
335242010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33525
33526 [BZ #12159]
33527 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33528 into all bytes of SSE register.
33529 Patch by Richard Li <richardpku@gmail.com>.
33530
f0967738 335312010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33532
33533 [BZ #12140]
33534 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33535 perturbing.
33536
d0b9e94f
MB
335372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33538
33539 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33540 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33541 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33542 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33544 submachine.
33545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33546
8e9f92e9
AS
335472010-10-22 Andreas Schwab <schwab@redhat.com>
33548
33549 * include/dlfcn.h (__RTLD_SECURE): Define.
33550 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33551 mode & __RTLD_SECURE instead.
33552 (open_path): Rename preloaded parameter to secure.
33553 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33554 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33555 * elf/dl-deps.c (openaux): Likewise.
33556 * elf/rtld.c (struct map_args): Remove is_preloaded.
33557 (map_doit): Don't use it.
33558 (dl_main): Likewise.
33559 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33560 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33561
bc96fbda
AS
335622010-09-09 Andreas Schwab <schwab@redhat.com>
33563
33564 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33565 (sysd-rules-targets): Remove duplicates.
33566 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33567 rtld-%.$o dependency.
33568
22cd1c9b
AS
335692010-10-18 Andreas Schwab <schwab@redhat.com>
33570
33571 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33572 _dl_map_object do it.
33573
18edac48
UD
335742010-10-19 Ulrich Drepper <drepper@gmail.com>
33575
33576 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33577 fast fma builtins, define the macros in the C99 standard.
33578 (FP_FAST_FMAF): Likewise.
33579 (FP_FAST_FMAL): Likewise.
33580 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33581
33582 * bits/mathdef.h: Update copyright year.
33583 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33584
d2050124
MM
335852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33586
33587 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33588 builtins, define the macros in the C99 standard.
33589 (FP_FAST_FMAF): Likewise.
33590 (FP_FAST_FMAL): Likewise.
33591 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33592 multiply/add.
33593 (FP_FAST_FMAF): Likewise.
33594
475facd1
JJ
335952010-10-15 Jakub Jelinek <jakub@redhat.com>
33596
33597 [BZ #3268]
33598 * math/libm-test.inc (fma_test): Some new testcases.
33599 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33600 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33601 y and infinite z. Do multiplication by C already in long double.
33602 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33604 y and infinite z. Do bitwise or of inexact bit into u.d.
33605 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33606 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33607 * sysdeps/i386/fpu/s_fma.S: Removed.
33608 * sysdeps/i386/fpu/s_fmal.S: Removed.
33609
7c08a05c
JJ
336102010-10-16 Jakub Jelinek <jakub@redhat.com>
33611
33612 [BZ #3268]
33613 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33615 computation is not scheduled after fetestexcept. Fix value
33616 of minimum denormal long double.
33617
f3f7372d
JJ
336182010-10-14 Jakub Jelinek <jakub@redhat.com>
33619
33620 [BZ #3268]
33621 * math/libm-test.inc (fma_test): Add some more tests.
33622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33623 correctly.
33624
14d43591
AS
336252010-10-15 Andreas Schwab <schwab@redhat.com>
33626
33627 * scripts/data/localplt-s390-linux-gnu.data: New file.
33628 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33629
5e908464
JJ
336302010-10-13 Jakub Jelinek <jakub@redhat.com>
33631
33632 [BZ #3268]
33633 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33634 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33635 instead of dbl-64.
33636 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33637 inlines.
33638 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33640 if one of x and y is very large and the other is subnormal.
33641 * sysdeps/s390/fpu/s_fmaf.c: New file.
33642 * sysdeps/s390/fpu/s_fma.c: New file.
33643 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33644 * sysdeps/powerpc/fpu/s_fma.S: New file.
33645 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33646 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33647 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33648
336492010-10-12 Jakub Jelinek <jakub@redhat.com>
33650
33651 [BZ #3268]
33652 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33653 fma tests.
33654 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33655 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33656 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33657 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33658 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33659 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33660 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33661
b833d51f
UD
336622010-10-12 Ulrich Drepper <drepper@redhat.com>
33663
33664 [BZ #12078]
33665 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33666 * posix/bug-regex31.input: Add test case.
33667
1751705d
UD
336682010-10-11 Ulrich Drepper <drepper@gmail.com>
33669
e9b9cbf5
UD
33670 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33671 * posix/bug-regex31.input: New file.
33672
33673 [BZ #12078]
33674 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33675 (parse_sub_exp): Fix last change, use postorder.
33676
ef06edbe
UD
33677 * posix/bug-regex31.c: New file.
33678 * posix/Makefile: Add rules to build and run bug-regex31.
33679
a129c80d
UD
33680 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33681
33682 [BZ #12078]
33683 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33684
b76b818e
UD
33685 [BZ #12108]
33686 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33687 to have entries in sys_siglist.
33688
1751705d
UD
33689 [BZ #12093]
33690 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33691 be NULL.
33692
9ff8d36f
JJ
336932010-10-07 Jakub Jelinek <jakub@redhat.com>
33694
33695 [BZ #3268]
33696 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33697 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33698 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33699 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33700 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33701 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33702 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33703 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33704 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33705 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33706 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33707 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33708 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33709 * math/ftestexcept.c (fetestexcept): Likewise.
33710 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33711 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33712 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33713 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33714 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33715 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33716 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33717
af325969
UD
337182010-10-11 Ulrich Drepper <drepper@gmail.com>
33719
c579b202 33720 [BZ #12107]
af325969
UD
33721 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33722 newline.
33723
67a67b95
UD
337242010-10-06 Ulrich Drepper <drepper@gmail.com>
33725
33726 * string/bug-strstr1.c: New file.
33727 * string/Makefile: Add rules to build and run bug-strstr1.
33728
5fb308bc
EB
337292010-10-05 Eric Blake <eblake@redhat.com>
33730
33731 [BZ #12092]
33732 * string/str-two-way.h (two_way_long_needle): Always clear memory
33733 when skipping input due to the shift table.
33734
45db99c7
UD
337352010-10-03 Ulrich Drepper <drepper@gmail.com>
33736
3b111893
UD
33737 [BZ #12005]
33738 * malloc/mcheck.c: Handle large requests.
33739
45db99c7
UD
33740 [BZ #12077]
33741 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33742 for strncmp and strncasecmp.
33743 * string/stratcliff.c: Add tests for strcmp and strncmp.
33744 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33745
cf7a1eb8
NI
337462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33747
33748 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33749 __set_fpscr.
33750
6484ba5e
AJ
337512010-09-30 Andreas Jaeger <aj@suse.de>
33752
33753 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33754 (CGROUP_SUPER_MAGIC): Define.
33755 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33756 Handle btrfs and cgroup file systems.
33757 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33758 Likewise.
33759
91c42559
LM
337602010-09-27 Luis Machado <luisgpm@br.ibm.com>
33761
33762 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33763 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33764
87a97932
AK
337652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33766
33767 [BZ #12067]
33768 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33769 trying to locate the ELF header.
33770
c21cc9bc
AS
337712010-09-27 Andreas Schwab <schwab@redhat.com>
33772
33773 [BZ #11611]
33774 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33775 Mask out sign-bit copies when constructing f_fsid.
33776
315970f6
PB
337772010-09-24 Petr Baudis <pasky@suse.cz>
33778
33779 * debug/stack_chk_fail_local.c: Add missing licence exception.
33780 * debug/warning-nop.c: Likewise.
33781
1ac7a2c7
JM
337822010-09-15 Joseph Myers <joseph@codesourcery.com>
33783
33784 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33785 implementing getdents64 using getdents syscall, set d_type if
33786 __ASSUME_GETDENTS32_D_TYPE.
33787
56801c50
AS
337882010-09-16 Andreas Schwab <schwab@redhat.com>
33789
33790 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33791 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33792
dda51327
UD
337932010-09-21 Ulrich Drepper <drepper@redhat.com>
33794
33795 [BZ #12037]
33796 * posix/unistd.h: Undo change of feature selection for ftruncate from
33797 2010-01-11.
33798
8ffcee4a
UD
337992010-09-20 Ulrich Drepper <drepper@redhat.com>
33800
a545ecd9 33801 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33802 detection.
33803
e24f0a8b
AS
338042010-09-20 Andreas Schwab <schwab@redhat.com>
33805
33806 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33807 fanotify_mark.
33808 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33809
7291c56f
AS
338102010-09-14 Andreas Schwab <schwab@redhat.com>
33811
33812 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33813 variables after CHECK_SP call.
33814 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33815
bc5fb037
AS
338162010-09-13 Andreas Schwab <schwab@redhat.com>
33817 Ulrich Drepper <drepper@redhat.com>
33818
33819 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33820 re-relocationg ld.so.
33821 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33822 _dl_init_paths call.
33823 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33824 here anymore.
33825
e66e7419
UD
338262010-09-14 Ulrich Drepper <drepper@redhat.com>
33827
33828 * resolv/res_init.c (__res_vinit): Count the default server we added.
33829
c044aa75
CLT
338302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33831 Ulrich Drepper <drepper@redhat.com>
33832
33833 [BZ #11968]
33834 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33835 (____longjmp_chk): Use %ebx for saving value across system call.
33836 Add unwind info.
33837
32cf4069
AS
338382010-09-06 Andreas Schwab <schwab@redhat.com>
33839
33840 * manual/Makefile: Don't mix pattern rules with normal rules.
33841
817328ee
AS
338422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33843
33844 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33845 operation.
33846 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33847 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33848 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33849 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33850 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33851 Likewise.
33852
29fddf61
UD
338532010-09-04 Ulrich Drepper <drepper@redhat.com>
33854
33855 [BZ #11979]
33856 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33857 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33858
0959ffc9
UD
338592010-09-02 Ulrich Drepper <drepper@redhat.com>
33860
33861 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33862 * sysdeps/x86_64/addmul_1.S: Likewise.
33863 * sysdeps/x86_64/lshift.S: Likewise.
33864 * sysdeps/x86_64/mul_1.S: Likewise.
33865 * sysdeps/x86_64/rshift.S: Likewise.
33866 * sysdeps/x86_64/sub_n.S: Likewise.
33867 * sysdeps/x86_64/submul_1.S: Likewise.
33868
ece29840
ST
338692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33870
0959ffc9
UD
33871 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33872 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33873 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33874 * bits/sched.h [__need_schedparam]
ece29840 33875 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33876 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33877 (__defined_schedparam): Define to 1.
ece29840
ST
33878 (__sched_param): New structure, identical to sched_param.
33879 (__need_schedparam): Undefine.
33880
e53a31fe
MF
338812010-08-31 Mike Frysinger <vapier@gentoo.org>
33882
fdc0c10d
MF
33883 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33884 (epoll_create1): Declare.
33885
e53a31fe
MF
33886 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33887
a726d796
AS
338882010-08-31 Andreas Schwab <schwab@redhat.com>
33889
33890 [BZ #7066]
33891 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33892 shifting retval into place.
33893
2f3e3dc7
UD
338942010-09-01 Ulrich Drepper <drepper@redhat.com>
33895
f2933da9
UD
33896 * nis/rpcsvc/nis.h: Update copyright notice.
33897 * nis/rpcsvc/nis.x: Likewise.
33898 * nis/rpcsvc/nis_callback.h: Likewise.
33899 * nis/rpcsvc/nis_callback.x: Likewise.
33900 * nis/rpcsvc/nis_object.x: Likewise.
33901 * nis/rpcsvc/nis_tags.h: Likewise.
33902 * nis/rpcsvc/yp.h: Likewise.
33903 * nis/rpcsvc/yp.x: Likewise.
33904 * nis/rpcsvc/ypupd.h: Likewise.
33905 * nis/yp_xdr.c: Likewise.
33906 * nis/ypupdate_xdr.c: Likewise.
33907
2f3e3dc7
UD
33908 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33909 mainly the body of pmap_getport. Add parameters to specify timeouts.
33910 (pmap_getport): Use __libc_rpc_getport.
33911 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33912 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33913 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33914
f3dcc2f9
AS
339152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33916
33917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33918 fanotify_mark.
33919
6d34eb5b
RM
339202010-08-27 Roland McGrath <roland@redhat.com>
33921
33922 * sysdeps/i386/i686/multiarch/Makefile
33923 (CFLAGS-varshift.c): New variable.
33924
9ea3de11
UD
339252010-08-27 Ulrich Drepper <drepper@redhat.com>
33926
c96d23fc
UD
33927 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33928 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33929
9ea3de11
UD
33930 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33931
33932 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33933
623aac7f
L
339342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33935
33936 * sysdeps/x86_64/strlen.S: Unroll the loop.
33937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33938 strlen-sse2 strlen-sse2-bsf.
33939 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33940 __strlen_no_bsf if bit_Slow_BSF is set.
33941 (__strlen_sse42): Removed.
33942 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33943 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33944
8b2b7715
RM
339452010-08-25 Roland McGrath <roland@redhat.com>
33946
33947 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33948 * sysdeps/x86_64/multiarch/varshift.c: New file.
33949 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33950 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33951 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33952 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33953
e73015f2
L
339542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33955
33956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33957 strlen-sse2 strlen-sse2-bsf.
33958 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33959 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33960 (__strlen_sse2): Removed.
33961 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33962 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33964 bit_Slow_BSF for Atom.
33965 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33966 (index_Slow_BSF): Define.
33967 (HAS_SLOW_BSF): Define.
33968
df24a73e
UD
339692010-08-25 Ulrich Drepper <drepper@redhat.com>
33970
33971 [BZ #10851]
33972 * resolv/res_init.c (__res_vinit): When no server address at all
33973 is given default to loopback.
33974
f2ac4868
RM
339752010-08-24 Roland McGrath <roland@redhat.com>
33976
09055553
RM
33977 * configure.in: Remove config-name.h generation.
33978 * configure: Regenerated.
33979 * config-name.in: File removed.
33980 * scripts/config-uname.sh: New file.
33981 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33982 ($(objdir)config-name.h): New target.
33983
f2ac4868
RM
33984 * sunrpc/rpc_parse.h: Avoid nested comment.
33985
73f27d5e
RH
339862010-08-24 Richard Henderson <rth@redhat.com>
33987 Ulrich Drepper <drepper@redhat.com>
33988 H.J. Lu <hongjiu.lu@intel.com>
33989
33990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33992 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33993 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33994 _mm_alignr_epi8 with _mm_loadu_si128.
33995 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33996 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33997 (__m128i_shift_right): Removed.
33998 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33999 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34000 * sysdeps/x86_64/multiarch/varshift.h: New file.
34001 * sysdeps/x86_64/multiarch/varshift.S: New file.
34002
84b9230c
MF
340032010-08-21 Mike Frysinger <vapier@gentoo.org>
34004
34005 * configure.in: Move assembler checks to before sysdep dir checking.
34006
9bbd0ddc
PB
340072010-08-20 Petr Baudis <pasky@suse.cz>
34008
34009 * LICENSES: Sync the sunrpc license.
34010
9da4bb31
UD
340112010-08-19 Ulrich Drepper <drepper@redhat.com>
34012
a7ab6ec8
UD
34013 * sunrpc/auth_des.c: Update copyright notice once again.
34014 * sunrpc/auth_none.c: Likewise.
34015 * sunrpc/auth_unix.c: Likewise.
34016 * sunrpc/authdes_prot.c: Likewise.
34017 * sunrpc/authuxprot.c: Likewise.
34018 * sunrpc/bindrsvprt.c: Likewise.
34019 * sunrpc/clnt_gen.c: Likewise.
34020 * sunrpc/clnt_perr.c: Likewise.
34021 * sunrpc/clnt_raw.c: Likewise.
34022 * sunrpc/clnt_simp.c: Likewise.
34023 * sunrpc/clnt_tcp.c: Likewise.
34024 * sunrpc/clnt_udp.c: Likewise.
34025 * sunrpc/clnt_unix.c: Likewise.
34026 * sunrpc/des_crypt.c: Likewise.
34027 * sunrpc/des_soft.c: Likewise.
34028 * sunrpc/get_myaddr.c: Likewise.
34029 * sunrpc/getrpcport.c: Likewise.
34030 * sunrpc/key_call.c: Likewise.
34031 * sunrpc/key_prot.c: Likewise.
34032 * sunrpc/openchild.c: Likewise.
34033 * sunrpc/pm_getmaps.c: Likewise.
34034 * sunrpc/pm_getport.c: Likewise.
34035 * sunrpc/pmap_clnt.c: Likewise.
34036 * sunrpc/pmap_prot.c: Likewise.
34037 * sunrpc/pmap_prot2.c: Likewise.
34038 * sunrpc/pmap_rmt.c: Likewise.
34039 * sunrpc/rpc/auth.h: Likewise.
34040 * sunrpc/rpc/auth_unix.h: Likewise.
34041 * sunrpc/rpc/clnt.h: Likewise.
34042 * sunrpc/rpc/des_crypt.h: Likewise.
34043 * sunrpc/rpc/key_prot.h: Likewise.
34044 * sunrpc/rpc/netdb.h: Likewise.
34045 * sunrpc/rpc/pmap_clnt.h: Likewise.
34046 * sunrpc/rpc/pmap_prot.h: Likewise.
34047 * sunrpc/rpc/pmap_rmt.h: Likewise.
34048 * sunrpc/rpc/rpc.h: Likewise.
34049 * sunrpc/rpc/rpc_des.h: Likewise.
34050 * sunrpc/rpc/rpc_msg.h: Likewise.
34051 * sunrpc/rpc/svc.h: Likewise.
34052 * sunrpc/rpc/svc_auth.h: Likewise.
34053 * sunrpc/rpc/types.h: Likewise.
34054 * sunrpc/rpc/xdr.h: Likewise.
34055 * sunrpc/rpc_clntout.c: Likewise.
34056 * sunrpc/rpc_cmsg.c: Likewise.
34057 * sunrpc/rpc_common.c: Likewise.
34058 * sunrpc/rpc_cout.c: Likewise.
34059 * sunrpc/rpc_dtable.c: Likewise.
34060 * sunrpc/rpc_hout.c: Likewise.
34061 * sunrpc/rpc_main.c: Likewise.
34062 * sunrpc/rpc_parse.c: Likewise.
34063 * sunrpc/rpc_parse.h: Likewise.
34064 * sunrpc/rpc_prot.c: Likewise.
34065 * sunrpc/rpc_sample.c: Likewise.
34066 * sunrpc/rpc_scan.c: Likewise.
34067 * sunrpc/rpc_scan.h: Likewise.
34068 * sunrpc/rpc_svcout.c: Likewise.
34069 * sunrpc/rpc_tblout.c: Likewise.
34070 * sunrpc/rpc_util.c: Likewise.
34071 * sunrpc/rpc_util.h: Likewise.
34072 * sunrpc/rpcinfo.c: Likewise.
34073 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34074 * sunrpc/rpcsvc/key_prot.x: Likewise.
34075 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34076 * sunrpc/rpcsvc/mount.x: Likewise.
34077 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34078 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34079 * sunrpc/rpcsvc/rex.x: Likewise.
34080 * sunrpc/rpcsvc/rstat.x: Likewise.
34081 * sunrpc/rpcsvc/rusers.x: Likewise.
34082 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34083 * sunrpc/rpcsvc/spray.x: Likewise.
34084 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34085 * sunrpc/rtime.c: Likewise.
34086 * sunrpc/svc.c: Likewise.
34087 * sunrpc/svc_auth.c: Likewise.
34088 * sunrpc/svc_authux.c: Likewise.
34089 * sunrpc/svc_raw.c: Likewise.
34090 * sunrpc/svc_run.c: Likewise.
34091 * sunrpc/svc_simple.c: Likewise.
34092 * sunrpc/svc_tcp.c: Likewise.
34093 * sunrpc/svc_udp.c: Likewise.
34094 * sunrpc/svc_unix.c: Likewise.
34095 * sunrpc/svcauth_des.c: Likewise.
34096 * sunrpc/xcrypt.c: Likewise.
34097 * sunrpc/xdr.c: Likewise.
34098 * sunrpc/xdr_array.c: Likewise.
34099 * sunrpc/xdr_float.c: Likewise.
34100 * sunrpc/xdr_mem.c: Likewise.
34101 * sunrpc/xdr_rec.c: Likewise.
34102 * sunrpc/xdr_ref.c: Likewise.
34103 * sunrpc/xdr_sizeof.c: Likewise.
34104 * sunrpc/xdr_stdio.c: Likewise.
34105
9da4bb31
UD
34106 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34107 handling.
34108
bdaa77bc
AS
341092010-08-19 Andreas Schwab <schwab@redhat.com>
34110
34111 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34112
fe2f79db
LM
341132010-08-19 Luis Machado <luisgpm@br.ibm.com>
34114
34115 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34116 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34117 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34118 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34119 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34120 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34121 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34122 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34123 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34124 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34125 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34126 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34127 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34128 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34129
b9b42ee0
AB
341302010-07-26 Anton Blanchard <anton@samba.org>
34131
34132 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34133 * malloc/arena.c (heap_trim): Likewise.
34134
1c06ba31
UD
341352010-08-16 Ulrich Drepper <drepper@redhat.com>
34136
34137 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34138 here. Not...
34139 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34140 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34141
f8392f40
L
341422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34143
34144 * sysdeps/i386/elf/Makefile: New file.
34145
3162f12e
AS
341462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34147
34148 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34149 from fanotify_init.
34150 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34151 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34152
28c90b2c
UD
341532010-08-15 Ulrich Drepper <drepper@redhat.com>
34154
34155 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34156 of strncasecmp_l.
1feccb6c 34157 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34158
ca6bb004
UD
341592010-08-14 Ulrich Drepper <drepper@redhat.com>
34160
e9f82e0d
UD
34161 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34162 strncase_l-nonascii.
34163 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34164 Add strncase_l-ssse3.
34165 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34166 * sysdeps/x86_64/strcmp.S: Likewise.
34167 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34168 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34169 * sysdeps/x86_64/strncase.S: New file.
34170 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34171 * sysdeps/x86_64/strncase_l.S: New file.
34172 * string/Makefile (strop-tests): Add strncasecmp.
34173 * string/test-strncasecmp.c: New file.
34174
34175 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34176 warning.
34177
ca6bb004
UD
34178 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34179 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34180
052fa7b3
AS
341812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34182
34183 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34184
962dba78
UD
341852010-08-12 Ulrich Drepper <drepper@redhat.com>
34186
34187 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34188 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34189 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34190
bebff237
AM
341912010-05-01 Alan Modra <amodra@gmail.com>
34192
34193 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34194 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34195 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34196 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34197 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34198 tidying. Don't tail-call __sigjmp_save for static lib.
34199 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34200 save location.
34201 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34202 (CALL_MCOUNT): Add eh info, and nop after bl.
34203 (TAIL_CALL_SYSCALL_ERROR): New macro.
34204 (PSEUDO_RET): Use it.
34205 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34206 Correct save location of integer regs and cr.
34207 (_dl_profile_resolve): Correct cr save location. Delete nops
34208 after bl when SHARED. Reduce cfi size a little by better
34209 placement of cfi directives.
34210 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34211 make a stack frame. Instead use parm save area as a temp.
34212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34213 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34215 Don't make a stack frame for parent, use parm save area.
34216 Increase child stack frame to 112 bytes. Don't save unused reg,
34217 and adjust reg usage. Set up cfi on error recovery and
34218 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34220 (__makecontext): Add dummy nop after jump to exit.
34221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34222 Use correct parm save area and cr save, reduce stack frame.
34223 Correct cfi for possible PSEUDO_RET frame setup.
34224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34225 Branch to local label emitted by PSEUDO_RET rather than
34226 __syscall_error.
34227
02637374
AS
342282010-08-12 Andreas Schwab <schwab@redhat.com>
34229
34230 [BZ #11904]
34231 * locale/programs/locale.c (print_assignment): New function.
34232 (show_locale_vars): Use it.
34233
c3e2f19b
UD
342342010-08-11 Ulrich Drepper <drepper@redhat.com>
34235
3cdaa6ad
UD
34236 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34237 field.
34238 (struct statfs64): Likewise.
34239 (_STATFS_F_FLAGS): Define.
34240 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34241 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34242 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34243 (ST_VALID): Define locally.
34244 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34245 __statvfs_getflags, use the provided value.
34246 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34247 __ASSUME_STATFS_F_FLAGS.
34248
754f7da3
UD
34249 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34250
10b3bedc
UD
34251 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34252 Add sys/fanotify.h.
34253 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34254 fanotify_mask for GLIBC_2.13.
34255 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34256 fanotify_init and fanotify_mark.
34257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34258 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34259
c08fb0d7
UD
34260 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34261 Add prlimit.
34262 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34263 prlimit64 for GLIBC_2.13.
34264 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34265 prlimit64.
34266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34267 syscall.
34268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34269 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34270 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34271 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34272 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34273 add prlimit alias.
34274 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34275
15bac72b
UD
34276 [BZ #11903]
34277 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34278 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34279
c3e2f19b
UD
34280 * nss/Makefile: Add rules to build and run tst-nss-test1.
34281 * shlib-versions: Add entry for libnss_test1.
34282 * nss/nss_test1.c: New file.
34283 * nss/tst-nss-test1.c: New file.
34284
34285 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34286 (__nss_configure_lookup): Set appropriate entry in
34287 __nss_configure_lookup to true.
34288 * nss/nsswitch.h: Define enum with indeces of databases in
34289 databases and __nss_database_custom arrays. Declare
34290 __nss_database_custom.
34291 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34292 to avoid using nscd when custom rules are installed.
34293 * nss/getXXbyYY_r.c: Likewise.
34294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34295
34296 * nss/nss_files/files-parse.c: Whitespace fixes.
34297
f15ce4d8
UD
342982010-08-09 Ulrich Drepper <drepper@redhat.com>
34299
34300 [BZ #11883]
34301 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34302 * posix/fnmatch_loop.c: Likewise.
34303
d22e4cc9
AK
343042010-07-17 Andi Kleen <ak@linux.intel.com>
34305
34306 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34307 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34308 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34309 * Versions.def [GLIBC_2.13]: Add.
34310
805bc17d
UD
343112010-08-06 Ulrich Drepper <drepper@redhat.com>
34312
34313 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34314 Also fail if tpwd after pwuid call is NULL.
34315
5a42321d
ST
343162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34317
34318 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34319 when converting to ms.
34320
fd3ebeda
ST
343212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34322
34323 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34324 EOPNOTSUPP errors with ENOTTY.
34325 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34326 EOPNOTSUPP errors with ENOTTY.
34327
73507d3a
UD
343282010-07-31 Ulrich Drepper <drepper@redhat.com>
34329
34330 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34331 Add strcasecmp_l-ssse3.
34332 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34333 strcasecmp.
34334 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34335 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34336 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34337
fe36dd02
UD
343382010-07-30 Ulrich Drepper <drepper@redhat.com>
34339
66f6765a
UD
34340 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34341
42e08a54
UD
34342 * string/Makefile (strop-tests): Add strcasecmp.
34343 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34344 strcasecmp_l-nonascii.
34345 (gen-as-const-headers): Add locale-defines.sym.
34346 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34347 * sysdeps/x86_64/strcasecmp.S: New file.
34348 * sysdeps/x86_64/strcasecmp_l.S: New file.
34349 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34350 * sysdeps/x86_64/locale-defines.sym: New file.
34351 * string/test-strcasecmp.c: New file.
34352
fe36dd02
UD
34353 * string/test-strcasestr.c: Test both ends of the range of characters.
34354 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34355
48cbc0d6
RM
343562010-07-29 Roland McGrath <roland@redhat.com>
34357
76e6d6bc 34358 [BZ #11856]
48cbc0d6
RM
34359 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34360
880113d9
UD
343612010-07-27 Ulrich Drepper <drepper@redhat.com>
34362
34363 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34364 for ld.so.
34365
deb9cabb
AS
343662010-07-27 Andreas Schwab <schwab@redhat.com>
34367
34368 * manual/memory.texi (Malloc Tunable Parameters): Document
34369 M_PERTURB.
34370
1c7570ff
RM
343712010-07-26 Roland McGrath <roland@redhat.com>
34372
34373 [BZ #11840]
34374 * configure.in (-fgnu89-inline check): Set and substitute
34375 gnu89_inline, not libc_cv_gnu89_inline.
34376 * configure: Regenerated.
34377 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34378
24fb0f88
UD
343792010-07-26 Ulrich Drepper <drepper@redhat.com>
34380
34381 * string/test-strnlen.c: New file.
34382 * string/Makefile (strop-tests): Add strnlen.
34383 * string/tester.c (test_strnlen): Add a few more test cases.
34384 * string/tst-strlen.c: Better error reporting.
34385
34386 * sysdeps/x86_64/strnlen.S: New file.
34387
8e96b93a
UD
343882010-07-24 Ulrich Drepper <drepper@redhat.com>
34389
34390 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34391 lower-latency instructions.
34392
dbc676d4
UD
343932010-07-23 Ulrich Drepper <drepper@redhat.com>
34394
34395 * string/test-strcasestr.c: New file.
34396 * string/test-strstr.c: New file.
34397 * string/Makefile (strop-tests): Add strstr and strcasestr.
34398 * string/str-two-way.h: Don't undefine MAX.
34399 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34400
f6a31e0e
AS
344012010-07-21 Andreas Schwab <schwab@redhat.com>
34402
34403 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34404 strcasestr-nonascii.
34405 (CFLAGS-strcasestr-nonascii.c): Define.
34406 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34408 Remove unused attribute.
34409
5dbc3b6c
RM
344102010-07-20 Roland McGrath <roland@redhat.com>
34411
34412 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34413 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34414 ld.so.cache was broken. With it, there is no way to disable dsocaps
34415 like LD_HWCAP_MASK can disable hwcaps.
34416
23d101d8
EPM
344172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34418
34419 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34420
cc9f2e47
UD
344212010-07-16 Ulrich Drepper <drepper@redhat.com>
34422
34423 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34424 call in strcasestr.
34425 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34426 __strcasestr_sse42_nonascii.
34427 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34428 strcasestr-nonascii.c.
34429 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34430
77c1b069
LM
344312010-06-15 Luis Machado <luisgpm@br.ibm.com>
34432
34433 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34434 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34435 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34436 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34437
440566c3
UD
344382010-07-09 Ulrich Drepper <drepper@redhat.com>
34439
34440 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34441 fcntl.
34442
5be9d05d
AS
344432010-07-06 Andreas Schwab <schwab@redhat.com>
34444
c30b7ee2 34445 [BZ #11577]
5be9d05d
AS
34446 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34447 dl_signal_cerror.
34448
8a492a67
UD
344492010-07-06 Ulrich Drepper <drepper@redhat.com>
34450
34451 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34452 _PC_PIPE_BUF using F_GETPIPE_SZ.
34453
713df3d5
RM
344542010-07-05 Roland McGrath <roland@redhat.com>
34455
34456 * manual/arith.texi (Rounding Functions): Fix rint description
34457 implicit in round description.
34458
702e8f14
UD
344592010-07-02 Ulrich Drepper <drepper@redhat.com>
34460
34461 * elf/Makefile: Fix linking for a few tests to make recent linker
34462 happy.
34463
52ed8be9
AS
344642010-06-30 Andreas Schwab <schwab@redhat.com>
34465
34466 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34467 $(common-objpfx)libc_nonshared.a.
34468
f47c9a11
LM
344692010-06-21 Luis Machado <luisgpm@br.ibm.com>
34470
34471 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34472 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34473 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34474 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34475 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34476 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34477 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34478 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34493 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34494 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34495 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34496 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34497 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34498 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34499 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34500 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34501 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34502 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34503 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34504 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34519
6fb8cbcb
L
345202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34521
34522 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34523 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34524 * string/memmove.c (memmove): Renamed to ...
34525 (MEMMOVE): ...this. Default to memmove.
34526 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34527 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34528 (END_CHK): Define.
34529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34530 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34531 mempcpy-ssse3-back memmove-ssse3-back.
34532 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34533 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34534 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34535 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34536 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34537 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34538 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34539 * sysdeps/x86_64/multiarch/memmove.c: New file.
34540 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34541 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34542 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34543 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34544 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34545 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34546 Define.
34547 (index_Fast_Copy_Backward): Define.
34548 (HAS_ARCH_FEATURE): Define.
34549 (HAS_FAST_REP_STRING): Define.
34550 (HAS_FAST_COPY_BACKWARD): Define.
34551
4e733bac 345522010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34553
34554 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34555 Restore proper fallback handling.
34556
63c4ed22
UD
345572010-06-19 Ulrich Drepper <drepper@redhat.com>
34558
ac2b484c
UD
34559 [BZ #11701]
34560 * posix/group_member.c (__group_member): Correct checking loop.
34561
63c4ed22
UD
34562 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34563 OOM in getpwuid_r correctly. Return error number when the caller
34564 should return, otherwise -1.
34565 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34566 call returning > 0 value.
34567 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34568
765ade4b
AS
345692010-06-07 Andreas Schwab <schwab@redhat.com>
34570
34571 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34572 libc_nonshared.a from targets in modules-names.
34573
80da2e09
KS
345742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34575
34576 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34577 requires it.
34578
158db122
LM
345792010-06-10 Luis Machado <luisgpm@br.ibm.com>
34580
34581 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34582 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34583 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34584 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34585
caa78cf8
AS
345862010-06-02 Andreas Schwab <schwab@redhat.com>
34587
34588 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34589
b2ef2c01
UD
345902010-06-14 Ulrich Drepper <drepper@redhat.com>
34591
34592 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34593 and F_GETPIPE_SZ.
34594 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34595 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34596 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34597 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34598 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34599 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34600
fbd643b6
RM
346012010-06-14 Roland McGrath <roland@redhat.com>
34602
34603 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34604
f32f2869
JJ
346052010-06-07 Jakub Jelinek <jakub@redhat.com>
34606
34607 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34608 __REDIRECT followed by __THROW.
34609 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34610 * posix/getopt.h (getopt): Likewise.
34611
2a50c078
EPM
346122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34613
34614 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34615 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34616 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34617 in AT_FLAGS.
34618 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34619 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34620
eb5ad2eb
LM
346212010-05-28 Luis Machado <luisgpm@br.ibm.com>
34622
34623 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34624
3c88fe1e
L
346252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34626
34627 [BZ #11640]
34628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34629 Properly check family and model.
34630
d2f73151
TY
346312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34632
34633 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34634
ebd2e13d
LM
346352010-05-24 Luis Machado <luisgpm@br.ibm.com>
34636
34637 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34638
b32b8b45
UD
346392010-05-21 Ulrich Drepper <drepper@redhat.com>
34640
34641 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34642 symbol reference.
34643
9acbe24d
AS
346442010-05-19 Andreas Schwab <schwab@redhat.com>
34645
34646 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34647 symbol reference.
34648
f0ccf6ea
AS
346492010-05-21 Andreas Schwab <schwab@redhat.com>
34650
3d04ff3a
AS
34651 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34652 and internal_recvmmsg.
34653 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34654 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34655 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34656 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34657
f0ccf6ea
AS
34658 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34659 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34660 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34661
5b08ac57
AS
346622010-05-20 Andreas Schwab <schwab@redhat.com>
34663
34664 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34665
4828935d
LM
346662010-05-17 Luis Machado <luisgpm@br.ibm.com>
34667
34668 POWER7 optimizations.
34669 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34670 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34671
373d545e
UD
346722010-05-19 Ulrich Drepper <drepper@redhat.com>
34673
34674 * version.h: Update for 2.13 development version.
34675
21a2b1ae
AS
346762010-05-12 Andrew Stubbs <ams@codesourcery.com>
34677
34678 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34679 exceptions. Return 0.
34680
3f7dcb2b
RM
346812010-05-07 Roland McGrath <roland@redhat.com>
34682
34683 * elf/ldconfig.c (main): Add a const.
34684
5f24d53a 346852010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34686
a160f8d8
UD
34687 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34688 (args_options): Add no-idn option.
34689 (ahosts_keys_int): Add idn_flags to ai_flags.
34690 (parse_option): Handle 'i' option to clear idn_flags.
34691
5f24d53a
UD
34692 * malloc/malloc.c (_int_free): Possible race in the most recently
34693 added check. Only act on the data if no current modification
34694 happened.
265bb1ce
UD
34695
34696See ChangeLog.17 for earlier changes.
This page took 4.644169 seconds and 5 git commands to generate.