]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Set AUTOCONF variable when maintainer-mode is not used
[thirdparty/glibc.git] / ChangeLog
CommitLineData
73616a74
AM
12013-12-16 Allan McRae <allan@archlinux.org>
2
9e8ac24b
AM
3 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4 * configure: Regenerated.
5
6f8e37eb
AM
6 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7
8894bad3
AM
8 [BZ #14120]
9 * configure.ac: Added --enable-maintainer-mode. Check for
10 autoconf when enabled.
11 * configure: Regenerated.
12
73616a74
AM
13 * nscd/nscd.service: New file.
14 * nscd/nscd.tmpfiles: New file.
15
584b18eb
OB
162013-12-14 Ondřej Bílka <neleai@seznam.cz>
17
18 [BZ #12100]
19 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21 * sysdeps/x86_64/multiarch/strstr.c: ... here.
22 (strstr): Add __strstr_sse2_unaligned ifunc.
23 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25 (strcasestr): Remove __strcasestr_sse42 ifunc.
26 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29
8a5c7897
KK
302013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31
32 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33 * sysdeps/sh/bits/fenv.h: ... here.
34 * sysdeps/sh/sh4/fpu/bits: Remove directory.
35
fd712ef3
AZ
362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37
38 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39
42fcb46c
AZ
402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41
42 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43 hypotf multiarch implementations.
44 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
45 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47 multiarch hypot for PPC64.
48 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
49 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
50 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
51 multiarch hypotf for PPC64.
52
83efded4
AZ
532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54
55 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
56 modff multiarch implementations.
57 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
58 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
60 multiarch modf for PPC64.
61 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
62 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
63 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
64 multiarch modff for PPC64.
65
43e246d2
AZ
662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67
68 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
69 and logl multiarch implementations.
70 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
71 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
72 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
73 multiarch logb for PPC64.
74 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
75 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
76 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
77 multiarch logb for PPC64.
78 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
79 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
80 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
81 multiarch logb for PPC64.
82
8fdad123
AZ
832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84
85 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
86 isinff multiarch implementation.
87 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
88 file.
89 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
90 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
91 multiarch isinf for PPC64.
92 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
93 file.
94 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
95 multiarch isinff for PPC64.
96
1481d706
AZ
972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
98
99 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
100 finitef multiarch implementation.
101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
102 file.
103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
105 multiarch finite for PPC64.
106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
107 file.
108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
109 multiarch finitef for PPC64.
110
5ccd5fc8
AZ
1112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
112
113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
114 lrint multiarch implementation.
115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
116 file.
117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
119 multiarch llrint for PPC64.
120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
121 multiarch lrint for PPC64.
122
2568f3fa
AZ
1232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
124
125 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
126 copysignf multiarch implementation.
127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
128 file.
129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
130 file.
131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
132 multiarch copysign for PPC64.
133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
134 multiarch copysignf for PPC64.
135
1cb341fd
AZ
1362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137
138 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
139 multiarch implementation.
140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
141 file.
142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
143 file.
144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
145 file.
146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
147 file.
148 multiarch llround for PPC64.
149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
150 multiarch trunc for PPC64.
151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
152 multiarch truncf for PPC64.
153
59a3e194
AZ
1542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
155
156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
157 multiarch implementation.
158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
159 file.
160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
161 file.
162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
163 file.
164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
165 file.
166 multiarch llround for PPC64.
167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
168 multiarch round for PPC64.
169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
170 multiarch roundf for PPC64.
171
357fd3b4
AZ
1722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
173
174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
175 multiarch implementation.
176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
177 file.
178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
179 file.
180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
181 file.
182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
183 file.
184 multiarch llround for PPC64.
185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
186 multiarch floor for PPC64.
187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
188 multiarch floorf for PPC64.
189
96770f12
AZ
1902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
191
192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
193 multiarch implementation.
194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
195 file.
196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
197 file.
198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
199 file.
200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
201 file.
202 multiarch llround for PPC64.
203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
204 multiarch ceil for PPC64.
205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
206 multiarch ceilf for PPC64.
207
c3627f6e
AZ
2082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
209
210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
211 multiarch implementation.
212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
213 file.
214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
215 file.
216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
217 file.
218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
219 multiarch llround for PPC64.
220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
221 multiarch lround for PPC64.
222
b2284ad7
AZ
2232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
224
225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
226 multiarch implementation.
227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
230 file.
231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
234 multiarch isnan for PPC64.
235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
236 multiarch isnanf for PPC64.
237
69bbc63d
AZ
2382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
239
240 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
241 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
242 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
243 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
244 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
246
c24517c9
AZ
2472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
248
249 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
250 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
251 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
252 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
253
a52374e8
AZ
2542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
255
256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
257 multiarch implementations.
258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
259 (__libc_ifunc_impl_list): Likewise.
260 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
261 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
262 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
263 multiarch stpcpy for PPC64.
264
7f5ec113
AZ
2652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
266
267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
268 multiarch implementations.
269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
270 (__libc_ifunc_impl_list): Likewise.
271 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
272 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
273 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
274 multiarch strcpy for PPC64.
275
e28bcd42
AZ
2762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
277
278 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
279 redefine function name.
280 (_wordcopy_fwd_dest_aligned): Likewise.
281 (_wordcopy_bwd_aligned): Likewise.
282 (_wordcopy_bwd_dest_aligned): Likewise.
283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
284 multiarch implementations.
285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
286 (__libc_ifunc_impl_list): Likewise.
287 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
288 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
289 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
290 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
291 multiarch wcscpy for PPC64.
292
92cacfce
AZ
2932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
294
295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
296 multiarch implementations.
297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
298 (__libc_ifunc_impl_list): Likewise.
299 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
300 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
301 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
302 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
303 multiarch wcscpy for PPC64.
304
7b714620
AZ
3052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
306
307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
308 multiarch implementations.
309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
310 (__libc_ifunc_impl_list): Likewise.
311 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
312 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
313 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
314 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
315 multiarch wcsrchr for PPC64.
316
16fd2ae3
AZ
3172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
318
319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
320 multiarch implementations.
321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
322 (__libc_ifunc_impl_list): Likewise.
323 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
324 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
325 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
326 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
327 multiarch wcschr for PPC64.
328
9ee2969b
AZ
3292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330
331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
332 multiarch implementations.
333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
334 (__libc_ifunc_impl_list): Likewise.
335 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
336 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
337 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
338 multiarch strchrnul for PPC64.
339
372dc060
AZ
3402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
341
342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
343 implementations.
344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
345 (__libc_ifunc_impl_list): Likewise.
346 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
347 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
348 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
349 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
350 strchr for PPC64.
351
24c2c3b9
AZ
3522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
353
354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
355 implementations.
356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
357 (__libc_ifunc_impl_list): Likewise.
358 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
359 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
360 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
361 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
362 strncmp for PPC64.
363
1c92d9a0
AZ
3642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
365
366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
367 multiarch implementations.
368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
369 (__libc_ifunc_impl_list): Likewise.
370 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
371 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
372 strncasecmp for PPC64.
373 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
374 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
375 multiarch strncasecmp_l for PPC64.
376
17de3ee3
AZ
3772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
378
379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
380 multiarch implementations.
381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
382 (__libc_ifunc_impl_list): Likewise.
383 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
384 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
385 multiarch strcasecmp for PPC64.
386 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
387 file.
388 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
389 multiarch strcasecmp_l for PPC64.
390
62982bf9
AZ
3912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
392
393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
394 implementations.
395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
396 (__libc_ifunc_impl_list): Likewise.
397 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
398 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
399 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
400 strnlen for PPC64.
401
a65f4904
AZ
4022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
403
404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
405 implementations.
406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
407 (__libc_ifunc_impl_list): Likewise.
408 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
409 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
410 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
411 strlen for PPC64.
412
1fd005ad
AZ
4132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
414
415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
416 implementations.
417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
418 (__libc_ifunc_impl_list): Likewise.
419 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
420 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
421 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
422 rawmemrchr for PPC64.
423
cd05ba91
AZ
4242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
425
426 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
427 implementation.
428 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
429 (__libc_ifunc_impl_list): Likewise.
430 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
431 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
432 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
433 memrchr for PPC64.
434
870f8676
AZ
4352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
436
437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
438 implementation.
439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
440 (__libc_ifunc_impl_list): Likewise.
441 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
442 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
443 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
444 memchr for PPC64.
445
f00be62b
AZ
4462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
447
448 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
449 implementation.
450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
451 (__libc_ifunc_impl_list): Likewise.
452 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
453 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
454 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
455 mempcpy for PPC64.
456
8a29a3d0
AZ
4572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
458
459 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
460 avoid cretion of __bzero symbol.
461 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
462 Likewise.
463 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
464 Likewise.
465 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
466 Likewise.
467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
468 multiarch implementations.
469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
470 (__libc_ifunc_impl_list): Likewise.
471 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
472 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
473 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
474 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
475 bzero for PPC32.
476 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
477 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
478 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
479 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
480 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
481 memset for PPC64.
482 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
483
07253fcf
AZ
4842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
485
486 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
488 implementations.
489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
490 (__libc_ifunc_impl_list): Likewise.
491 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
492 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
493 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
494 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
495 memcmp for PPC64.
496
b5beafbc
AZ
4972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
498
499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
500 multiarch for POWER/PPC64.
501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
502 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
503 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
504 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
505 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
506 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
507 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
508 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
509 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
510 memcpy for PPC64.
511
5e6a4d4b
AZ
5122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
513
514 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
515 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
516 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
517 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
518 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
519 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
520 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
521 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
522 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
523 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
524 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
525 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
526 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
527 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
528 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
536
ddfab6dc
KK
5372013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
538
539 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
540
19b5525e
SP
5412013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
542
543 * benchtests/Makefile (bench): Add exp2 and log2.
544 (LDLIBS-bench-exp2): Add -lm.
545 (LDLIBS-bench-log2): Likewise.
546 * benchtests/exp2-inputs: New inputs file.
547 * benchtests/log2-inputs: New inputs file.
548 * benchtests/log-inputs: Add new inputs.
549 * benchtests/tan-inputs: Likewise.
550
196f7f5d
SP
5512013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
552
7a74607f
SP
553 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
554 definition...
555 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
556 csloww1, csloww2): ... from here.
557
196f7f5d
SP
558 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
559 instead of structures.
560 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
561 (POLYNOMIAL): Likewise.
562 (TAYLOR_SLOW): Likewise.
563 (__sin): Likewise.
564 (__cos): Likewise.
565 (slow1): Likewise.
566 (slow2): Likewise.
567 (sloww): Likewise.
568 (sloww1); Likewise.
569 (sloww2): Likewise.
570 (bsloww1): Likewise.
571 (bsloww2): Likewise.
572 (cslow2): Likewise.
573 (csloww): Likewise.
574 (csloww1): Likewise.
575 (csloww2): Likewise.
576
0dfa665c
OB
5772013-12-10 Ondřej Bílka <neleai@seznam.cz>
578
579 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
580 (__malloc_assert, __libc_realloc, __libc_calloc,
581 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
582 memcpy and memset.
583 * malloc/hooks.c (realloc_check): Likewise.
584
5782a80f
OB
5852013-12-10 Ondřej Bílka <neleai@seznam.cz>
586
587 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
588 * malloc/arena.c: Remove PER_THREAD conditional.
589 [!PER_THREAD]: Remove code.
590 (ptmalloc_unlock_all2): Likewise.
591 (ptmalloc_init): Likewise.
592 (_int_new_arena): Likewise.
593 (arena_get2): Likewise.
594 * malloc/hooks.c (__malloc_get_state): Likewise.
595 (__malloc_set_state): Likewise.
596 * malloc/malloc.c: Likewise.
597 (struct malloc_state): Likewise.
598 (struct malloc_par): Likewise.
599 (__libc_realloc): Likewise.
600 (__libc_mallopt): Likewise.
601
aeb95445
AZ
6022013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
603
604 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
605
e8349efd
OB
6062013-12-09 Ondřej Bílka <neleai@seznam.cz>
607
608 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
609 macro to a function. Check for zero perturb_byte.
610 (_int_malloc, _int_free): Remove zero perturb_byte checks.
611
f3eeb3fc
OB
6122013-12-09 Ondřej Bílka <neleai@seznam.cz>
613
614 * malloc/malloc.c: (force_reg): Remove.
615 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
616 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
617 force_reg by atomic_forced_read.
618 * malloc/arena.c (ptmalloc_init): Likewise.
619 * malloc/hooks.c (top_check): Likewise.
620
be2f9009
AZ
6212013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
622
623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
624
e7b914bd
MT
6252013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
626
627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
628
9f0be4f8
JM
6292013-12-08 Joseph Myers <joseph@codesourcery.com>
630
631 * math/auto-libm-test-in: Add tests of lgamma.
632 * math/auto-libm-test-out: Regenerated.
633 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
634 (M_LOG_2_SQRT_PIl): Likewise.
635 (lgamma_test_data): Use AUTO_TESTS_f_f1.
636 * math/gen-auto-libm-tests.c (func_calc_method): Add value
637 mpfr_f_f1.
638 (func_calc_desc): Add mpfr_f_f1 union field.
639 (ARGS1): New macro.
640 (ARGS2): Likewise.
641 (ARGS3): Likewise.
642 (ARGS4): Likewise.
643 (RET1): Likewise.
644 (RET2): Likewise.
645 (CALC): Likewise.
646 (FUNC): Likewise.
647 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
648 (test_functions): Add lgamma.
649 (calc_generic_results): Handle mpfr_f_f1.
650 * sysdeps/i386/fpu/libm-test-ulps: Update.
651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
652
24eeafdb
AZ
6532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
654
655 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
656 __mpn_add_n for PowerPC64/POWER7.
657 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
658 __mpn_sub_n for PowerPC64/POWER7.
659
4a2c0fd4
AZ
6602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
661
662 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
663 __mpn_addmul_1 for PowerPC64.
664 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
665 __mpn_submul_1 for PowerPC64.
666 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
667 for PowerPC64.
668 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
669 for PowerPC64.
670
4b5b548c
FS
6712013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
672
673 [BZ #15089]
674 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
675
0a3ac0aa
AZ
6762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
677
678 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
679
ccdc8438
AZ
6802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
681
682 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
683 add multiarch folders.
684 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
685 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
686 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
687 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
688 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
689 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
690 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
691 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
692 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
693 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
694 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
701
2e973d99
AZ
7022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
703
704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
705 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
707 New file.
708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
709 New file.
710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
711 multiarch __ieee754_hypot for PowerPC32.
712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
713 New file.
714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
715 New file.
716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
717 multiarch __ieee754_hypotf for PowerPC32.
718
2d9470b2
AZ
7192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
720
721 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
722 long_double_symbol only if __logbl is defined.
723 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
724 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
725 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
726 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
727 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
728 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
729 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
730 path for implementation.
731 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
732 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
734 logb, and logbl multiarch implementations for PowerPC32.
735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
736 file.
737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
738 file.
739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
740 multiarch logb for PowerPC32.
741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
742 file.
743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
744 file.
745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
746 multiarch logbf for PowerPC32.
747 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
749 file.
750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
751 multiarch logbl implementation for PowerPC32.
752
5212ffce
AZ
7532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
754
755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
756 and modff multiarch implementations.
757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
758 New file.
759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
760 New file.
761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
762 multiarch modf for PowerPC32.
763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
764 New file.
765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
766 New file.
767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
768 multiarch modff for PowerPC32.
769
79dccf31
AZ
7702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
771
772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
773 and lrintf multiarch implementations.
774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
775 New file.
776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
777 New file.
778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
779 multiarch lrint for PowerPC32.
780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
781 file: multiarch lrintf for PowerPC32.
782
deb66480
AZ
7832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
784
785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
786 and lroundf multiarch implementations.
787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
788 New file.
789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
790 New file.
791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
792 New file.
793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
794 multiarch lround for PowerPC32.
795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
796 file: multiarch lroundf for PowerPC32.
797
264b036b
AZ
7982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
799
800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
801 copysign and copysignf multiarch implementations.
802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
803 New file.
804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
805 New file.
806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
807 file: multiarch copysign for PowerPC32.
808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
809 file: multiarch copysignf for PowerPC32.
810
d47db6c9
AZ
8112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
812
813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
814 and truncf multiarch implementations.
815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
816 New file.
817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
818 file.
819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
820 multiarch trunc for PowerPC32.
821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
822 New file.
823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
824 New file.
825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
826 multiarch truncf for PowerPC32.
827
ddb60b5a
AZ
8282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
829
830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
831 and roundf multiarch implementations.
832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
833 New file.
834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
835 file.
836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
837 multiarch round for PowerPC32.
838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
839 New file.
840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
841 New file.
842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
843 multiarch roundf for PowerPC32.
844
bedcf49b
AZ
8452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
846
847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
848 and floorf multiarch implementations.
849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
850 New file.
851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
852 file.
853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
854 multiarch floor for PowerPC32.
855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
856 New file.
857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
858 New file.
859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
860 multiarch floorf for PowerPC32.
861
35ae5b40
AZ
8622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
863
864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
865 and ceilf multiarch implementations.
866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
867 New file.
868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
869 file.
870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
871 multiarch ceil for PowerPC32.
872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
873 New file.
874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
875 file.
876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
877 multiarch ceilf for PowerPC32.
878
ae1a4cd9
AZ
8792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
880
881 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
882 is defined.
883 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
884 FINITEF is defined.
885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
886 and finitef multiarch implementations.
887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
888 New file.
889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
890 file.
891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
892 multiarch finite for PowerPC32.
893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
894 New file.
895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
896 file: multiarch finitef for PowerPC32.
897
64fffd65
AZ
8982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
899
900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
901 and isinff multiarch implementations.
902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
903 file.
904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
905 file.
906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
907 multiarch isinf for PowerPC32.
908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
909 New file.
910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
911 multiarch isinff for PowerPC32.
912
8e4e7ba2
AZ
9132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
914
915 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
916 alias when __isnan is defined.
917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
918 and isnanf multiarch implementations.
919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
920 file.
921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
922 file.
923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
924 file.
925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
926 file.
927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
928 multiarch isnan for PowerPC32.
929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
930 New file.
931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
932 New file.
933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
934 multiarch isnanf for PowerPC32.
935
ddba588e
AZ
9362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
937
938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
939 and sqrtf multiarch implementations.
940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
941 file.
942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
943 file.
944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
945 multiarch sqrt for PowerPC32.
946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
947 file.
948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
949 file.
950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
951 multiarch sqrtf for PowerPC32.
952
0f96a2f0
AZ
9532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
954
955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
956 and llroundf multiarch implementations.
957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
958 New file.
959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
960 New file.
961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
962 New file.
963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
964 file: multiarch llround for PowerPC32.
965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
966 file: multiarch llroundf for PowerPC32.
967
c9b5d79e
AZ
9682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
969
970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
971 multiarch PowerPC32 fpu implementations.
972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
973 New file.
974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
975 New file.
976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
977 multiarch llrint for PowerPC32.
978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
979 New file.
980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
981 New file.
982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
983 file.
984
9cbb3aab
AZ
9852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
986
987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
988
ea5a72f8
AZ
9892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
990
991 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
992 file.
993 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
994 file.
995 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
996 file.
997 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
998 multiarch wordcopy for PPC32.
999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1000 wordcopy objects.
1001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1002 (__libc_ifunc_impl_list): Likewise.
1003 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1004 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1005 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1006 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1007 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1008 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1009
93be09e7
AZ
10102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1011
1012 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1014 file.
1015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1016 file.
1017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1018 file.
1019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1020 multiarch wcscpy for PPC32.
1021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1022 multiarch objects.
1023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1024 (__libc_ifunc_impl_list): Likewise.
1025 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1026 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1027 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1028 sysdeps/powerpc/power6/wcscpy.c.
1029
bb04e529
AZ
10302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1031
1032 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1034 file.
1035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1036 file.
1037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1038 file.
1039 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1040 multiarch wcsrchr for PPC32.
1041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1042 multiarch objects.
1043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1044 (__libc_ifunc_impl_list): Likewise.
1045 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1046 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1047 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1048 sysdeps/powerpc/power6/wcsrchr.c.
1049
05b5cd1c
AZ
10502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1051
1052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1053 file.
1054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1055 file.
1056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1058 multiarch wcschr for PPc32.
1059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1060 multiarch objects.
1061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1062 (__libc_ifunc_impl_list): Likewise.
1063 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1064 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1065 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1066 sysdeps/powerpc/power6/wcschr.c.
1067
ba964147
AZ
10682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1069
1070 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1071 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1072 file.
1073 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1074 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1075 file: multiarch strchr for PPC32.
1076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1077 multiarch objects.
1078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1079 (__libc_ifunc_impl_list): Likewise.
1080
31c81aaa
AZ
10812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1082
1083 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1084 name.
1085 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1086 file.
1087 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1088 file.
1089 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1090 multiarch strchrnul for PPC32.
1091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1092 multiarch objects.
1093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1094 (__libc_ifunc_impl_list): Likewise.
1095
0d0607d9
AZ
10962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1097
1098 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1099 file.
1100 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1101 multiarch strncasecmp for PPC32.
1102 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1103 file.
1104 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1105 multiarch strncasecmp_l for PPC32.
1106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1107 strncasecmp multiarch objects.
1108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1109 (__libc_ifunc_impl_list): Likewise.
1110
4dfd5c86
AZ
11112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1112
1113 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1114 file.
1115 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1116 multiarch strncasecmp for PPC32.
1117 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1118 New file.
1119 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1120 multiarch strcasecmp_l for PPC32.
1121 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1122 multiarch objects.
1123 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1124 (__libc_ifunc_impl_list): Likewise.
1125
a19e01a3
AZ
11262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1127
1128 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1129 file.
1130 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1131 file.
1132 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1133 multiarch strncmp for PPC32.
1134 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1135 multiarch objects.
1136 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1137 (__libc_ifunc_impl_list): Likewise.
1138
ae9cf7a2
AZ
11392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1140
1141 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1142 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1143 file.
1144 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1145 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1147 multiarch objects.
1148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1149 (__libc_ifunc_impl_list): Likewise.
1150
3148bb7d
AZ
11512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1152
1153 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1154 file.
1155 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1156 file.
1157 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1159 multiarch objects.
1160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1161 (__libc_ifunc_impl_list): Likewise.
1162
7af8b946
AZ
11632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1164
1165 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1166 file.
1167 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1168 file.
1169 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1170 multiarch rawmemchr for PPC32.
1171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1172 multiarch objects.
1173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1174 (__libc_ifunc_impl_list): Likewise.
1175
03a6aa6a
AZ
11762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1177
1178 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1179 file.
1180 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1181 file.
1182 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1183 file: memrchr multiarch for PPC32.
1184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1185 multiarch objects.
1186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1187 (__libc_ifunc_impl_list): Likewise.
1188
1c62e6d9
AZ
11892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1190
1191 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1192 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1193 file.
1194 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1195 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1196 multiarch memchr for PPC32.
1197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1198 multiarch objects.
1199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1200 (__libc_ifunc_impl_list): Likewise.
1201
87da8bdb
AZ
12022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1203
1204 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1205 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1206 file.
1207 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1208 file.
1209 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1210 file: multiarch mempcpy for PPC32.
1211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1212 multiarch objects.
1213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1214 (__libc_ifunc_impl_list): Likewise.
1215
20ed4714
AZ
12162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1217
1218 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1219 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1220 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1221 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1222 multiarch bzero for PPC32.
1223 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1224 file.
1225 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1226 file.
1227 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1228 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1229 file: multiarch memset for PPC32.
1230 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1232 memset multiarch objects.
1233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1234 (__libc_ifunc_impl_list): Likewise.
1235
ab3e3a46
AZ
12362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1237
1238 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1239 file.
1240 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1241 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1242 memcmp for PPC32.
1243 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1245 multiarch objects.
1246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1247 (__libc_ifunc_impl_list): Likewise.
1248
930de6f0
AZ
12492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1250
1251 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1252 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1253 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1254 file.
1255 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1256 file.
1257 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1258 file.
1259 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1260 multiarch memcpy for PPC32.
1261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1262 multiarch objects.
1263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1264 (__libc_ifunc_impl_list): Likewise.
1265
4c628e00
AZ
12662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1267
1268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1269 support multiarch for POWER/PPC32.
1270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1271 Likewise.
1272 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1274 Implies file to make multiarch folder appers before the fpu and
1275 default folder for power4 configuration.
1276
f4479220
SP
12772013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1278
1279 * scripts/bench.pl: Append volatile keyword to type.
1280
8517800f
KK
12812013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1282
1283 * sysdeps/sh/sotruss-lib.c: New file.
1284 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1285
180138f1
AZ
12862013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1287
1288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1289
bbf37bdc
JM
12902013-12-05 Joseph Myers <joseph@codesourcery.com>
1291
e47cc4e0
JM
1292 [BZ #6810]
1293 * math/w_tgamma.c: Include <errno.h>.
1294 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1295 * math/w_tgammaf.c: Include <errno.h>.
1296 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1297 * math/w_tgammal.c: Include <errno.h>.
1298 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1299 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1300 underflow. Add more tgamma tests.
1301 * math/auto-libm-test-out: Regenerated.
1302 * sysdeps/i386/fpu/libm-test-ulps: Update.
1303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1304
bbf37bdc
JM
1305 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1306 sin, sinh, tan, tanh, tgamma, y0 and y1.
1307 * math/auto-libm-test-out: Regenerated.
1308 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1309 (TEST_COND_x86): Likewise.
1310 (M_E2l): Remove macro.
1311 (M_E3l): Likewise.
1312 (M_2_SQRT_PIl): Likewise.
1313 (M_SQRT_PIl): Likewise.
1314 (M_1_DIV_El): Likewise.
1315 (log_test_data): Use AUTO_TESTS_f_f.
1316 (log10_test_data): Likewise.
1317 (log1p_test_data): Likewise.
1318 (log2_test_data): Likewise.
1319 (sin_test_data): Likewise.
1320 (sin_tonearest_test_data): Likewise.
1321 (sin_towardzero_test_data): Likewise.
1322 (sin_downward_test_data): Likewise.
1323 (sin_upward_test_data): Likewise.
1324 (sinh_test_data): Likewise.
1325 (sinh_tonearest_test_data): Likewise.
1326 (sinh_towardzero_test_data): Likewise.
1327 (sinh_downward_test_data): Likewise.
1328 (sinh_upward_test_data): Likewise.
1329 (tan_test_data): Likewise.
1330 (tan_tonearest_test_data): Likewise.
1331 (tan_towardzero_test_data): Likewise.
1332 (tan_downward_test_data): Likewise.
1333 (tan_upward_test_data): Likewise.
1334 (tanh_test_data): Likewise.
1335 (tgamma_test_data): Likewise.
1336 (y0_test_data): Likewise.
1337 (y1_test_data): Likewise.
1338 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1339 (special_real_inputs): Add pi/4.
1340 * sysdeps/i386/fpu/libm-test-ulps: Update.
1341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1342
eb5ad6b9
AZ
13432013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1344
1345 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1346 "longjmp_target" static probes.
1347 (__longjmp): Rename to __longjmp_symbol.
1348 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1349 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1350 on which longjmp to generate.
1351 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1352 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1353 probe.
1354 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1355 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1356 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1357 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1358 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1359 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1361 __longjmp_symbol based on which __longjmp to generate.
1362 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1363 probe.
1364 (setjmp): Rename to setjmp_symbol.
1365 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1366 (_setjmp): Rename to _setjmp_symbol.
1367 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1368 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1369 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1370 which setjmp to generate.
1371 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1372 "longjmp_target" static probes.
1373
d136c6dc
SP
13742013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1375
9298ecba
SP
1376 * benchtests/README: Add note about output arguments.
1377 * benchtests/bench-sincos.c: Remove file.
1378 * benchtests/sincos-inputs: New file.
1379 * scripts/bench.pl: Identify output arguments and define
1380 static variables for them.
1381
232983e9
SP
1382 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1383
d136c6dc
SP
1384 [BZ #15941]
1385 * Makefile (INSTALL): Add install-plain.texi as the primary
1386 dependency.
1387 * manual/install-plain.texi: New file.
1388 * manual/install.texi: Include node directive only for
1389 non-plaintext output.
1390
699ff837
JM
13912013-12-04 Joseph Myers <joseph@codesourcery.com>
1392
ab07cea8
JM
1393 * stdlib/longlong.h: Update from GCC.
1394
699ff837
JM
1395 [BZ #6807]
1396 [BZ #15901]
1397 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1398 * math/w_j0f.c (y0f): Likewise.
1399 * math/w_j0l.c (__y0l): Likewise.
1400 * math/w_j1.c (y1): Likewise.
1401 * math/w_j1f.c (y1f): Likewise.
1402 * math/w_j1l.c (__y1l): Likewise
1403 * math/w_jn.c (yn): Likewise.
1404 * math/w_jnf.c (ynf): Likewise.
1405 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1406 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1407 value for Bessel function domain errors outside _SVID_ mode.
1408 Adjust sign of return value for yn (negative integer, 0).
1409 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1410 by zero in return for negative x and set sign appropriately for
1411 negative n.
1412 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1413 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1414 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1415 expectations in error cases.
1416 (y1_test_data): Likewise.
1417 (yn_test_data): Likewise.
1418 * sysdeps/i386/fpu/libm-test-ulps: Update.
1419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1420
5b118558
UW
14212013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1422
1423 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1424 "64" to "64-v1". Add "64-v2".
1425 (abi-64-options): Rename to ...
1426 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1427 (abi-64-condition): Rename to ...
1428 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1429 (abi-64-ld-soname): Rename to ...
1430 (abi-64-v1-ld-soname): ... this.
1431 (abi-64-v2-options): Define.
1432 (abi-64-v2-condition): Likewise.
1433 (abi-64-v2-ld-soname): Likewise.
1434 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1435 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1439
61cd8fe4
UW
14402013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1441 Alan Modra <amodra@gmail.com>
1442
1443 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1444 New versions for use with the ELFv2 ABI.
1445 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1446 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1447 declaration.
1448 (struct La_ppc64v2_retval): Likewise.
1449 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1450 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1451 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1452 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1453 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1454 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1455 Do not save or restore CR.
1456 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1457 (_dl_profile_resolve): Do no save or restore CR. Support extended
1458 return values for ELFv2 ABI. Fix location of FPR return registers.
1459 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1460 updated values for _CALL_ELF == 2.
1461 (La_regs, La_retval, int_retval): Likewise.
1462
8b8a692c
UW
14632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1464
1465 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1466 (FRAME_MIN_SIZE_PARM): Likewise.
1467 (FRAME_BACKCHAIN): Likewise.
1468 (FRAME_CR_SAVE): Likewise.
1469 (FRAME_LR_SAVE): Likewise.
1470 (FRAME_TOC_SAVE): Likewise.
1471 (FRAME_PARM_SAVE): Likewise.
1472 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1473 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1474 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1475 (call_mcount_parm_offset): New macro.
1476 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1477 (PROF): Use symbolic stack frame offsets.
1478 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1479 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1480 Redefine in terms of FRAME_MIN_SIZE.
1481 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1482 (_dl_profile_resolve): Likewise. Update comment.
1483 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1484 symbols stack frame offsets.
1485 (__sigsetjmp): Likewise.
1486 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1487 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1488 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1489 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1490
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1492 (FRAME_BACKCHAIN): Remove.
1493 (FRAME_CR_SAVE): Likewise.
1494 (FRAME_LR_SAVE): Likewise.
1495 (FRAME_COMPILER_DW): Likewise.
1496 (FRAME_LINKER_DW): Likewise.
1497 (FRAME_TOC_SAVE): Likewise.
1498 (FRAME_PARM_SAVE): Likewise.
1499 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1500 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1501 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1503 (CHECK_SP): Use symbolic stack frame offsets.
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1505 zone" instead of caller's parameter save area for temp storage.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1507 Likewise. Also, use symbolic stack frame offsets.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1509 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1510 our own stack frame instead of the caller's.
1511 (__socket): Use symbolic stack frame offsets.
1512
122b66de
UW
15132013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1514 Alan Modra <amodra@gmail.com>
1515
1516 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1517 Define.
1518 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1519 PPC64_LOCAL_ENTRY_OFFSET): Define.
1520 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1521 New function.
1522 (elf_machine_fixup_plt): Call it.
1523 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1524 reloc arguments.
1525 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
1526 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1527 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
1528 r2 before calling target.
1529
696caf1d
UW
15302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1531 Alan Modra <amodra@gmail.com>
1532
1533 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1534 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1535 versions of macros to support ELFv2 ABI.
1536 (LOCALENTRY): New macro.
1537 (ENTRY, EALIGN): Use it.
1538 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1539 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1540 fall through into ENTRY entry point.
1541 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1542 Only define if _CALL_ELF != 2.
1543
1544 (elf_machine_matches_host): Verify ABI version matches.
1545 (RTLD_START): Use LOCALENTRY.
1546 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1547 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1548 (PLT_ENTRY_WORDS): New macro.
1549 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1550 (elf_machine_runtime_setup): Support ELFv2 ABI.
1551 (elf_machine_fixup_plt): Likewise.
1552 (elf_machine_plt_conflict): Likewise.
1553 (resolve_ifunc): Likewise.
1554 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1555 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1556 Likewise.
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1558 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1560 (makecontext): Support ELFv2 ABI.
1561 * elf/elf.h (EF_PPC64_ABI): Define.
1562
d31beafa
UW
15632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1564
1565 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1566 New assembler macro.
1567 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1568 [ASSEMBLER] (ENTRY): ... but instead here ...
1569 [ASSEMBLER] (EALIGN): ... and here.
1570 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1571 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1572 [!ASSEMBLER] (ENTRY_2): Use it.
1573 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1574 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1575 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1576 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1577 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1579 Use PPC64_LOAD_FUNCPTR.
1580
b525166b
UW
15812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1582
1583 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1584
7ec07d9a
AM
15852013-12-04 Alan Modra <amodra@gmail.com>
1586
1587 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1588 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1589 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1590 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1591
1592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1593 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1594 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1595 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1596 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1597 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1598
5162e7dd
UW
15992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1600
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1602 (__makecontext): Fix incorrect CFI when backtracing out of
1603 context created via makecontext.
1604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1605 (__setcontext): Fix incorrect CFI during switch to new context.
1606 (__novec_setcontext): Likewise.
1607
19e3372b
OB
16082013-12-04 Ondřej Bílka <neleai@seznam.cz>
1609
1610 [BZ #4772]
1611 * time/strptime_l.c (__strptime_internal): Allow modifiers
1612 in strptime.
1613 * time/tst-strptime.c (day_tests): Add testcase.
1614
1615
ecaf142d
SP
16162013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1617
1618 * scripts/bench.pl: Skip over blank lines.
1619
fbf964ae
PE
16202013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1621
1622 [BZ #926]
1623 * manual/time.texi (Calendar Time): Clarify what timezone functions
1624 use.
1625
fa60a674
AZ
16262013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1627
1628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1629
d674f0ef
OB
16302013-12-04 Ondřej Bílka <neleai@seznam.cz>
1631
1632 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1633 implementation.
1634 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1635 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1636 * debug/memset_chk.c (__memset_chk): Likewise.
1637 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1638 * debug/strncpy_chk.c: Likewise.
1639
17dea188
JM
16402013-12-03 Joseph Myers <joseph@codesourcery.com>
1641
749008ff
JM
1642 [BZ #15268]
1643 [BZ #15425]
1644 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1645 (__ieee754_exp): For possibly underflowing results, check size of
1646 result and force underflow exception if required.
1647 * math/auto-libm-test-in: Add more tests of exp.
1648 * math/auto-libm-test-out: Regenerated.
1649 * sysdeps/i386/fpu/libm-test-ulps: Update.
1650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1651
17dea188
JM
1652 [BZ #16283]
1653 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1654 * math/w_exp2f.c (__exp2f): Likewise.
1655 * math/w_exp2l.c (__exp2l): Likewise.
1656 * math/auto-libm-test-in: Do not allow missing errno on exp2
1657 underflow.
1658 * math/auto-libm-test-out: Regenerated.
1659
b20de2c3
OB
16602013-12-03 Ondřej Bílka <neleai@seznam.cz>
1661
1662 [BZ #16274]
1663 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1664 handle filename validation.
1665 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1666 (do_open): Delete.
1667
d8e2dbe3
JM
16682013-12-03 Joseph Myers <joseph@codesourcery.com>
1669
34e16df5
JM
1670 [BZ #6786]
1671 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1672 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1673 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1674 <float.h>.
1675 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1676 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1677 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1678 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1679 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1680 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1681 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1682 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1683 Add more erfc tests.
1684 * math/auto-libm-test-out: Regenerated.
1685 * sysdeps/i386/fpu/libm-test-ulps: Update.
1686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1687
d8e2dbe3
JM
1688 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1689 exp2, expm1, j0 and j1.
1690 * math/auto-libm-test-out: Regenerated.
1691 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1692 (erfc_test_data): Likewise.
1693 (exp_test_data): Likewise.
1694 (exp_tonearest_test_data): Likewise.
1695 (exp_towardzero_test_data): Likewise.
1696 (exp_downward_test_data): Likewise.
1697 (exp_upward_test_data): Likewise.
1698 (exp10_test_data): Likewise.
1699 (exp2_test_data): Likewise.
1700 (expm1_test_data): Likewise.
1701 (j0_test_data): Likewise.
1702 (j1_test_data): Likewise.
1703 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1704 (input_flag_type): Add flag_xfail_rounding.
1705 (input_flags): Add xfail-rounding.
1706 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1707 (output_for_one_input_case): Handle flag_xfail_rounding.
1708 * sysdeps/i386/fpu/libm-test-ulps: Update.
1709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1710
18d14251
AJ
17112013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1712
3d2e6075 1713 [BZ #16289]
18d14251
AJ
1714 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1715 division by 0.
1716
520d437b
SP
17172013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1718
1719 [BZ #16195]
1720 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1721 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1722 (STAP_PROBE0): New macro.
1723 (STAP_PROBE1): Likewise.
1724 (STAP_PROBE2): Likewise.
1725 (STAP_PROBE3): Likewise.
1726 (STAP_PROBE4): Likewise.
1727
416e0145
OB
17282013-12-02 Ondřej Bílka <neleai@seznam.cz>
1729
1730 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1731
9d17796a
SE
17322013-12-02 Steve Ellcey <sellcey@mips.com>
1733
1734 * benchtests/Makefile (bench): Add sqrt.
1735 (LDLIBS-bench-sqrt): New.
1736 * benchtests/sqrt-input: New.
1737
f524d6a8
PS
17382013-12-02 Pavel Simerda <psimerda@redhat.com>
1739
639a0ef8
PS
1740 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1741 (GAIH_EAI): Likewise.
1742 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1743 (gaih_inet): Likewise.
1744 (getaddrinfo): Don't use GAIH_EAI.
1745
f524d6a8
PS
1746 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1747 (struct gaih): Remove definition.
1748
df3aedaf
SP
17492013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1750
1751 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1752 Use HERRNOP directly.
1753
1ab19dec
AZ
17542013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1755
b42ad38d 1756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1757
176b0c79
JM
17582013-11-30 Joseph Myers <joseph@codesourcery.com>
1759
1760 * math/gen-auto-libm-tests.c (test_functions): Add more
1761 single-argument functions.
1762 (special_fill_pi_2): New function.
1763 (special_fill_minus_pi_2): Likewise.
1764 (special_fill_pi_6): Likewise.
1765 (special_fill_minus_pi_6): Likewise.
1766 (special_fill_pi_3): Likewise.
1767 (special_fill_2pi_3): Likewise.
1768 (special_fill_e): Likewise.
1769 (special_fill_1_e): Likewise.
1770 (special_fill_e_minus_1): Likewise.
1771 (special_real_inputs): Add more special inputs.
1772 (output_for_one_input_case): Do not require ERANGE on underflow to
1773 zero if round-to-nearest result does not underflow to zero, unless
1774 exact results required.
1775 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1776 atan, atanh, cbrt, cos and cosh.
1777 * math/auto-libm-test-out: Regenerated.
1778 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1779 (acos_tonearest_test_data): Likewise.
1780 (acos_towardzero_test_data): Likewise.
1781 (acos_downward_test_data): Likewise.
1782 (acos_upward_test_data): Likewise.
1783 (acosh_test_data): Likewise.
1784 (asin_test_data): Likewise.
1785 (asin_tonearest_test_data): Likewise.
1786 (asin_towardzero_test_data): Likewise.
1787 (asin_upward_test_data): Likewise.
1788 (asinh_test_data): Likewise.
1789 (atan_test_data): Likewise.
1790 (atanh_test_data): Likewise.
1791 (cbrt_test_data): Likewise.
1792 (cos_test_data): Likewise.
1793 (cos_tonearest_test_data): Likewise.
1794 (cos_towardzero_test_data): Likewise.
1795 (cos_downward_test_data): Likewise.
1796 (cos_upward_test_data): Likewise.
1797 (cosh_test_data): Likewise.
1798 (cosh_tonearest_test_data): Likewise.
1799 (cosh_towardzero_test_data): Likewise.
1800 (cosh_downward_test_data): Likewise.
1801 (cosh_upward_test_data): Likewise.
1802 * sysdeps/i386/fpu/libm-test-ulps: Update.
1803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1804
ffb536d0
JM
18052013-11-29 Joseph Myers <joseph@codesourcery.com>
1806
2a77a467
JM
1807 [BZ #6787]
1808 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1809 * math/w_exp10f.c (__exp10f): Likewise.
1810 * math/w_exp10l.c (__exp10l): Likewise.
1811 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1812 errno settings in existing tests.
1813
ea3bc4e8
JM
1814 [BZ #14032]
1815 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1816 precision control set to double precision.
1817 * sysdeps/i386/fpu/w_sqrt.c: New file.
1818 * math/auto-libm-test-in: Add more tests.
1819 * math/auto-libm-test-out: Update.
1820
0712c9d8
JM
1821 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1822 (sqrt_test_tonearest): New function.
1823 (sqrt_towardzero_test_data): New variable.
1824 (sqrt_test_towardzero): New function.
1825 (sqrt_downward_test_data): New variable.
1826 (sqrt_test_downward): New function.
1827 (sqrt_upward_test_data): New variable.
1828 (sqrt_test_upward): New function.
1829 (main): Call the new functions.
1830
ffb536d0
JM
1831 * math/gen-auto-libm-tests.c: New file.
1832 * math/auto-libm-test-in: Likewise.
1833 * math/auto-libm-test-out: New generated file.
1834 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1835 variables.
1836 (%beautify): Add generated representations of zero.
1837 (top level): Set $auto_input and call parse_auto_input.
1838 (beautify): Remove trailing "f" from hex float constants.
1839 (parse_args): Handle XFAIL_TEST.
1840 (convert_condition): New function.
1841 (or_value): Likewise.
1842 (or_cond_value): Likewise.
1843 (generate_testfile): Handle AUTO_TESTS_* lines.
1844 (parse_auto_input): New function.
1845 * math/libm-test.inc (XFAIL_TEST): New macro.
1846 (ERRNO_UNCHANGED): Update value.
1847 (ERRNO_EDOM): Likewise.
1848 (ERRNO_ERANGE): Likewise.
1849 (IGNORE_RESULT): Likewise.
1850 (TEST_COND_flt_32): New macro.
1851 (TEST_COND_dbl_64): Likewise.
1852 (TEST_COND_ldbl_96_intel): Likewise.
1853 (TEST_COND_ldbl_96_m68k): Likewise.
1854 (TEST_COND_ldbl_128): Likewise.
1855 (TEST_COND_ldbl_128ibm): Likewise.
1856 (TEST_COND_long32): Likewise.
1857 (TEST_COND_long64): Likewise.
1858 (TEST_COND_before_rounding): Likewise.
1859 (TEST_COND_after_rounding): Likewise.
1860 (enable_test): Handle XFAIL_TEST flag.
1861 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1862 with finite results.
1863 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1864 auto-libm-test-out.
1865
acd98a8e
AK
18662013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1867 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1868
1869 [BZ #16214]
1870 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1871 __tls_get_addr_internal instead of __tls_get_offset in order to
1872 avoid GOT pointer dependency. Make rtld export
1873 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1874 __tls_get_addr since we are a __tls_get_offset platform.
1875 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1876 GOT pointer being set up before.
1877 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1878
3c1c46a6
JM
18792013-11-28 Joseph Myers <joseph@codesourcery.com>
1880
7475aef5
JM
1881 * manual/math.texi (Errors in Math Functions): Document accuracy
1882 goals.
1883
8bca7cd8
JM
1884 [BZ #15004]
1885 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1886 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1889 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1890 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1891 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1896 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1899 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1901
91a1f3fe
JM
1902 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1903 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1904 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1905 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1906 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1907 Likewise.
1908 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1909 Likewise.
1910 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1911 Likewise.
1912 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1913 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1914 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1915 atomic-feupdateenv and flt-rounds.
1916 * sysdeps/powerpc/nofpu/Versions (libc): Add
1917 __atomic_feholdexcept, __atomic_feclearexcept,
1918 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1919 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1920 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1921 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1922 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1923 here.
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1925 Update.
1926
c5df7609
JM
1927 * manual/arith.texi (FP Exceptions): Document that exceptions may
1928 not be raised when matherr is used.
1929 (Math Error Reporting): Document overflow in directed rounding
1930 modes. Document that errno may not be set when finite values are
1931 returned on overflow. Document intent to set errno on underflow
1932 only for underflow to zero.
1933
3c1c46a6
JM
1934 [BZ #16271]
1935 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1936 round-to-nearest then adjust result for other rounding modes.
1937 * include/fenv.h (fegetround): Use libm_hidden_proto.
1938 * math/fegetround.c (fegetround): Use libm_hidden_def.
1939 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1940 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1941 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1942 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1943 Likewise.
1944 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1945 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1946 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1947 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1948
5a4c6d53
SP
19492013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1950
1951 [BZ #16077]
1952 * nss/Versions (libnss_files): Add
1953 _nss_files_gethostbyname3_r.
1954 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1955 New function.
1956 (HOST_DB_LOOKUP): Remove macro.
1957 (_nss_files_gethostbyname_r): Implement function without the
1958 HOST_DB_LOOKUP macro.
1959 (_nss_files_gethostbyname2_r): Likewise.
1960
897b98ba
OB
19612013-11-28 Ondřej Bílka <neleai@seznam.cz>
1962
1963 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1964
6f476861
UB
19652013-11-26 Uros Bizjak <ubizjak@gmail.com>
1966
1967 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1968 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1969 warning.
1970
bd12ab55
AZ
19712013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1972
1973 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1974 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1975 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1976 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1977 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1978 __fe_nomask_env_priv and attribute_hidden.
1979 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1980 (libc_feupdateenv_test_ppc): Likewise.
1981 (libc_feresetround_ppc): Likewise.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1983 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1984 compat_symbol macro.
1985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1986 (__fe_nomask_env): Likewise.
1987 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1988
52bb6543
OB
19892013-11-26 Ondřej Bílka <neleai@seznam.cz>
1990
1991 * string/Makefile: Remove ifunc tests.
1992 * string/test-string.h: Define TEST_IFUNC.
1993 * string/test-bcopy-ifunc.c: Remove.
1994 * string/test-bzero-ifunc.c: Likewise.
1995 * string/test-memccpy-ifunc.c: Likewise.
1996 * string/test-memchr-ifunc.c: Likewise.
1997 * string/test-memcmp-ifunc.c: Likewise.
1998 * string/test-memcpy-ifunc.c: Likewise.
1999 * string/test-memmem-ifunc.c: Likewise.
2000 * string/test-memmove-ifunc.c: Likewise.
2001 * string/test-mempcpy-ifunc.c: Likewise.
2002 * string/test-memrchr-ifunc.c: Likewise.
2003 * string/test-memset-ifunc.c: Likewise.
2004 * string/test-rawmemchr-ifunc.c: Likewise.
2005 * string/test-stpcpy-ifunc.c: Likewise.
2006 * string/test-stpncpy-ifunc.c: Likewise.
2007 * string/test-strcasecmp-ifunc.c: Likewise.
2008 * string/test-strcasestr-ifunc.c: Likewise.
2009 * string/test-strcat-ifunc.c: Likewise.
2010 * string/test-strchr-ifunc.c: Likewise.
2011 * string/test-strchrnul-ifunc.c: Likewise.
2012 * string/test-strcmp-ifunc.c: Likewise.
2013 * string/test-strcpy-ifunc.c: Likewise.
2014 * string/test-strcspn-ifunc.c: Likewise.
2015 * string/test-strlen-ifunc.c: Likewise.
2016 * string/test-strncasecmp-ifunc.c: Likewise.
2017 * string/test-strncat-ifunc.c: Likewise.
2018 * string/test-strncmp-ifunc.c: Likewise.
2019 * string/test-strncpy-ifunc.c: Likewise.
2020 * string/test-strnlen-ifunc.c: Likewise.
2021 * string/test-strpbrk-ifunc.c: Likewise.
2022 * string/test-strrchr-ifunc.c: Likewise.
2023 * string/test-strspn-ifunc.c: Likewise.
2024 * string/test-strstr-ifunc.c: Likewise.
2025
ab260039 20262013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2027
2028 * benchtests/Makefile: Remove ifunc tests.
2029 * benchtests/bench-string.h: Define TEST_IFUNC.
2030 * benchtests/bench-bcopy-ifunc.c: Remove.
2031 * benchtests/bench-bzero-ifunc.c: Likewise.
2032 * benchtests/bench-memccpy-ifunc.c: Likewise.
2033 * benchtests/bench-memchr-ifunc.c: Likewise.
2034 * benchtests/bench-memcmp-ifunc.c: Likewise.
2035 * benchtests/bench-memcpy-ifunc.c: Likewise.
2036 * benchtests/bench-memmem-ifunc.c: Likewise.
2037 * benchtests/bench-memmove-ifunc.c: Likewise.
2038 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2039 * benchtests/bench-memrchr-ifunc.c: Likewise.
2040 * benchtests/bench-memset-ifunc.c: Likewise.
2041 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2042 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2043 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2044 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2045 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2046 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2047 * benchtests/bench-strcat-ifunc.c: Likewise.
2048 * benchtests/bench-strchr-ifunc.c: Likewise.
2049 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2050 * benchtests/bench-strcmp-ifunc.c: Likewise.
2051 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2052 * benchtests/bench-strcpy-ifunc.c: Likewise.
2053 * benchtests/bench-strcspn-ifunc.c: Likewise.
2054 * benchtests/bench-strlen-ifunc.c: Likewise.
2055 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2056 * benchtests/bench-strncat-ifunc.c: Likewise.
2057 * benchtests/bench-strncmp-ifunc.c: Likewise.
2058 * benchtests/bench-strncpy-ifunc.c: Likewise.
2059 * benchtests/bench-strnlen-ifunc.c: Likewise.
2060 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2061 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2062 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2063 * benchtests/bench-strspn-ifunc.c: Likewise.
2064 * benchtests/bench-strstr-ifunc.c: Likewise.
2065
20662013-11-26 Ondřej Bílka <neleai@seznam.cz>
2067
ab260039
OB
2068 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2069
d1d9eaf4 20702013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2071
d1d9eaf4
OB
2072 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2073 * rt/aio.h: Likewise.
2074 * sysdeps/gnu/bits/utmp.h: Likewise.
2075 * sysdeps/gnu/bits/utmpx.h: Likewise.
2076 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2077 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2078 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2079 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2080 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2081 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2082 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2083 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2084 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2085 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2086 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2087 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2090 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2091 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2092 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2093 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2094 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2095 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2096 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2097 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2098 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2099 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2100 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2102 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2103 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2104 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2105 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2106 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2107 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2108 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2109 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2110 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2111 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2112 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2113 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2114 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2115 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2116 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2117 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2118
a7624ed9
CD
21192013-11-25 Carlos O'Donell <carlos@redhat.com>
2120
2121 [BZ #16245]
2122 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2123 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2124
63cfe52b
JM
21252013-11-25 Joseph Myers <joseph@codesourcery.com>
2126
2127 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2128 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2129 Likewise.
2130
41e8926a
AZ
21312013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2132
2133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2134 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2135 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2136 (__fesetround): Remove define.
2137 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2138 rounding and exceptions handling.
2139 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2140 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2141 (__fe_nomask_env): Likewise.
2142 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2143 __fegetround instead of fegetround.
2144 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2145 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2146
6851bd4d
RM
21472013-11-21 Roland McGrath <roland@hack.frob.com>
2148
070906ff
RM
2149 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2150 it's there.
2151
6851bd4d
RM
2152 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2153
84ae135d
MI
21542013-11-21 Meador Inge <meadori@codesourcery.com>
2155
2156 [BZ #11157]
2157 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2158 (encrypt_r): Likewise.
2159 * malloc/obstack.h (obstack_free): Likewise.
2160 * posix/unistd.h (encrypt): Likewise.
2161
daf75146
GM
21622013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2163
2164 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2165 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2166 DL_CALL_DT_FINI() that call the functions directly.
2167 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2168 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2169 * elf/dl-fini.c: Likewise.
2170
10ad46bc
OB
21712013-11-20 Ondřej Bílka <neleai@seznam.cz>
2172
2173 * malloc/hooks.c (memalign_check): Add alignment rounding.
2174 * malloc/malloc.c (_mid_memalign): New function.
2175 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2176 Implement by calling _mid_memalign.
2177 * manual/probes.texi (Memory Allocation Probes): Remove
2178 memory_valloc_retry and memory_pvalloc_retry.
2179
f3fd2628
SP
21802013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2181
4712799f
SP
2182 * locale/programs/locarchive.c (open_archive): Add const
2183 qualifier to ARCHIVEFNAME and copy default fname to
2184 DEFAULT_FNAME.
2185
0417b20f
SP
2186 [BZ #15601]
2187 * libio/tst-widetext.input: Rename Oriya to Odia.
2188 * locale/iso-639.def: Likewise.
2189
f3fd2628
SP
2190 * manual/probes.texi (Mathematical Function Probes): Add
2191 documentation for sin, cos, asin and acos probes.
2192 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2193 (__sin32): Add slowasin probe.
2194 (__cos32): Add slowacos probe.
2195 (__mpsin): Add slowsin probe.
2196 (__mpcos): Add slowcos probe.
2197
73c1ce4f
JM
21982013-11-19 Joseph Myers <joseph@codesourcery.com>
2199
2200 [BZ #15483]
2201 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2202 thread-local __sim_exceptions_thread and global
2203 __sim_exceptions_global.
2204 (__sim_disabled_exceptions): Change to thread-local
2205 __sim_disabled_exceptions_thread and global
2206 __sim_disabled_exceptions_global.
2207 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2208 and global __sim_round_mode_global.
2209 (__simulate_exceptions): Use thread-local floating-point state and
2210 set global state from it as needed.
2211 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2212 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2213 __sim_round_mode_thread.
2214 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2215 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2216 and global __sim_exceptions_global.
2217 (__sim_disabled_exceptions): Change to thread-local
2218 __sim_disabled_exceptions_thread and global
2219 __sim_disabled_exceptions_global.
2220 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2221 and global __sim_round_mode_global.
2222 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2223 (SIM_SET_GLOBAL): Likewise.
2224 * sysdeps/powerpc/soft-fp/sfp-machine.h
2225 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2226 __sim_round_mode_thread.
2227 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2228 __sim_disabled_exceptions_thread.
2229 (__sim_exceptions): Change to __sim_exceptions_thread.
2230 (__sim_disabled_exceptions): Change to
2231 __sim_disabled_exceptions_thread.
2232 (__sim_round_mode): Change to __sim_round_mode_thread.
2233 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2234 thread-local floating-point state and set global state from it as
2235 needed.
2236 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2237 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2238 (__sim_disabled_exceptions): Remove extern declaration.
2239 (feenableexcept): Use thread-local floating-point state and set
2240 global state from it as needed.
2241 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2242 extern declaration.
2243 (__sim_disabled_exceptions): Likewise.
2244 (__sim_round_mode): Likewise.
2245 (__fegetenv): Use thread-local floating-point state.
2246 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2247 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2248 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2249 floating-point state and set global state from it as needed.
2250 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2251 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2252 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2253 Likewise.
2254 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2255 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2256 Likewise.
2257 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2258 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2259 Use __sim_round_mode_thread.
2260 * math/test-fenv-tls.c: New file.
2261 * math/Makefile (tests): Add test-fenv-tls.
2262 ($(objpfx)test-fenv-tls): Depend on
2263 $(common-objpfx)nptl/libpthread.so.
2264
b5449b12
AS
22652013-11-19 Andreas Schwab <schwab@suse.de>
2266
2267 * locale/programs/locale.c (show_info): Decode wordarray elements.
2268 * locale/categories.def (LC_MONETARY): Add element for
2269 _NL_MONETARY_CRNCYSTR.
2270 * locale/C-monetary.c (conversion_rate): New variable.
2271 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2272 element.
2273
e186536b
CM
22742013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2275
2276 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2277 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2278
5c349950
PP
22792013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2280
2281 * elf/Makefile (tst-auxv): New test.
2282 * elf/tst-auxv.c: New
2283 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2284
699df45b
JM
22852013-11-18 Joseph Myers <joseph@codesourcery.com>
2286
2287 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2288 (hidden_proto): Caller changed.
2289 (hidden_tls_proto): New macro.
2290 (libc_hidden_tls_proto): Likewise.
2291 (rtld_hidden_tls_proto): Likewise.
2292 (libm_hidden_tls_proto): Likewise.
2293 (libresolv_hidden_tls_proto): Likewise.
2294 (librt_hidden_tls_proto): Likewise.
2295 (libdl_hidden_tls_proto): Likewise.
2296 (libnss_files_hidden_tls_proto): Likewise.
2297 (libnsl_hidden_tls_proto): Likewise.
2298 (libnss_nisplus_hidden_tls_proto): Likewise.
2299 (libutil_hidden_tls_proto): Likewise.
2300
b7589107
OB
23012013-11-18 Ondřej Bílka <neleai@seznam.cz>
2302
2303 [BZ #10253]
2304 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2305 (decompose_rpath): Defer expansion to fillin_rpath.
2306 (_dl_init_paths): Pass linkmap to fillin_rpath.
2307
250c23bd
RS
23082013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2309
2310 * benchtests/Makefile: Add strsep.
2311 * benchtests/bench-strsep.c: New file: strsep benchtest.
2312 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2313
a7931fcf
AS
23142013-11-18 Andreas Schwab <schwab@suse.de>
2315
2316 * locale/programs/locale.c (show_info) [case byte]: Check for
2317 '\377' instead of '\177'.
2318 * locale/C-monetary.c (not_available): Always use "\377".
2319 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2320 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2321 detect unavailable sign_posn locale elements.
2322 * locale/localeconv.c (__localeconv): For grouping and
2323 mon_grouping handle "\177" and "\377" like no grouping.
2324 (INT_ELEM): New macro. Use it to set all numeric members.
2325 * locale/programs/ld-monetary.c (monetary_read)
2326 <tok_mon_grouping>: Normalize single -1 to the empty string.
2327 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2328 Likewise.
2329
728dab0e
OB
23302013-11-07 Ondřej Bílka <neleai@seznam.cz>
2331
2332 [BZ #16055]
2333 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2334 when we match (nil).
2335 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2336
66294491
JM
23372013-11-16 Joseph Myers <joseph@codesourcery.com>
2338
ce665817
JM
2339 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2340 (NO_TEST_INLINE): Update value.
2341 (ERRNO_UNCHANGED): Likewise.
2342 (ERRNO_EDOM): Likewise.
2343 (ERRNO_ERANGE): Likewise.
2344 (IGNORE_RESULT): Likewise.
2345 (check_float_internal): Check signs of NaN results if
2346 TEST_NAN_SIGN used.
2347 (check_complex): Pass TEST_NAN_SIGN flag through to second
2348 check_float_internal call.
2349 (copysign_test_data): Add tests with quiet NaNs as second
2350 argument. Use TEST_NAN_SIGN.
2351 (fabs_test_data): Add test of negative quiet NaN argument. Use
2352 TEST_NAN_SIGN.
2353 (signbit_test_data): Add tests of quiet NaN argument.
2354 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2355
ee1466a9
JM
2356 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2357 $ignore_result.
2358 (parse_args): Handle function results specified as IGNORE.
2359 * math/libm-test.inc (IGNORE_RESULT): New macro.
2360 (check_float_internal): Do not check numerical result if flag
2361 IGNORE_RESULT set.
2362 (check_complex): Pass through IGNORE_RESULT to second
2363 check_float_internal call.
2364 (check_int): Do not check numerical result if flag IGNORE_RESULT
2365 set.
2366 (check_long): Likewise.
2367 (check_bool): Likewise.
2368 (check_longlong): Likewise.
2369 (lrint_test_data): Add tests of infinite and NaN arguments.
2370 (lrint_tonearest_test_data): Likewise.
2371 (lrint_towardzero_test_data): Likewise.
2372 (lrint_downward_test_data): Likewise.
2373 (lrint_upward_test_data): Likewise.
2374 (llrint_test_data): Likewise.
2375 (llrint_tonearest_test_data): Likewise.
2376 (llrint_towardzero_test_data): Likewise.
2377 (llrint_downward_test_data): Likewise.
2378 (llrint_upward_test_data): Likewise.
2379 (lround_test_data): Likewise.
2380 (llround_test_data): Likewise.
2381
14407b7e
JM
2382 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2383 (ERRNO_UNCHANGED): Update value.
2384 (ERRNO_EDOM): Likewise.
2385 (ERRNO_ERANGE): Likewise.
2386 (NO_TEST_INLINE_FLOAT): New macro.
2387 (NO_TEST_INLINE_DOUBLE): Likewise.
2388 (enable_test): New function.
2389 (RUN_TEST_f_f): Check enable_test before running test.
2390 (RUN_TEST_2_f): Likewise.
2391 (RUN_TEST_fff_f): Likewise.
2392 (RUN_TEST_c_f): Likewise.
2393 (RUN_TEST_f_f1): Likewise.
2394 (RUN_TEST_fF_f1): Likewise.
2395 (RUN_TEST_fI_f1): Likewise.
2396 (RUN_TEST_ffI_f1): Likewise.
2397 (RUN_TEST_c_c): Likewise.
2398 (RUN_TEST_cc_c): Likewise.
2399 (RUN_TEST_f_i): Likewise.
2400 (RUN_TEST_f_i_tg): Likewise.
2401 (RUN_TEST_ff_i_tg): Likewise.
2402 (RUN_TEST_f_b): Likewise.
2403 (RUN_TEST_f_b_tg): Likewise.
2404 (RUN_TEST_f_l): Likewise.
2405 (RUN_TEST_f_L): Likewise.
2406 (RUN_TEST_fFF_11): Likewise.
2407 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2408 conditionals.
2409 (cosh_test_data): Likewise.
2410 (exp_test_data): Likewise.
2411 (expm1_test_data): Likewise.
2412 (hypot_test_data): Likewise.
2413 (pow_test_data): Likewise.
2414 (sinh_test_data): Likewise.
2415 (tanh_test_data): Likewise.
2416 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2417 flags argument.
2418
ca07f197
JM
2419 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2420 tests with quiet NaN input and output.
2421 (acosh_test_data): Likewise.
2422 (asin_test_data): Likewise.
2423 (asinh_test_data): Likewise.
2424 (atan_test_data): Likewise.
2425 (atanh_test_data): Likewise.
2426 (atan2_test_data): Likewise.
2427 (cbrt_test_data): Likewise.
2428 (cos_test_data): Likewise.
2429 (cosh_test_data): Likewise.
2430 (erf_test_data): Likewise.
2431 (erfc_test_data): Likewise.
2432 (exp_test_data): Likewise.
2433 (exp10_test_data): Likewise.
2434 (exp2_test_data): Likewise.
2435 (expm1_test_data): Likewise.
2436 (hypot_test_data): Likewise.
2437 (j0_test_data): Likewise.
2438 (j1_test_data): Likewise.
2439 (jn_test_data): Likewise.
2440 (lgamma_test_data): Likewise.
2441 (log_test_data): Likewise.
2442 (log10_test_data): Likewise.
2443 (log1p_test_data): Likewise.
2444 (log2_test_data): Likewise.
2445 (pow_test_data): Likewise.
2446 (scalb_test_data): Likewise.
2447 (sin_test_data): Likewise.
2448 (sincos_test_data): Likewise.
2449 (sinh_test_data): Likewise.
2450 (tan_test_data): Likewise.
2451 (tanh_test_data): Likewise.
2452 (tgamma_test_data): Likewise.
2453 (y0_test_data): Likewise.
2454 (y1_test_data): Likewise.
2455 (yn_test_data): Likewise.
2456
66294491
JM
2457 [BZ #16167]
2458 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2459 argument being NaN and avoid computations with second argument in
2460 that case.
2461 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2462 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2463 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2464
1820b143
CL
24652013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2466
2467 * locale/iso-639.def: Add Chitwani Tharu (the).
2468
714bd261
AS
24692013-11-14 Andreas Schwab <schwab@suse.de>
2470
2471 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2472 word instead of empty string.
2473
7ab44563
AZ
24742013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2475
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2477 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2479 (__fe_nomask_env): Likewise.
2480
e8470ea2
SE
24812013-11-13 Steve Ellcey <sellcey@mips.com>
2482
2483 * benchtests/bench-timing.h: Include time.h.
2484
17c1d9f0
L
24852013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2486
2487 [BZ #15997]
2488 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2489 to 3.4.0 for x32.
2490 * sysdeps/unix/sysv/linux/configure: Regenerated.
2491
9310c284
JM
24922013-11-13 Joseph Myers <joseph@codesourcery.com>
2493
2494 [BZ #16151]
2495 * stdlib/strtod_l.c (round_and_return): Do not consider
2496 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2497 exponent one less than half the least subnormal exponent.
2498 * stdlib/test-strtod-round-data: Add more tests.
2499 * stdlib/tst-strtod-round.c (tests): Regenerated.
2500
7a2ad8cf
AZ
25012013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2502
2503 [BZ #14143]
2504 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2505 (__fe_mask_env): Likewise.
2506 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2507 libm_hidden_proto and add function prototype.
2508 (__fe_mask_env): Add function prototype.
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2510 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2512 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2514 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2515
50727aa7
MS
25162013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2517
b2f386c1 2518 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
2519 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2520
a615be46
MS
25212013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2522
2523 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2524 of htab_find_slot().
2525
7ddace62
DM
25262013-11-11 David S. Miller <davem@davemloft.net>
2527
2528 [BZ #16150]
2529 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2530 symbol in the non-vis3 case in static builds.
2531 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2532 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2533 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2534 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2535
9182aa67
JK
25362013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2537
2538 [BZ #387]
2539 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2540 it is empty.
2541
450a2e2d
AZ
25422013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2543
b2f386c1
SP
2544 * benchtests/Makefile: Add bench-strtod.
2545 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2546
8ec3f656
AS
25472013-11-11 Andreas Schwab <schwab@suse.de>
2548
2549 [BZ #16153]
2550 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2551 terminating NUL in key length.
2552
76a9b998
AZ
25532013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2554
2555 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2556 Add artificial ODP entry for vDSO symbol for PPC64.
2557 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2558 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2559
e4368156
OB
25602013-11-07 Ondřej Bílka <neleai@seznam.cz>
2561
2562 [BZ #15374]
2563 * nss/getent.c (services_keys): Recognize services starting with digit.
2564
8d6bb57c
DM
25652013-11-06 David S. Miller <davem@davemloft.net>
2566
2567 [BZ #15985]
2568 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2569 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2570
e256c421
WN
25712013-11-06 Will Newton <will.newton@linaro.org>
2572
2573 * manual/memory.texi (Malloc Examples): Remove register
2574 keyword from examples.
2575
f6e12daa 25762013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2577
f6e12daa 2578 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2579
9d880655
AS
25802013-11-04 Joseph Myers <joseph@codesourcery.com>
2581
2582 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2583 depending on [__GCC_IEC_559 > 0].
2584 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2585 depending on [__GCC_IEC_559_COMPLEX > 0].
2586
ae129d3c
CL
25872013-11-03 Chris Leonard <cjl@sugarlabs.org>
2588
2589 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2590 to iso-639.def.
2591
4a15c2a4 25922013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2593
2594 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2595
8b35e35d
OB
25962013-11-01 Ondřej Bílka <neleai@seznam.cz>
2597
2598 [BZ #16112]
2599 * malloc/malloc (malloc_info): Do not handle first bin as
2600 special case.
2601
1d70fd6c
CL
26022013-11-01 Chris Leonard <cjl@sugarlabs.org>
2603
2604 * locale/iso-639.def: Add Central Nahuatl (nhn).
2605
8c5c2600
BH
26062013-11-01 Bruno Haible <bruno@clisp.org>
2607
2608 [BZ #7003]
2609 * manual/math.texi (BSD Random): Specify range upper bound as
2610 in POSIX.
2611
da5579c2
CL
26122013-10-31 Chris Leonard <cjl@sugarlabs.org>
2613
2614 * locale/iso-639.def: Add Meadow Mari (mhr).
2615
5d30d853
OB
26162013-10-31 Ondřej Bílka <neleai@seznam.cz>
2617
2618 [BZ #14752], [BZ #15763]
2619 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2620 Validate name.
2621 * rt/tst_shm.c: Add test for escaping directory.
2622
a4966c61
AS
26232013-10-31 Andreas Schwab <schwab@suse.de>
2624
8a43e768 2625 [BZ #15917]
a4966c61
AS
2626 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2627 followed by 'x' as part of digit sequence.
2628 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2629
28d708c4
MAP
26302013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2631
2632 [BZ #16037]
2633 * configure.ac: allow GNU Make 4.0 and greater.
2634 * configure: Regenerated.
2635
a56ee40b
WN
26362013-10-30 Will Newton <will.newton@linaro.org>
2637
2638 [BZ #16038]
2639 * malloc/hooks.c (memalign_check): Limit alignment to the
2640 maximum representable power of two.
2641 * malloc/malloc.c (__libc_memalign): Likewise.
2642 * malloc/tst-memalign.c (do_test): Add test for very
2643 large alignment values.
2644 * malloc/tst-posix_memalign.c (do_test): Likewise.
2645
c6e4925d
OB
26462013-10-30 Ondřej Bílka <neleai@seznam.cz>
2647
2648 [BZ #11087]
2649 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2650 (munmap_chunk): Likewise.
2651 (mremap_chunk): Likewise.
2652
26532013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2654
8a43e768 2655 [BZ #15799]
bbea82f7
OB
2656 * stdlib/div.c (div): Remove obsolete code.
2657 * stdlib/ldiv.c (ldiv): Likewise.
2658 * stdlib/lldiv.c (lldiv): Likewise.
2659
977f4b31
SP
26602013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2661
2662 [BZ #16071]
2663 * nss/nss_files/files-XXX.c (get_contents_ret): New
2664 enumerator.
2665 (get_contents): New function.
2666 (internal_getent): Use it. Expand size of LINEBUFLEN.
2667
cb8a6dbd
MF
26682013-10-30 Mike Frysinger <vapier@gentoo.org>
2669
2670 * configure.in: Moved to ...
2671 * configure.ac: ... here. Change reference to configure.in
2672 to configure.ac.
2673 * sysdeps/arm/preconfigure.ac: ... here.
2674 configure.in to configure.ac.
2675 * sysdeps/gnu/configure.in: Moved to ...
2676 * sysdeps/gnu/configure.ac: ... here.
2677 * sysdeps/i386/configure.in: Moved to ...
2678 * sysdeps/i386/configure.ac: ... here.
2679 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2680 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2681 * sysdeps/mach/configure.in: Moved to ...
2682 * sysdeps/mach/configure.ac: ... here.
2683 * sysdeps/mach/hurd/configure.in: Moved to ...
2684 * sysdeps/mach/hurd/configure.ac: ... here.
2685 * sysdeps/powerpc/configure.in: Moved to ...
2686 * sysdeps/powerpc/configure.ac: ... here.
2687 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2688 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2689 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2690 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2691 * sysdeps/s390/s390-32/configure.in: Moved to ...
2692 * sysdeps/s390/s390-32/configure.ac: ... here.
2693 * sysdeps/s390/s390-64/configure.in: Moved to ...
2694 * sysdeps/s390/s390-64/configure.ac: ... here.
2695 * sysdeps/sh/configure.in: Moved to ...
2696 * sysdeps/sh/configure.ac: ... here.
2697 * sysdeps/sparc/configure.in: Moved to ...
2698 * sysdeps/sparc/configure.ac: ... here.
2699 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2700 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2701 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2702 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2703 * sysdeps/x86_64/configure.in: Moved to ...
2704 * sysdeps/x86_64/configure.ac: ... here.
2705 * sysdeps/x86_64/preconfigure.in: Moved to ...
2706 * sysdeps/x86_64/preconfigure.ac: ... here.
2707 * aclocal.m4: Change reference to configure.in to configure.ac.
2708 * config.h.in: Likewise.
2709 * manual/install.texi: Likewise.
2710 * manual/maint.texi: Likewise.
2711 * Makefile: Likewise.
2712 * malloc/Makefile: Likewise.
2713 * nscd/Makefile: Likewise.
2714 * Makeconfig: Change reference to configure.in and
2715 preconfigure.in to configure.ac and preconfigure.ac
2716 respectively.
2717 * INSTALL: Regenerated.
2718 * configure: Likewise.
2719 * sysdeps/gnu/configure: Likewise.
2720 * sysdeps/i386/configure: Likewise.
2721 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2722 * sysdeps/mach/configure: Likewise.
2723 * sysdeps/mach/hurd/configure: Likewise.
2724 * sysdeps/powerpc/configure: Likewise.
2725 * sysdeps/powerpc/powerpc32/configure: Likewise.
2726 * sysdeps/powerpc/powerpc64/configure: Likewise.
2727 * sysdeps/s390/s390-32/configure: Likewise.
2728 * sysdeps/s390/s390-64/configure: Likewise.
2729 * sysdeps/sh/configure: Likewise.
2730 * sysdeps/sparc/configure: Likewise.
2731 * sysdeps/unix/sysv/linux/configure: Likewise.
2732 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2733 * sysdeps/x86_64/configure: Likewise.
2734 * sysdeps/x86_64/preconfigure: Likewise.
2735
36a4953a
AS
27362013-10-29 Andreas Schwab <schwab@suse.de>
2737
2738 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2739
c79a1204
SP
27402013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2741
dfa1b402
SP
2742 * benchtests/pow-inputs: Add new inputs.
2743
54f73d9c
SP
2744 * benchtests/exp-inputs: Add new inputs.
2745
c79a1204
SP
2746 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2747 conditional check for return value.
2748 (__cos32): Likewise.
2749
67beb545 27502013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2751
2752 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2753 to provide a boost for large inputs with word alignment.
2754 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2755 implementation based on optimized PPC64 strcpy.
2756 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2757 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2758 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2759 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2760
151659f6
OB
27612013-10-25 Ondřej Bílka <neleai@seznam.cz>
2762
482a077e 2763 [BZ #2801]
151659f6
OB
2764 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2765
10b0f26b
OB
27662013-10-25 Ondřej Bílka <neleai@seznam.cz>
2767
2768 [BZ #14876]
2769 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2770 * time/tst-strptime.c (day_tests): Add testcase.
2771
ca42d35e
OB
27722013-10-25 Ondřej Bílka <neleai@seznam.cz>
2773
482a077e 2774 [BZ #14029]
ca42d35e
OB
2775 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2776
52e6d801
FB
27772013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2778
2779 [BZ #16074]
2780 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2781 MAP_FAILED on error.
2782
7cbcdb36
SP
27832013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2784
2785 [BZ #16072]
2786 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2787 heap for large requests.
2788
894f3f10
AM
27892013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2790
2791 [BZ #9954]
2792 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2793 result if the result has no associated interface.
2794 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2795 interface for all 127.X.Y.Z addresses.
2796
b85545a6
CL
27972013-10-24 Chris Leonard <cjl@sugarlabs.org>
2798
2799 * locale/iso-639.def: Add Ligurian (lij)
2800
d1f23d46
OB
28012013-10-21 Ondřej Bílka <neleai@seznam.cz>
2802
2803 [BZ #15825]
2804 * sunrpc/rpc_main.c: Document rpcgen -5.
2805
4db5b08f
MS
28062013-10-19 Michael Stahl <mstahl@redhat.com>
2807
2808 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2809
a471e96a
OB
28102013-10-19 Ondřej Bílka <neleai@seznam.cz>
2811
d1f23d46 2812 [BZ #10278]
a471e96a
OB
2813 * posix/glob.c: Match only directories when trailing slash is present.
2814 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2815 (main): Add testcase.
2816
45c30c61
OB
28172013-10-19 Ondřej Bílka <neleai@seznam.cz>
2818
2819 [BZ #15670]
2820 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2821
484c12fb
CD
28222013-10-18 Carlos O'Donell <carlos@redhat.com>
2823
3d7dc513
CD
2824 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2825 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2826 AUTH_DES and cindex for FIPS 140-2.
2827 (DES Encryption): Add cindex FIPS 46-3.
2828
484c12fb
CD
2829 * locale/locarchive.h (struct locarhandle): Add fname.
2830 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2831 if an optional argument was specified to --list-archive,
2832 otherwise NULL.
2833 * locale/programs/locarchive.c (show_archive_content): Take new
2834 argument fname and pass it via ah.fname to open_archive.
2835 * locale/programs/localedef.h: Update decl.
2836 (open_archive): If AH->fname is non-null, open that file
2837 rather than the default file name, and don't ignore ENOENT.
2838 (create_archive): Set AH.fname to NULL.
2839 (delete_locales_from_archive): Likewise.
2840 (add_locales_to_archive): Likewise.
2841 * locale/programs/locfile.c (write_all_categories): Likewise.
2842
3c8325fb
JM
28432013-10-18 Joseph Myers <joseph@codesourcery.com>
2844 Aldy Hernandez <aldyh@redhat.com>
2845
2846 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2847 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2848 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2849 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2850 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2851 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2852 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2853 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2854 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2855 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2856 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2857 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2858 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2859 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2860 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2861 Likewise.
2862 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2863 Likewise.
2864 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2865 Likewise.
2866 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2867 Likewise.
2868 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2869 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2870 Likewise.
2871 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2872 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2873 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2874 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2875 Likewise.
2876 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2877 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2878 * sysdeps/powerpc/preconfigure: Likewise.
2879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2880 Likewise.
2881 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2882 Replace contents of file by #include of <fenv_libc.h>.
2883 * sysdeps/powerpc/soft-fp/sfp-machine.h
2884 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2885 and <sys/prctl.h>.
2886 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2887 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2888 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2889 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2890 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2891 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2893 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2894 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2895 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2896 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2897 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2899 Allow copysignl PLT reference to be missing.
2900
5abe0682
RS
29012013-10-18 Richard Sandiford <richard@codesourcery.com>
2902 Joseph Myers <joseph@codesourcery.com
2903
2904 [BZ #15948]
2905 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2906 single character.
2907 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2908
c7738d08
SP
29092013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2910
2911 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2912 * elf/tst-tls1.c: Likewise.
2913 * elf/tst-tls10.h: Likewise.
2914 * elf/tst-tls14.c: Likewise.
2915 * elf/tst-tls2.c: Likewise.
2916 * elf/tst-tls3.c: Likewise.
2917 * elf/tst-tls4.c: Likewise.
2918 * elf/tst-tls5.c: Likewise.
2919 * elf/tst-tls6.c: Likewise.
2920 * elf/tst-tls7.c: Likewise.
2921 * elf/tst-tls8.c: Likewise.
2922 * elf/tst-tls9.c: Likewise.
2923 * elf/tst-tlsmod1.c: Likewise.
2924 * elf/tst-tlsmod13.c: Likewise.
2925 * elf/tst-tlsmod13a.c: Likewise.
2926 * elf/tst-tlsmod14a.c: Likewise.
2927 * elf/tst-tlsmod16a.c: Likewise.
2928 * elf/tst-tlsmod16b.c: Likewise.
2929 * elf/tst-tlsmod2.c: Likewise.
2930 * elf/tst-tlsmod3.c: Likewise.
2931 * elf/tst-tlsmod4.c: Likewise.
2932 * elf/tst-tlsmod5.c: Likewise.
2933 * elf/tst-tlsmod6.c: Likewise.
2934
0bfcf2c7
OB
29352013-10-18 Ondřej Bílka <neleai@seznam.cz>
2936
2937 [BZ #12486]
2938 * malloc/malloc.c: remove checks for statistics.
2939
264aad1e
OB
29402013-10-17 Ondřej Bílka <neleai@seznam.cz>
2941
2942 [BZ #15277]
2943 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2944 * inet/tst-network.c: Add testcase.
2945
b957ced8
AS
29462013-10-17 Andreas Schwab <schwab@suse.de>
2947
2948 [BZ #15218]
2949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2950 to determine canonical name.
2951
c5d5d574
OB
29522013-10-17 Ondřej Bílka <neleai@seznam.cz>
2953
2954 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2955 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2957 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2958 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2959 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2960 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2961 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2962 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2963 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2964 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2965 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2966 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2967 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2968 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2969 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2971 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2972 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2973 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2978 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2979 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2983 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2984 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2985 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2987 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2988 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2989 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2990 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2991 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2992 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2996 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3002 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3012
e5c2c2d0
JM
30132013-10-17 Joseph Myers <joseph@codesourcery.com>
3014
3015 [BZ #16041]
3016 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3017 make result into a quiet NaN.
3018
51ca9e29
JM
30192013-10-16 Joseph Myers <joseph@codesourcery.com>
3020
3021 * soft-fp/adddf3.c: Fix horizontal whitespace.
3022 * soft-fp/addsf3.c: Likewise.
3023 * soft-fp/addtf3.c: Likewise.
3024 * soft-fp/divdf3.c: Likewise.
3025 * soft-fp/divsf3.c: Likewise.
3026 * soft-fp/divtf3.c: Likewise.
3027 * soft-fp/double.h: Likewise.
3028 * soft-fp/eqdf2.c: Likewise.
3029 * soft-fp/eqsf2.c: Likewise.
3030 * soft-fp/eqtf2.c: Likewise.
3031 * soft-fp/extenddftf2.c: Likewise.
3032 * soft-fp/extended.h: Likewise.
3033 * soft-fp/extendsfdf2.c: Likewise.
3034 * soft-fp/extendsftf2.c: Likewise.
3035 * soft-fp/extendxftf2.c: Likewise.
3036 * soft-fp/fixdfdi.c: Likewise.
3037 * soft-fp/fixdfsi.c: Likewise.
3038 * soft-fp/fixdfti.c: Likewise.
3039 * soft-fp/fixsfdi.c: Likewise.
3040 * soft-fp/fixsfsi.c: Likewise.
3041 * soft-fp/fixsfti.c: Likewise.
3042 * soft-fp/fixtfdi.c: Likewise.
3043 * soft-fp/fixtfsi.c: Likewise.
3044 * soft-fp/fixtfti.c: Likewise.
3045 * soft-fp/fixunsdfdi.c: Likewise.
3046 * soft-fp/fixunsdfsi.c: Likewise.
3047 * soft-fp/fixunsdfti.c: Likewise.
3048 * soft-fp/fixunssfdi.c: Likewise.
3049 * soft-fp/fixunssfsi.c: Likewise.
3050 * soft-fp/fixunssfti.c: Likewise.
3051 * soft-fp/fixunstfdi.c: Likewise.
3052 * soft-fp/fixunstfsi.c: Likewise.
3053 * soft-fp/fixunstfti.c: Likewise.
3054 * soft-fp/floatdidf.c: Likewise.
3055 * soft-fp/floatdisf.c: Likewise.
3056 * soft-fp/floatditf.c: Likewise.
3057 * soft-fp/floatsidf.c: Likewise.
3058 * soft-fp/floatsisf.c: Likewise.
3059 * soft-fp/floatsitf.c: Likewise.
3060 * soft-fp/floattidf.c: Likewise.
3061 * soft-fp/floattisf.c: Likewise.
3062 * soft-fp/floattitf.c: Likewise.
3063 * soft-fp/floatundidf.c: Likewise.
3064 * soft-fp/floatundisf.c: Likewise.
3065 * soft-fp/floatunditf.c: Likewise.
3066 * soft-fp/floatunsidf.c: Likewise.
3067 * soft-fp/floatunsisf.c: Likewise.
3068 * soft-fp/floatunsitf.c: Likewise.
3069 * soft-fp/floatuntidf.c: Likewise.
3070 * soft-fp/floatuntisf.c: Likewise.
3071 * soft-fp/floatuntitf.c: Likewise.
3072 * soft-fp/fmadf4.c: Likewise.
3073 * soft-fp/fmasf4.c: Likewise.
3074 * soft-fp/fmatf4.c: Likewise.
3075 * soft-fp/gedf2.c: Likewise.
3076 * soft-fp/gesf2.c: Likewise.
3077 * soft-fp/getf2.c: Likewise.
3078 * soft-fp/ledf2.c: Likewise.
3079 * soft-fp/lesf2.c: Likewise.
3080 * soft-fp/letf2.c: Likewise.
3081 * soft-fp/muldf3.c: Likewise.
3082 * soft-fp/mulsf3.c: Likewise.
3083 * soft-fp/multf3.c: Likewise.
3084 * soft-fp/negdf2.c: Likewise.
3085 * soft-fp/negsf2.c: Likewise.
3086 * soft-fp/negtf2.c: Likewise.
3087 * soft-fp/op-1.h: Likewise.
3088 * soft-fp/op-2.h: Likewise.
3089 * soft-fp/op-4.h: Likewise.
3090 * soft-fp/op-8.h: Likewise.
3091 * soft-fp/op-common.h: Likewise.
3092 * soft-fp/quad.h: Likewise.
3093 * soft-fp/single.h: Likewise.
3094 * soft-fp/soft-fp.h: Likewise.
3095 * soft-fp/sqrtdf2.c: Likewise.
3096 * soft-fp/sqrtsf2.c: Likewise.
3097 * soft-fp/sqrttf2.c: Likewise.
3098 * soft-fp/subdf3.c: Likewise.
3099 * soft-fp/subsf3.c: Likewise.
3100 * soft-fp/subtf3.c: Likewise.
3101 * soft-fp/truncdfsf2.c: Likewise.
3102 * soft-fp/trunctfdf2.c: Likewise.
3103 * soft-fp/trunctfsf2.c: Likewise.
3104 * soft-fp/trunctfxf2.c: Likewise.
3105 * soft-fp/unorddf2.c: Likewise.
3106 * soft-fp/unordsf2.c: Likewise.
3107 * soft-fp/unordtf2.c: Likewise.
3108
9ebb0332
JM
31092013-10-15 Joseph Myers <joseph@codesourcery.com>
3110
3111 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3112 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3113
4b1a6d8b
OB
31142013-10-15 Ondřej Bílka <neleai@seznam.cz>
3115
3116 * elf/dl-libc.c: Clear initfini list after freeing.
3117
1e145589
JM
31182013-10-14 Joseph Myers <joseph@codesourcery.com>
3119
3120 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3121 * soft-fp/addsf3.c: Likewise.
3122 * soft-fp/addtf3.c: Likewise.
3123 * soft-fp/divdf3.c: Likewise.
3124 * soft-fp/divsf3.c: Likewise.
3125 * soft-fp/divtf3.c: Likewise.
3126 * soft-fp/double.h: Likewise.
3127 * soft-fp/eqdf2.c: Likewise.
3128 * soft-fp/eqsf2.c: Likewise.
3129 * soft-fp/eqtf2.c: Likewise.
3130 * soft-fp/extenddftf2.c: Likewise.
3131 * soft-fp/extended.h: Likewise.
3132 * soft-fp/extendsfdf2.c: Likewise.
3133 * soft-fp/extendsftf2.c: Likewise.
3134 * soft-fp/extendxftf2.c: Likewise.
3135 * soft-fp/fixdfdi.c: Likewise.
3136 * soft-fp/fixdfsi.c: Likewise.
3137 * soft-fp/fixdfti.c: Likewise.
3138 * soft-fp/fixsfdi.c: Likewise.
3139 * soft-fp/fixsfsi.c: Likewise.
3140 * soft-fp/fixsfti.c: Likewise.
3141 * soft-fp/fixtfdi.c: Likewise.
3142 * soft-fp/fixtfsi.c: Likewise.
3143 * soft-fp/fixtfti.c: Likewise.
3144 * soft-fp/fixunsdfdi.c: Likewise.
3145 * soft-fp/fixunsdfsi.c: Likewise.
3146 * soft-fp/fixunsdfti.c: Likewise.
3147 * soft-fp/fixunssfdi.c: Likewise.
3148 * soft-fp/fixunssfsi.c: Likewise.
3149 * soft-fp/fixunssfti.c: Likewise.
3150 * soft-fp/fixunstfdi.c: Likewise.
3151 * soft-fp/fixunstfsi.c: Likewise.
3152 * soft-fp/fixunstfti.c: Likewise.
3153 * soft-fp/floatdidf.c: Likewise.
3154 * soft-fp/floatdisf.c: Likewise.
3155 * soft-fp/floatditf.c: Likewise.
3156 * soft-fp/floatsidf.c: Likewise.
3157 * soft-fp/floatsisf.c: Likewise.
3158 * soft-fp/floatsitf.c: Likewise.
3159 * soft-fp/floattidf.c: Likewise.
3160 * soft-fp/floattisf.c: Likewise.
3161 * soft-fp/floattitf.c: Likewise.
3162 * soft-fp/floatundidf.c: Likewise.
3163 * soft-fp/floatundisf.c: Likewise.
3164 * soft-fp/floatunsidf.c: Likewise.
3165 * soft-fp/floatunsisf.c: Likewise.
3166 * soft-fp/floatuntidf.c: Likewise.
3167 * soft-fp/floatuntisf.c: Likewise.
3168 * soft-fp/floatuntitf.c: Likewise.
3169 * soft-fp/fmadf4.c: Likewise.
3170 * soft-fp/fmasf4.c: Likewise.
3171 * soft-fp/fmatf4.c: Likewise.
3172 * soft-fp/gedf2.c: Likewise.
3173 * soft-fp/gesf2.c: Likewise.
3174 * soft-fp/getf2.c: Likewise.
3175 * soft-fp/ledf2.c: Likewise.
3176 * soft-fp/lesf2.c: Likewise.
3177 * soft-fp/letf2.c: Likewise.
3178 * soft-fp/muldf3.c: Likewise.
3179 * soft-fp/mulsf3.c: Likewise.
3180 * soft-fp/multf3.c: Likewise.
3181 * soft-fp/negdf2.c: Likewise.
3182 * soft-fp/negsf2.c: Likewise.
3183 * soft-fp/negtf2.c: Likewise.
3184 * soft-fp/op-1.h: Likewise.
3185 * soft-fp/op-2.h: Likewise.
3186 * soft-fp/op-4.h: Likewise.
3187 * soft-fp/op-8.h: Likewise.
3188 * soft-fp/op-common.h: Likewise.
3189 * soft-fp/quad.h: Likewise.
3190 * soft-fp/single.h: Likewise.
3191 * soft-fp/soft-fp.h: Likewise.
3192 * soft-fp/sqrtdf2.c: Likewise.
3193 * soft-fp/sqrtsf2.c: Likewise.
3194 * soft-fp/sqrttf2.c: Likewise.
3195 * soft-fp/subdf3.c: Likewise.
3196 * soft-fp/subsf3.c: Likewise.
3197 * soft-fp/subtf3.c: Likewise.
3198 * soft-fp/truncdfsf2.c: Likewise.
3199 * soft-fp/trunctfdf2.c: Likewise.
3200 * soft-fp/trunctfsf2.c: Likewise.
3201 * soft-fp/trunctfxf2.c: Likewise.
3202 * soft-fp/unorddf2.c: Likewise.
3203 * soft-fp/unordsf2.c: Likewise.
3204 * soft-fp/unordtf2.c: Likewise.
3205
17c48a60
OB
32062013-10-14 Ondřej Bílka <neleai@seznam.cz>
3207
3208 [BZ #15672]
3209 * misc/error.c (error_tail): Fix possible buffer overflow.
3210
cabba934
OB
32112013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3212
3213 [BZ #13028]
3214 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3215 address.
3216
94bf958a
PM
32172013-10-14 P. J. McDermott <pj@pehjota.net>
3218
3219 [BZ #832]
3220 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3221 testing pipefail option.
3222
71b4dea7
JM
32232013-10-12 Joseph Myers <joseph@codesourcery.com>
3224
3225 * soft-fp/double.h: Indent preprocessor directives inside #if.
3226 * soft-fp/extended.h: Likewise.
3227 * soft-fp/op-2.h: Likewise.
3228 * soft-fp/op-4.h: Likewise.
3229 * soft-fp/op-common.h: Likewise.
3230 * soft-fp/quad.h: Likewise.
3231 * soft-fp/single.h: Likewise.
3232 * soft-fp/soft-fp.h: Likewise.
3233
55602758
YC
32342013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3235
3236 * iconv/iconv_prog.c: Fix typos.
3237 * stdio-common/psiginfo-data.h: Likewise.
3238
9cd83302
RT
32392013-10-12 Reuben Thomas <rrt@sc3d.org>
3240
3241 [BZ #15764]
3242 * locale/setlocale.c: Fix typo.
3243
99fd9f47
JM
32442013-10-12 Joseph Myers <joseph@codesourcery.com>
3245
b7ea74f0
JM
3246 [BZ #16036]
3247 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3248 signaling NaN arguments.
3249 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3250 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3251
8a509447
JM
3252 [BZ #14910]
3253 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3254 unordered operands.
3255 * soft-fp/gesf2.c (__gesf2): Likewise.
3256 * soft-fp/getf2.c (__getf2): Likewise.
3257 * soft-fp/ledf2.c (__ledf2): Likewise.
3258 * soft-fp/lesf2.c (__lesf2): Likewise.
3259 * soft-fp/letf2.c (__letf2): Likewise.
3260
98998e9f
JM
3261 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3262 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3263 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3264 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3265 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3266 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3267 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3268 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3269 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3270 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3271 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3272 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3273 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3274 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3275 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3276 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3277 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3278 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3279 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3280 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3281 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3282 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3283 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3284 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3285 * soft-fp/floattidf.c (__floattidf): Likewise.
3286 * soft-fp/floattisf.c (__floattisf): Likewise.
3287 * soft-fp/floattitf.c (__floattitf): Likewise.
3288 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3289 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3290 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3291 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3292 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3293 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3294 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3295 * soft-fp/gesf2.c (__gesf2): Likewise.
3296 * soft-fp/getf2.c (__getf2): Likewise.
3297 * soft-fp/ledf2.c (__ledf2): Likewise.
3298 * soft-fp/lesf2.c (__lesf2): Likewise.
3299 * soft-fp/letf2.c (__letf2): Likewise.
3300
8edc4a11
JM
3301 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3302 Undefine and redefine.
3303 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3304 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3305 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3306 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3307 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3308 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3309 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3310 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3311 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3312 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3313 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3314 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3315 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3316 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3317 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3318
8399acaf
JM
3319 [BZ #16032]
3320 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3321 without decrementing exponent if mantissa >= that for the
3322 denominator, not >.
3323 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3324 denominator, not >. Decrement exponent in < case instead of
3325 incrementing in >= case.
3326 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3327 without decrementing exponent if mantissa >= that for the
3328 denominator, not >.
3329
99fd9f47
JM
3330 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3331 computing saturated result for unsigned overflow.
3332
10e1cf6b
SP
33332013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3334 Jeff Law <law@redhat.com>
3335
3336 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3337 (atan2Mp): Add systemtap probe marker.
3338 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3339 (__ieee754_log): Add systemtap probe marker.
3340 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3341 (atanMp): Add systemtap probe marker.
3342 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3343 (tanMp): Add systemtap probe marker.
3344 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3345 (__slowexp): Add systemtap probe marker.
3346 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3347 (__slowpow): Add systemtap probe marker.
3348 * manual/probes.texi: Document probes.
3349
3d110c7c
EB
33502013-10-11 Eric Biggers <ebiggers3@gmail.com>
3351
3352 [BZ #15362]
3353 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3354 written.
3355 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3356 written.
3357 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3358 written to buffer but not flushed.
3359 * libio/iofwrite_u.c: Likewise.
3360 * libio/iopadn.c: Return bytes returned even if EOF was
3361 encountered.
3362 * libio/iowpadn.c: Likewise.
3363 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3364 if _IO_padn does not write the whole buffer.
3365 [!COMPILE_WPRINTF] (PAD): Likewise.
3366
75b4202a
DM
33672013-10-10 David S. Miller <davem@davemloft.net>
3368
3369 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3370 directory block.
3371
6c6352e6
JM
33722013-10-10 Joseph Myers <joseph@codesourcery.com>
3373
33b853c3
JM
3374 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3375 instead of FSF address.
3376 * soft-fp/fixdfti.c: Likewise.
3377 * soft-fp/fixsfti.c: Likewise.
3378 * soft-fp/fixtfti.c: Likewise.
3379 * soft-fp/fixunsdfti.c: Likewise.
3380 * soft-fp/fixunssfti.c: Likewise.
3381 * soft-fp/fixunstfti.c: Likewise.
3382 * soft-fp/floattidf.c: Likewise.
3383 * soft-fp/floattisf.c: Likewise.
3384 * soft-fp/floattitf.c: Likewise.
3385 * soft-fp/floatuntidf.c: Likewise.
3386 * soft-fp/floatuntisf.c: Likewise.
3387 * soft-fp/floatuntitf.c: Likewise.
3388 * soft-fp/trunctfxf2.c: Likewise.
3389
6c6352e6
JM
3390 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3391 * soft-fp/fixdfti.c: Likewise.
3392 * soft-fp/fixsfti.c: Likewise.
3393 * soft-fp/fixtfti.c: Likewise.
3394 * soft-fp/fixunsdfti.c: Likewise.
3395 * soft-fp/fixunssfti.c: Likewise.
3396 * soft-fp/fixunstfti.c: Likewise.
3397 * soft-fp/floattidf.c: Likewise.
3398 * soft-fp/floattisf.c: Likewise.
3399 * soft-fp/floattitf.c: Likewise.
3400 * soft-fp/floatuntidf.c: Likewise.
3401 * soft-fp/floatuntisf.c: Likewise.
3402 * soft-fp/floatuntitf.c: Likewise.
3403 * soft-fp/trunctfxf2.c: Likewise.
3404
3bf78b71
DM
34052013-10-10 David S. Miller <davem@davemloft.net>
3406
3407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3408
6f10289e
JM
34092013-10-10 Joseph Myers <joseph@codsourcery.com>
3410
bd878fc0
JM
3411 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3412 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3413 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3414 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3415 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3416 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3417 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3418
6f10289e
JM
3419 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3420 for NaNs before doing comparisons on argument.
3421 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3422 Likewise.
3423
321e2684
WN
34242013-10-10 Will Newton <will.newton@linaro.org>
3425
3426 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3427 passed to _int_memalign does not overflow.
3428
40fefba1
TR
34292013-10-10 Torvald Riegel <triegel@redhat.com>
3430
3431 * scripts/bench.pl: Add include-sources directive.
3432 * benchtests/README: Update documentation.
3433
2ae21ed2
JM
34342013-10-10 Joseph Myers <joseph@codesourcery.com>
3435
dcc2dd3f
JM
3436 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3437 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3438 instead of FP_INIT_ROUNDMODE.
3439 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3440 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3441
2ae21ed2
JM
3442 [BZ #16034]
3443 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3444 copy class of input value.
3445 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3446 not handle exceptions.
3447 * soft-fp/negsf2.c (__negsf2): Likewise.
3448 * soft-fp/negtf2.c (__negtf2): Likewise.
3449 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3450
cb8f9562
JM
34512013-10-09 Joseph Myers <joseph@codesourcery.com>
3452
3453 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3454 semicolon. From Linux kernel.
3455
5b60c59d
AB
34562013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3457
3458 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3459
b86835ca
YC
34602013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3461
3462 [BZ #156]
3463 * manual/socket.texi: Added statement about buffer
3464 for gethostbyname2_r.
3465
e7044ea7
OB
34662013-10-08 Ondřej Bílka <neleai@seznam.cz>
3467
3468 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3469 Use .p2align directive instead, throughout.
3470 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3471 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3472 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3473 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3474 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3475 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3476 * sysdeps/x86_64/strchr.S: Likewise.
3477 * sysdeps/x86_64/strrchr.S: Likewise.
3478
09544cbc
SP
34792013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3480
88576635
SP
3481 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3482
e7b2d1dd
SP
3483 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3484
09544cbc
SP
3485 * sysdeps/generic/math_private.h (__mpsin1): Remove
3486 declaration.
3487 (__mpcos1): Likewise.
3488 (__mpsin): New argument __range_reduce.
3489 (__mpcos): Likewise.
3490 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3491 (slow): Use __mpsin and __mpcos.
3492 (slow1): Likewise.
3493 (slow2): Likewise.
3494 (sloww): Likewise.
3495 (sloww1): Likewise.
3496 (sloww2): Likewise.
3497 (bsloww): Likewise.
3498 (bsloww1): Likewise.
3499 (bsloww2): Likewise.
3500 (cslow2): Likewise.
3501 (csloww): Likewise.
3502 (csloww1): Likewise.
3503 (csloww2): Likewise.
3504 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3505 range_reduce. Merge in __mpsin1.
3506 (__mpcos): Likewise.
3507 (__mpsin1): Remove.
3508 (__mpcos1): Likewise.
3509
7602d070
JM
35102013-10-07 Joseph Myers <joseph@codesourcery.com>
3511
3512 * locale/loadlocale.c (_nl_intern_locale_data): Use
3513 LOCFILE_ALIGNED_P.
3514 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3515 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3516 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3517 obstack data is appropriately aligned.
3518 (obstack_int32_grow_fast): Likewise.
3519 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3520 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3521 (add_locale_uint32_array): Likewise.
3522
a357259b
SP
35232013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3524
3525 * benchtests/Makefile: Remove ARGLIST and RET variables.
3526 ($(objpfx)bench-%.c): Pass only function name to the script.
3527 * benchtests/README: Update documentation.
3528 * benchtests/acos-inputs: Add new directives.
3529 * benchtests/acosh-inputs: Likewise.
3530 * benchtests/asin-inputs: Likewise.
3531 * benchtests/asinh-inputs: Likewise.
3532 * benchtests/atan-inputs: Likewise.
3533 * benchtests/atanh-inputs: Likewise.
3534 * benchtests/cos-inputs: Likewise.
3535 * benchtests/cosh-inputs: Likewise.
3536 * benchtests/exp-inputs: Likewise.
3537 * benchtests/log-inputs: Likewise.
3538 * benchtests/pow-inputs: Likewise.
3539 * benchtests/rint-inputs: Likewise.
3540 * benchtests/sin-inputs: Likewise.
3541 * benchtests/sinh-inputs: Likewise.
3542 * benchtests/tan-inputs: Likewise.
3543 * benchtests/tanh-inputs: Likewise.
3544 * scripts/bench.pl: Add support for new directives.
3545
9ec1b13d
AM
35462013-10-07 Alan Modra <amodra@gmail.com>
3547
3548 * README: Fix careless merge.
3549
8b7d57cd
AM
35502013-10-05 Alan Modra <amodra@gmail.com>
3551
3552 * NEWS: Mention powerpc64le support and bugs fixed.
3553 * README: Both big-endian and little-endian powerpc64 supported.
3554
7b7bab13
ST
35552013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3556
3557 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3558 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3559 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3560 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3561
d39baad1
RA
35622013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3563
3564 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3565 match prototype.
3566
cd78f7e7
JM
35672013-10-04 Joseph Myers <joseph@codesourcery.com>
3568
29d73d86
JM
3569 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3570 Move -mhard-float appending from
3571 ports/sysdeps/powerpc/powerpc32/Makefile.
3572 [$(with-fp) = yes] (ASFLAGS): Likewise.
3573 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3574 * sysdeps/powerpc/nofpu: Move directory from
3575 ports/sysdeps/powerpc/nofpu.
3576 * sysdeps/powerpc/soft-fp: Move directory from
3577 ports/sysdeps/powerpc/soft-fp.
3578 * sysdeps/powerpc/powerpc32/405: Move directory from
3579 ports/sysdeps/powerpc/powerpc32/405.
3580 * sysdeps/powerpc/powerpc32/440: Move directory from
3581 ports/sysdeps/powerpc/powerpc32/440.
3582 * sysdeps/powerpc/powerpc32/464: Move directory from
3583 ports/sysdeps/powerpc/powerpc32/464.
3584 * sysdeps/powerpc/powerpc32/476: Move directory from
3585 ports/sysdeps/powerpc/powerpc32/476.
3586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3587 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3589 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3591 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3593 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3595 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3596 * README: Update for powerpc-*-linux-gnu software floating point
3597 support in libc.
3598
e246b347
JM
3599 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3600 case to powerpc/powerpc32*.
3601 * sysdeps/unix/sysv/linux/configure: Regenerated.
3602
89c2003e
JM
3603 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3604 (_FPU_MASK_OM): Define as 0x04.
3605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3607 0x00c10080.
3608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3609 0x0000003c.
3610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3611
cd78f7e7
JM
3612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3613 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3614 getcontext_e500.
3615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3616 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3617 setcontext_e500.
3618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3619 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3620 and setcontext_e500.
3621
c755294d
CL
36222013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3623
3624 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3625
e16d221c
SP
36262013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3627
3628 * manual/threads.texi (Default Thread Attributes): Fix typo.
3629
215c7d43
WN
36302013-10-04 Will Newton <will.newton@linaro.org>
3631
3632 * malloc/Makefile: Add tst-memalign.
3633 * malloc/tst-memalign.c: New file.
3634
27d0461b
WN
3635 * malloc/tst-posix_memalign.c: Add comments.
3636 (do_test): Add comments and call free on all potentially
3637 allocated pointers. Add space after cast.
3638
1bc92709
WN
3639 * malloc/tst-pvalloc.c: Add comments.
3640 (do_test): Add comments and call free on all potentially
3641 allocated pointers. Remove duplicate check for NULL pointer.
3642 Add space after cast.
3643
66a9be9d
WN
3644 * malloc/tst-valloc.c: Add comments.
3645 (do_test): Add comments and call free on all potentially
3646 allocated pointers. Remove duplicate check for NULL pointer.
3647 Add space after cast.
3648
4cb81307
AM
36492013-10-04 Alan Modra <amodra@gmail.com>
3650
3651 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3652 Use stdint types in rather than __attribute__((mode())).
3653 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3654
f8e3e9f3
AM
36552013-10-04 Alan Modra <amodra@gmail.com>
3656
3657 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3658 Correct handling of unaligned relocs for little-endian.
3659 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3660
8f9ebb08
AM
36612013-10-04 Alan Modra <amodra@gmail.com>
3662
3663 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3664 * configure: Regenerate.
3665 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3666 * shlib-versions: Likewise.
3667
0edf96c2
AM
36682013-10-04 Alan Modra <amodra@gmail.com>
3669
3670 * string/tester.c (test_memrchr): Increment reported test cycle.
3671
e0f7a380
AM
36722013-10-04 Alan Modra <amodra@gmail.com>
3673
3674 * string/test-memcpy.c (do_one_test): When reporting errors, print
3675 string address and don't overrun end of string.
3676
466b0393
AM
36772013-10-04 Alan Modra <amodra@gmail.com>
3678
3679 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3680 insrdi. Make better use of reg selection to speed exit slightly.
3681 Schedule entry path a little better. Remove useless "are we done"
3682 checks on entry to main loop. Handle wrapping around zero address.
3683 Correct main loop count. Handle single left-over word from main
3684 loop inline rather than by using loop_small. Remove extra word
3685 case in loop_small caused by wrong loop count. Add little-endian
3686 support.
3687 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3688 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3689 cache hint.
3690 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3691 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3692 support. Avoid rlwimi.
3693 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3694
3be87c77
AM
36952013-10-04 Alan Modra <amodra@gmail.com>
3696
3697 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3698 insrdi. Formatting.
3be87c77
AM
3699 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3700 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3701 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3702 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3703 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3704 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3705
759cfef3
AM
37062013-10-04 Alan Modra <amodra@gmail.com>
3707
3708 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3709 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3710 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3711 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3712 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3713 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3714 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3715 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3716 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3717 use of regs. Use power7 mtocrf. Tidy function tails.
3718
fe6e95d7
AM
37192013-10-04 Alan Modra <amodra@gmail.com>
3720
3721 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3722 Formatting. Consistently use rXXX register defines or rN defines.
3723 Use early exit labels that avoid restoring unused non-volatile regs.
3724 Make cr field use more consistent with rWORDn compares. Rename
3725 regs used as shift registers for unaligned loop, using rN defines
3726 for short lifetime/multiple use regs.
3727 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3728 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3729 addi 1,1,64 to pop stack frame. Simplify return value code.
3730 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3731
664318c3
AM
37322013-10-04 Alan Modra <amodra@gmail.com>
3733
3734 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3735 support. Correct typos, formatting. Optimize tail. Use insrdi
3736 rather than rlwimi.
3737 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3738 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3739 little-endian support. Correct typos.
3740 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3741 rather than rlwimi.
3742 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3743 in loop and entry code to keep "and." results.
3744 (strchr): Add little-endian support. Comment. Move cntlzd
3745 earlier in tail.
3746 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3747
43b84013
AM
37482013-10-04 Alan Modra <amodra@gmail.com>
3749
3750 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3751 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3752 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3753 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3754
8a7413f9
AM
37552013-10-04 Alan Modra <amodra@gmail.com>
3756
3757 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3758 (rTMP): Define as r11.
3759 (strcmp): Add little-endian support. Optimise tail.
3760 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3761 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3762 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3763 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3764 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3766 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3767
33ee81de
AM
37682013-10-04 Alan Modra <amodra@gmail.com>
3769
3770 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3771 little-endian support. Remove unnecessary "are we done" tests.
3772 Handle "s" wrapping around zero and extremely large "size".
3773 Correct main loop count. Handle single left-over word from main
3774 loop inline rather than by using small_loop. Correct comments.
3775 Delete "zero" tail, use "end_max" instead.
3776 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3777
db9b4570
AM
37782013-10-04 Alan Modra <amodra@gmail.com>
3779
3780 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3781 support. Don't branch over align.
3782 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3783 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3784 support. Rearrange tmp reg use to suit. Comment.
3785 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3786
f7c399cf
AM
37872013-10-04 Alan Modra <amodra@gmail.com>
3788
3789 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3790
0b2c2ace
AM
37912013-10-04 Alan Modra <amodra@gmail.com>
3792
3793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3794 conditional form of branch and link when obtaining pc.
3795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3796
02f04a6c
AM
37972013-10-04 Alan Modra <amodra@gmail.com>
3798
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3800 HIWORD/LOWORD.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3803
9b874b2f
AM
38042013-10-04 Alan Modra <amodra@gmail.com>
3805
3806 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3807 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3808 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3809 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3810 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3811 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3812 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3813 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3814 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3815 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3816
be1e5d31
AB
38172013-10-04 Anton Blanchard <anton@au1.ibm.com>
3818 Alistair Popple <alistair@ozlabs.au.ibm.com>
3819 Alan Modra <amodra@gmail.com>
3820
3821 [BZ #15723]
3822 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3823 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3824 _dl_hwcap access for little-endian.
3825 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3826 destroy vmx regs when saving unaligned.
3827 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3828 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3829 destroy vmx regs when saving unaligned.
3830
fef13a78
AM
38312013-10-04 Alan Modra <amodra@gmail.com>
3832
3833 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3834 Don't use a union to pack hi/low value.
3835
76a66d51
AB
38362013-10-04 Anton Blanchard <anton@au1.ibm.com>
3837
3838 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3839 for little-endian.
3840 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3841 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3842 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3843 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3844 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3845
6a31fe7f
AM
38462013-10-04 Alan Modra <amodra@gmail.com>
3847
3848 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3849 constants to usual value for .cst8 section, and remove redundant
3850 high address load.
3851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3852 constant for 0x1p52. Load little-endian words of double from
3853 correct stack offsets.
3854
7b88401f
AM
38552013-10-04 Alan Modra <amodra@gmail.com>
3856
3857 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3858 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3859 words of double from correct stack offsets.
3860 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3861 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3862 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3863 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3864 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3865 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3866 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3867 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3868 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3869 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3870 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3871 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3872 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3873 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3874 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3875 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3876 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3877
9c008155
AM
38782013-10-04 Alan Modra <amodra@gmail.com>
3879
3880 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3881 64-bit int/double union.
3882 (_FPU_SETCW): Likewise.
3883 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3884 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3885
da13146d
AM
38862013-10-04 Alan Modra <amodra@gmail.com>
3887
3888 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3889 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3890
603e8410
AM
38912013-10-04 Alan Modra <amodra@gmail.com>
3892
3893 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3894 use vector int constants.
3895 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3896
4a28b3ca
AB
38972013-10-04 Anton Blanchard <anton@au1.ibm.com>
3898
3899 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3900 array with long long.
3901 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3902 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3903 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3904 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3905 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3906 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3907 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3908 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3909 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3910 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3911 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3912 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3913 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3914
2ca85d2b
AB
39152013-10-04 Anton Blanchard <anton@au1.ibm.com>
3916
3917 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3918 (__signbit): Likewise. Correct for little-endian.
3919 (__signbitl): Call __signbit.
3920 (lrint): Correct for little-endian.
3921 (lrintf): Call lrint.
3922
62a728ae
AM
39232013-10-04 Alan Modra <amodra@gmail.com>
3924
3925 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3926 union 32-bit int array member with 64-bit int array.
3927 (t515, tm256): Double rather than long double.
3928 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3929
32c301df
AM
39302013-10-04 Alan Modra <amodra@gmail.com>
3931
3932 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3933 Delete.
3934 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3936 version of math_ldbl.h.
3937
650ef4bd
AM
39382013-10-04 Alan Modra <amodra@gmail.com>
3939
3940 [BZ #15734], [BZ #15735]
3941 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3942 all uses of ieee875 long double macros and unions. Simplify test
3943 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3944 ldbl_extract_mantissa value for ix,iy exponents. Properly
3945 normalize after ldbl_extract_mantissa, and don't add hidden bit
3946 already handled. Don't treat low word of ieee854 mantissa like
3947 low word of IBM long double and mask off bit when testing for
3948 zero.
3949 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3950 all uses of ieee875 long double macros and unions. Simplify tests
3951 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3952 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3953 two1022, instead use their values. Recognise that tests for large
3954 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3955 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3956 Rewrite all uses of ieee875 long double macros and unions. Simplify
3957 test for 0.0L and nan. Correct negation.
3958 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3959 ieee875 long double macros and unions. Correct output for large
3960 magnitude x. Correct absolute value calculation.
3961 (__erfcl): Likewise.
3962 * math/libm-test.inc: Add tests for errors discovered in IBM long
3963 double versions of fmodl, remainderl, erfl and erfcl.
3964
765714ca
AM
39652013-10-04 Alan Modra <amodra@gmail.com>
3966
3967 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3968 all uses of ieee854 long double macros and unions. Simplify tests
3969 for long doubles that are fully specified by the high double.
3970 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3971 Likewise.
3972 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3973 Remove dead code too.
3974 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3975 (__ieee754_ynl): Likewise.
3976 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3977 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3978 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3979 Remove dead code too.
3980 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3981 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3982 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3983 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3984 Simplify.
3985 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3986 Simplify.
3987 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3988 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3989 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3990 Comment on variable precision.
3991 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3992 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3993 Likewise.
3994 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3995 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3996 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3997 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3998 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3999
4ebd120c
AM
40002013-10-04 Alan Modra <amodra@gmail.com>
4001
4002 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4003 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4004 all uses of ieee854 long double macros and unions.
4005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4007 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4008 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4009 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4010 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4011 Likewise.
4012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4016 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4017 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4018 Simplify sign and nan test too.
4019 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4020 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4021 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4022 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4023 Likewise.
4024 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4025 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4026 Likewise.
4027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4028 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4029 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4030 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4031 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4033
1b6adf88
AM
40342013-10-04 Alan Modra <amodra@gmail.com>
4035
4036 * stdio-common/printf_size.c (__printf_size): Don't use
4037 union ieee854_long_double in fpnum union.
4038 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4039 signbit macro to retrieve sign from long double.
4040 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4041 retrieve sign from long double.
4042 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4043 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4044 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4045 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4046 * math/test-misc.c (main): Don't use union ieee854_long_double.
4047
4cf69995
AM
40482013-10-04 Alan Modra <amodra@gmail.com>
4049
4050 [BZ #15680]
4051 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4052 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4053 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4054 calculation. Remove unnecessary test for denormal exponent.
4055 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4056 Correct handling of denormals. Avoid undefined shift behaviour.
4057 Correct normalisation of low mantissa when low double is denormal.
4058 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4059 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4060 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4061 Correct normalisation of low mantissa. Test for overflow of high
4062 mantissa and normalise.
4063 (ldbl_nearbyint): Use more readable constant for two52.
4064 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4065 (__mpn_construct_long_double): Fix test for overflow of high
4066 mantissa and correct normalisation. Avoid undefined shift.
4067
9605ca6c
AM
40682013-10-04 Alan Modra <amodra@gmail.com>
4069
4070 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4071 (union ibm_extended_long_double): Define as an array of ieee754_double.
4072 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4073 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4074 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4075 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4079 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4083
975569d0
JM
40842013-10-03 Joseph Myers <joseph@codesourcery.com>
4085
d3d23756
JM
4086 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4087 page size instead of calling getpagesize.
4088
975569d0
JM
4089 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4090 (LOCFILE_ALIGN_MASK): Likewise.
4091 (LOCFILE_ALIGN_UP): Likewise.
4092 (LOCFILE_ALIGNED_P): Likewise.
4093 * locale/programs/ld-collate.c (collate_output): Use the new
4094 macros instead of __alignof__ (int32_t).
4095 * locale/weight.h (findidx): Likewise.
4096
b1fe1f2b
OB
40972013-10-03 Ondřej Bílka <neleai@seznam.cz>
4098
4099 [BZ #431]
4100 * manual/string.texi: Fix strncat and wcsncat.
4101
5f855e35
BM
41022013-10-03 Brooks Moses <bmoses@google.com>
4103
4104 [BZ #15915]
4105 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4106 * Makerules: ...here, and adjust associated comments.
4107
3cef6009
WN
41082013-10-02 Will Newton <will.newton@linaro.org>
4109
4110 * malloc/Makefile: Add tst-pvalloc.
4111 * malloc/tst-pvalloc.c: New file.
4112
7815420b
WN
41132013-10-02 Will Newton <will.newton@linaro.org>
4114
4115 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4116 improve test coverage.
4117
4868b204
WN
41182013-10-02 Will Newton <will.newton@linaro.org>
4119
4120 * malloc/Makefile: Add tst-posix_memalign.
4121 * malloc/tst-posix_memalign.c: New file.
4122
29c793b3
EB
41232013-10-01 Eric Blake <eblake@redhat.com>
4124
4125 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4126 Use __THROWNL rather than __THROW on static functions.
4127
fd967522
PM
41282013-09-30 Petr Machata <pmachata@redhat.com>
4129
4130 * elf/elf.h (R_AARCH64_ABS16): New macro.
4131 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4132 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4133 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4134 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4135 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4136 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4137 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4138 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4139 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4140 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4141 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4142 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4143 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4144 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4145 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4146 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4147 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4148 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4149 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4150 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4151 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4152 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4153 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4154 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4155 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4156 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4157 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4158 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4159 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4160 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4161 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4162 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4163 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4164 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4165 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4166 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4167 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4168 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4169 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4170 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4171 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4172 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4173 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4174 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4175 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4176 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4177 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4178 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4179 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4180 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4181 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4182 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4183 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4184 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4185 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4186 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4187 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4188 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4189 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4190 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4191 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4192 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4193 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4194 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4195 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4196 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4197 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4198 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4199 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4200 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4201 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4202 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4203 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4204 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4205 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4206 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4207 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4208 (R_AARCH64_TLSDESC_LDR): Likewise.
4209 (R_AARCH64_TLSDESC_ADD): Likewise.
4210 (R_AARCH64_TLSDESC_CALL): Likewise.
4211
b2179107
AS
42122013-09-30 Andreas Schwab <schwab@suse.de>
4213
4214 [BZ #15048]
4215 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4216 the nss database lookup.
4217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4219
47f28d0a
MF
42202013-09-28 Mike Frysinger <vapier@gentoo.org>
4221
4222 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4223
42242013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4225
4226 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4227 ${Bash-specific parameter/pattern/string} parameter expansion.
4228 * sysdeps/unix/make-syscalls.sh: Likewise.
4229
f4518a17
KK
42302013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4231
4232 * sysdeps/sh/stackguard-macros.h: New file.
4233
dc1a95c7
OB
42342013-09-26 Ondřej Bílka <neleai@seznam.cz>
4235
4236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4238 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4239 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4240 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4241 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4242
5ebbff8f
AZ
42432013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4244
4245 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4246 Fix thread ID register.
4247
4fd2cf9f
JM
42482013-09-25 Joseph Myers <joseph@codesourcery.com>
4249
4250 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4251 [POSIX || UNIX98]: Require rather than permitting all symbols from
4252 <time.h>.
4253 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4254 element of struct sched_param.
4255 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4256 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4257 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4258 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4259 constant.
4260
12c22bc4
OL
42612013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4262
4263 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4264 argument calculation.
4265
a03d8ea7
JM
42662013-09-24 Joseph Myers <joseph@codesourcery.com>
4267
4268 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4269 Expect macro.
4270 [POSIX] (pthread_attr_t): Do not require type.
4271 [POSIX] (pthread_cond_t): Likewise.
4272 [POSIX] (pthread_condattr_t): Likewise.
4273 [POSIX] (pthread_key_t): Likewise.
4274 [POSIX] (pthread_mutex_t): Likewise.
4275 [POSIX] (pthread_mutexattr_t): Likewise.
4276 [POSIX] (pthread_once_t): Likewise.
4277 [POSIX] (pthread_t): Likewise.
4278 [POSIX-based standards] (pthread_atfork): Expect function.
4279
6055173a
JM
42802013-09-24 Joseph Myers <joseph@codesourcery.com>
4281 Richard Sandiford <richard@codesourcery.com>
4282
4283 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4284 (swap_endianness_p): New extern variable.
4285 (set_big_endian): New inline function.
4286 (maybe_swap_uint32): Likewise.
4287 (maybe_swap_uint32_array): Likewise.
4288 (maybe_swap_uint32_obstack): Likewise.
4289 * locale/programs/locfile.c: Include <stdbool.h>.
4290 (swap_endianness_p): New variable.
4291 (add_locale_uint32): Call maybe_swap_uint32.
4292 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4293 (write_locale_data): Call maybe_swap_uint32_array.
4294 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4295 maybe_swap_uint32.
4296 (obstack_int32_grow_fast): Likewise.
4297 (output_weightwc): Call maybe_swap_uint32_obstack.
4298 (collate_output): Likewise.
4299 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4300 (OPT_LITTLE_ENDIAN): Likewise.
4301 (options): Add --little-endian and --big-endian options.
4302 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4303 * locale/programs/locarchive.c: Include "locfile.h".
4304 (GET): New macro.
4305 (SET): Likewise.
4306 (INC): Likewise.
4307 (create_archive): Use the new macros to access fields of
4308 structures directly mapped from or written to locale archives.
4309 (oldlocrecentcmp): Likewise.
4310 (enlarge_archive): Likewise.
4311 (insert_name): Likewise.
4312 (add_alias): Likewise.
4313 (add_locale): Likewise.
4314 (delete_locales_from_archive): Likewise.
4315 (show_archive_content): Likewise.
4316 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4317 locale data.
4318
39bf0bb4
RM
43192013-09-24 Roland McGrath <roland@hack.frob.com>
4320
4321 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4322 http://www.gnu.org/doc/freemanuals.texi.
4323 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4324
f02eed10
WN
43252013-09-24 Will Newton <will.newton@linaro.org>
4326
4327 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4328 macro.
4329
a3a6c312
JM
43302013-09-23 Joseph Myers <joseph@codesourcery.com>
4331
4332 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4333 unsigned char.
4334
107375ac
MR
43352013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4336
4337 * manual/threads.texi (POSIX Threads): Fix a typo.
4338
141f3a77
SP
43392013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4340
303e567a
SP
4341 [BZ #14547]
4342 * string/tst-strcoll-overflow.c: New test case.
4343 * string/Makefile (xtests): Add tst-strcoll-overflow.
4344 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4345 cache if string sizes may cause integer overflow.
4346
141f3a77
SP
4347 [BZ #14547]
4348 * string/strcoll_l.c (coll_seq): New members rule, idx,
4349 save_idx and back_us.
4350 (get_next_seq_nocache): New function.
4351 (do_compare_nocache): New function.
4352 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4353 when malloc fails.
4354
c61b4d41
CD
43552013-09-23 Carlos O'Donell <carlos@redhat.com>
4356
0b1f8e35
CD
4357 [BZ #15754]
4358 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4359 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4360 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4361
c61b4d41
CD
4362 [BZ #15754]
4363 * elf/Makefile (tests): Add tst-ptrguard1.
4364 (tests-static): Add tst-ptrguard1-static.
4365 (tst-ptrguard1-ARGS): Define.
4366 (tst-ptrguard1-static-ARGS): Define.
4367 * elf/tst-ptrguard1.c: New file.
4368 * elf/tst-ptrguard1-static.c: New file.
4369 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4370 * sysdeps/i386/stackguard-macros.h: Likewise.
4371 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4372 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4373 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4374 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4375 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4376 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4377
43782013-09-23 Hector Marco <hecmargi@upv.es>
4379 Ismael Ripoll <iripoll@disca.upv.es>
4380 Carlos O'Donell <carlos@redhat.com>
4381
4382 [BZ #15754]
4383 * sysdeps/generic/stackguard-macros.h: Define
4384 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4385 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4386 Define __pointer_chk_guard_local.
4387 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4388 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4389
f5f4e7b4
VV
43902013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4391
4392 [BZ #15859]
4393 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4394
5bb43a43
AS
43952013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4396
4397 * include/string.h (__ffs): Declare as hidden.
4398 * string/ffs.c (__ffs): Define as hidden.
4399 * sysdeps/i386/ffs.c (__ffs): Likewise.
4400 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4401 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4402 * sysdeps/s390/ffs.c (__ffs): Likewise.
4403 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4404
3ea5be54
AO
44052013-09-20 Alexandre Oliva <aoliva@redhat.com>
4406
ffb89e53
AO
4407 * NEWS: Mention malloc probes.
4408
322dea08
AO
4409 * malloc/arena.c (new_heap): New memory_heap_new probe.
4410 (grow_heap): New memory_heap_more probe.
4411 (shrink_heap): New memory_heap_less probe.
4412 (heap_trim): New memory_heap_free probe.
4413 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4414 (systrim): New memory_sbrk_less probe.
4415 * manual/probes.texi: Document them.
4416
655673f3
AO
4417 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4418 * manual/probes.texi: Document it.
4419
35fed6f1
AO
4420 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4421 (__libc_realloc): Add memory_realloc_retry probe.
4422 (__libc_memalign): Add memory_memalign_retry probe.
4423 (__libc_valloc): Add memory_valloc_retry probe.
4424 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4425 (__libc_calloc): Add memory_calloc_retry probe.
4426 * manual/probes.texi: Document them.
4427
6999d38c
AO
4428 * malloc/arena.c (get_free_list): Add probe
4429 memory_arena_reuse_free_list.
4430 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4431 and memory_arena_reuse.
4432 (arena_get2) [!PER_THREAD]: Likewise.
4433 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4434 memory_arena_reuse_realloc.
4435 * manual/probes.texi: Document them.
4436
0653427f
AO
4437 * malloc/malloc.c (__libc_free): Add
4438 memory_mallopt_free_dyn_thresholds probe.
4439 (__libc_mallopt): Add multiple memory_mallopt probes.
4440 * manual/probes.texi: Document them.
4441
3ea5be54
AO
4442 * malloc/malloc.c: Include stap-probe.h.
4443 (__libc_mallopt): Add memory_mallopt probe.
4444 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4445 * manual/probes.texi: New.
4446 * manual/Makefile (chapters): Add probes.
4447 * manual/threads.texi: Set next node.
4448
e35696c3 44492013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4450
e35696c3
CL
4451 [BZ #15963, #13985]
4452 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4453 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4454 Add `Chinese' to `nan' entry name.
4455
4aafb73c
SP
44562013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4457
4458 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4459 (POLYNOMIAL): Likewise.
4460 (TAYLOR_SINCOS): Likewise.
4461 (TAYLOR_SLOW): Likewise.
4462 (__sin): Use TAYLOR_SINCOS.
4463 (__cos): Likewise.
4464 (slow): Use TAYLOR_SLOW.
4465 (sloww): Likewise.
4466 (bsloww): Likewise.
4467 (csloww): Likewise.
4468
d84f25c7
LD
44692013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4470
4471 * stdlib/strtod_l.c: Fix buffer overrun.
4472
5eea0404
SP
44732013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4474
7849ff93
SP
4475 * benchtests/Makefile (bench): Add sincos.
4476 * benchtests/bench-sincos.c: New file.
4477
cfa3c886
SP
4478 * math/libm-test.inc (cos_test_data): New test inputs.
4479 (sin_test_data): Likewise.
4480
b348e1e3
SP
4481 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4482 macro.
4483 (__sin): Use it.
4484 (__cos): Likewise.
4485 (slow1): Likewise.
4486 (slow2): Likewise.
4487 (sloww1): Likewise.
4488 (sloww2): Likewise.
4489 (bsloww1): Likewise.
4490 (bsloww2): Likewise.
4491 (cslow2): Likewise.
4492 (csloww1): Likewise.
4493 (csloww2): Likewise.
4494
6cce25f8
SP
4495 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4496 function.
4497 (__sin): Use it.
4498 (__cos): Likewise.
4499
5eea0404
SP
4500 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4501 gotos.
4502 (__cos): Likewise.
4503
9c21573c
MR
45042013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4505
4506 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4507 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4508 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4509 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4510 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4511 * elf/cache.c (print_entry): Handle the new cache flags.
4512
24d22e65
JM
45132013-09-18 Joseph Myers <joseph@codesourcery.com>
4514 Aldy Hernandez <aldyh@redhat.com>
4515
4516 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4517 Change condition to [_SOFT_FLOAT].
4518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4530 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4533 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4534 declaration.
4535
d13ef066
JM
45362013-09-18 Joseph Myers <joseph@codesourcery.com>
4537
2e071de0
JM
4538 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4539 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4540 (__longjmp): Use LOAD_GP to load saved GPRs.
4541 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4542 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4543 (__sigsetjmp): Use SAVE_GP to save GPRs.
4544
d13ef066
JM
4545 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4546 Do not append -msoft-float.
4547 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4548
97a0650b
SP
45492013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4550
4551 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4552
11ca09e9
JM
45532013-09-17 Joseph Myers <joseph@codesourcery.com>
4554
4555 [BZ #15966]
4556 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4557 (_FPU_GETCW): Use initial "__" on variable and field names but not
4558 on macro parameter name.
4559 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4560 parentheses around reference to macro parameter.
4561
08ffcf34
RS
45622013-09-13 Richard Sandiford <richard@codesourcery.com>
4563
4564 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4565 prototype.
4566 (ctype_startup): Use uint32_t in cast and sizeof for
4567 ctype->charnames.
4568
ae7080d3
JL
45692013-09-11 Jia Liu <proljc@gmail.com>
4570
4571 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4572 __daddr_t_defined.
4573 [__FreeBSD__]: Likewise.
4574
5905e7b3
OB
45752013-09-11 Ondřej Bílka <neleai@seznam.cz>
4576
4577 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4578 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4579 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4580 (strchr): Remove __strchr_sse42 ifunc selection.
4581 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4582 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4583
b987c776
WN
45842013-09-11 Will Newton <will.newton@linaro.org>
4585
4586 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4587 parameter to RES. Remove hardcoded 1000 value.
4588 * benchtests/bench-skeleton.c (main): Pass RES parameter
4589 to TIMING_INIT and multiply result by 1000.
4590
ddf985af
AZ
45912013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4592
4593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4594
ffdd3181
AS
45952013-09-11 Andreas Schwab <schwab@suse.de>
4596
4597 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4598 if not defined.
4599 (O_TMPFILE) [__USE_GNU]: Define.
4600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4601 Define.
4602
b73ed247
WN
46032013-09-11 Will Newton <will.newton@linaro.org>
4604
4605 [BZ #15857]
4606 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4607 does not overflow.
4608
55e17aad
WN
46092013-09-11 Will Newton <will.newton@linaro.org>
4610
4611 [BZ #15856]
4612 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4613 does not overflow.
4614
1159a193
WN
46152013-09-11 Will Newton <will.newton@linaro.org>
4616
4617 [BZ #15855]
4618 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4619 does not overflow.
4620
5905e7b3 46212013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4622
4623 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4624 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4625 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4626 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4627 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4628
cdfc721b
AM
46292013-09-10 Allan McRae <allan@archlinux.org>
4630
aa04af00
AM
4631 [BZ #15748]
4632 * manual/arith.texi (Parsing of Floats): Clarify
4633 cross-reference.
4634
cdfc721b
AM
4635 [BZ #15849]
4636 * manual/install.texi (Running make install): Mention
4637 --enable-pt-chown.
4638 * INSTALL: Regenerated.
4639
95e7cf29
MR
46402013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4641
4642 * csu/init-first.c (_init): Remove the !SHARED condition around
4643 FPU control word initialization.
4644 * elf/dl-support.c (_dl_fpu_control): New variable.
4645 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4646 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4647 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4648 * math/test-fpucw-static.c: New file.
4649 * math/test-fpucw-ieee.c: New file.
4650 * math/test-fpucw-ieee-static.c: New file.
4651 * math/Makefile (tests): Add `test-fpucw-ieee' and
4652 `$(tests-static)'.
4653 (tests-static): New variable.
4654 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4655 dependency to...
4656 [($(build-shared),yes)]
4657 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4658 ... this.
4659 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4660 New dependency.
4661
83e43bf0
AM
46622013-09-09 Allan McRae <allan@archlinux.org>
4663
a9f5ce09
AM
4664 [BZ #15939]
4665 * manual/string.texi (Collation Functions): Fix typo in
4666 strcoll example.
4667 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4668
34829bc2
AM
4669 [BZ #15893]
4670 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4671
3932737d
AM
4672 [BZ #15892]
4673 * libio/memstream.c (open_memstream): Fix memory leak.
4674 * libio/wmemstream.c (open_wmemstream): Likewise.
4675
83e43bf0
AM
4676 [BZ #15895]
4677 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4678
0c66b8e9
WN
46792013-09-09 Will Newton <will.newton@linaro.org>
4680
4681 * malloc/Makefile: Add tst-realloc to tests.
4682 * malloc/tst-realloc.c: New file.
4683
f6b00fd1
AM
46842013-09-09 Allan McRae <allan@archlinux.org>
4685
4686 [BZ #15844]
4687 * COPYING: Update from GNU website to fix FSF address.
4688 * COPYING.LIB: Likewise.
4689
eec55e16
DM
46902013-09-06 David S. Miller <davem@davemloft.net>
4691
4692 * po/zh_TW.po: Update Chinese (traditional) translation from
4693 translation project.
4694
1ecbb381
RS
46952013-09-06 Richard Sandiford <richard@codesourcery.com>
4696 Joseph Myers <joseph@codesourcery.com>
4697
4698 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4699 "localeinfo.h".
4700 (obstack_chunk_alloc): New macro.
4701 (obstack_chunk_free): Likewise.
4702 (record_offset): New function.
4703 (init_locale_data): Likewise.
4704 (align_locale_data): Likewise.
4705 (add_locale_empty): Likewise.
4706 (add_locale_raw_data): Likewise.
4707 (add_locale_raw_obstack): Likewise.
4708 (add_locale_string): Likewise.
4709 (add_locale_wstring): Likewise.
4710 (add_locale_uint32): Likewise.
4711 (add_locale_uint32_array): Likewise.
4712 (add_locale_char): Likewise.
4713 (start_locale_structure): Likewise.
4714 (end_locale_structure): Likewise.
4715 (start_locale_prelude): Likewise.
4716 (end_locale_prelude): Likewise.
4717 (write_locale_data): Take locale_file structure rather than an
4718 iovec.
4719 * locale/programs/locfile.h: Include "obstack.h".
4720 (struct locale_file): Change to store locale file contents instead
4721 of header.
4722 (init_locale_data): New prototype.
4723 (align_locale_data): Likewise.
4724 (add_locale_empty): Likewise.
4725 (add_locale_raw_data): Likewise.
4726 (add_locale_raw_obstack): Likewise.
4727 (add_locale_string): Likewise.
4728 (add_locale_wstring): Likewise.
4729 (add_locale_uint32): Likewise.
4730 (add_locale_uint32_array): Likewise.
4731 (add_locale_char): Likewise.
4732 (start_locale_structure): Likewise.
4733 (end_locale_structure): Likewise.
4734 (start_locale_prelude): Likewise.
4735 (end_locale_prelude): Likewise.
4736 (write_locale_data): Update prototype.
4737 * locale/programs/3level.h (struct TABLE): Remove result field.
4738 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4739 Use new locale_file interface.
4740 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4741 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4742 * locale/programs/ld-address.c (address_output): Use new
4743 locale_file interface.
4744 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4745 NO_ADD_LOCALE.
4746 (collate_finish): Don't call collseq_table_finalize.
4747 (collate_output): Use new locale_file interface.
4748 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4749 in file.
4750 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4751 (TABLE): Move defines earlier in file.
4752 (ELEMENT): Likewise.
4753 (DEFAULT): Likewise.
4754 (wctrans_table_add): Move macro and inline function earlier in
4755 file.
4756 (struct wctype_table): Move type earlier in file.
4757 (add_locale_wctype_table): New static prototype.
4758 (struct locale_ctype_t): Use logical types instead of struct iovec
4759 pointers for members.
4760 (ctype_output): Use new locale_file interface.
4761 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4762 new locale_file interface.
4763 (allocate_arrays): Update for use of new locale_file interface.
4764 * locale/programs/ld-identification.c (identification_output): Use
4765 new locale_file interface.
4766 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4767 * locale/programs/ld-messages.c (messages_output): Likewise.
4768 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4769 * locale/programs/ld-name.c (name_output): Likewise.
4770 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4771 * locale/programs/ld-paper.c (paper_output): Likewise.
4772 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4773 * locale/programs/ld-time.c (time_output): Likewise.
4774
e029e2e5
AZ
47752013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4776
4777 * benchtests/Makefile: Add memrchr benchmark.
4778 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4779 benchmark as memrchr.
4780 * benchtests/bench-memrchr-ifunc.c: New file.
4781 * benchtests/bench-memrchr.c: New file.
4782
bbf6e8e4
WN
47832013-09-06 Will Newton <will.newton@linaro.org>
4784
4785 * benchtests/Makefile (string-bench): Add memcpy.
4786
6c82a2f8
CD
47872013-09-05 Carlos O'Donell <carlos@redhat.com>
4788 Cong Wang <amwang@redhat.com>
4789
4790 * sysdeps/unix/sysv/linux/bits/in.h
4791 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4792 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4793 before __USE_KERNEL_IPV6_DEFS uses.
4794 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4795 IPPROTO_BEETPH.
4796 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4797 sockaddr_in6, or ipv6_mreq.
4798
5430fc65
AZ
47992013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4800
4801 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4802 memory access for final bytes in some large inputs.
4803 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4804
4660856c
AZ
48052013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4806
4807 * string/test-memrchr.c: New file.
4808 * string/test-memrchr-ifunc.c: New file.
4809 * string/Makefile: Add new memrchr testcase.
4810
bb8ea713
MF
48112013-09-05 Mike Frysinger <vapier@gentoo.org>
4812
4813 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4814 fanotify_init returns EPERM.
4815
b92a20b5
JM
48162013-09-04 Joseph Myers <joseph@codesourcery.com>
4817
4818 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4819 errors.
4820 (top level): Treat second token from macro or constant entries for
4821 allowed headers as allowed.
4822 * include/complex.h: Condition internal declarations on
4823 [!_ISOMAC].
4824 * include/fenv.h: Condition include of <stdbool.h> and internal
4825 declarations on [!_ISOMAC].
7447ccd9
CL
4826
48272013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4828
3e181dda 4829 [BZ #15923]
7447ccd9
CL
4830 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4831
3f2e46a4
JM
48322013-09-04 Joseph Myers <joseph@codesourcery.com>
4833
4834 * configure.in (--enable-versioning): Remove configure option.
4835 (libc_cv_asm_symver_directive): Remove configure test.
4836 (libc_cv_ld_version_script_option): Likewise.
4837 (VERSIONING): Remove variable and AC_SUBST.
4838 (DO_VERSIONING): Remove AC_DEFINE.
4839 * configure: Regenerated.
4840 * config.h.in (DO_VERSIONING): Remove macro.
4841 * Makerules [$(versioning) = yes]: Change conditionals to
4842 [$(build-shared) = yes].
4843 * config.make.in (versioning): Remove variable.
4844 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4845 [$(build-shared) = yes].
4846 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4847 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4848 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4849 [$(build-shared) = yes].
4850 * extra-lib.mk [$(versioning) = yes]: Likewise.
4851 * hurd/Makefile [$(versioning) = yes]: Likewise.
4852 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4853 [SHARED].
4854 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4855 [SHARED].
4856 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4857 [SHARED && !NO_HIDDEN].
4858 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4859 [SHARED].
4860 [SHARED && DO_VERSIONING]: Likewise..
4861 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4862 [$(build-shared) = yes].
4863 * manual/install.texi (--disable-versioning): Remove
4864 documentation.
4865 * INSTALL: Regenerated.
4866 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4867 to [SHARED].
4868 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4869 [$(build-shared) = yes].
4870 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4871 * sysdeps/i386/i686/multiarch/strstr-c.c
4872 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4873 [SHARED && !NO_HIDDEN].
4874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4875 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4876 * sysdeps/powerpc/powerpc32/dl-machine.c
4877 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4878 * sysdeps/powerpc/powerpc32/sysdep.h
4879 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4880 to [SHARED && PIC && !NO_HIDDEN].
4881 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4882 conditional to [SHARED].
4883
44558701
WN
48842013-09-04 Will Newton <will.newton@linaro.org>
4885
4886 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4887 * benchtests/bench-string.h: Include bench-timing.h instead
4888 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4889 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4890 call to HP_TIMING_DIFF_INIT.
4891 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4892 instead of hp-timing.h macros.
4893 * benchtests/bench-memchr.c: Likewise.
4894 * benchtests/bench-memcmp.c: Likewise.
4895 * benchtests/bench-memcpy.c: Likewise.
4896 * benchtests/bench-memmem.c: Likewise.
4897 * benchtests/bench-memmove.c: Likewise.
4898 * benchtests/bench-memset.c: Likewise.
4899 * benchtests/bench-rawmemchr.c: Likewise.
4900 * benchtests/bench-strcasecmp.c: Likewise.
4901 * benchtests/bench-strcasestr.c: Likewise.
4902 * benchtests/bench-strcat.c: Likewise.
4903 * benchtests/bench-strchr.c: Likewise.
4904 * benchtests/bench-strcmp.c: Likewise.
4905 * benchtests/bench-strcpy.c: Likewise.
4906 * benchtests/bench-strcpy_chk.c: Likewise.
4907 * benchtests/bench-strlen.c: Likewise.
4908 * benchtests/bench-strncasecmp.c: Likewise.
4909 * benchtests/bench-strncat.c: Likewise.
4910 * benchtests/bench-strncmp.c: Likewise.
4911 * benchtests/bench-strncpy.c: Likewise.
4912 * benchtests/bench-strnlen.c: Likewise.
4913 * benchtests/bench-strpbrk.c: Likewise.
4914 * benchtests/bench-strrchr.c: Likewise.
4915 * benchtests/bench-strspn.c: Likewise.
4916 * benchtests/bench-strstr.c: Likewise.
4917
cae16d66
WN
49182013-09-04 Will Newton <will.newton@linaro.org>
4919
4920 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4921
ffa3cd7f
JM
49222013-09-03 Joseph Myers <joseph@codesourcery.com>
4923
4924 [BZ #15427]
4925 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4926 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4927 * math/libm-test.inc (lgamma_test_data): Add more tests.
4928 * sysdeps/i386/fpu/libm-test-ulps: Update.
4929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4930
8f02859f
OB
49312013-09-03 Ondřej Bílka <neleai@seznam.cz>
4932
4933 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4934 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4935 Add ifunc.
4936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4937 Add strcmp-sse2-unaligned
4938 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4939
18d43716
MF
49402013-09-02 Mike Frysinger <vapier@gentoo.org>
4941
4942 * Versions.def (libc): Add GLIBC_2.19.
4943
ac444012
MF
49442013-09-02 Mike Frysinger <vapier@gentoo.org>
4945
4946 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4947 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4948
b7835e32
JM
49492013-09-02 Joseph Myers <joseph@codesourcery.com>
4950
4951 [BZ #14155]
4952 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4953 intermediate calculations in recurrence.
4954 (__ieee754_ynf): Likewise.
4955 * math/libm-test.inc (jn_test_data): Do not allow spurious
4956 underflow exception. Add more tests.
4957 (yn_test_data): Add more tests.
4958 * sysdeps/i386/fpu/libm-test-ulps: Update.
4959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4960
8220f4f0
OB
49612013-09-02 Ondřej Bílka <neleai@seznam.cz>
4962
4963 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4964
f24a6d08
OB
49652013-08-30 Ondřej Bílka <neleai@seznam.cz>
4966
4967 * csu/init-first.c: Fix then/than typos.
4968 * locale/programs/ld-collate.c: Likewise.
4969 * locale/programs/linereader.h: Likewise.
4970 * manual/charset.texi: Likewise.
4971 * manual/filesys.texi: Likewise.
4972 * manual/stdio.texi: Likewise.
4973 * manual/string.texi: Likewise.
4974 * stdlib/fmtmsg.c: Likewise.
4975 * sysdeps/i386/stpncpy.S: Likewise.
4976 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4977 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4978 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4979 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4980
382466e0
OB
49812013-08-30 Ondřej Bílka <neleai@seznam.cz>
4982
4983 * elf/dl-open.c: Fix typos.
4984 * iconvdata/gbbig5.c: Likewise.
4985 * iconvdata/iso-2022-jp.c: Likewise.
4986 * iconv/gconv_int.h: Likewise.
4987 * iconv/loop.c: Likewise.
4988 * nis/rpcsvc/nis.h: Likewise.
4989 * resolv/ns_name.c: Likewise.
4990 * stdio-common/vfscanf.c: Likewise.
4991 * streams/stropts.h: Likewise.
4992 * sunrpc/rpc_thread.c: Likewise.
4993 * sysdeps/i386/strpbrk.S: Likewise.
4994 * sysdeps/ieee754/k_standard.c: Likewise.
4995 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4996 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4997 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4998 * sysdeps/mach/hurd/profil.c: Likewise.
4999 * sysdeps/s390/dl-procinfo.h: Likewise.
5000 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5001 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5002 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5003 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5005
0186c6e9
OB
50062013-08-30 Ondřej Bílka <neleai@seznam.cz>
5007
5008 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5009 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5010
d4e16af1
OB
50112013-08-29 Ondřej Bílka <neleai@seznam.cz>
5012
5013 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5014 aix specific files.
5015 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5016 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5017 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5018 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5019 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5020 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5021 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5022 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5023
88335980
TS
50242013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5025 Roland McGrath <roland@hack.frob.com>
5026
5027 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5028 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5029
ed479b02
ST
50302013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5031
5032 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5033 __executable_start symbol instead of _start.
5034
f1cc4c86
TS
50352013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5036
d821f07c
TS
5037 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5038 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5039 Move macros to...
5040 * sysdeps/gnu/ldsodefs.h: ... this new file.
5041
c54290cf
TS
5042 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5043 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5044 instead of ELFOSABI_LINUX.
5045
0007fc9b 5046 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5047 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5048 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5049 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5050 Likewise.
5051 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5052 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5053 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5054 Likewise.
5055 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5056 (ibm_extended_long_double): Add ieee_nan member.
5057 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5058 (do_test): New function.
5059
f1cc4c86
TS
5060 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5061 TEST_TRUNC.
5062 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5063 functions, renamed from truncdfsf_test, trunctfsf_test,
5064 trunctfdf_test.
5065 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5066 functions.
5067 (do_test): Run all these.
5068
6f65e668
OB
50692013-08-29 Ondřej Bílka <neleai@seznam.cz>
5070
5071 * argp/argp-help.c: Fix typos.
5072 * argp/argp-parse.c: Likewise.
5073 * debug/backtracesyms.c: Likewise.
5074 * elf/elf.h: Likewise.
5075 * malloc/malloc.c: Likewise.
5076 * nis/nis_print.c: Likewise.
5077 * resolv/res_comp.c: Likewise.
5078 * stdlib/stdlib.h: Likewise.
5079 * sunrpc/clnt_tcp.c: Likewise.
5080 * sunrpc/clnt_udp.c: Likewise.
5081 * sunrpc/clnt_unix.c: Likewise.
5082 * sysdeps/unix/bsd/ptsname.c: Likewise.
5083 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5084 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5086 Likewise.
5087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5088 Likewise.
5089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5090 Likewise.
6f65e668
OB
5091 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5092
3a309239
SP
50932013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5094
5095 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5097
3b813b29
MF
50982013-08-27 Mike Frysinger <vapier@gentoo.org>
5099
5100 [BZ #15897]
5101 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5102 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5103 ($(objpfx)bug-dl-leaf): New rule.
5104 ($(objpfx)bug-dl-leaf.so): Likewise.
5105 ($(objpfx)bug-dl-leaf.out): Likewise.
5106 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5107 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5108 * dlfcn/bug-dl-leaf.c: New test.
5109 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5110 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5111 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5112 (dlclose): Likewise.
5113 (dlmopen): Likewise.
5114
8cc3269f
RM
51152013-08-27 Roland McGrath <roland@hack.frob.com>
5116
7f9d0034
RM
5117 * include/netdb.h [!_ISOMAC]:
5118 Don't include <tls.h>.
5119 (h_errno, __libc_h_errno): Move declaration and macros out of
5120 [_LIBC_REENTRANT].
5121
fb431262
RM
5122 * include/resolv.h [_RESOLV_H_]:
5123 Don't include <tls.h>.
5124 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5125 * resolv/res_libc.c: Don't include <tls.h>.
5126 (_res): Use __attribute__ ((nocommon)) in place of
5127 __attribute__ ((section (".bss"))).
5128
bd81123a
RM
5129 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5130 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5131
c4e42566
RM
5132 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5133
f890a59b
RM
5134 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5135 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5136
5137 * resolv/res_mkquery.c: Include <sys/time.h>.
5138
5d1f0a09
RM
5139 * inet/ifreq.c: Moved to ...
5140 * sysdeps/unix/ifreq.c: ... here.
5141 * inet/ifreq.c: New file, true stub version.
5142
6fcf28b3
RM
5143 * socket/sa_len.c: New file.
5144 * socket/Makefile (aux): Add it.
5145 * sysdeps/unix/sysv/linux/Makefile
5146 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5147 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5148 and #include <socket/sa_len.c>.
5149 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5150 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5151
e041fb8b
RM
5152 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5153 * bits/socket.h: ... here.
5154
8cc3269f
RM
5155 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5156 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5157 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5158
5d228a43
AS
51592013-08-27 Andreas Schwab <schwab@suse.de>
5160
45b8accc
AS
5161 [BZ #15736]
5162 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5163 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5164 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5165 * string/test-strcasecmp.c (test_main): Run tests in several
5166 locales.
5167 * string/test-strncasecmp.c (test_main): Likewise.
5168
5d228a43
AS
5169 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5170 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5171 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5172 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5173 (__strncasecmp_ssse3) [PIC]: Likewise.
5174
59d112a4
RM
51752013-08-26 Roland McGrath <roland@hack.frob.com>
5176
53234cc3
RM
5177 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5178
59d112a4
RM
5179 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5180 instead of explicitly declaring xdecrypt.
5181 * nis/nss_nis/nis-publickey.c: Likewise.
5182
595aba70
SP
51832013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5184
5185 [BZ #15890]
5186 * nscd/aicache.c: Include res_hconf.h.
5187 (addhstaiX): Initialize res_hconf.
5188
ffabd393
AS
51892013-08-26 Andreas Schwab <schwab@suse.de>
5190
5191 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5192 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5193
e0a69f5c
SP
51942013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5195
5196 * nscd/aicache.c (addhstaiX): Fix indentation.
5197
8c12f01d
MF
51982013-08-25 Mike Frysinger <vapier@gentoo.org>
5199
5200 * configure.ac: Quote $build_pt_chown test.
5201 * configure: Regenerated.
5202
8fe89494
JM
52032013-08-23 Joseph Myers <joseph@codesourcery.com>
5204
5205 [BZ #15532]
5206 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5207 * math/s_cexpf.c (__cexpf): Likewise.
5208 * math/s_cexpl.c (__cexpl): Likewise.
5209 * math/libm-test.inc (cexp_test_data): Correct expected return
5210 value for NaN + i0. Add another test.
5211
75b181d6
DM
52122013-08-22 David S. Miller <davem@davemloft.net>
5213
5214 * po/ca.po: Update Catalan translation from translation project.
936241e4 5215 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5216
acd06bb1
JM
52172013-08-21 Joseph Myers <joseph@codesourcery.com>
5218
5219 [BZ #15797]
5220 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5221 is infinite, not alongside NaN test.
5222 * math/s_fdimf.c (__fdimf): Likewise.
5223 * math/s_fdiml.c (__fdiml): Likewise.
5224 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5225 errno is unchanged.
5226
c0c3f78a
OB
52272013-08-21 Ondřej Bílka <neleai@seznam.cz>
5228
5229 * argp/argp-help.c: Fix typos.
5230 * crypt/speeds.c: Likewise.
5231 * csu/check_fds.c: Likewise.
5232 * elf/dl-load.c: Likewise.
5233 * elf/dl-open.c: Likewise.
5234 * elf/reldep3.c: Likewise.
5235 * elf/reldep.c: Likewise.
5236 * elf/sprof.c: Likewise.
5237 * iconv/iconv_charmap.c: Likewise.
5238 * iconv/skeleton.c: Likewise.
5239 * iconv/strtab.c: Likewise.
5240 * io/lockf64.c: Likewise.
5241 * libio/libioP.h: Likewise.
5242 * resolv/gai_notify.c: Likewise.
5243 * resolv/ns_name.c: Likewise.
5244 * resolv/ns_samedomain.c: Likewise.
5245 * resolv/res_send.c: Likewise.
5246 * stdlib/random.c: Likewise.
5247 * sunrpc/rpc/xdr.h: Likewise.
5248 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5249 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5250 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5251 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5252 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5253 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5254 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5255 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5256 * sysdeps/mach/hurd/check_fds.c: Likewise.
5257 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5258 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5259 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5260 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5261 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5262 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5263 * sysdeps/pthread/aio_notify.c: Likewise.
5264 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5265 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5266 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5267 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5268 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5269
46ed1038
LD
52702013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5271
5272 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5273 version if bit_Slow_SSE4_2 is set.
5274 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5275 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5276
d400dcac
AZ
52772013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5278
5279 [BZ #15867]
5280 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5281 trampoline stack frame information.
5282 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5283 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5284 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5285 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5286 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5287 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5288 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5289 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5290 sa_flags value.
5291 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5292 interrupting a syscall and set with option SA_SIGINFO.
5293
42c8fdd8
JM
52942013-08-20 Joseph Myers <joseph@codesourcery.com>
5295
c980f2f4
JM
5296 [BZ #15531]
5297 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5298 argument is infinite.
5299 * math/s_cprojf.c (__cprojf): Likewise.
5300 * math/s_cprojl.c (__cprojl): Likewise.
5301 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5302 * math/libm-test.inc (cproj_test_data): Add more tests.
5303
0716c4fc
JM
5304 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5305
42c8fdd8
JM
5306 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5307 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5308 size. Use __ffs to determine corresponding shift.
5309
b31469d0
JM
53102013-08-20 Joseph Myers <joseph@codesourcery.com>
5311 Roland McGrath <roland@hack.frob.com>
5312
5313 * Makefile (INSTALL): Remove trailing blank lines from output of
5314 makeinfo.
5315
4e39af6e
AK
53162013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5317
5318 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5319 Align 32 bit compat elf_greg to 8 bytes.
5320
f315524e
AA
53212013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5322
5323 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5324
1326ba1a
SP
53252013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5326
5327 * string/strcoll_l.c (coll_seq): New structure.
5328 (get_next_seq_cached): New function.
5329 (get_next_seq): New function.
5330 (do_compare): New function.
5331 (STRCOLL): Use GNU style definition. Simplify implementation
5332 by using get_next_seq, get_next_seq_cached and do_compare.
5333
91ce4085
FW
53342013-08-16 Florian Weimer <fweimer@redhat.com>
5335
5336 [BZ #14699]
5337 CVE-2013-4237
5338 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5339 member.
5340 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5341 member.
5342 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5343 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5344 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5345 conditional.
5346 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5347 GETDENTS_64BIT_ALIGNED.
5348 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5349 * manual/filesys.texi (Reading/Closing Directory): Document
5350 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5351 strongly.
5352 * manual/conf.texi (Limits for Files): Add portability note to
5353 NAME_MAX, PATH_MAX.
5354 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5355
ca0a6bc4
AS
53562013-08-13 Andreas Schwab <schwab@suse.de>
5357
5358 [BZ #15749]
5359 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5360 of fabs.
5361 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5362 LDBL_MAX_EXP >= 16384]: Add tests for it.
5363
6c1fd795
DM
53642013-08-12 David S. Miller <davem@davemloft.net>
5365
5366 * version.h (RELEASE): Set to "development".
5367 (VERSION): Set to "2.18.90".
5368 * NEWS: Add 2.19 section.
5369
31ad488d
DM
53702013-08-03 David S. Miller <davem@davemloft.net>
5371
5372 * po/ko.po: Update Korean translation from translation project.
5373
db24e684
DM
53742013-08-01 David S. Miller <davem@davemloft.net>
5375
5376 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5377 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5378 Bilka.
5379
f723285b
DM
53802013-07-30 David S. Miller <davem@davemloft.net>
5381
5382 * po/fr.po: Update French translation from translation project.
5383
3cbc52db
DM
53842013-07-28 David S. Miller <davem@davemloft.net>
5385
30bbc0cc
DM
5386 * po/cs.po: Update Czech translation from translation project.
5387
3cbc52db
DM
5388 * po/sv.po: Update Swedish translation from translation project.
5389
d492e6d0
DM
53902013-07-27 David S. Miller <davem@davemloft.net>
5391
f1a7f492
DM
5392 * po/eo.po: Update Esperanto translation from translation project.
5393
90e62a4a
DM
5394 * po/vi.po: Update Vietnamese translation from translation project.
5395
d492e6d0
DM
5396 * po/de.po: Update German translation from translation project.
5397
d4baa62d
DM
53982013-07-26 David S. Miller <davem@davemloft.net>
5399
641aa7b4
DM
5400 * po/bg.po: Update Bulgarian translation from translation project.
5401
d4baa62d
DM
5402 * po/nl.po: Update Dutch translation from translation project.
5403 * po/pl.po: Update Polish translation from translation project.
5404 * po/ru.po: Update Russian translation from translation project.
5405
61a9dcb9
DM
54062013-07-24 David S. Miller <davem@davemloft.net>
5407
5408 * po/libc.pot: Update.
5409
7b1f8b58
AZ
54102013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5411
5412 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5413 variable page size.
5414 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5415 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5416 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5417
a8fc7a03
AK
54182013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5419
5420 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5421
e4608715
CD
54222013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5423 Andreas Schwab <schwab@suse.de>
5424 Roland McGrath <roland@hack.frob.com>
5425 Joseph Myers <joseph@codesourcery.com>
5426 Carlos O'Donell <carlos@redhat.com>
5427
5428 [BZ #15755]
5429 * config.h.in: Define HAVE_PT_CHOWN.
5430 * config.make.in (build-pt-chown): New variable.
5431 * configure.in (--enable-pt_chown): New configure option.
5432 * configure: Regenerate.
5433 * login/Makefile: Include Makeconfig. Build pt_chown only if
5434 build-pt-chown is enabled.
5435 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5436 pt_chown to fix pty ownership.
5437 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5438 CLOSE_ALL_FDS.
5439 * manual/install.texi (Configuring and compiling): Mention
5440 --enable-pt_chown. Add @findex for grantpt.
5441 * INSTALL: Regenerate.
5442
da2d62df
DM
54432013-07-20 David S. Miller <davem@davemloft.net>
5444
5445 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5446 difference between 32-bit and 64-bit.
5447
d7e06450
CD
54482013-07-15 Carlos O'Donell <carlos@redhat.com>
5449
5450 [BZ #15711]
5451 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5452 Avoid system header dependency with -ffreestanding.
5453 ($(objpfx)bits/syscall%d): Likewise.
5454
f959cfd7
DM
54552013-07-13 David S. Miller <davem@davemloft.net>
5456
5457 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5458 underflows from atanl/atan2l due to bug 15319.
5459 (casinh_test_data): Likewise.
5460
c61f8513
DM
54612013-07-07 David S. Miller <davem@davemloft.net>
5462
5463 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5464
72c90ed0
JA
54652013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5466
5467 * sysdeps/i386/fpu/libm-test-ulps: Update.
5468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5469
52dfbe13
SP
54702013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5471
5472 * configure.in (--enable-lock-elision): Fix message text.
5473 * INSTALL: Regenerate.
5474 * configure: Regenerate.
5475
3f169543
AZ
54762013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5477
5478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5479
521c6785
AJ
54802013-07-03 Andreas Jaeger <aj@suse.de>
5481
5482 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5483 define.
5484 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5485 (ptrace_peeksiginfo_args): Add.
5486 (__ptrace_peeksiginfo_flags): Add.
5487 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5488 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5489 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5490
d2cc15cb
AM
54912013-07-03 Allan McRae <allan@archlinux.org>
5492
5493 * sysdeps/i386/fpu/libm-test-ulps: Update.
5494
3aaeeca7
DM
54952013-07-02 David S. Miller <davem@davemloft.net>
5496
5497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5498
5314ed1a
MT
54992013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5500
5501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5502
67338156
JM
55032013-07-02 Joseph Myers <joseph@codesourcery.com>
5504
5505 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5507
1717da59
AK
55082013-07-02 Andi Kleen <ak@linux.intel.com>
5509
5510 * config.h.in (ENABLE_LOCK_ELISION): Add.
5511 * configure.in (--enable-lock-elision): Add option.
5512 * manual/install.texi: Document --enable lock elision.
5513 * configure: Regenerate
5514 * INSTALL: Regenerate.
5515
1c81621c
L
55162013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5517
5518 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5519 SSE4.2 strcasecmp for libc.a.
5520 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5521
77f01ab5
JM
55222013-07-02 Joseph Myers <joseph@codesourcery.com>
5523
5524 [BZ #13304]
5525 * soft-fp/op-common.h (_FP_FMA): New macro.
5526 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5527 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5528 (_FP_MUL_MEAT_1_imm): ... here.
5529 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5530 (_FP_MUL_MEAT_1_wide): ... here.
5531 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5532 (_FP_MUL_MEAT_1_hard): ... here.
5533 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5534 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5535 (_FP_MUL_MEAT_2_wide): ... here.
5536 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5537 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5538 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5539 (_FP_MUL_MEAT_2_gmp): ... here.
5540 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5541 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5542 (_FP_MUL_MEAT_4_wide): ... here.
5543 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5544 (_FP_MUL_MEAT_4_gmp): ... here.
5545 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5546 (_FP_WFRACBITS_DW_S): Likewise.
5547 (_FP_WFRACXBITS_DW_S): Likewise.
5548 (_FP_HIGHBIT_DW_S): Likewise.
5549 (FP_FMA_S): Likewise.
5550 (_FP_FRAC_HIGH_DW_S): Likewise.
5551 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5552 (_FP_WFRACBITS_DW_D): Likewise.
5553 (_FP_WFRACXBITS_DW_D): Likewise.
5554 (_FP_HIGHBIT_DW_D): Likewise.
5555 (FP_FMA_D): Likewise.
5556 (_FP_FRAC_HIGH_DW_D): Likewise.
5557 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5558 (_FP_WFRACBITS_DW_E): Likewise.
5559 (_FP_WFRACXBITS_DW_E): Likewise.
5560 (_FP_HIGHBIT_DW_E): Likewise.
5561 (FP_FMA_E): Likewise.
5562 (_FP_FRAC_HIGH_DW_E): Likewise.
5563 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5564 (_FP_WFRACBITS_DW_Q): Likewise.
5565 (_FP_WFRACXBITS_DW_Q): Likewise.
5566 (_FP_HIGHBIT_DW_Q): Likewise.
5567 (FP_FMA_Q): Likewise.
5568 (_FP_FRAC_HIGH_DW_Q): Likewise.
5569 * soft-fp/fmasf4.c: New file.
5570 * soft-fp/fmadf4.c: Likewise.
5571 * soft-fp/fmatf4.c: Likewise.
5572
6308fd9a
LD
55732013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5574
5575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5576 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5577 Silvermont.
5578 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5579 macro.
5580 (index_Slow_SSE4_2): Likewise.
5581 (index_Prefer_PMINUB_for_stringop): Likewise.
5582 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5583 bit_Slow_SSE4_2 is set.
5584 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5585 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5586
89cd9569
RA
55872013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5588
5589 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5590 rtld_global._dl_hwcap2.
5591 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5592 POWER8.
5593 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5594 POWER8 feature descriptions defined in _dl_hwcap2.
5595 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5596 string handling for POWER8 feature bits.
5597 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5598 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5599 _dl_powerpc_cap_flags.
5600 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5601 * sysdeps/powerpc/rtld-global-offsets.sym
5602 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5603 _dl_hwcap2 in the rtld_global_ro structure.
5604
1ae8bfe0
RA
56052013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5606
5607 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5608 hardware capabilities in support of AT_HWCAP2.
5609 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5610 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5611 GLRO(dl_hwcap2).
5612 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5613 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5614 explicitly the unknown a_type display mechanism is used.
5615 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5616 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5617 struct member.
5618 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5619 to macro prototype for AT_HWCAP2 support.
5620 * sysdeps/i386/dl-procinfo.h: Likewise.
5621 * sysdeps/s390/dl-procinfo.h: Likewise.
5622 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5623 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5624 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5625 return -1 for unknown a_type display fallback.
5626 * sysdeps/sparc/dl-procinfo.h: Likewise.
5627 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5628 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5629
8fbec010
JM
56302013-06-28 Joseph Myers <joseph@codesourcery.com>
5631
5632 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5633 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5634
0432680e
PY
56352013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5636
5637 [BZ #12492]
5638 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5639 mprotect making __stack_prot writable.
5640
ce61a2ad
NF
56412013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5642 Joseph Myers <joseph@codesourcery.com>
5643
5644 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5645 as being properly aligned.
5646
f91f1c0f
MR
56472013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5648
3d0f5d0c
MR
5649 * dlfcn/modstatic5.c: New file.
5650 * dlfcn/tststatic5.c: New file.
5651 * dlfcn/Makefile (tests): Add tststatic5.
5652 (tests-static): Likewise.
5653 (modules-names): Add modstatic5.
5654 (tststatic5-ENV): New variable.
5655 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5656
f91f1c0f
MR
5657 [BZ #15022]
5658 * elf/dl-support.c (_dl_main_map): New variable.
5659 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5660 (_dl_nns, _dl_load_adds): Set to 1.
5661 (_dl_initial_searchlist): Refer to _dl_main_map.
5662 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5663 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5664 call to _dl_get_origin.
5665 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5666 around call_map.
5667 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5668 * dlfcn/modstatic3.c: New file.
5669 * dlfcn/tststatic3.c: New file.
5670 * dlfcn/tststatic4.c: New file.
5671 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5672 (tests-static): Likewise.
5673 (modules-names): Add modstatic3.
5674 (tststatic3-ENV, tststatic4-ENV): New variables.
5675 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5676 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5677
cbe7d24b
JM
56782013-06-26 Joseph Myers <joseph@codesourcery.com>
5679
5680 * configure.in (CC): Require GCC version 4.4 or later.
5681 * configure: Regenerated.
5682 * manual/install.texi (Tools for Compilation): Update GCC version
5683 requirement.
5684 * INSTALL: Regenerated.
5685
11b8a0e1
LD
56862013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5687
5688 [BZ #15674]
bb5bb87c
L
5689 * string/test-memcmp.c (check2): New.
5690 (main): Call check2.
5691
11b8a0e1
LD
5692 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5693
b0037103
MR
56942013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5695
5696 [BZ #15022]
5697 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5698 over to...
5699 (dl_open_worker) [!SHARED]: ... here.
5700
c18c701d
RA
57012013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5702
5703 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5704
1d17fa5f
RH
57052013-06-25 Richard Henderson <rth@redhat.com>
5706
5707 * locale/programs/locarchive.c: Include <libc-internal.h>
5708
8fcb833a
JM
57092013-06-25 Joseph Myers <joseph@codesourcery.com>
5710
5711 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5712 trailing whitespace removed.
5713
17db6e8d
MF
57142013-06-24 Mike Frysinger <vapier@gentoo.org>
5715
5716 [BZ #10283]
17db6e8d
MF
5717 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5718 * locale/programs/locarchive.c: Include libc-mmap.h.
5719 (prepare_address_space): Take two new outputs (the mmap base and len).
5720 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5721 values.
5722 (create_archive): Declare new mmap base and len values for
5723 prepare_address_space, and store the result in ah.
5724 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5725 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5726 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5727 Declare new mmap base and len values for
5728 prepare_address_space, and store the result in new_ah.
5729 (open_archive): Declare new mmap base and len values for
5730 prepare_address_space, and store the result in ah.
5731 (close_archive): If ah->mmap_base is not NULL, use that and
5732 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5733 * sysdeps/generic/libc-mmap.h: New file.
5734
d605071e
MF
57352013-06-24 Mike Frysinger <vapier@gentoo.org>
5736
5737 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5738 (ALIGN_UP): Likewise.
5739 (PTR_ALIGN_DOWN): Likewise.
5740 (PTR_ALIGN_UP): Likewise.
5741
2f063a6e
RA
57422013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5743
5744 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5745 entry mapped to PPC_PLATFORM_POWER8.
5746 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5747 POWER8.
5748 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5749 (_dl_string_platform): Add case for exporting platform position for
5750 POWER8.
5751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5752 search path to sysdeps/powerpc/powerpc32/power8 directory.
5753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5754 search path to sysdeps/powerpc/powerpc64/power8 directory.
5755 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5756 power7 directories.
5757 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5758 power7 directories.
5759
a31ee4b3
SP
57602013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5761
a74ca98f
SP
5762 * INSTALL: Regenerate.
5763
a31ee4b3
SP
5764 * nscd/connections.c (nscd_init): Fix comment.
5765
695c378f
JM
57662013-06-22 Joseph Myers <joseph@codesourcery.com>
5767
d8412221
JM
5768 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5769
695c378f
JM
5770 [BZ #15667]
5771 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5772 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5773
d1d54715
MR
57742013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5775
5776 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5777 DL_DST_REQ_STATIC.
5778 (DL_DST_REQ_STATIC): Remove macro.
5779
8fdda7af
JM
57802013-06-21 Joseph Myers <joseph@codesourcery.com>
5781
5782 [BZ #7006]
5783 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5784 with a shift of 0 bits.
5785
f3bc5e5a
MR
57862013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5787
5788 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5789 $(tststatic-ENV).
5790
be09e8c9
KK
57912013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5792
5793 [BZ #15655]
5794 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5795
85c2e611
AZ
57962013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5797
5798 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5799 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5800 accepts -fno-tree-loop-distribute-patterns.
5801 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5802 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5803 recursive call.
5804 * string/memset.c (memset): Likewise.
5805 * string/test-memmove.c (simple_memmove): Disable loop transformation
5806 to library calls.
5807 * string/test-memset.c (simple_memset): Likewise.
5808 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5809 * benchtests/bench-memset.c (simple_memset): Likewise.
5810 * configure: Regenerated.
5811
c91e0825
JM
58122013-06-20 Joseph Myers <joseph@codesourcery.com>
5813
b8c792af
JM
5814 * math/test-misc.c (main): Ignore fesetround failure when failures
5815 of subsequent rounding tests would be ignored.
5816
c91e0825
JM
5817 [BZ #15654]
5818 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5819 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5820 * math/fegetenv.c (__fegetenv): Return 0.
5821 * math/fegetexcept.c (fegetexcept): Return 0.
5822 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5823 FE_TONEAREST.
5824 * math/feholdexcpt.c (feholdexcept): Return 0.
5825 * math/fesetenv.c (__fesetenv): Return 0.
5826 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5827 argument FE_TONEAREST.
5828 * math/feupdateenv.c (__feupdateenv): Return 0.
5829 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5830
bfcacbde
RM
58312013-06-18 Roland McGrath <roland@hack.frob.com>
5832
5833 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5834 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5835 ($(objpfx)rtld-%.os rules): Use them.
5836
e55a9b25
AZ
58372013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5838
5839 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5840 fields.
5841
346d65b3
RM
58422013-06-17 Roland McGrath <roland@hack.frob.com>
5843
12086fb4
RM
5844 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5845 length of target pattern, then descending length of dependency pattern.
5846 * configure.in (AWK): Require gawk 3.1.2 or newer.
5847 * manual/install.texi (Tools for Compilation): Say that we do.
5848 * configure: Regenerated.
5849
346d65b3
RM
5850 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5851 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5852 * scripts/sysd-rules.awk: ... this new script.
5853 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5854 than a glob-style pattern.
5855
1a846317
JM
58562013-06-17 Joseph Myers <joseph@codesourcery.com>
5857
5858 * math/test-misc.c (main): Do not treat incorrectly rounded
5859 conversions as failure unless ROUNDING_TESTS passes.
5860
8fc75e6f
JM
58612013-06-15 Joseph Myers <joseph@codesourcery.com>
5862
3711a167
JM
5863 [BZ #15631]
5864 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5865 restore exception state around main square root computation, then
5866 check for inexactness explicitly.
5867
8fc75e6f
JM
5868 * math/libm-test.inc (fma_test_data): Add another test.
5869
61dd6208
SP
58702013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5871
adf23d2c
SP
5872 * manual/threads.texi (Non-POSIX Extensions): New document
5873 node. Document pthread_getattr_default_np and
5874 pthread_setattr_default_np.
5875
61dd6208
SP
5876 * Versions.def (libpthread): Add GLIBC_2.18.
5877 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5879 Likewise.
5880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5881 Likewise.
5882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5883 Likewise.
5884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5885 Likewise.
5886 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5887 Likewise.
5888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5889 Likewise.
5890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5891 Likewise.
5892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5893 Likewise.
5894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5895 Likewise.
5896
d086fc7b
LD
58972013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5898
5899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5900 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5901
747ef469
SP
59022013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5903 H.J. Lu <hjl.tools@gmail.com>
5904
5905 [BZ #15627]
5906 * sysdeps/x86_64/rtld-memset.c: Remove file.
5907 * sysdeps/x86_64/rtld-memset.S: New file.
5908
1b2feed2
JM
59092013-06-14 Joseph Myers <joseph@codesourcery.com>
5910
5911 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5912 (test_in_one_mode): Take arguments for whether the rounding mode
5913 is supported for each floating-point type.
5914 (do_test): Pass new arguments to test_in_one_mode using
5915 ROUNDING_TESTS.
5916
a58ad3f8
RM
59172013-06-13 Roland McGrath <roland@hack.frob.com>
5918
5919 * posix/tst-waitid.c (do_test): Distinguish different instances of
5920 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5921 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5922 before entering the kernel for waitpid.
5923
c204ab28
SP
59242013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5925
5926 * NEWS: Fix note on clock function precision. Text by Roland
5927 McGrath.
5928
f4a29fba
RM
59292013-06-13 Roland McGrath <roland@hack.frob.com>
5930
5931 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5932 it into place only when and if the sanity check passes.
5933
1f24b9ad
JM
59342013-06-13 Joseph Myers <joseph@codesourcery.com>
5935
5936 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5937 output for whether conversion result is exact. Take argument
5938 indicating whether type is IBM long double.
5939 (round_for_all): Change need_exact field to ibm_ld.
5940 * stdlib/tst-strtod-round.c (struct exactness): New type.
5941 (struct test): Change bool ld_ok field to struct exactness exact.
5942 (TEST): Update all definitions for change to field.
5943 (tests): Regenerate array contents.
5944 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5945 field value. Check for IBM long double here.
5946 (do_test): Update calls to test_in_one_mode.
5947
58206c68
SP
59482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5949
5950 [BZ #12515]
5951 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5952 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5953
2d6f4c5b 59542013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5955
5956 [BZ #15605]
5957 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5958 generated by the compiler on loop optimizations.
5959 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5960 general definitions.
5961
94f2c076
JM
59622013-06-12 Joseph Myers <joseph@codesourcery.com>
5963
5964 * math/bug-nextafter.c: Include <math-tests.h>.
5965 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5966 the relevant type.
5967 * math/bug-nexttoward.c: Include <math-tests.h>.
5968 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5969 the relevant type.
5970 * math/test-misc.c: Include <math-tests.h>.
5971 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5972 the relevant type.
5973
e0e50a0a
AJ
59742013-06-12 Andreas Jaeger <aj@suse.de>
5975
5976 * po/ia.po: Update Interlingua translation from translation
5977 project.
5978
25061094
SP
59792013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5980
5981 * include/fenv.h: Include stdbool.h.
5982 (struct rm_ctx): New structure.
5983 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5984 Define macro.
5985 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5986 (SET_RESTORE_ROUNDF): Likewise.
5987 (SET_RESTORE_ROUNDL): Likewise.
5988 (SET_RESTORE_ROUND_NOEX): Likewise.
5989 (SET_RESTORE_ROUND_NOEXF): Likewise.
5990 (SET_RESTORE_ROUND_NOEXL): Likewise.
5991 (SET_RESTORE_ROUND_53BIT): Likewise.
5992 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5993 (libc_feresetround_noexf_ctx): Likewise.
5994 (libc_feresetround_noexl_ctx): Likewise.
5995 (libc_feholdsetround_53bit_ctx): Likewise.
5996 (libc_feresetround_53bit_ctx): Likewise.
5997 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5998 (libc_feholdexcept_setround_sse_ctx): New function.
5999 (libc_fesetenv_sse_ctx): Likewise.
6000 (libc_feupdateenv_sse_ctx): Likewise.
6001 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6002 (libc_feholdexcept_setround_387_ctx): Likewise.
6003 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6004 (libc_feholdsetround_387_prec_ctx): Likewise.
6005 (libc_feholdsetround_387_ctx): Likewise.
6006 (libc_feholdsetround_387_53bit_ctx): Likewise.
6007 (libc_feholdsetround_sse_ctx): Likewise.
6008 (libc_feresetround_sse_ctx): Likewise.
6009 (libc_feresetround_387_ctx): Likewise.
6010 (libc_feupdateenv_387_ctx): Likewise.
6011 (libc_feholdexcept_setroundf_ctx): Define macro.
6012 (libc_fesetenvf_ctx): Likewise.
6013 (libc_feupdateenvf_ctx): Likewise.
6014 (libc_feholdsetroundf_ctx): Likewise.
6015 (libc_feresetroundf_ctx): Likewise.
6016 (libc_feholdexcept_setround_ctx): Likewise.
6017 (libc_fesetenv_ctx): Likewise.
6018 (libc_feupdateenv_ctx): Likewise.
6019 (libc_feholdsetround_ctx): Likewise.
6020 (libc_feresetround_ctx): Likewise.
6021 (libc_feholdexcept_setroundl_ctx): Likewise.
6022 (libc_feupdateenvl_ctx): Likewise.
6023 (libc_feholdsetroundl_ctx): Likewise.
6024 (libc_feresetroundl_ctx): Likewise.
6025 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6026 (libc_feresetround_53bit_ctx): Likewise.
6027
59b30555
SP
60282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6029
6030 * locale/iso-639.def: Convert to UTF-8.
6031
f1d73d30
JM
60322013-06-11 Joseph Myers <joseph@codesourcery.com>
6033
6034 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6035 (EXCEPTION_TESTS_double): Likewise.
6036 (EXCEPTION_TESTS_long_double): Likewise.
6037 (EXCEPTION_TESTS): Likewise.
6038 * math/libm-test.inc (test_exceptions): Only test exceptions if
6039 EXCEPTION_TESTS (FLOAT).
6040
94aca5e7
SP
60412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6042
6043 * benchtests/Makefile (string-bench): Add strcpy_chk and
6044 stpcpy_chk.
6045 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6046 * benchtests/bench-stpcpy_chk.c: New file.
6047 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6048 * benchtests/bench-strcpy_chk.c: New file.
6049 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6050 code.
6051 (do_test): Likewise.
6052
fac0c5f2
RA
60532013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6054
6055 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6056 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6057 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6058 with tabs where appropriate.
6059 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6060 dl-procinfo.h.
6061 [PPC_PLATFORM_PPC440]: Likewise.
6062 [PPC_PLATFORM_PPC464]: Likewise.
6063 [PPC_PLATFORM_PPC476]: Likewise.
6064 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6065 ppc464, and ppc476 platform strings merging from ports/
6066 dl-procinfo.h.
6067
f22bc486
AS
60682013-06-11 Andreas Schwab <schwab@suse.de>
6069
6070 [BZ #14991]
6071 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6072 (from_ucs4_idx): Regenerate.
6073 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6074 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6075 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6076 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6077 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6078 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6079 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6080 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6081 from FROM_LOOP and TO_LOOP specific macros.
6082 (BODY): Handle combining characters.
6083 * iconvdata/BIG5HKSCS.irreversible: Update.
6084 * iconvdata/BIG5HKSCS.precomposed: New file.
6085 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6086 characters.
6087 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6088
c1f75dc3
SP
60892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6090
4eacded2
SP
6091 * include/sys/time.h: Fix indentation and add copyright header.
6092
fec799f8
SP
6093 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6094 (do_test): Likewise.
6095 * string/test-memchr.c (do_one_test): Likewise.
6096 (do_test): Likewise.
6097 * string/test-memcmp.c (do_one_test): Likewise.
6098 (do_test): Likewise.
6099 * string/test-memcpy.c (do_one_test): Likewise.
6100 (do_test): Likewise.
6101 * string/test-memmem.c (do_one_test): Likewise.
6102 (do_test): Likewise.
6103 (do_random_tests): Likewise.
6104 * string/test-memmove.c (do_one_test): Likewise.
6105 (do_test): Likewise.
6106 * string/test-memset.c (do_one_test): Likewise.
6107 (do_test): Likewise.
6108 * string/test-rawmemchr.c (do_one_test): Likewise.
6109 (do_test): Likewise.
6110 * string/test-strcasecmp.c (do_one_test): Likewise.
6111 (do_test): Likewise.
6112 * string/test-strcasestr.c (do_one_test): Likewise.
6113 (do_test): Likewise.
6114 * string/test-strcat.c (do_one_test): Likewise.
6115 (do_test): Likewise.
6116 * string/test-strchr.c (do_one_test): Likewise.
6117 (do_test): Likewise.
6118 * string/test-strcmp.c (do_one_test): Likewise.
6119 (do_test): Likewise.
6120 * string/test-strcpy.c (do_one_test): Likewise.
6121 (do_test): Likewise.
6122 * string/test-string.h: Likewise.
6123 (test_init): Likewise.
6124 * string/test-strlen.c (do_one_test): Likewise.
6125 (do_test): Likewise.
6126 * string/test-strncasecmp.c (do_one_test): Likewise.
6127 (do_test): Likewise.
6128 * string/test-strncat.c (do_one_test): Likewise.
6129 (do_test): Likewise.
6130 * string/test-strncmp.c (do_one_test): Likewise.
6131 (do_test_limit): Likewise.
6132 (do_test): Likewise.
6133 * string/test-strncpy.c (do_one_test): Likewise.
6134 (do_test): Likewise.
6135 * string/test-strnlen.c (do_one_test): Likewise.
6136 (do_test): Likewise.
6137 * string/test-strpbrk.c (do_one_test): Likewise.
6138 (do_test): Likewise.
6139 * string/test-strrchr.c (do_one_test): Likewise.
6140 (do_test): Likewise.
6141 * string/test-strspn.c (do_one_test): Likewise.
6142 (do_test): Likewise.
6143 * string/test-strstr.c (do_one_test): Likewise.
6144 (do_test): Likewise.
6145
97020474
SP
6146 * benchtests/Makefile (string-bench): Add string benchmarks.
6147 * benchtests/bench-bcopy-ifunc.c: New file.
6148 * benchtests/bench-bcopy.c: New file.
6149 * benchtests/bench-bzero-ifunc.c: New file.
6150 * benchtests/bench-bzero.c: New file.
6151 * benchtests/bench-memccpy-ifunc.c: New file.
6152 * benchtests/bench-memccpy.c: New file.
6153 * benchtests/bench-memchr-ifunc.c: New file.
6154 * benchtests/bench-memchr.c: New file.
6155 * benchtests/bench-memcmp-ifunc.c: New file.
6156 * benchtests/bench-memcmp.c: New file.
6157 * benchtests/bench-memmem-ifunc.c: New file.
6158 * benchtests/bench-memmem.c: New file.
6159 * benchtests/bench-memmove-ifunc.c: New file.
6160 * benchtests/bench-memmove.c: New file.
6161 * benchtests/bench-mempcpy-ifunc.c: New file.
6162 * benchtests/bench-mempcpy.c: New file.
6163 * benchtests/bench-memset-ifunc.c: New file.
6164 * benchtests/bench-memset.c: New file.
6165 * benchtests/bench-rawmemchr-ifunc.c: New file.
6166 * benchtests/bench-rawmemchr.c: New file.
6167 * benchtests/bench-stpcpy-ifunc.c: New file.
6168 * benchtests/bench-stpcpy.c: New file.
6169 * benchtests/bench-stpncpy-ifunc.c: New file.
6170 * benchtests/bench-stpncpy.c: New file.
6171 * benchtests/bench-strcasecmp-ifunc.c: New file.
6172 * benchtests/bench-strcasecmp.c: New file.
6173 * benchtests/bench-strcasestr-ifunc.c: New file.
6174 * benchtests/bench-strcasestr.c: New file.
6175 * benchtests/bench-strcat-ifunc.c: New file.
6176 * benchtests/bench-strcat.c: New file.
6177 * benchtests/bench-strchr-ifunc.c: New file.
6178 * benchtests/bench-strchr.c: New file.
6179 * benchtests/bench-strchrnul-ifunc.c: New file.
6180 * benchtests/bench-strchrnul.c: New file.
6181 * benchtests/bench-strcmp-ifunc.c: New file.
6182 * benchtests/bench-strcmp.c: New file.
6183 * benchtests/bench-strcpy-ifunc.c: New file.
6184 * benchtests/bench-strcpy.c: New file.
6185 * benchtests/bench-strcspn-ifunc.c: New file.
6186 * benchtests/bench-strcspn.c: New file.
6187 * benchtests/bench-strlen-ifunc.c: New file.
6188 * benchtests/bench-strlen.c: New file.
6189 * benchtests/bench-strncasecmp-ifunc.c: New file.
6190 * benchtests/bench-strncasecmp.c: New file.
6191 * benchtests/bench-strncat-ifunc.c: New file.
6192 * benchtests/bench-strncat.c: New file.
6193 * benchtests/bench-strncmp-ifunc.c: New file.
6194 * benchtests/bench-strncmp.c: New file.
6195 * benchtests/bench-strncpy-ifunc.c: New file.
6196 * benchtests/bench-strncpy.c: New file.
6197 * benchtests/bench-strnlen-ifunc.c: New file.
6198 * benchtests/bench-strnlen.c: New file.
6199 * benchtests/bench-strpbrk-ifunc.c: New file.
6200 * benchtests/bench-strpbrk.c: New file.
6201 * benchtests/bench-strrchr-ifunc.c: New file.
6202 * benchtests/bench-strrchr.c: New file.
6203 * benchtests/bench-strspn-ifunc.c: New file.
6204 * benchtests/bench-strspn.c: New file.
6205 * benchtests/bench-strstr-ifunc.c: New file.
6206 * benchtests/bench-strstr.c: New file.
6207
c1f75dc3
SP
6208 * benchtests/Makefile: Disable parallel execution of targets.
6209 (string-bench): Add memcpy.
6210 (benchset): New variable to store a list of benchmark sets.
6211 (bench-func): Renamed from bench.
6212 (bench-set): New target.
6213 (bench): Depend on bench-func and bench-set.
6214 * benchtests/README: Add section on benchmark sets.
6215 * benchtests/bench-memcpy-ifunc.c: New file.
6216 * benchtests/bench-memcpy.c: New file.
6217 * benchtests/bench-string.h: New file.
6218
50fd745b
AS
62192013-06-11 Andreas Schwab <schwab@suse.de>
6220
6221 [BZ #15577]
6222 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6223 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6224 values in the triple.
6225 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6226 terminator in the group key.
6227
3ee7e9fe
AJ
62282013-06-11 Andreas Jaeger <aj@suse.de>
6229
6230 * po/zh_TW.po: Update Chinese (traditional) translation from
6231 translation project.
6232
89fb6835
SP
62332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6234
6235 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6236 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6237 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6238 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6239 (clock_getcpuclockid): Likewise.
6240 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6241 Add weak_alias and libc_hidden_def.
6242 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6243 * rt/clock_gettime.c (clock_gettime): Rename to
6244 __clock_gettime. Add weak_alias and libc_hidden_def.
6245 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6246 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6247 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6248 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6249 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6250 Likewise.
6251 * rt/clock_settime.c (clock_settime): Rename to
6252 __clock_settime. Add weak_alias and libc_hidden_def.
6253 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6254
0efa6f8b
JM
62552013-06-10 Joseph Myers <joseph@codesourcery.com>
6256
b8c61b4b
JM
6257 * mach/err_boot.sub: Remove trailing whitespace.
6258 * mach/err_ipc.sub: Likewise.
6259 * mach/err_mach.sub: Likewise.
6260
0efa6f8b
JM
6261 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6262 (ROUNDING_TESTS_double): Likewise.
6263 (ROUNDING_TESTS_long_double): Likewise.
6264 (ROUNDING_TESTS): Likewise.
6265 * math/libm-test.inc: Include <math-tests.h>.
6266 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6267 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6268 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6269 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6270
50b818bf
SP
62712013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6272
6273 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6274 of assigning.
6275
60d2f8f3
JM
62762013-06-08 Joseph Myers <joseph@codesourcery.com>
6277
4902d2c3
JM
6278 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6279 otherwise empty TRANS lines.
6280 * sysdeps/gnu/errlist.c: Regenerated.
6281
60d2f8f3
JM
6282 * catgets/gencat.c (error_print): Use (void) in function
6283 definition.
6284 * crypt/crypt_util.c (__init_des): Likewise.
6285 * crypt/speeds.c (Stop): Likewise.
6286 (main): Likewise.
6287 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6288 * inet/ruserpass.c (token): Likewise.
6289 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6290 * intl/localealias.c (extend_alias_table): Likewise.
6291 * intl/plural-exp.c (init_germanic_plural): Likewise.
6292 * libio/fcloseall.c (__fcloseall): Likewise.
6293 * libio/genops.c (_IO_flush_all): Likewise.
6294 (_IO_flush_all_linebuffered): Likewise.
6295 (_IO_cleanup): Likewise.
6296 (_IO_iter_begin): Likewise.
6297 (_IO_iter_end): Likewise.
6298 (_IO_list_lock): Likewise.
6299 (_IO_list_unlock): Likewise.
6300 (_IO_list_resetlock): Likewise.
6301 * libio/getchar.c (getchar): Likewise.
6302 * libio/getchar_u.c (getchar_unlocked): Likewise.
6303 * libio/getwchar.c (getwchar): Likewise.
6304 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6305 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6306 * login/getpt.c (__getpt): Likewise.
6307 * login/tst-utmp.c (main): Likewise.
6308 * malloc/hooks.c (__malloc_check_init): Likewise.
6309 * malloc/malloc.c (__malloc_stats): Likewise.
6310 * malloc/mtrace.c (tr_break): Likewise.
6311 (mtrace): Likewise.
6312 (muntrace): Likewise.
6313 * misc/fstab.c (endfsent): Likewise.
6314 * misc/getclktck.c (__getclktck): Likewise.
6315 * misc/getdtsz.c (__getdtablesize): Likewise.
6316 * misc/gethostid.c (gethostid): Likewise.
6317 * misc/getpagesize.c (__getpagesize): Likewise.
6318 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6319 (__get_nprocs): Likewise.
6320 (__get_phys_pages): Likewise.
6321 (__get_avphys_pages): Likewise.
6322 * misc/getttyent.c (getttyent): Likewise.
6323 (setttyent): Likewise.
6324 (endttyent): Likewise.
6325 * misc/getusershell.c (getusershell): Likewise.
6326 (endusershell): Likewise.
6327 (setusershell): Likewise.
6328 (initshells): Likewise.
6329 * misc/hsearch.c (__hdestroy): Likewise.
6330 * misc/sync.c (sync): Likewise.
6331 * misc/syslog.c (closelog_internal): Likewise.
6332 (closelog): Likewise.
6333 * misc/ttyslot.c (ttyslot): Likewise.
6334 * misc/vhangup.c (vhangup): Likewise.
6335 * posix/fork.c (__fork): Likewise.
6336 * posix/getegid.c (__getegid): Likewise.
6337 * posix/geteuid.c (__geteuid): Likewise.
6338 * posix/getgid.c (__getgid): Likewise.
6339 * posix/getpid.c (__getpid): Likewise.
6340 * posix/getppid.c (__getppid): Likewise.
6341 * posix/getuid.c (__getuid): Likewise.
6342 * posix/pause.c (pause): Likewise.
6343 * posix/setpgrp.c (setpgrp): Likewise.
6344 * posix/setsid.c (__setsid): Likewise.
6345 * posix/test-vfork.c (noop): Likewise.
6346 * resolv/gethnamaddr.c (_endhtent): Likewise.
6347 (_gethtent): Likewise.
6348 (ht_endhostent): Likewise.
6349 (gethostent): Likewise.
6350 (dns_service): Likewise.
6351 * stdlib/drand48.c (drand48): Likewise.
6352 * stdlib/lrand48.c (lrand48): Likewise.
6353 * stdlib/mrand48.c (mrand48): Likewise.
6354 * stdlib/rand.c (rand): Likewise.
6355 * stdlib/random.c (__random): Likewise.
6356 * stdlib/setenv.c (clearenv): Likewise.
6357 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6358 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6359 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6360 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6361 (__get_nprocs): Likewise.
6362 (__get_phys_pages): Likewise.
6363 (__get_avphys_pages): Likewise.
6364 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6365 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6366 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6367 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6368 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6369 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6370 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6371 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6372 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6373 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6374 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6375 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6376 * sysdeps/posix/clock.c (clock): Likewise.
6377 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6378 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6379 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6380 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6381 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6382 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6383 (__get_nprocs_conf): Likewise.
6384 (__get_phys_pages): Likewise.
6385 (__get_avphys_pages): Likewise.
6386 * time/clock.c (clock): Likewise.
6387 * time/tzset.c (__tzname_max): Likewise.
6388
2e09a79a
JM
63892013-06-07 Joseph Myers <joseph@codesourcery.com>
6390
6391 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6392 (__bswap_32): Do not use "register".
6393 * crypt/crypt.c (_ufc_doit_r): Likewise.
6394 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6395 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6396 * gmon/gmon.c (__monstartup): Likewise.
6397 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6398 * hurd/hurdmalloc.c (more_memory): Likewise.
6399 (malloc): Likewise.
6400 (free): Likewise.
6401 (realloc): Likewise.
6402 (malloc_fork_prepare): Likewise.
6403 (malloc_fork_parent): Likewise.
6404 (malloc_fork_child): Likewise.
6405 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6406 (_svcauth_des): Likewise.
6407 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6408 * inet/inet_net.c (inet_network): Likewise.
6409 * inet/inet_netof.c (inet_netof): Likewise.
6410 * inet/rcmd.c (__validuser2_sa): Likewise.
6411 * io/fts.c (fts_open): Likewise.
6412 (fts_load): Likewise.
6413 (fts_close): Likewise.
6414 (fts_read): Likewise.
6415 (fts_children): Likewise.
6416 (fts_build): Likewise.
6417 (fts_stat): Likewise.
6418 (fts_sort): Likewise.
6419 (fts_alloc): Likewise.
6420 (fts_lfree): Likewise.
6421 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6422 (_IO_file_xsgetn): Likewise.
6423 (_IO_file_xsgetn_mmap): Likewise.
6424 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6425 (_IO_cookie_write): Likewise.
6426 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6427 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6428 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6429 * malloc/obstack.c (_obstack_begin): Likewise.
6430 (_obstack_begin_1): Likewise.
6431 (_obstack_newchunk): Likewise.
6432 (_obstack_allocated_p): Likewise.
6433 (obstack_free): Likewise.
6434 (_obstack_memory_used): Likewise.
6435 * misc/getttyent.c (getttynam): Likewise.
6436 (getttyent): Likewise.
6437 (skip): Likewise.
6438 (value): Likewise.
6439 * misc/getusershell.c (initshells): Likewise.
6440 * misc/syslog.c (__vsyslog_chk): Likewise.
6441 * misc/ttyslot.c (ttyslot): Likewise.
6442 * nis/nis_hash.c (__nis_hash): Likewise.
6443 * posix/fnmatch_loop.c (FCT): Likewise.
6444 * posix/getconf.c (print_all): Likewise.
6445 (main): Likewise.
6446 * posix/getopt.c (exchange): Likewise.
6447 * posix/glob.c (globfree): Likewise.
6448 (prefix_array): Likewise.
6449 (__glob_pattern_type): Likewise.
6450 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6451 (NS_GET32): Likewise.
6452 (NS_PUT16): Likewise.
6453 (NS_PUT32): Likewise.
6454 * resolv/gethnamaddr.c (getanswer): Likewise.
6455 (gethostbyname2): Likewise.
6456 (gethostbyaddr): Likewise.
6457 (_gethtent): Likewise.
6458 (_gethtbyname2): Likewise.
6459 (_gethtbyaddr): Likewise.
6460 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6461 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6462 * resolv/res_init.c (__res_vinit): Likewise.
6463 (net_mask): Likewise.
6464 * resolv/res_mkquery.c (outchar): Likewise.
6465 (PRINT): Likewise.
6466 * stdio-common/printf_fp.c (outchar): Likewise.
6467 (PRINT): Likewise.
6468 * stdio-common/printf_fphex.c (outchar): Likewise.
6469 (PRINT): Likewise.
6470 * stdio-common/printf_size.c (outchar): Likewise.
6471 (PRINT): Likewise.
6472 * stdio-common/test_rdwr.c (main): Likewise.
6473 * stdio-common/tfformat.c (matches): Likewise.
6474 * stdio-common/vfprintf.c (outchar): Likewise.
6475 (printf_unknown): Likewise.
6476 (buffered_vfprintf): Likewise.
6477 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6478 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6479 (ReadFile): Likewise.
6480 * stdlib/qsort.c (SWAP): Likewise.
6481 (_quicksort): Likewise.
6482 * stdlib/setenv.c (__add_to_environ): Likewise.
6483 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6484 * stdlib/strtol_l.c (__strtol_l): Likewise.
6485 * stdlib/tst-strtod.c (main): Likewise.
6486 * stdlib/tst-strtol.c (main): Likewise.
6487 * stdlib/tst-strtoll.c (main): Likewise.
6488 * string/bits/string2.h (__strcmp_cc): Likewise.
6489 (__strcmp_cg): Likewise.
6490 (__strcspn_c1): Likewise.
6491 (__strcspn_c2): Likewise.
6492 (__strcspn_c3): Likewise.
6493 (__strspn_c1): Likewise.
6494 (__strspn_c2): Likewise.
6495 (__strspn_c3): Likewise.
6496 (__strsep_1c): Likewise.
6497 (__strsep_2c): Likewise.
6498 (__strsep_3c): Likewise.
6499 * string/memccpy.c (__memccpy): Likewise.
6500 * string/stpcpy.c (__stpcpy): Likewise.
6501 * string/strcmp.c (strcmp): Likewise.
6502 * string/strrchr.c (strrchr): Likewise.
6503 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6504 Likewise.
6505 * sysdeps/mach/hurd/getcwd.c
6506 (_hurd_canonicalize_directory_name_internal): Likewise.
6507 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6508 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6509 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6510 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6511 Likewise, in both definitions.
6512 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6513 definitions.
6514 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6515 64] (__bswap_64): Likewise.
6516 * time/test_time.c (main): Likewise.
6517 * time/tzfile.c (__tzfile_read): Likewise.
6518 (__tzfile_compute): Likewise.
6519 * time/tzset.c (__tzset_parse_tz): Likewise.
6520 (tzset_internal): Likewise.
6521 (compute_change): Likewise.
6522 * wcsmbs/wcscat.c (__wcscat): Likewise.
6523 * wcsmbs/wcschr.c (wcschr): Likewise.
6524 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6525 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6526 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6527 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6528 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6529 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6530 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6531 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6532 * wcsmbs/wmemset.c (wmemset): Likewise.
6533
9e54314b
JM
65342013-06-06 Joseph Myers <joseph@codesourcery.com>
6535
6536 * scripts/config.guess: Update to version 2013-05-16.
6537 * scripts/config.sub: Update to version 2013-04-24.
6538 * scripts/install-sh: Update to version 2011-11-20.07.
6539 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6540 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6541
350635a5
OB
65422013-06-06 Ondřej Bílka <neleai@seznam.cz>
6543
6544 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6545 * elf/sln.c: Likewise.
6546 * hurd/hurd/ioctl.h: Likewise.
6547 * hurd/hurdmalloc.c: Likewise.
6548 * hurd/xattr.c: Likewise.
6549 * include/shlib-compat.h: Likewise.
6550 * inet/ruserpass.c: Likewise.
6551 * libio/iofgets_u.c: Likewise.
6552 * libio/iofgetws_u.c: Likewise.
6553 * locale/programs/ld-identification.c: Likewise.
6554 * locale/programs/ld-time.c: Likewise.
6555 * mach/msg-destroy.c: Likewise.
6556 * nss/nss_files/files-netgrp.c: Likewise.
6557 * resolv/res_data.c: Likewise.
6558 * soft-fp/op-1.h: Likewise.
6559 * soft-fp/op-2.h: Likewise.
6560 * soft-fp/op-4.h: Likewise.
6561 * soft-fp/op-common.h: Likewise.
6562 * stdio-common/printf_fphex.c: Likewise.
6563 * stdlib/strtod_l.c: Likewise.
6564 * sunrpc/rpc/clnt.h: Likewise.
6565 * sysdeps/generic/framestate.c: Likewise.
6566 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6567 * sysdeps/i386/bsd-setjmp.S: Likewise.
6568 * sysdeps/i386/__longjmp.S: Likewise.
6569 * sysdeps/i386/setjmp.S: Likewise.
6570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6571 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6572 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6573 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6577 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6578 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6580 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6582 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6585 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6586 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6588 * sysdeps/ieee754/support.c: Likewise.
6589 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6590 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6591 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6592 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6593 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6594 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6595 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6596 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6597 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6598 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6599 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6600 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6601 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6602 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6603 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6604 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6605 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6607
44a988af
OB
66082013-06-05 Ondřej Bílka <neleai@seznam.cz>
6609
25506f09 6610 * posix/transbug.c: Remove executable mode.
44a988af 6611
9c84384c
JM
66122013-06-05 Joseph Myers <joseph@codesourcery.com>
6613
6614 * crypt/speeds.c: Remove trailing whitespace.
6615 * dlfcn/default.c: Likewise.
6616 * elf/ifuncdep2.c: Likewise.
6617 * elf/ifuncmain1.c: Likewise.
6618 * elf/ifuncmain1vis.c: Likewise.
6619 * elf/testobj.h: Likewise.
6620 * elf/tst-stackguard1.c: Likewise.
6621 * gmon/sys/gmon.h: Likewise.
6622 * hurd/hurdmsg.c: Likewise.
6623 * hurd/new-fd.c: Likewise.
6624 * hurd/ports-get.c: Likewise.
6625 * iconvdata/ibm1008_420.c: Likewise.
6626 * inet/tst-getni1.c: Likewise.
6627 * inet/tst-getni2.c: Likewise.
6628 * libio/ioungetc.c: Likewise.
6629 * libio/wfiledoalloc.c: Likewise.
6630 * manual/libm-err-tab.pl: Likewise.
6631 * math/w_dremf.c: Likewise.
6632 * misc/ftruncate.c: Likewise.
6633 * posix/bug-glob2.c: Likewise.
6634 * posix/tst-pcre.c: Likewise.
6635 * posix/wait4.c: Likewise.
6636 * resolv/README: Likewise.
6637 * resolv/res_debug.h: Likewise.
6638 * resolv/tst-inet_ntop.c: Likewise.
6639 * setjmp/bug269-setjmp.c: Likewise.
6640 * soft-fp/extended.h: Likewise.
6641 * soft-fp/op-1.h: Likewise.
6642 * soft-fp/op-2.h: Likewise.
6643 * soft-fp/op-4.h: Likewise.
6644 * soft-fp/op-8.h: Likewise.
6645 * soft-fp/testit.c: Likewise.
6646 * stdio-common/bug16.c: Likewise.
6647 * stdlib/random.c: Likewise.
6648 * sunrpc/rpcsvc/rquota.x: Likewise.
6649 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6650 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6651 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6652 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6653 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6654 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6655 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6656 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6657 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6658 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6659 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6678 * sysdeps/ieee754/s_lib_version.c: Likewise.
6679 * sysdeps/mach/hurd/check_fds.c: Likewise.
6680 * sysdeps/mach/hurd/getsockname.c: Likewise.
6681 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6682 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6683 * sysdeps/powerpc/bits/link.h: Likewise.
6684 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6685 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6686 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6687 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6688 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6689 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6690 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6691 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6692 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6693 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6694 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6695 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6696 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6697 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6698 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6699 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6700 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6701 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6702 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6703 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6704 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6705 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6706 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6707 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6708 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6709 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6710 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6711 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6712 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6713 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6714 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6715 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6716 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6717 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6718 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6719 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6720 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6721 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6722 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6723 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6724 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6725 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6726 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6727 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6728 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6729 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6730 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6731 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6732 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6733 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6734 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6735 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6736 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6737 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6738 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6739 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6740 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6741 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6742 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6743 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6744 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6745 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6746 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6747 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6748 * sysdeps/powerpc/sysdep.h: Likewise.
6749 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6750 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6751 * sysdeps/sh/dl-trampoline.S: Likewise.
6752 * sysdeps/sh/memset.S: Likewise.
6753 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6754 * sysdeps/sh/strlen.S: Likewise.
6755 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6756 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6757 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6758 * sysdeps/sparc/sparc32/rem.S: Likewise.
6759 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6760 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6761 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6762 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6763 * sysdeps/sparc/sparc32/urem.S: Likewise.
6764 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6765 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6766 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6767 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6768 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6769 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6770 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6771 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6772 * sysdeps/unix/bsd/times.c: Likewise.
6773 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6774 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6778 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6779 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6780 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6781 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6782 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6783 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6784 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6785 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6786 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6787 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6788 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6789 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6790 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6791 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6792 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6793 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6794 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6795 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6796 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6797 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6798 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6799 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6800 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6801 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6802 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6803 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6804 * sysdeps/x86_64/strcspn.S: Likewise.
6805
869378a5
RA
68062013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6807
6808 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6809 generated file. Regenerate properly from gen-translit.pl.
6810 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6811 locale/C-translit.h.
6812
840e2943
AS
68132013-06-05 Andreas Schwab <schwab@suse.de>
6814
6815 [BZ #15100]
6816 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6817 week as 6 instead of -1.
6818 * time/tst-strptime.c (day_tests): Add test case.
6819
4c60cb0c
SP
68202013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6821
6822 * sysdeps/generic/math_private.h
6823 (libc_feholdexcept_setround_53bit): Replace with
6824 libc_feholdsetround_53bit.
6825 (libc_feupdateenv_53bit): Replace with
6826 libc_feresetround_53bit.
6827 (SET_RESTORE_ROUND_53BIT): Adjust.
6828
d180203e
SP
68292013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6830
96df079a
SP
6831 * string/test-strchrnul.c: Add copyright header.
6832
d180203e
SP
6833 * posix/tst-getaddrinfo4.c: Increase test timeout.
6834
8b0ccb2d
CD
68352013-06-03 Carlos O'Donell <carlos@redhat.com>
6836
6837 [BZ #15536]
6838 * math/libm-test.inc (MAX_EXP): Remove
6839 (MIN_EXP): Define.
6840 (ulp): Use MIN_EXP - MANT_DIG.
6841 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6842
3b3c4d40
CD
68432013-05-31 Carlos O'Donell <carlos@redhat.com>
6844
6845 * po/be.po: Revert last change.
6846 * po/zh_CN.po: Likewise.
6847 * po/header.pot: Likewise.
6848
fab7ce3f
JM
68492013-05-31 Joseph Myers <joseph@codesourcery.com>
6850
6851 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6852 link-libc-deps to empty as target-specific variable.
6853 * Makerules (link-libc-args): New variable.
6854 (libc-for-link): Likewise.
6855 (link-libc-deps): Likewise.
6856 (lib%.so): Depend on $(link-libc-deps). Link with
6857 $(link-libc-args).
6858 (build-module): Link with $(link-libc-args).
6859 (build-module-asneeded): Likewise.
6860 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6861 list of objects.
6862 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6863 target-specific variable.
6864 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6865 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6866 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6867 libc.
6868 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6869 libc and ld.so.
6870 ($(objpfx)libpcprofile.so): Likewise.
6871 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6872 libc_nonshared.a.
6873 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6874 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6875 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6876 $(link-libc-deps).
6877 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6878 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6879 * login/Makefile ($(objpfx)libutil.so): Likewise.
6880 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6881 * math/Makefile ($(objpfx)libm.so): Likewise.
6882 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6883 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6884 variable instead of depending directly on libc.
6885 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6886 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6887 $(link-libc-deps).
6888 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6889 libc.
6890 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6891 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6892 ($(objpfx)libanl.so): Likewise.
6893 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6894 ld.so.
6895 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6896 $(link-libc-deps).
6897 * sysdeps/i386/fpu/Makefile: Remove file.
6898 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6899 ($(objpfx)libm.so): Remove dependency on ld.so.
6900
eca5920c
PF
69012013-05-30 Patsy Franklin <pfrankli@redhat.com>
6902
6903 [BZ # 15553]
6904 * nis/yp_xdr.c (XDRMAXNAME): Define.
6905 (XDRMAXRECORD): Define.
6906 (xdr_domainname): Use XDRMAXNAME.
6907 (xdr_mapname): Likewise.
6908 (xdr_peername): Likewise.
6909 (xdr_keydat): Use XDRMAXRECORD.
6910 (xdr_valdat): Likewise.
6911
69122013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6913
6914 [BZ #14256]
6915 * manual/errno.texi (ESTALE): Update to account for more than
6916 just NFS file systems.
6917 * sysdeps/gnu/errlist.c: Regenerated.
6918
b9375348
SP
69192013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6920
6921 [BZ #15465]
6922 * elf/Makefile (tests): Add tst-null-argv.
6923 (modules-names): Add tst-null-argv-lib.
6924 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6925 (tst-null-argv-ENV): Set environment for tst-null-argv.
6926 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6927 (RTLD_PROGNAME): New macro.
6928 * elf/tst-null-argv.c: New test case.
6929 * elf/tst-null-argv-lib.c: Library for test case.
6930 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6931 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6932 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6933 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6934 * elf/dl-init.c (call_init): Likewise.
6935 (_dl_init): Likewise.
6936 * elf/dl-load.c (print_search_path): Likewise.
6937 (_dl_map_object): Likewise.
6938 * elf/dl-lookup.c (do_lookup_x): Likewise.
6939 (add_dependency): Likewise.
6940 (_dl_lookup_symbol_x): Likewise.
6941 (_dl_debug_bindings): Likewise.
6942 * elf/dl-open.c (_dl_show_scope): Likewise.
6943 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6944 * elf/dl-version.c (match_symbol): Likewise.
6945 (_dl_check_map_versions): Likewise.
6946 * elf/rtld.c (dl_main): Likewise.
6947 (print_unresolved): Use RTLD_PROGNAME.
6948 (print_missing_version): Likewise.
6949 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6950 (elf_machine_rela): Likewise.
6951 * sysdeps/powerpc/powerpc32/dl-machine.c
6952 (__process_machine_rela): Likewise.
6953 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6954 Likewise.
6955 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6956 Likewise.
6957 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6958 Likewise.
6959 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6961 Likewise.
6962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6963 Likewise.
6964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6965
8a9f20c8
CD
69662013-05-28 Carlos O'Donell <carlos@redhat.com>
6967
6968 * po/be.po: Add descriptive title.
6969 * po/zh_CN.po: Likewise.
6970 * po/header.pot: Likewise.
6971
0e60d68e
MF
69722013-05-28 Mike Frysinger <vapier@gentoo.org>
6973
6974 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6975 error message.
6976 (enlarge_archive): Likewise.
6977
56b672e9
BN
69782013-05-28 Ben North <ben@redfrontdoor.org>
6979
6980 * manual/arith.texi (frexp): It is the magnitude of the return
6981 value which lies in [0.5, 1), not the return value itself.
6982
5e056687
AZ
69832013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6984
6985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6986
2b66ef5d
TS
69872013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6988
528c2405
TS
6989 * stdio-common/bug26.c (main): Correct fscanf template.
6990
07b4c13d
TS
6991 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6992 declare _dl_skip_args.
6993
ec9dd97c
TS
6994 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6995 Don't declare.
6996
2b66ef5d
TS
6997 * manual/platform.texi: Add missing @end deftypefun.
6998
4f8dfe27
JM
69992013-05-24 Joseph Myers <joseph@codesourcery.com>
7000
0323d086
JM
7001 [BZ #15529]
7002 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7003 bit of mantissa of 2^16382.
7004 * math/libm-test.inc (hypot_test_data): Add more tests.
7005
dd4259b9
JM
7006 * math/libm-test.inc: Add drem and pow10 to list of tested
7007 functions.
7008 (pow10_test): New function.
7009 (drem_test): Likewise.
7010 (drem_test_tonearest): Likewise.
7011 (drem_test_towardzero): Likewise.
7012 (drem_test_downward): Likewise.
7013 (drem_test_upward): Likewise.
7014 (main): Call the new functions.
7015
4f8dfe27
JM
7016 * math/libm-test.inc (finite_test_data): Remove.
7017 (finite_test): Run tests from isfinite_test_data.
7018 (gamma_test_data): Remove.
7019 (gamma_test): Run tests from lgamma_test_data.
7020 * sysdeps/i386/fpu/libm-test-ulps: Update.
7021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7022
d116b7c4
AZ
70232013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7024
7025 * manual/platform.texi: Add PowerPC PPR function set documentation.
7026 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7027 implementation.
7028
e96e3767
CD
70292013-05-24 Carlos O'Donell <carlos@redhat.com>
7030
7031 * math/libm-test.inc (MAX_EXP): Define.
7032 (ULPDIFF): Define.
7033 (ulp): New function.
7034 (check_float_internal): Use ULPDIFF.
7035 (cpow_test): Disable failing test.
7036 (check_ulp): Test ulp() implemetnation.
7037 (main): Call check_ulp before starting tests.
7038
b679a606
JM
70392013-05-24 Joseph Myers <joseph@codesourcery.com>
7040
e8bdba36
JM
7041 * math/gen-libm-test.pl (generate_testfile): Do not handle
7042 START_DATA and END_DATA.
7043 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7044 END_DATA.
7045 (acos_tonearest_test_data): Likewise.
7046 (acos_towardzero_test_data): Likewise.
7047 (acos_downward_test_data): Likewise.
7048 (acos_upward_test_data): Likewise.
7049 (acosh_test_data): Likewise.
7050 (asin_test_data): Likewise.
7051 (asin_tonearest_test_data): Likewise.
7052 (asin_towardzero_test_data): Likewise.
7053 (asin_downward_test_data): Likewise.
7054 (asin_upward_test_data): Likewise.
7055 (asinh_test_data): Likewise.
7056 (atan_test_data): Likewise.
7057 (atanh_test_data): Likewise.
7058 (atan2_test_data): Likewise.
7059 (cabs_test_data): Likewise.
7060 (cacos_test_data): Likewise.
7061 (cacosh_test_data): Likewise.
7062 (carg_test_data): Likewise.
7063 (casin_test_data): Likewise.
7064 (casinh_test_data): Likewise.
7065 (catan_test_data): Likewise.
7066 (catanh_test_data): Likewise.
7067 (cbrt_test_data): Likewise.
7068 (ccos_test_data): Likewise.
7069 (ccosh_test_data): Likewise.
7070 (ceil_test_data): Likewise.
7071 (cexp_test_data): Likewise.
7072 (cimag_test_data): Likewise.
7073 (clog_test_data): Likewise.
7074 (clog10_test_data): Likewise.
7075 (conj_test_data): Likewise.
7076 (copysign_test_data): Likewise.
7077 (cos_test_data): Likewise.
7078 (cos_tonearest_test_data): Likewise.
7079 (cos_towardzero_test_data): Likewise.
7080 (cos_downward_test_data): Likewise.
7081 (cos_upward_test_data): Likewise.
7082 (cosh_test_data): Likewise.
7083 (cosh_tonearest_test_data): Likewise.
7084 (cosh_towardzero_test_data): Likewise.
7085 (cosh_downward_test_data): Likewise.
7086 (cosh_upward_test_data): Likewise.
7087 (cpow_test_data): Likewise.
7088 (cproj_test_data): Likewise.
7089 (creal_test_data): Likewise.
7090 (csin_test_data): Likewise.
7091 (csinh_test_data): Likewise.
7092 (csqrt_test_data): Likewise.
7093 (ctan_test_data): Likewise.
7094 (ctan_tonearest_test_data): Likewise.
7095 (ctan_towardzero_test_data): Likewise.
7096 (ctan_downward_test_data): Likewise.
7097 (ctan_upward_test_data): Likewise.
7098 (ctanh_test_data): Likewise.
7099 (ctanh_tonearest_test_data): Likewise.
7100 (ctanh_towardzero_test_data): Likewise.
7101 (ctanh_downward_test_data): Likewise.
7102 (ctanh_upward_test_data): Likewise.
7103 (erf_test_data): Likewise.
7104 (erfc_test_data): Likewise.
7105 (exp_test_data): Likewise.
7106 (exp_tonearest_test_data): Likewise.
7107 (exp_towardzero_test_data): Likewise.
7108 (exp_downward_test_data): Likewise.
7109 (exp_upward_test_data): Likewise.
7110 (exp10_test_data): Likewise.
7111 (exp2_test_data): Likewise.
7112 (expm1_test_data): Likewise.
7113 (fabs_test_data): Likewise.
7114 (fdim_test_data): Likewise.
7115 (finite_test_data): Likewise.
7116 (floor_test_data): Likewise.
7117 (fma_test_data): Likewise.
7118 (fma_towardzero_test_data): Likewise.
7119 (fma_downward_test_data): Likewise.
7120 (fma_upward_test_data): Likewise.
7121 (fmax_test_data): Likewise.
7122 (fmin_test_data): Likewise.
7123 (fmod_test_data): Likewise.
7124 (fpclassify_test_data): Likewise.
7125 (frexp_test_data): Likewise.
7126 (gamma_test_data): Likewise.
7127 (hypot_test_data): Likewise.
7128 (ilogb_test_data): Likewise.
7129 (isfinite_test_data): Likewise.
7130 (isgreater_test_data): Likewise.
7131 (isgreaterequal_test_data): Likewise.
7132 (isinf_test_data): Likewise.
7133 (isless_test_data): Likewise.
7134 (islessequal_test_data): Likewise.
7135 (islessgreater_test_data): Likewise.
7136 (isnan_test_data): Likewise.
7137 (isnormal_test_data): Likewise.
7138 (issignaling_test_data): Likewise.
7139 (isunordered_test_data): Likewise.
7140 (j0_test_data): Likewise.
7141 (j1_test_data): Likewise.
7142 (jn_test_data): Likewise.
7143 (ldexp_test_data): Likewise.
7144 (lgamma_test_data): Likewise.
7145 (lrint_test_data): Likewise.
7146 (lrint_tonearest_test_data): Likewise.
7147 (lrint_towardzero_test_data): Likewise.
7148 (lrint_downward_test_data): Likewise.
7149 (lrint_upward_test_data): Likewise.
7150 (llrint_test_data): Likewise.
7151 (llrint_tonearest_test_data): Likewise.
7152 (llrint_towardzero_test_data): Likewise.
7153 (llrint_downward_test_data): Likewise.
7154 (llrint_upward_test_data): Likewise.
7155 (log_test_data): Likewise.
7156 (log10_test_data): Likewise.
7157 (log1p_test_data): Likewise.
7158 (log2_test_data): Likewise.
7159 (logb_test_data): Likewise.
7160 (logb_downward_test_data): Likewise.
7161 (lround_test_data): Likewise.
7162 (llround_test_data): Likewise.
7163 (modf_test_data): Likewise.
7164 (nearbyint_test_data): Likewise.
7165 (nextafter_test_data): Likewise.
7166 (nexttoward_test_data): Likewise.
7167 (pow_test_data): Likewise.
7168 (pow_tonearest_test_data): Likewise.
7169 (pow_towardzero_test_data): Likewise.
7170 (pow_downward_test_data): Likewise.
7171 (pow_upward_test_data): Likewise.
7172 (remainder_test_data): Likewise.
7173 (remainder_tonearest_test_data): Likewise.
7174 (remainder_towardzero_test_data): Likewise.
7175 (remainder_downward_test_data): Likewise.
7176 (remainder_upward_test_data): Likewise.
7177 (remquo_test_data): Likewise.
7178 (rint_test_data): Likewise.
7179 (rint_tonearest_test_data): Likewise.
7180 (rint_towardzero_test_data): Likewise.
7181 (rint_downward_test_data): Likewise.
7182 (rint_upward_test_data): Likewise.
7183 (round_test_data): Likewise.
7184 (scalb_test_data): Likewise.
7185 (scalbn_test_data): Likewise.
7186 (scalbln_test_data): Likewise.
7187 (signbit_test_data): Likewise.
7188 (sin_test_data): Likewise.
7189 (sin_tonearest_test_data): Likewise.
7190 (sin_towardzero_test_data): Likewise.
7191 (sin_downward_test_data): Likewise.
7192 (sin_upward_test_data): Likewise.
7193 (sincos_test_data): Likewise.
7194 (sinh_test_data): Likewise.
7195 (sinh_tonearest_test_data): Likewise.
7196 (sinh_towardzero_test_data): Likewise.
7197 (sinh_downward_test_data): Likewise.
7198 (sinh_upward_test_data): Likewise.
7199 (sqrt_test_data): Likewise.
7200 (tan_test_data): Likewise.
7201 (tan_tonearest_test_data): Likewise.
7202 (tan_towardzero_test_data): Likewise.
7203 (tan_downward_test_data): Likewise.
7204 (tan_upward_test_data): Likewise.
7205 (tanh_test_data): Likewise.
7206 (tgamma_test_data): Likewise.
7207 (trunc_test_data): Likewise.
7208 (y0_test_data): Likewise.
7209 (y1_test_data): Likewise.
7210 (yn_test_data): Likewise.
7211 (significand_test_data): Likewise.
7212
b679a606
JM
7213 * math/gen-libm-test.pl (@functions): Remove variable.
7214 (generate_testfile): Don't handle START and END lines.
7215 * math/libm-test.inc (START): New macro.
7216 (END): Likewise.
7217 (END_COMPLEX): Likewise.
7218 (acos_test): Use END macro without arguments.
7219 (acos_test_tonearest): Likewise.
7220 (acos_test_towardzero): Likewise.
7221 (acos_test_downward): Likewise.
7222 (acos_test_upward): Likewise.
7223 (acosh_test): Likewise.
7224 (asin_test): Likewise.
7225 (asin_test_tonearest): Likewise.
7226 (asin_test_towardzero): Likewise.
7227 (asin_test_downward): Likewise.
7228 (asin_test_upward): Likewise.
7229 (asinh_test): Likewise.
7230 (atan_test): Likewise.
7231 (atanh_test): Likewise.
7232 (atan2_test): Likewise.
7233 (cabs_test): Likewise.
7234 (cacos_test): Use END_COMPLEX macro without arguments.
7235 (cacosh_test): Likewise.
7236 (carg_test): Use END macro without arguments.
7237 (casin_test): Use END_COMPLEX macro without arguments.
7238 (casinh_test): Likewise.
7239 (catan_test): Likewise.
7240 (catanh_test): Likewise.
7241 (cbrt_test): Use END macro without arguments.
7242 (ccos_test): Use END_COMPLEX macro without arguments.
7243 (ccosh_test): Likewise.
7244 (ceil_test): Use END macro without arguments.
7245 (cexp_test): Use END_COMPLEX macro without arguments.
7246 (cimag_test): Use END macro without arguments.
7247 (clog_test): Use END_COMPLEX macro without arguments.
7248 (clog10_test): Likewise.
7249 (conj_test): Likewise.
7250 (copysign_test): Use END macro without arguments.
7251 (cos_test): Likewise.
7252 (cos_test_tonearest): Likewise.
7253 (cos_test_towardzero): Likewise.
7254 (cos_test_downward): Likewise.
7255 (cos_test_upward): Likewise.
7256 (cosh_test): Likewise.
7257 (cosh_test_tonearest): Likewise.
7258 (cosh_test_towardzero): Likewise.
7259 (cosh_test_downward): Likewise.
7260 (cosh_test_upward): Likewise.
7261 (cpow_test): Use END_COMPLEX macro without arguments.
7262 (cproj_test): Likewise.
7263 (creal_test): Use END macro without arguments.
7264 (csin_test): Use END_COMPLEX macro without arguments.
7265 (csinh_test): Likewise.
7266 (csqrt_test): Likewise.
7267 (ctan_test): Likewise.
7268 (ctan_test_tonearest): Likewise.
7269 (ctan_test_towardzero): Likewise.
7270 (ctan_test_downward): Likewise.
7271 (ctan_test_upward): Likewise.
7272 (ctanh_test): Likewise.
7273 (ctanh_test_tonearest): Likewise.
7274 (ctanh_test_towardzero): Likewise.
7275 (ctanh_test_downward): Likewise.
7276 (ctanh_test_upward): Likewise.
7277 (erf_test): Use END macro without arguments.
7278 (erfc_test): Likewise.
7279 (exp_test): Likewise.
7280 (exp_test_tonearest): Likewise.
7281 (exp_test_towardzero): Likewise.
7282 (exp_test_downward): Likewise.
7283 (exp_test_upward): Likewise.
7284 (exp10_test): Likewise.
7285 (exp2_test): Likewise.
7286 (expm1_test): Likewise.
7287 (fabs_test): Likewise.
7288 (fdim_test): Likewise.
7289 (finite_test): Likewise.
7290 (floor_test): Likewise.
7291 (fma_test): Likewise.
7292 (fma_test_towardzero): Likewise.
7293 (fma_test_downward): Likewise.
7294 (fma_test_upward): Likewise.
7295 (fmax_test): Likewise.
7296 (fmin_test): Likewise.
7297 (fmod_test): Likewise.
7298 (fpclassify_test): Likewise.
7299 (frexp_test): Likewise.
7300 (gamma_test): Likewise.
7301 (hypot_test): Likewise.
7302 (ilogb_test): Likewise.
7303 (isfinite_test): Likewise.
7304 (isgreater_test): Likewise.
7305 (isgreaterequal_test): Likewise.
7306 (isinf_test): Likewise.
7307 (isless_test): Likewise.
7308 (islessequal_test): Likewise.
7309 (islessgreater_test): Likewise.
7310 (isnan_test): Likewise.
7311 (isnormal_test): Likewise.
7312 (issignaling_test): Likewise.
7313 (isunordered_test): Likewise.
7314 (j0_test): Likewise.
7315 (j1_test): Likewise.
7316 (jn_test): Likewise.
7317 (ldexp_test): Likewise.
7318 (lgamma_test): Likewise.
7319 (lrint_test): Likewise.
7320 (lrint_test_tonearest): Likewise.
7321 (lrint_test_towardzero): Likewise.
7322 (lrint_test_downward): Likewise.
7323 (lrint_test_upward): Likewise.
7324 (llrint_test): Likewise.
7325 (llrint_test_tonearest): Likewise.
7326 (llrint_test_towardzero): Likewise.
7327 (llrint_test_downward): Likewise.
7328 (llrint_test_upward): Likewise.
7329 (log_test): Likewise.
7330 (log10_test): Likewise.
7331 (log1p_test): Likewise.
7332 (log2_test): Likewise.
7333 (logb_test): Likewise.
7334 (logb_test_downward): Likewise.
7335 (lround_test): Likewise.
7336 (llround_test): Likewise.
7337 (modf_test): Likewise.
7338 (nearbyint_test): Likewise.
7339 (nextafter_test): Likewise.
7340 (nexttoward_test): Likewise.
7341 (pow_test): Likewise.
7342 (pow_test_tonearest): Likewise.
7343 (pow_test_towardzero): Likewise.
7344 (pow_test_downward): Likewise.
7345 (pow_test_upward): Likewise.
7346 (remainder_test): Likewise.
7347 (remainder_test_tonearest): Likewise.
7348 (remainder_test_towardzero): Likewise.
7349 (remainder_test_downward): Likewise.
7350 (remainder_test_upward): Likewise.
7351 (remquo_test): Likewise.
7352 (rint_test): Likewise.
7353 (rint_test_tonearest): Likewise.
7354 (rint_test_towardzero): Likewise.
7355 (rint_test_downward): Likewise.
7356 (rint_test_upward): Likewise.
7357 (round_test): Likewise.
7358 (scalb_test): Likewise.
7359 (scalbn_test): Likewise.
7360 (scalbln_test): Likewise.
7361 (signbit_test): Likewise.
7362 (sin_test): Likewise.
7363 (sin_test_tonearest): Likewise.
7364 (sin_test_towardzero): Likewise.
7365 (sin_test_downward): Likewise.
7366 (sin_test_upward): Likewise.
7367 (sincos_test): Likewise.
7368 (sinh_test): Likewise.
7369 (sinh_test_tonearest): Likewise.
7370 (sinh_test_towardzero): Likewise.
7371 (sinh_test_downward): Likewise.
7372 (sinh_test_upward): Likewise.
7373 (sqrt_test): Likewise.
7374 (tan_test): Likewise.
7375 (tan_test_tonearest): Likewise.
7376 (tan_test_towardzero): Likewise.
7377 (tan_test_downward): Likewise.
7378 (tan_test_upward): Likewise.
7379 (tanh_test): Likewise.
7380 (tgamma_test): Likewise.
7381 (trunc_test): Likewise.
7382 (y0_test): Likewise.
7383 (y1_test): Likewise.
7384 (yn_test): Likewise.
7385 (significand_test): Likewise.
7386
bae143d2
OB
73872013-05-24 Ondřej Bílka <neleai@seznam.cz>
7388
7389 [BZ #15381]
7390 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7391
9323d39b
EM
73922013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7393
d4ea44a0 7394 [BZ #14894]
9323d39b
EM
7395 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7396 __ppc_mdoio and __ppc_mdoom.
7397 * manual/platform.texi: Document new functions __ppc_yield,
7398 __ppc_mdoio and __ppc_mdoom.
7399
13e23af7
CD
74002013-05-22 Carlos O'Donell <carlos@redhat.com>
7401
7402 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7403 (main): Mention "tls" pseudo-hwcap is legacy.
7404 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7405
351fe550
JM
74062013-05-22 Joseph Myers <joseph@codesourcery.com>
7407
7408 * math/gen-libm-test.pl (parse_args): Output only string of
7409 arguments as text for test name, not full call or descriptions of
7410 tests for extra outputs.
7411 (generate_testfile): Do not pass function name to parse_args.
7412 Generate this_func variable from START.
7413 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7414 field to arg_str.
7415 (struct test_ff_f_data): Likewise.
7416 (test_ff_f_data_nexttoward): Likewise.
7417 (struct test_fi_f_data): Likewise.
7418 (struct test_fl_f_data): Likewise.
7419 (struct test_if_f_data): Likewise.
7420 (struct test_fff_f_data): Likewise.
7421 (struct test_c_f_data): Likewise.
7422 (struct test_f_f1_data): Likewise. Remove field extra_name.
7423 (struct test_fF_f1_data): Likewise.
7424 (struct test_ffI_f1_data): Likewise.
7425 (struct test_c_c_data): Rename test_name field to arg_str.
7426 (struct test_cc_c_data): Likewise.
7427 (struct test_f_i_data): Likewise.
7428 (struct test_ff_i_data): Likewise.
7429 (struct test_f_l_data): Likewise.
7430 (struct test_f_L_data): Likewise.
7431 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7432 and extra2_name.
7433 (COMMON_TEST_SETUP): New macro.
7434 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7435 (COMMON_TEST_CLEANUP): Likewise.
7436 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7437 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7438 macros.
7439 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7440 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7441 macros.
7442 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7443 (RUN_TEST_fff_f): Take argument string. Call new setup and
7444 cleanup macros.
7445 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7446 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7447 macros.
7448 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7449 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7450 macros.
7451 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7452 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7453 cleanup macros.
7454 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7455 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7456 cleanup macros.
7457 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7458 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7459 cleanup macros.
7460 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7461 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7462 macros.
7463 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7464 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7465 macros.
7466 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7467 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7468 macros.
7469 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7470 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7471 cleanup macros.
7472 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7473 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7474 cleanup macros.
7475 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7476 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7477 macros.
7478 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7479 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7480 cleanup macros.
7481 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7482 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7483 macros.
7484 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7485 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7486 macros.
7487 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7488 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7489 cleanup macros.
7490 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7491
85118d4d
EBM
74922013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7493
7494 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7495 to _sifields.sigfault.
7496 (si_addr_lsb): Define new macro.
7497 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7498 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7499 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7500
7a44c18f
CD
75012013-05-03 Carlos O'Donell <carlos at redhat.com>
7502
7503 [BZ #15441]
7504 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7505 returns -1.
7506 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7507 null return -1.
7508 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7509 loading the domain.
7510
b50a7181
JM
75112013-05-22 Joseph Myers <joseph@codesourcery.com>
7512
7513 * math/gen-libm-test.pl (parse_args): Do not include expected
7514 result in test name.
7515 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7516 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7517 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7518 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7519 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7521
051063c8
SP
75222013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7523
3ce9e010
SP
7524 * benchtests/Makefile: Sort function entries.
7525
051063c8
SP
7526 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7527 tanh, asinh, acosh, atanh.
7528 * benchtests/acos-inputs: New file.
7529 * benchtests/acosh-inputs: New file.
7530 * benchtests/asin-inputs: New file.
7531 * benchtests/asinh-inputs: New file.
7532 * benchtests/atanh-inputs: New file.
7533 * benchtests/cosh-inputs: New file.
7534 * benchtests/log-inputs: New file.
7535 * benchtests/sinh-inputs: New file.
7536 * benchtests/tanh-inputs: New file.
7537
47c22455
DL
75382013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7539
7540 [BZ #15339]
7541 * posix/tst-getaddrinfo4.c: New test.
7542 * posix/Makefile (tests): Add it.
7543
3d04f5db
SP
75442013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7545
7546 [BZ #15339]
7547 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7548 when no services were used.
7549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7550 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7551
d5dd6189
AS
75522013-05-21 Andreas Schwab <schwab@suse.de>
7553
7554 [BZ #15014]
7555 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7556 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7557 successful.
7558 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7559 redundant variable declarations and reallocation of buffer when
7560 parsing as IPv6 address. Always set NSS status when called from
7561 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7562 buffer too small. Correct computation of needed size.
7563 * nss/Makefile (tests): Add test-digits-dots.
7564 * nss/test-digits-dots.c: New test.
7565
fef94eab
SP
75662013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7567
7568 * benchtests/Makefile: Remove instructions for adding
7569 benchmark tests.
7570 * benchtests/README: New file to explain how to execute and
7571 enhance the benchmark tests.
7572
e39adf43
AS
75732013-05-21 Andreas Schwab <schwab@suse.de>
7574
7575 [BZ #15493]
7576 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7577 * setjmp/tst-sigsetjmp.c: New test.
7578
b2b671b6
OB
75792013-05-20 Ondřej Bílka <neleai@seznam.cz>
7580
7581 * sysdeps/x86_64/memset.S (memset): New implementation.
7582 (__bzero): Likewise.
7583 (__memset_tail): New function.
7584
2d48b41c
OB
75852013-05-20 Ondřej Bílka <neleai@seznam.cz>
7586
7587 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7588 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7589 __memcpy_sse2_unaligned ifunc selection.
7590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7591 Add memcpy-sse2-unaligned.S.
7592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7593 Add: __memcpy_sse2_unaligned.
7594
f16cc3eb
JM
75952013-05-19 Joseph Myers <joseph@codesourcery.com>
7596
3e694268
JM
7597 [BZ #15490]
7598 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7599 math_force_eval before restoring floating-point envrionment.
7600 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7601 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7602 Likewise.
7603 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7604 <math_private.h>.
7605 (__nearbyintl): Use math_force_eval before restoring
7606 floating-point environment.
7607 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7608
db62a907
JM
7609 * math/gen-libm-test.pl (special_functions): Remove.
7610 (parse_args): Don't handle TEST_extra. Handle functions with no
7611 return value.
7612 * math/libm-test.inc (struct test_sincos_data): Replace with
7613 struct test_fFF_11_data.
7614 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7615 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7616 (sincos_test_data): Change element type to struct
7617 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7618 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7619 RUN_TEST_LOOP_sincos.
7620 * math/README.libm-test: Don't mention special handling of
7621 individual functions.
7622 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7623 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7624 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7625 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7626 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7628
f16cc3eb
JM
7629 * math/gen-libm-test.pl (get_variable): Remove function.
7630 (parse_args): Don't show pointer parameters to call in test
7631 names. Use "extra output N" in test names for extra outputs
7632 rather than naming variables.
7633
3779b5b6
JM
76342013-05-18 Joseph Myers <joseph@codesourcery.com>
7635
2ee094ff
JM
7636 [BZ #15488]
7637 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7638 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7639 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7640 double tests.
7641 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7642 disable.
7643 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7644 check_long_double.
7645
3779b5b6
JM
7646 * math/gen-libm-test.pl (@tests): Remove variable.
7647 ($count): Likewise.
7648 (new_test): Remove function.
7649 (show_exceptions): New function.
7650 (special_functions): Use show_exceptions instead of new_test.
7651 (parse_args): Likewise.
7652 (generate_testfile): Pass only function name in generated call to
7653 print_max_error or print_complex_max_error.
7654 (get_ulps): Do not handle complex tests specially.
7655 (output_test): Rename to ...
7656 (get_all_ulps_for_test): ... this. Return a string rather than
7657 printing to a file. Require ulps to be present.
7658 (output_ulps): Generate arrays rather than #defines.
7659 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7660 (struct ulp_data): New type.
7661 (BUILD_COMPLEX_ULP): Remove macro.
7662 (compare_ulp_data): New function.
7663 (find_ulps): Likewise.
7664 (find_test_ulps): Likewise.
7665 (find_function_ulps): Likewise.
7666 (find_complex_function_ulps): Likewise.
7667 (print_max_error): Determine allowed ulps using
7668 find_function_ulps.
7669 (print_complex_max_error): Determine allowed ulps using
7670 find_complex_function_ulps.
7671 (check_float_internal): Determine max ulps using find_test_ulps.
7672 (check_float): Do not take max_ulp parameter. Update call to
7673 check_float_internal.
7674 (check_complex): Likewise.
7675 (check_int): Do not take max_ulp parameter.
7676 (check_long): Likewise.
7677 (check_bool): Likewise.
7678 (check_longlong): Likewise.
7679 (struct test_f_f_data): Remove max_ulp field.
7680 (struct test_ff_f_data): Likewise.
7681 (struct test_ff_f_data_nexttoward): Likewise.
7682 (struct test_fi_f_data): Likewise.
7683 (struct test_fl_f_data): Likewise.
7684 (struct test_if_f_data): Likewise.
7685 (struct test_fff_f_data): Likewise.
7686 (struct test_c_f_data): Likewise.
7687 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7688 (struct test_fF_f1_data): Likewise.
7689 (struct test_ffI_f1_data): Likewise.
7690 (struct test_c_c_data): Remove max_ulp field.
7691 (struct test_cc_c_data): Likewise.
7692 (struct test_f_i_data): Likewise.
7693 (struct test_ff_i_data): Likewise.
7694 (struct test_f_l_data): Likewise.
7695 (struct test_f_L_data): Likewise.
7696 (struct test_sincos_data): Likewise.
7697 (RUN_TEST_f_f): Do not handle ulps.
7698 (RUN_TEST_LOOP_f_f): Likewise.
7699 (RUN_TEST_2_f): Likewise.
7700 (RUN_TEST_LOOP_2_f): Likewise.
7701 (RUN_TEST_fff_f): Likewise.
7702 (RUN_TEST_LOOP_fff_f): Likewise.
7703 (RUN_TEST_c_f): Likewise.
7704 (RUN_TEST_LOOP_c_f): Likewise.
7705 (RUN_TEST_f_f1): Likewise.
7706 (RUN_TEST_LOOP_f_f1): Likewise.
7707 (RUN_TEST_fF_f1): Likewise.
7708 (RUN_TEST_LOOP_fF_f1): Likewise.
7709 (RUN_TEST_fI_f1): Likewise.
7710 (RUN_TEST_LOOP_fI_f1): Likewise.
7711 (RUN_TEST_ffI_f1): Likewise.
7712 (RUN_TEST_LOOP_ffI_f1): Likewise.
7713 (RUN_TEST_c_c): Likewise.
7714 (RUN_TEST_LOOP_c_c): Likewise.
7715 (RUN_TEST_cc_c): Likewise.
7716 (RUN_TEST_LOOP_cc_c): Likewise.
7717 (RUN_TEST_f_i): Likewise.
7718 (RUN_TEST_LOOP_f_i): Likewise.
7719 (RUN_TEST_f_i_tg): Likewise.
7720 (RUN_TEST_LOOP_f_i_tg): Likewise.
7721 (RUN_TEST_ff_i_tg): Likewise.
7722 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7723 (RUN_TEST_f_b): Likewise.
7724 (RUN_TEST_LOOP_f_b): Likewise.
7725 (RUN_TEST_f_b_tg): Likewise.
7726 (RUN_TEST_LOOP_f_b_tg): Likewise.
7727 (RUN_TEST_f_l): Likewise.
7728 (RUN_TEST_LOOP_f_l): Likewise.
7729 (RUN_TEST_f_L): Likewise.
7730 (RUN_TEST_LOOP_f_L): Likewise.
7731 (RUN_TEST_sincos): Likewise.
7732 (RUN_TEST_LOOP_sincos): Likewise.
7733
8269107f
JM
77342013-05-17 Joseph Myers <joseph@codesourcery.com>
7735
bb38759d
JM
7736 [BZ #15480]
7737 [BZ #15485]
7738 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7739 main case of finite arguments, set rounding mode to FE_TONEAREST
7740 and discard exceptions.
7741 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7742 exceptions.
7743 (remainder_tonearest_test_data): New variable.
7744 (remainder_test_tonearest): New function.
7745 (remainder_towardzero_test_data): New variable.
7746 (remainder_test_towardzero): New function.
7747 (remainder_downward_test_data): New variable.
7748 (remainder_test_downward): New function.
7749 (remainder_upward_test_data): New variable.
7750 (remainder_test_upward): New function.
7751 (main): Call the new test functions.
7752
a00bdcf0
JM
7753 * math/libm-test.inc (struct test_f_f1_data): Remove field
7754 extra_init.
7755 (struct test_fF_f1_data): Likewise.
7756 (struct test_ffI_f1_data): Likewise.
7757 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7758 based on value of EXTRA_EXPECTED.
7759 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7760 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7761 EXTRA_VAR based on value of EXTRA_EXPECTED.
7762 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7763 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7764 EXTRA_VAR based on value of EXTRA_EXPECTED.
7765 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7766 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7767 EXTRA_VAR based on value of EXTRA_EXPECTED.
7768 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7769 * math/gen-libm-test.pl (parse_args): Don't output initializers
7770 for extra output values.
7771
de407f79
JM
7772 * math/libm-test.inc (check_int): Expect result to be exactly
7773 equal to expected value and do not handle ulps.
7774 (check_long): Likewise.
7775 (check_longlong): Likewise.
7776
8269107f
JM
7777 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7778 exceptions.
7779 (cimag_test_data): Likewise.
7780 (conj_test_data): Likewise.
7781 (copysign_test_data): Likewise.
7782 (cproj_test_data): Likewise.
7783 (creal_test_data): Likewise.
7784 (fabs_test_data): Likewise.
7785 (fdim_test_data): Likewise.
7786 (finite_test_data): Likewise.
7787 (floor_test_data): Likewise.
7788 (fmax_test_data): Likewise.
7789 (fmin_test_data): Likewise.
7790 (fmod_test_data): Likewise.
7791 (fpclassify_test_data): Likewise.
7792 (frexp_test_data): Likewise.
7793 (ilogb_test_data): Likewise.
7794 (isfinite_test_data): Likewise.
7795 (isgreater_test_data): Likewise.
7796 (isgreaterequal_test_data): Likewise.
7797 (isinf_test_data): Likewise.
7798 (isless_test_data): Likewise.
7799 (islessequal_test_data): Likewise.
7800 (islessgreater_test_data): Likewise.
7801 (isnan_test_data): Likewise.
7802 (isnormal_test_data): Likewise.
7803 (issignaling_test_data): Likewise.
7804 (isunordered_test_data): Likewise.
7805 (ldexp_test_data): Likewise.
7806 (lrint_test_data): Likewise.
7807 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7808 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7809 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7810 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7811 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7812 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7813 test input.
7814 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7815 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7816 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7817 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7818 that test input.
7819 (lrint_downward_test_data): Test for "inexact" exceptions.
7820 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7821 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7822 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7823 test input.
7824 (lrint_upward_test_data): Test for "inexact" exceptions.
7825 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7826 test input.
7827 (llrint_test_data): Test for "inexact" exceptions.
7828 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7829 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7830 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7831 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7832 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7833 (llrint_downward_test_data): Test for "inexact" exceptions.
7834 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7835 (llrint_upward_test_data): Test for "inexact" exceptions.
7836 (logb_test_data): Likewise.
7837 (logb_downward_test_data): Likewise.
7838 (nextafter_test_data): Likewise.
7839 (nexttoward_test_data): Likewise.
7840 (remainder_test_data): Likewise.
7841 (remquo_test_data): Likewise.
7842 (scalbn_test_data): Likewise.
7843 (scalbln_test_data): Likewise.
7844 (signbit_test_data): Likewise.
7845 (sqrt_test_data): Likewise.
7846 (significand_test_data): Likewise.
7847
48a18de1
SP
78482013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7849
7850 [BZ #15424]
7851 * benchtests/bench-modf.c (struct args): Mark arg0 as
7852 volatile.
7853 * scripts/bench.pl: Mark members of struct args as volatile.
7854
13d3b41a
AZ
78552013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7856
68191c1d 7857 [BZ # 15497]
13d3b41a
AZ
7858 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7859 negative infinity on POWER6 or lower.
7860 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7861
2848b105
MR
78622013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7863
7864 [BZ #15442]
7865 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7866 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7867 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7868 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7869 (_FP_SETQNAN): New macro.
7870 (_FP_SETQNAN_SEMIRAW): Likewise.
7871 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7872 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7873 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7874 (FP_EXTEND): Use _FP_FRAC_SNANP.
7875 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7876 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7877 into account.
7878 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7879 New macro.
7880 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7881 Likewise.
7882
323e5cb7
JM
78832013-05-16 Joseph Myers <joseph@codesourcery.com>
7884
c58b274f
JM
7885 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7886 with DIVIDE_BY_ZERO_EXCEPTION.
7887 (gamma_test_data): Likewise.
7888 (lgamma_test_data): Likewise.
7889 (log_test_data): Likewise.
7890 (log10_test_data): Likewise.
7891 (log2_test_data): Likewise.
7892 (tgamma_test_data): Likewise.
7893
0ab34904
JM
7894 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7895 (acos_test_tonearest): Likewise.
7896 (acos_test_towardzero): Likewise.
7897 (acos_test_downward): Likewise.
7898 (acos_test_upward): Likewise.
7899 (acosh_test): Likewise.
7900 (asin_test): Likewise.
7901 (asin_test_tonearest): Likewise.
7902 (asin_test_towardzero): Likewise.
7903 (asin_test_downward): Likewise.
7904 (asin_test_upward): Likewise.
7905 (asinh_test): Likewise.
7906 (atan_test): Likewise.
7907 (atanh_test): Likewise.
7908 (atan2_test): Likewise.
7909 (cabs_test): Likewise.
7910 (cacos_test): Likewise.
7911 (cacosh_test): Likewise.
7912 (casin_test): Likewise.
7913 (casinh_test): Likewise.
7914 (catan_test): Likewise.
7915 (catanh_test): Likewise.
7916 (cbrt_test): Likewise.
7917 (ccos_test): Likewise.
7918 (ccosh_test): Likewise.
7919 (cexp_test): Likewise.
7920 (clog_test): Likewise.
7921 (clog10_test): Likewise.
7922 (cos_test): Likewise.
7923 (cos_test_tonearest): Likewise.
7924 (cos_test_towardzero): Likewise.
7925 (cos_test_downward): Likewise.
7926 (cos_test_upward): Likewise.
7927 (cosh_test): Likewise.
7928 (cosh_test_tonearest): Likewise.
7929 (cosh_test_towardzero): Likewise.
7930 (cosh_test_downward): Likewise.
7931 (cosh_test_upward): Likewise.
7932 (cpow_test): Likewise.
7933 (csin_test): Likewise.
7934 (csinh_test): Likewise.
7935 (csqrt_test): Likewise.
7936 (ctan_test): Likewise.
7937 (ctan_test_tonearest): Likewise.
7938 (ctan_test_towardzero): Likewise.
7939 (ctan_test_downward): Likewise.
7940 (ctan_test_upward): Likewise.
7941 (ctanh_test): Likewise.
7942 (ctanh_test_tonearest): Likewise.
7943 (ctanh_test_towardzero): Likewise.
7944 (ctanh_test_downward): Likewise.
7945 (ctanh_test_upward): Likewise.
7946 (erf_test): Likewise.
7947 (erfc_test): Likewise.
7948 (exp_test): Likewise.
7949 (exp_test_tonearest): Likewise.
7950 (exp_test_towardzero): Likewise.
7951 (exp_test_downward): Likewise.
7952 (exp_test_upward): Likewise.
7953 (exp10_test): Likewise.
7954 (exp2_test): Likewise.
7955 (expm1_test): Likewise.
7956 (fmod_test): Likewise.
7957 (gamma_test): Likewise.
7958 (hypot_test): Likewise.
7959 (j0_test): Likewise.
7960 (j1_test): Likewise.
7961 (jn_test): Likewise.
7962 (lgamma_test): Likewise.
7963 (log_test): Likewise.
7964 (log10_test): Likewise.
7965 (log1p_test): Likewise.
7966 (log2_test): Likewise.
7967 (logb_test_downward): Likewise.
7968 (pow_test): Likewise.
7969 (pow_test_tonearest): Likewise.
7970 (pow_test_towardzero): Likewise.
7971 (pow_test_downward): Likewise.
7972 (pow_test_upward): Likewise.
7973 (remainder_test): Likewise.
7974 (remquo_test): Likewise.
7975 (sin_test): Likewise.
7976 (sin_test_tonearest): Likewise.
7977 (sin_test_towardzero): Likewise.
7978 (sin_test_downward): Likewise.
7979 (sin_test_upward): Likewise.
7980 (sincos_test): Likewise.
7981 (sinh_test): Likewise.
7982 (sinh_test_tonearest): Likewise.
7983 (sinh_test_towardzero): Likewise.
7984 (sinh_test_downward): Likewise.
7985 (sinh_test_upward): Likewise.
7986 (sqrt_test): Likewise.
7987 (tan_test): Likewise.
7988 (tan_test_tonearest): Likewise.
7989 (tan_test_towardzero): Likewise.
7990 (tan_test_downward): Likewise.
7991 (tan_test_upward): Likewise.
7992 (tanh_test): Likewise.
7993 (tgamma_test): Likewise.
7994 (y0_test): Likewise.
7995 (y1_test): Likewise.
7996 (yn_test): Likewise.
7997
323e5cb7
JM
7998 * math/gen-libm-test.pl (adjust_arg): Remove function.
7999 (special_function): Remove argument $in_func. Only handle
8000 generating output for tables of tests, not inside functions.
8001 (parse_args): Likewise.
8002 (generate_testfile): Remove variable $in_func. Update call to
8003 parse_args.
8004 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8005 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8006 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8007 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8008 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8009 (MAX_VALUE_INIT): Rename macro to max_value.
8010 (MIN_VALUE_INIT): Rename macro to min_value.
8011 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8012 (plus_zero): Remove variable.
8013 (minus_zero): Likewise.
8014 (plus_infty): Likewise.
8015 (minus_infty): Likewise.
8016 (qnan_value): Likewise.
8017 (max_value): Likewise.
8018 (min_value): Likewise.
8019 (min_subnorm_value): Likewise.
8020
e054f494
RA
80212013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8022
8023 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8024 uint64_t or uint32_t usage.
8025 * crypt/sha256-block.c: Likewise.
8026 * crypt/sha256-crypt.c: Likewise.
8027 * crypt/sha256.c: Likewise.
8028 * crypt/sha512-block.c: Likewise.
8029 * crypt/sha512-crypt.c: Likewise.
8030 * crypt/sha512.c: Likewise.
8031 * debug/backtrace-tst.c: Likewise.
8032 * debug/pcprofiledump.c: Likewise.
8033 * elf/cache.c: Likewise.
8034 * elf/dl-cache.c: Likewise.
8035 * elf/dl-misc.c: Likewise.
8036 * elf/dl-profile.c: Likewise.
8037 * elf/dl-support.c: Likewise.
8038 * elf/ldconfig.c: Likewise.
8039 * elf/sprof.c: Likewise.
8040 * iconv/dummy-repertoire.c: Likewise.
8041 * iconv/iconv_charmap.c: Likewise.
8042 * iconv/skeleton.c: Likewise.
8043 * iconvdata/8bit-generic.c: Likewise.
8044 * iconvdata/cp737.h: Likewise.
8045 * iconvdata/cp775.h: Likewise.
8046 * iconvdata/ibm1008.h: Likewise.
8047 * iconvdata/ibm1025.h: Likewise.
8048 * iconvdata/ibm1046.h: Likewise.
8049 * iconvdata/ibm1097.h: Likewise.
8050 * iconvdata/ibm1112.h: Likewise.
8051 * iconvdata/ibm1122.h: Likewise.
8052 * iconvdata/ibm1123.h: Likewise.
8053 * iconvdata/ibm1124.h: Likewise.
8054 * iconvdata/ibm1129.h: Likewise.
8055 * iconvdata/ibm1130.h: Likewise.
8056 * iconvdata/ibm1132.h: Likewise.
8057 * iconvdata/ibm1133.h: Likewise.
8058 * iconvdata/ibm1137.h: Likewise.
8059 * iconvdata/ibm1140.h: Likewise.
8060 * iconvdata/ibm1141.h: Likewise.
8061 * iconvdata/ibm1142.h: Likewise.
8062 * iconvdata/ibm1143.h: Likewise.
8063 * iconvdata/ibm1144.h: Likewise.
8064 * iconvdata/ibm1145.h: Likewise.
8065 * iconvdata/ibm1146.h: Likewise.
8066 * iconvdata/ibm1147.h: Likewise.
8067 * iconvdata/ibm1148.h: Likewise.
8068 * iconvdata/ibm1149.h: Likewise.
8069 * iconvdata/ibm1153.h: Likewise.
8070 * iconvdata/ibm1154.h: Likewise.
8071 * iconvdata/ibm1155.h: Likewise.
8072 * iconvdata/ibm1156.h: Likewise.
8073 * iconvdata/ibm1157.h: Likewise.
8074 * iconvdata/ibm1158.h: Likewise.
8075 * iconvdata/ibm1160.h: Likewise.
8076 * iconvdata/ibm1161.h: Likewise.
8077 * iconvdata/ibm1162.h: Likewise.
8078 * iconvdata/ibm1163.h: Likewise.
8079 * iconvdata/ibm1164.h: Likewise.
8080 * iconvdata/ibm1166.h: Likewise.
8081 * iconvdata/ibm1167.h: Likewise.
8082 * iconvdata/ibm12712.h: Likewise.
8083 * iconvdata/ibm1390.h: Likewise.
8084 * iconvdata/ibm1399.h: Likewise.
8085 * iconvdata/ibm16804.h: Likewise.
8086 * iconvdata/ibm4517.h: Likewise.
8087 * iconvdata/ibm4899.h: Likewise.
8088 * iconvdata/ibm4909.h: Likewise.
8089 * iconvdata/ibm4971.h: Likewise.
8090 * iconvdata/ibm5347.h: Likewise.
8091 * iconvdata/ibm803.h: Likewise.
8092 * iconvdata/ibm856.h: Likewise.
8093 * iconvdata/ibm901.h: Likewise.
8094 * iconvdata/ibm902.h: Likewise.
8095 * iconvdata/ibm9030.h: Likewise.
8096 * iconvdata/ibm9066.h: Likewise.
8097 * iconvdata/ibm921.h: Likewise.
8098 * iconvdata/ibm922.h: Likewise.
8099 * iconvdata/ibm9448.h: Likewise.
8100 * iconvdata/isiri-3342.h: Likewise.
8101 * iconvdata/jis0201.h: Likewise.
8102 * include/link.h: Likewise.
8103 * include/netdb.h: Likewise.
8104 * inet/check_native.c: Likewise.
8105 * inet/check_pf.c: Likewise.
8106 * inet/getipv4sourcefilter.c: Likewise.
8107 * inet/getnameinfo.c: Likewise.
8108 * inet/getsourcefilter.c: Likewise.
8109 * inet/htonl.c: Likewise.
8110 * inet/setipv4sourcefilter.c: Likewise.
8111 * inet/setsourcefilter.c: Likewise.
8112 * inet/test-inet6_opt.c: Likewise.
8113 * inet/tst-network.c: Likewise.
8114 * locale/C-collate.c: Likewise.
8115 * locale/C-ctype.c: Likewise.
8116 * locale/C-time.c: Likewise.
8117 * locale/C-translit.h: Likewise.
8118 * locale/loadarchive.c: Likewise.
8119 * locale/programs/3level.h: Likewise.
8120 * locale/programs/charmap.c: Likewise.
8121 * locale/programs/charmap.h: Likewise.
8122 * locale/programs/ld-address.c: Likewise.
8123 * locale/programs/ld-collate.c: Likewise.
8124 * locale/programs/ld-ctype.c: Likewise.
8125 * locale/programs/ld-identification.c: Likewise.
8126 * locale/programs/ld-measurement.c: Likewise.
8127 * locale/programs/ld-messages.c: Likewise.
8128 * locale/programs/ld-monetary.c: Likewise.
8129 * locale/programs/ld-name.c: Likewise.
8130 * locale/programs/ld-numeric.c: Likewise.
8131 * locale/programs/ld-paper.c: Likewise.
8132 * locale/programs/ld-telephone.c: Likewise.
8133 * locale/programs/ld-time.c: Likewise.
8134 * locale/programs/linereader.c: Likewise.
8135 * locale/programs/locale.c: Likewise.
8136 * locale/programs/locarchive.c: Likewise.
8137 * locale/programs/locfile.h: Likewise.
8138 * locale/programs/repertoire.c: Likewise.
8139 * locale/programs/simple-hash.c: Likewise.
8140 * locale/programs/simple-hash.h: Likewise.
8141 * malloc/memusage.c: Likewise.
8142 * malloc/memusagestat.c: Likewise.
8143 * nis/nis_defaults.c: Likewise.
8144 * nis/nis_hash.c: Likewise.
8145 * nis/nis_print.c: Likewise.
8146 * nis/nis_xdr.c: Likewise.
8147 * nscd/connections.c: Likewise.
8148 * nscd/hstcache.c: Likewise.
8149 * nscd/nscd_gethst_r.c: Likewise.
8150 * nscd/nscd_getserv_r.c: Likewise.
8151 * nscd/nscd_helper.c: Likewise.
8152 * nscd/servicescache.c: Likewise.
8153 * nss/makedb.c: Likewise.
8154 * nss/nss_db/db-XXX.c: Likewise.
8155 * nss/nss_db/db-initgroups.c: Likewise.
8156 * nss/nss_db/db-netgrp.c: Likewise.
8157 * nss/nss_files/files-network.c: Likewise.
8158 * nss/nss_files/files-parse.c: Likewise.
8159 * posix/bug-regex5.c: Likewise.
8160 * posix/fnmatch_loop.c: Likewise.
8161 * posix/regcomp.c: Likewise.
8162 * posix/regexec.c: Likewise.
8163 * posix/tst-rfc3484-2.c: Likewise.
8164 * posix/tst-rfc3484-3.c: Likewise.
8165 * posix/tst-rfc3484.c: Likewise.
8166 * resolv/nss_dns/dns-canon.c: Likewise.
8167 * resolv/nss_dns/dns-network.c: Likewise.
8168 * resolv/res_init.c: Likewise.
8169 * resolv/res_mkquery.c: Likewise.
8170 * resolv/tst-aton.c: Likewise.
8171 * stdlib/cxa_atexit.c: Likewise.
8172 * stdlib/cxa_finalize.c: Likewise.
8173 * stdlib/gen-fpioconst.c: Likewise.
8174 * stdlib/strtol_l.c: Likewise.
8175 * string/tst-endian.c: Likewise.
8176 * sunrpc/auth_des.c: Likewise.
8177 * sunrpc/clnt_udp.c: Likewise.
8178 * sunrpc/rtime.c: Likewise.
8179 * sunrpc/svcauth_des.c: Likewise.
8180 * sunrpc/xdr.c: Likewise.
8181 * sunrpc/xdr_intXX_t.c: Likewise.
8182 * sunrpc/xdr_rec.c: Likewise.
8183 * sysdeps/generic/ldconfig.h: Likewise.
8184 * sysdeps/generic/ldsodefs.h: Likewise.
8185 * sysdeps/generic/memusage.h: Likewise.
8186 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8189 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8192 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8193 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8196 * sysdeps/posix/getaddrinfo.c: Likewise.
8197 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8198 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8199 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8200 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8201 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8202 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8203 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8204 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8205 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8206 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8207 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8208 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8209 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8210 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8211 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8212 * sysdeps/x86_64/dl-tls.h: Likewise.
8213 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8214 * time/alt_digit.c: Likewise.
8215 * time/era.c: Likewise.
8216 * wcsmbs/tst-c16c32-1.c: Likewise.
8217
8c75f674
JM
82182013-05-16 Joseph Myers <joseph@codesourcery.com>
8219
8220 * math/libm-test.inc (struct test_sincos_data): New type.
8221 (RUN_TEST_LOOP_sincos): New macro.
8222 (sincos_test_data): New variable.
8223 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8224
e6e49e59
RH
82252013-05-16 Richard Henderson <rth@redhat.com>
8226
8227 * math/atest-exp2.c (LIMB64): New macro.
8228 (CONSTSZ): New macro.
8229 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8230 (hexdig): Move ...
8231 (print_mpn_fp): ... to function scope.
8232 (read_mpn_hex): Remove.
8233 (get_log2): Remove.
8234 (exp2_mpn): Use mp_log2.
8235 (main): Use mp_exp1.
8236
15c7c18d
JM
82372013-05-16 Joseph Myers <joseph@codesourcery.com>
8238
105a07df
JM
8239 * math/libm-test.inc: Remove comment about not testing "inexact"
8240 exceptions.
8241 (INEXACT_EXCEPTION): New macro.
8242 (NO_INEXACT_EXCEPTION): Likewise.
8243 (INVALID_EXCEPTION_OK): Update value.
8244 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8245 (OVERFLOW_EXCEPTION_OK): Likewise.
8246 (UNDERFLOW_EXCEPTION_OK): Likewise.
8247 (IGNORE_ZERO_INF_SIGN): Likewise.
8248 (ERRNO_UNCHANGED): Likewise.
8249 (ERRNO_EDOM): Likewise.
8250 (ERRNO_ERANGE): Likewise.
8251 (test_exceptions): Handle testing "inexact" exceptions.
8252 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8253 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8254 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8255 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8256 INEXACT_EXCEPTION.
8257 (rint_towardzero_test_data): Likewise.
8258 (rint_downward_test_data): Likewise.
8259 (rint_upward_test_data): Likewise.
8260
e9eee333
JM
8261 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8262 with OVERFLOW_EXCEPTION.
8263 (exp10_test_data): Likewise.
8264 (exp2_test_data): Likewise.
8265 (expm1_test_data): Likewise.
8266 (lgamma_test_data): Likewise.
8267 (pow_test_data): Likewise.
8268 (tgamma_test_data): Likewise.
8269 (yn_test_data): Remove duplicate test of overflow.
8270
1c38ff73
JM
8271 * math/libm-test.inc (struct test_cc_c_data): New type.
8272 (RUN_TEST_LOOP_cc_c): New macro.
8273 (cpow_test_data): New variable.
8274 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8275
15c7c18d
JM
8276 * math/libm-test.inc (struct test_f_L_data): New type.
8277 (RUN_TEST_LOOP_f_L): New macro.
8278 (llrint_test_data): New variable.
8279 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8280 (llrint_tonearest_test_data): New variable.
8281 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8282 (llrint_towardzero_test_data): New variable.
8283 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8284 (llrint_downward_test_data): New variable.
8285 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8286 (llrint_upward_test_data): New variable.
8287 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8288 (llround_test_data): New variable.
8289 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8290
f137ff13
PC
82912013-05-13 Peter Collingbourne <pcc@google.com>
8292
8293 * math/atest-exp2.c (get_log2): Remove const attribute.
8294
3608cb24
JM
82952013-05-15 Joseph Myers <joseph@codesourcery.com>
8296
8297 * math/libm-test.inc (struct test_f_l_data): New type.
8298 (RUN_TEST_LOOP_f_l): New macro.
8299 (lrint_test_data): New variable.
8300 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8301 (lrint_tonearest_test_data): New variable.
8302 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8303 (lrint_towardzero_test_data): New variable.
8304 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8305 (lrint_downward_test_data): New variable.
8306 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8307 (lrint_upward_test_data): New variable.
8308 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8309 (lround_test_data): New variable.
8310 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8311
39b1f617
PC
83122013-05-15 Peter Collingbourne <pcc@google.com>
8313
1deff3dc
PC
8314 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8315 (EXTRACT_WORDS64) Use where appropriate.
8316 (INSERT_WORDS64) Likewise.
8317
791f3ba0
PC
8318 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8319 constraints with x constraints.
8320 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8321
39b1f617
PC
8322 * malloc/obstack.c (_obstack_compat): Add initializer.
8323
12fba011
EM
83242013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8325
8326 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8327 si_trapno and add si_addr_lsb to _sifields.sigfault.
8328 (si_trapno): Remove macro.
8329 (si_addr_lsb): Define new macro.
8330 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8331
d369f531
JM
83322013-05-15 Joseph Myers <joseph@codesourcery.com>
8333
b861c6c4
JM
8334 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8335 instead of TEST_f_l.
8336 (llrint_test_tonearest): Likewise.
8337 (llrint_test_towardzero): Likewise.
8338 (llrint_test_downward): Likewise.
8339 (llrint_test_upward): Likewise.
8340 (llround_test): Likewise.
8341
7abeee12
JM
8342 * math/libm-test.inc (struct test_f_i_data): Add comment.
8343 (RUN_TEST_LOOP_f_b): New macro.
8344 (RUN_TEST_LOOP_f_b_tg): Likewise.
8345 (finite_test_data): New variable.
8346 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8347 (isfinite_test_data): New variable.
8348 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8349 (isinf_test_data): New variable.
8350 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8351 (isnan_test_data): New variable.
8352 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8353 (isnormal_test_data): New variable.
8354 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8355 (issignaling_test_data): New variable.
8356 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8357 (signbit_test_data): New variable.
8358 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8359
cbe8c4d3
JM
8360 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8361 with INVALID_EXCEPTION.
8362 (acosh_test_data): Likewise.
8363 (asin_test_data): Likewise.
8364 (atanh_test_data): Likewise.
8365 (fmod_test_data): Likewise.
8366 (log_test_data): Likewise.
8367 (log10_test_data): Likewise.
8368 (log2_test_data): Likewise.
8369 (pow_test_data): Likewise.
8370 (sqrt_test_data): Likewise.
8371 (y0_test_data): Likewise.
8372 (y1_test_data): Likewise.
8373 (yn_test_data): Likewise.
8374
5575c0e5
JM
8375 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8376 function contents.
8377
d369f531
JM
8378 * math/libm-test.inc (struct test_ff_i_data): New type.
8379 (RUN_TEST_LOOP_ff_i_tg): New macro.
8380 (isgreater_test_data): New variable.
8381 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8382 (isgreaterequal_test_data): New variable.
8383 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8384 (isless_test_data): New variable.
8385 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8386 (islessequal_test_data): New variable.
8387 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8388 (islessgreater_test_data): New variable.
8389 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8390 (isunordered_test_data): New variable.
8391 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8392
781fd748
DM
83932013-05-14 David S. Miller <davem@davemloft.net>
8394
8395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8396
87aa21df
JM
83972013-05-14 Joseph Myers <joseph@codesourcery.com>
8398
5e908270
JM
8399 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8400
f71172e5
JM
8401 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8402 extra_test to int.
8403 (struct test_f_i_data): Change type of max_ulp to int.
8404
8cfa635a
JM
8405 * math/libm-test.inc (test_ffI_f1_data): New type.
8406 (RUN_TEST_LOOP_ffI_f1): New macro.
8407 (remquo_test_data): New variable.
8408 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8409
2bcb36b2
JM
8410 * setjmp/tst-setjmp-fp.c: New file.
8411 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8412 (link-libm): New variable.
8413 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8414
acbd839a
JM
8415 * math/libm-test.inc (struct test_f_i_data): New type.
8416 (RUN_TEST_LOOP_f_i): New macro.
8417 (RUN_TEST_LOOP_f_i_tg): Likewise.
8418 (fpclassify_test_data): New variable.
8419 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8420 (ilogb_test_data): New variable.
8421 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8422
e414d745
JM
8423 * math/libm-test.inc (scalbln_test): Correct function name in END
8424 call.
8425
d9c2a0fd
JM
8426 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8427 (RUN_TEST_LOOP_fI_f1): New macro.
8428 (frexp_test_data): New variable.
8429 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8430
9dc9095d
JM
8431 * math/libm-test.inc (struct test_fF_f1_data): New type.
8432 (RUN_TEST_LOOP_fF_f1): New macro.
8433 (modf_test_data): New variable.
8434 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8435
87aa21df
JM
8436 * math/libm-test.inc (struct test_f_f1_data): New type.
8437 (RUN_TEST_LOOP_f_f1): New macro.
8438 (gamma_test_data): New variable.
8439 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8440 (lgamma_test_data): New variable.
8441 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8442
141af660
CD
84432013-05-13 Carlos O'Donell <carlos@redhat.com>
8444
8445 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8446 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8447 (main): Comment "tls" pseudo-hwcap.
8448
6d33265c
JM
84492013-05-13 Joseph Myers <joseph@codesourcery.com>
8450
68fc074c
JM
8451 * math/libm-test.inc (struct test_fl_f_data): New type.
8452 (RUN_TEST_LOOP_fl_f): New variable.
8453 (scalbln_test_data): New variable.
8454 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8455
243216e1
JM
8456 * math/libm-test.inc (struct test_fi_f_data): New type.
8457 (RUN_TEST_LOOP_fi_f): New macro.
8458 (ldexp_test_data): New variable.
8459 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8460 (scalbn_test_data): New variable.
8461 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8462
6a1992e2
JM
8463 * math/libm-test.inc (struct test_c_f_data): New type.
8464 (RUN_TEST_LOOP_c_f): New macro.
8465 (cabs_test_data): New variable.
8466 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8467 (carg_test_data): New variable.
8468 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8469 (cimag_test_data): New variable.
8470 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8471 (creal_test_data): New variable.
8472 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8473
0e400df5
JM
8474 * math/libm-test.inc (struct test_if_f_data): New type.
8475 (RUN_TEST_LOOP_if_f): New macro.
8476 (jn_test_data): New variable.
8477 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8478 (yn_test_data): New variable.
8479 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8480
6d33265c
JM
8481 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8482
f98ece5f
AZ
84832013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8484
8485 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8486 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8487
0f7d347b
SP
84882013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8489
43fe811b
SP
8490 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8491 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8492 (bench-deps): Add bench-timing.h.
8493 * benchtests-bench-skeleton.c: Include bench-timing.h.
8494 (main): Use TIMING_* macros instead of clock_gettime.
8495 * benchtests/bench-timing.h: New file.
8496
0f7d347b
SP
8497 [BZ #14582]
8498 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8499 Renamed from _LIB_VERSION.
8500 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8501
601a3a5f
JM
85022013-05-12 Joseph Myers <joseph@codesourcery.com>
8503
4f184d30
JM
8504 * math/libm-test.inc (struct test_fff_f_data): New type.
8505 (RUN_TEST_LOOP_fff_f): New macro.
8506 (fma_test_data): New variable.
8507 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8508 (fma_towardzero_test_data): New variable.
8509 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8510 (fma_downward_test_data): New variable.
8511 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8512 (fma_upward_test_data): New variable.
8513 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8514
08198877
JM
8515 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8516 (struct test_c_c_data): New type.
8517 (RUN_TEST_LOOP_c_c): New macro.
8518 (cacos_test_data): New variable.
8519 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8520 (cacosh_test_data): New variable.
8521 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8522 (casin_test_data): New variable.
8523 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8524 (casinh_test_data): New variable.
8525 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8526 (catan_test_data): New variable.
8527 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8528 (catanh_test_data): New variable.
8529 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8530 (ccos_test_data): New variable.
8531 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8532 (ccosh_test_data): New variable.
8533 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8534 (cexp_test_data): New variable.
8535 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8536 (clog_test_data): New variable.
8537 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8538 (clog10_test_data): New variable.
8539 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8540 (conj_test_data): New variable.
8541 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8542 (cproj_test_data): New variable.
8543 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8544 (csin_test_data): New variable.
8545 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8546 (csinh_test_data): New variable.
8547 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8548 (csqrt_test_data): New variable.
8549 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8550 (ctan_test_data): New variable.
8551 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8552 (ctan_tonearest_test_data): New variable.
8553 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8554 (ctan_towardzero_test_data): New variable.
8555 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8556 (ctan_downward_test_data): New variable.
8557 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8558 (ctan_upward_test_data): New variable.
8559 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8560 (ctanh_test_data): New variable.
8561 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8562 (ctanh_tonearest_test_data): New variable.
8563 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8564 (ctanh_towardzero_test_data): New variable.
8565 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8566 (ctanh_downward_test_data): New variable.
8567 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8568 (ctanh_upward_test_data): New variable.
8569 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8570 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8571 of BUILD_COMPLEX.
8572
601a3a5f
JM
8573 * math/libm-test.inc (struct test_ff_f_data): New type.
8574 (struct test_ff_f_data_nexttoward): Likewise.
8575 (RUN_TEST_LOOP_2_f): New macro.
8576 (RUN_TEST_LOOP_ff_f): Likewise.
8577 (atan2_test_data): New variable.
8578 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8579 (copysign_test_data): New variable.
8580 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8581 (fdim_test_data): New variable.
8582 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8583 (fmax_test_data): New variable.
8584 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8585 (fmin_test_data): New variable.
8586 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8587 (fmod_test_data): New variable.
8588 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8589 (hypot_test_data): New variable.
8590 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8591 (nextafter_test_data): New variable.
8592 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8593 (nexttoward_test_data): New variable.
8594 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8595 (pow_test_data): New variable.
8596 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8597 (pow_tonearest_test_data): New variable.
8598 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8599 (pow_towardzero_test_data): New variable.
8600 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8601 (pow_downward_test_data): New variable.
8602 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8603 (pow_upward_test_data): New variable.
8604 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8605 (remainder_test_data): New variable.
8606 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8607 (scalb_test_data): New variable.
8608 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8609 * sysdeps/i386/fpu/libm-test-ulps: Update.
8610
74c57478
JM
86112013-05-11 Joseph Myers <joseph@codesourcery.com>
8612
8329e4da
JM
8613 * math/libm-test.inc (fma_test): Use max_value instead of local
8614 variable fltmax.
8615 (nextafter_test): Likewise.
8616
74c57478
JM
8617 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8618 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8619 (acos_downward_test_data): New variable.
8620 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8621 (acos_upward_test_data): New variable.
8622 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8623 (acosh_test_data): New variable.
8624 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8625 (asin_test_data): New variable.
8626 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8627 (asin_tonearest_test_data): New variable.
8628 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8629 (asin_towardzero_test_data): New variable.
8630 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8631 (asin_downward_test_data): New variable.
8632 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8633 (asin_upward_test_data): New variable.
8634 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8635 (asinh_test_data): New variable.
8636 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8637 (atan_test_data): New variable.
8638 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8639 (atanh_test_data): New variable.
8640 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8641 (cbrt_test_data): New variable.
8642 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8643 (ceil_test_data): New variable.
8644 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8645 (cos_test_data): New variable.
8646 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8647 (cos_tonearest_test_data): New variable.
8648 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8649 (cos_towardzero_test_data): New variable.
8650 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8651 (cos_downward_test_data): New variable.
8652 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8653 (cos_upward_test_data): New variable.
8654 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8655 (cosh_test_data): New variable.
8656 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8657 (cosh_tonearest_test_data): New variable.
8658 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8659 (cosh_towardzero_test_data): New variable.
8660 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8661 (cosh_downward_test_data): New variable.
8662 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8663 (cosh_upward_test_data): New variable.
8664 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8665 (erf_test_data): New variable.
8666 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8667 (erfc_test_data): New variable.
8668 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8669 (exp_test_data): New variable.
8670 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8671 (exp_tonearest_test_data): New variable.
8672 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8673 (exp_towardzero_test_data): New variable.
8674 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8675 (exp_downward_test_data): New variable.
8676 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8677 (exp_upward_test_data): New variable.
8678 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8679 (exp10_test_data): New variable.
8680 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8681 (exp2_test_data): New variable.
8682 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8683 (expm1_test_data): New variable.
8684 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8685 (fabs_test_data): New variable.
8686 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8687 (floor_test_data): New variable.
8688 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8689 (j0_test_data): New variable.
8690 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8691 (j1_test_data): New variable.
8692 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8693 (log_test_data): New variable.
8694 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8695 (log10_test_data): New variable.
8696 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8697 (log1p_test_data): New variable.
8698 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8699 (log2_test_data): New variable.
8700 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8701 (logb_test_data): New variable.
8702 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8703 (logb_downward_test_data): New variable.
8704 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8705 (nearbyint_test_data): New variable.
8706 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8707 (rint_test_data): New variable.
8708 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8709 (rint_tonearest_test_data): New variable.
8710 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8711 (rint_towardzero_test_data): New variable.
8712 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8713 (rint_downward_test_data): New variable.
8714 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8715 (rint_upward_test_data): New variable.
8716 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8717 (round_test_data): New variable.
8718 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8719 (sin_test_data): New variable.
8720 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8721 (sin_tonearest_test_data): New variable.
8722 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8723 (sin_towardzero_test_data): New variable.
8724 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8725 (sin_downward_test_data): New variable.
8726 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8727 (sin_upward_test_data): New variable.
8728 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8729 (sinh_test_data): New variable.
8730 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8731 (sinh_tonearest_test_data): New variable.
8732 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8733 (sinh_towardzero_test_data): New variable.
8734 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8735 (sinh_downward_test_data): New variable.
8736 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8737 (sinh_upward_test_data): New variable.
8738 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8739 (sqrt_test_data): New variable.
8740 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8741 (tan_test_data): New variable.
8742 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8743 (tan_tonearest_test_data): New variable.
8744 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8745 (tan_towardzero_test_data): New variable.
8746 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8747 (tan_downward_test_data): New variable.
8748 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8749 (tan_upward_test_data): New variable.
8750 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8751 (tanh_test_data): New variable.
8752 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8753 (tgamma_test_data): New variable.
8754 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8755 (trunc_test_data): New variable.
8756 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8757 (y0_test_data): New variable.
8758 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8759 (y1_test_data): New variable.
8760 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8761 (significand_test_data): New variable.
8762 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8763
7187d844
CG
87642013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8765
8766 [BZ #12387]
8767 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8768
f63fae73
PT
87692013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8770
8771 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8772
8a67a4b3
AJ
87732013-05-10 Andreas Jaeger <aj@suse.de>
8774
8775 [BZ #15448]
8776 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8777 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8778
51df539d
JM
87792013-05-10 Joseph Myers <joseph@codesourcery.com>
8780
8781 * math/gen-libm-test.pl (adjust_arg): New function.
8782 (special_functions): Handle generating output in both functions
8783 and arrays.
8784 (parse_args): Likewise.
8785 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8786 $in_func argument to parse_args.
8787 * math/libm-test.inc (struct test_f_f_data): New type.
8788 (IF_ROUND_INIT_): New macro.
8789 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8790 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8791 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8792 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8793 (ROUND_RESTORE_): Likewise.
8794 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8795 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8796 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8797 (ROUND_RESTORE_FE_UPWARD): Likewise.
8798 (RUN_TEST_LOOP_f_f): New macro.
8799 (acos_test_data): New variable.
8800 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8801 (acos_tonearest_test_data): New variable.
8802 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8803
5c637fe5
SP
88042013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8805
8806 * benchtests/bench-skeleton.c (startup): Fix coding style.
8807
ab2b9461
JM
88082013-05-10 Joseph Myers <joseph@codesourcery.com>
8809
8810 [BZ #6809]
8811 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8812 negative infinity argument.
8813 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8814 negative infinity argument.
8815 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8816 negative infinity argument.
8817 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8818 domain errors.
8819
4c0fe6fe
FW
88202013-05-10 Florian Weimer <fweimer@redhat.com>
8821
8822 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8823 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8824 * iconv/iconv_prog.c (main): Likewise.
8825 * locale/programs/charmap-dir.c (charmap_readdir)
8826 (fopen_uncompressed): Likewise.
8827 * locale/programs/locfile.c (siblings_uncached)
8828 (write_locale_data): Use lstat64 instead of lstat.
8829 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8830 stat.
8831
a3375d29
AJ
88322013-05-10 Andreas Jaeger <aj@suse.de>
8833
8834 [BZ #15395]
8835 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8836 localization.
8837 Include <locale.h>.
8838
36129722
CD
88392013-05-09 Carlos O'Donell <carlos@redhat.com>
8840
8841 * elf/dl-close.c (_dl_close_worker): Add comments.
8842
faa7f811
JM
88432013-05-09 Joseph Myers <joseph@codesourcery.com>
8844
ed41ffef
JM
8845 [BZ #15359]
8846 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8847 high part of pi/2.
8848 (__ieee754_rem_pio2l): Update comments.
8849
d0213cd0
JM
8850 [BZ #15429]
8851 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8852 high part of pi/2.
8853 (__ieee754_rem_pio2l): Update comments.
8854
0d3e777a
JM
8855 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8856 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8857
24f56066
JM
8858 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8859 M_PI_4l.
8860
faa7f811
JM
8861 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8862 (M_PI_34_LOG10El): Likewise.
8863 (M_PI2_LOG10El): Likewise.
8864 (M_PI4_LOG10El): Likewise.
8865 (M_PI_LOG10El): Likewise.
8866
e9a5e0fd
AZ
88672013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8868
8869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8870
d8cd06db
JM
88712013-05-08 Joseph Myers <joseph@codesourcery.com>
8872
a0d9f9d7
JM
8873 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8874 (MINUS_ZERO_INIT): Likewise.
8875 (PLUS_INFTY_INIT): Likewise.
8876 (MINUS_INFTY_INIT): Likewise.
8877 (QNAN_VALUE_INIT): Likewise.
8878 (MAX_VALUE_INIT): Likewise.
8879 (MIN_VALUE_INIT): Likewise.
8880 (MIN_SUBNORM_VALUE_INIT): Likewise.
8881 (plus_zero): Initialize with PLUS_ZERO_INIT.
8882 (minus_zero): Initialize with MINUS_ZERO_INIT.
8883 (plus_infty): Initialize with PLUS_INFTY_INIT.
8884 (minus_infty): Initialize with MINUS_INFTY_INIT.
8885 (qnan_value): Initialize with QNAN_VALUE_INIT.
8886 (max_value): Initialize with MAX_VALUE_INIT.
8887 (min_value): Initialize with MIN_VALUE_INIT.
8888 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8889
ae08db3b
JM
8890 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8891 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8892 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8893 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8894
f44bf14a
JM
8895 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8896 (RUN_TEST_2_f): Likewise.
8897 (RUN_TEST_ff_f): Likewise.
8898 (RUN_TEST_fi_f): Likewise.
8899 (RUN_TEST_fl_f): Likewise.
8900 (RUN_TEST_fff_f): Likewise.
8901 (RUN_TEST_c_f): Likewise.
8902 (RUN_TEST_f_f1): Likewise.
8903 (RUN_TEST_fF_f1): Likewise.
8904 (RUN_TEST_fI_f1): Likewise.
8905 (RUN_TEST_ffI_f1): Likewise.
8906 (RUN_TEST_c_c): Likewise.
8907 (RUN_TEST_cc_c): Likewise.
8908 (RUN_TEST_f_i): Likewise.
8909 (RUN_TEST_f_i_tg): Likewise.
8910 (RUN_TEST_ff_i_tg): Likewise.
8911 (RUN_TEST_f_b): Likewise.
8912 (RUN_TEST_f_b_tg): Likewise.
8913 (RUN_TEST_f_l): Likewise.
8914 (RUN_TEST_f_L): Likewise.
8915 (RUN_TEST_sincos): Likewise.
8916 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8917 whether to show exceptions. Do not include ");\n" in return
8918 value.
8919 (special_functions): Output call to RUN_TEST_sincos instead of
8920 check_float calls. Update calls to new_test.
8921 (parse_args): Output call to single RUN_TEST_* macro instead of
8922 check_* calls and other assignments. Update calls to new_test.
8923
d8cd06db
JM
8924 [BZ #2546]
8925 [BZ #2560]
8926 [BZ #5159]
8927 [BZ #15426]
8928 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8929 input to result for tgamma overflow.
8930 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8931 (gamma_coeff): New variable.
8932 (NCOEFF): New macro.
8933 (gamma_positive): New function.
8934 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8935 underflow here. Use gamma_positive instead of exp (lgamma) for
8936 other arguments.
8937 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8938 (gamma_coeff): New variable.
8939 (NCOEFF): New macro.
8940 (gammaf_positive): New function.
8941 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8942 underflow here. Use gamma_positive instead of exp (lgamma) for
8943 other arguments.
8944 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8945 (gamma_coeff): New variable.
8946 (NCOEFF): New macro.
8947 (gammal_positive): New function.
8948 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8949 underflow here. Use gamma_positive instead of exp (lgamma) for
8950 other arguments.
8951 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8952 (gamma_coeff): New variable.
8953 (NCOEFF): New macro.
8954 (gammal_positive): New function.
8955 (__ieee754_gammal_r): Handle positive infinity, overflow and
8956 underflow here. Handle NaN the same as positive infinity. Remove
8957 check x < 0xffffffff for negative integers. Use gamma_positive
8958 instead of exp (lgamma) for other arguments.
8959 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8960 (gamma_coeff): New variable.
8961 (NCOEFF): New macro.
8962 (gammal_positive): New function.
8963 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8964 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8968 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8969 * sysdeps/generic/math_private.h (__gamma_productf): New
8970 prototype.
8971 (__gamma_product): Likewise.
8972 (__gamma_productl): Likewise.
8973 * math/Makefile (libm-calls): Add gamma_product.
8974 * math/libm-test.inc (tgamma_test): Add more tests.
8975 * sysdeps/i386/fpu/libm-test-ulps: Update.
8976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8977
bb7cf681
OB
89782013-05-08 Ondřej Bílka <neleai@seznam.cz>
8979
8980 * benchtests/bench-skeleton.c (main): Preheat CPU.
8981
ba853947
AJ
89822013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8983
8984 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8985
8347c74c
RM
89862013-05-07 Roland McGrath <roland@hack.frob.com>
8987
8988 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8989 and _dl_skip_args_internal.
8990
e8dd4791
CD
89912013-05-07 Carlos O'Donell <carlos@redhat.com>
8992
8993 * manual/message.texi (Message Translation): Talk about users.
8994 Message to key mapping impacts design.
8995
c7405830
RM
89962013-05-06 Roland McGrath <roland@hack.frob.com>
8997
a9173057
RM
8998 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8999
976e2f03
RM
9000 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9001
9723ffc5
RM
9002 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9003 * sysdeps/wordsize-64/glob64.c: ... here.
9004
962e6658
RM
9005 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9006 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9007 New macros.
9008
ee586a6d
RM
9009 * debug/getlogin_r_chk.c: Moved to ...
9010 * login/getlogin_r_chk.c: ... here.
9011 * debug/Makefile (routines): Move getlogin_r_chk to ...
9012 * login/Makefile (routines): ... here.
9013 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9014 * login/Versions (libc: GLIBC_2.4): ... here.
9015
355f9165
RM
9016 * io/poll.c (__poll): Renamed from poll.
9017 Add libc_hidden_def.
9018 (poll): Define as weak alias.
9019
bd9ffde6
RM
9020 * debug/ptsname_r_chk.c: Moved to ...
9021 * login/ptsname_r_chk.c: ... here.
9022 * debug/Makefile (routines): Move ptsname_r_chk to ...
9023 * login/Makefile (routines): ... here.
9024 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9025 * login/Versions (libc: GLIBC_2.4): ... here.
9026
8fb16a04
RM
9027 * posix/getlogin.c: Moved to ...
9028 * login/getlogin.c: ... here.
9029 * posix/getlogin_r.c: Moved to ...
9030 * login/getlogin_r.c: ... here.
9031 * posix/getlogin_r.c: Moved to ...
9032 * login/getlogin_r.c: ... here.
9033 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9034 * login/Makefile (routines): ... here.
9035 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9036 * login/Versions (libc: GLIBC_2.0): ... here.
9037
b99b892f
RM
9038 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9039 (setrlimit): Define as weak alias.
9040
c7405830
RM
9041 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9042 Call __ names for open, ftruncate, and close.
9043 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9044 (truncate): Define as weak alias.
9045
5bf96de5
JM
90462013-05-06 Joseph Myers <joseph@codesourcery.com>
9047
9ea3513c
JM
9048 * math/gen-libm-test.pl (parse_args): Initialize x before each
9049 test of frexp, modf and remquo.
9050
5bf96de5
JM
9051 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9052 test signgam value.
9053
16e616a7
AZ
90542013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9055
9056 [BZ #15418]
9057 [BZ #15419]
9058 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9059 internal tests.
9060 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9061
d5e82754
RM
90622013-05-06 Roland McGrath <roland@hack.frob.com>
9063
9064 * elf/dl-writev.h: New file.
9065 * elf/dl-misc.c: Include it.
9066 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9067 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9068
a7548d41
JM
90692013-05-04 Joseph Myers <joseph@codesourcery.com>
9070
b7dab1e4
JM
9071 * math/libm-test.inc (noXFails): Remove variable.
9072 (noXPasses): Likewise.
9073 (BUILD_COMPLEX_INT): Remove macro.
9074 (print_screen): Remove xfail argument.
9075 (print_screen_max_error): Likewise.
9076 (update_stats): Likewise.
9077 (print_max_error): Likewise. Update calls to other affected
9078 functions.
9079 (print_complex_max_error): Likewise.
9080 (test_single_exception): Update calls to print_screen.
9081 (test_single_errno): Likewise.
9082 (check_float_internal): Remove xfail argument. Update calls to
9083 other affected functions.
9084 (check_float): Likewise.
9085 (check_complex): Likewise.
9086 (check_int): Likewise.
9087 (check_long): Likewise.
9088 (check_bool): Likewise.
9089 (check_longlong): Likewise.
9090 (main): Don't print noXFails and noXPasses.
9091 * math/gen-libm-test.pl (top level): Don't mention expected
9092 failure handling in comment.
9093 (new_test): Don't handle expected failures.
9094 (parse_args): Don't mention expected failure handling in comment.
9095 (generate_testfile): Don't handle expected failures.
9096 (parse_ulps): Likewise.
9097 (print_ulps_file): Likewise.
9098 (get_failure): Remove function.
9099 (output_test): Don't handle expected failures.
9100 * make/README.libm-test: Don't mention expected failure handling.
9101
a7548d41
JM
9102 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9103 (minus_zero): Likewise.
9104 (plus_infty): Likewise.
9105 (minus_infty): Likewise.
9106 (qnan_value): Likewise.
9107 (max_value): Likewise.
9108 (min_value): Likewise.
9109 (min_subnorm_value): Likewise.
9110 (initialize): Do not initialize those variables dynamically.
9111
60bfd54c
RM
91122013-05-03 Roland McGrath <roland@hack.frob.com>
9113
cc0e6ed8
RM
9114 * io/open.c (__open_2): Moved to ...
9115 * io/open_2.c: ... this new file.
9116 * io/open64.c (__open64_2): Moved to ...
9117 * io/open64_2.c: ... this new file.
9118 * io/openat.c (__openat_2): Moved to ...
9119 * io/openat_2.c: ... this new file.
9120 * io/openat64.c (__openat64_2): Moved to ...
9121 * io/openat64_2.c: ... this new file.
9122 * io/Makefile (routines): Add them.
9123 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9124 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9125 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9126 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9127 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9128 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9129 (__openat64): Add hidden_ver.
9130 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9131 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9132
60bfd54c
RM
9133 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9134 Separately conditionalize setting of GLRO(dl_sysinfo) so
9135 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9136 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9137
83e7640f
AZ
91382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9139
9140 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9141 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9142 definition.
9143 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9144 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9145 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9146 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9147 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9148
d5dc2af3
JM
91492013-05-03 Joseph Myers <joseph@codesourcery.com>
9150
c31a5b1e
JM
9151 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9152 test signgam value.
9153
d5dc2af3
JM
9154 * math/libm-test.inc (hypot_test): Do not use
9155 IGNORE_ZERO_INF_SIGN.
9156
164fd39d
AJ
91572013-05-03 Andreas Jaeger <aj@suse.de>
9158
9159 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9160 Linux 3.9.
9161 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9162 (PF_MAX): Adjust for VSOCK change.
9163
8237f48c
AZ
91642013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9165
9166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9167
9df02941
CD
91682013-05-02 Carlos O'Donell <carlos@redhat.com>
9169
9170 [BZ #15264]
9171 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9172 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9173 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9174
d422395e
DM
91752013-05-02 David S. Miller <davem@davemloft.net>
9176
9177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9178
a07c5731
OB
91792013-05-01 Ondřej Bílka <neleai@seznam.cz>
9180
9181 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9182
1324e37f
RM
91832013-05-01 Roland McGrath <roland@hack.frob.com>
9184
9185 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9186
0695940b
RS
91872013-05-01 Richard Smith <richard@metafoo.co.uk>
9188
bb5f27ad 9189 [BZ #14952]
0695940b
RS
9190 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9191 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9192 Use __attribute__ ((__gnu_inline__)).
9193 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9194 Don't use __attribute__ ((__gnu_inline__)).
9195
10de07f5
JM
91962013-05-01 Joseph Myers <joseph@codesourcery.com>
9197
9198 [BZ #15423]
9199 * math/s_catan.c (__catan): Handle small real or imaginary part of
9200 input specially to avoid spurious underflow.
9201 * math/s_catanf.c (__catanf): Likewise.
9202 * math/s_catanh.c (__catanh): Likewise.
9203 * math/s_catanhf.c (__catanhf): Likewise.
9204 * math/s_catanhl.c (__catanhl): Likewise.
9205 * math/s_catanl.c (__catanl): Likewise.
9206 * math/libm-test.inc (catan_test): Add more tests.
9207 (catanh_test): Likewise.
9208 * sysdeps/i386/fpu/libm-test-ulps: Update.
9209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9210
cb4d5414
AZ
92112013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9212
9213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9214
caf84319
JM
92152013-04-30 Joseph Myers <joseph@codesourcery.com>
9216
9217 [BZ #15416]
9218 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9219 accurately for denominator in atan2.
9220 * math/s_catanf.c (__catanf): Likewise.
9221 * math/s_catanh.c (__catanh): Likewise.
9222 * math/s_catanhf.c (__catanhf): Likewise.
9223 * math/s_catanhl.c (__catanhl): Likewise.
9224 * math/s_catanl.c (__catanl): Likewise.
9225 * math/libm-test.inc (catan_test): Add more tests.
9226 (catanh_test): Likewise.
9227 * sysdeps/i386/fpu/libm-test-ulps: Update.
9228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9229
d569c6ee
SP
92302013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9231
6dbe713d
SP
9232 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9233
f0ee064b
SP
9234 * benchtests/Makefile (bench): Remove slow benchmarks.
9235 * benchtests/atan-inputs: Add slow benchmark inputs.
9236 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9237 (BENCH_FUNC): Accept variant offset.
9238 (VARIANT): Define.
9239 * benchtests/bench-skeleton.c (main): Run benchmark for each
9240 variant.
9241 * benchtests/cos-inputs: Add slow benchmark inputs.
9242 * benchtests/exp-inputs: Likewise.
9243 * benchtests/pow-inputs: Likewise.
9244 * benchtests/sin-inputs: Likewise.
9245 * benchtests/slowatan-inputs: Remove.
9246 * benchtests/slowatan.c: Remove.
9247 * benchtests/slowcos-inputs: Remove.
9248 * benchtests/slowcos.c: Remove.
9249 * benchtests/slowexp-inputs: Remove.
9250 * benchtests/slowexp.c: Remove.
9251 * benchtests/slowpow-inputs: Remove.
9252 * benchtests/slowpow.c: Remove.
9253 * benchtests/slowsin-inputs: Remove.
9254 * benchtests/slowsin.c: Remove.
9255 * benchtests/slowtan-inputs: Remove.
9256 * benchtests/slowtan.c: Remove.
9257 * benchtests/tan-inputs: Add slow benchmark inputs.
9258 * scripts/bench.pl: Parse comments and directives.
9259
d569c6ee
SP
9260 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9261 in CPPFLAGS.
9262 ($(objpfx)bench-%.c): Remove *-ITER.
9263 * benchtests/bench-modf.c: Remove definition of ITER.
9264 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9265 (main): Loop for DURATION seconds instead of fixed number of
9266 iterations.
9267 * scripts/bench.pl: Don't expect iterations in parameters.
9268
a6a242fe
RM
92692013-04-29 Roland McGrath <roland@hack.frob.com>
9270
9271 * io/fchdir.c (__fchdir): Renamed from fchdir.
9272 (fchdir): Define as weak alias.
9273
f2da7793
JM
92742013-04-29 Joseph Myers <joseph@codesourcery.com>
9275
9276 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9277 (ERRNO_EDOM): Likewise.
9278 (ERRNO_ERANGE): Likewise.
9279 (noErrnoTests): New variable.
9280 (init_max_error): Set errno to 0.
9281 (test_single_errno): New function.
9282 (test_errno): Likewise.
9283 (check_float_internal): Call test_errno. Set errno to 0.
9284 (check_complex): Refer to errno tests in comment.
9285 (check_int): Call test_errno. Set errno to 0.
9286 (check_long): Likewise.
9287 (check_bool): Likewise.
9288 (check_longlong): Likewise.
9289 (cos_test): Use ERRNO_* flags for errno tests instead of
9290 check_int.
9291 (expm1_test): Likewise.
9292 (fmod_test): Likewise.
9293 (ilogb_test): Likewise.
9294 (lgamma_test): Likewise.
9295 (pow_test): Likewise.
9296 (remainder_test): Likewise.
9297 (sin_test): Likewise.
9298 (tan_test): Likewise.
9299 (yn_test): Likewise.
9300 (initialize): Set errno to 0.
9301 (main): Print number of errno tests.
9302 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9303
b1a36ceb
AJ
93042013-04-29 Andreas Jaeger <aj@suse.de>
9305
c3ed8088
AJ
9306 [BZ #15084]
9307 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9308 and RES_USEVC.
9309
f1a24198
AJ
9310 [BZ #15085]
9311 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9312 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9313 unimplemented.
9314
9ce3b2cb
AJ
9315 [BZ #15380]
9316 * stdlib/random.c (__initstate): Return NULL if
9317 __initstate fails.
9318
f1a24198 9319 [BZ #15086]
b1a36ceb
AJ
9320 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9321 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9322 RES_SNGLKUPREOP.
9323
7e7b6f36
AZ
93242013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9325
9326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9327
4d14f449
JM
93282013-04-29 Joseph Myers <joseph@codesourcery.com>
9329
9330 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9331 of individual tests.
9332 (casin_test): Likewise.
9333 (casinh_test): Likewise.
9334
5b4217d7
JM
93352013-04-27 Joseph Myers <joseph@codesourcery.com>
9336
9337 [BZ #15409]
9338 * math/s_catan.c (__catan): Handle arguments with large real or
9339 imaginary part separately without squaring.
9340 * math/s_catanf.c (__catanf): Likewise.
9341 * math/s_catanh.c (__catanh): Likewise.
9342 * math/s_catanhf.c (__catanhf): Likewise.
9343 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9344 and redefine.
9345 (__catanhl): Handle arguments with large real or imaginary part
9346 separately without squaring.
9347 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9348 and redefine.
9349 (__catanl): Handle arguments with large real or imaginary part
9350 separately without squaring.
9351 * math/libm-test.inc (catan_test): Add more tests.
9352 (catanh_test): Likewise.
9353 * sysdeps/i386/fpu/libm-test-ulps: Update.
9354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9355
4220c3ef
AJ
93562013-04-27 Andreas Jaeger <aj@suse.de>
9357
9358 [BZ #15007]
9359 * stdlib/stdlib.h: Update guards for qecvt.
9360 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9361 <stdlib.h>.
9362
4721b2d1
AM
93632013-04-27 Allan McRae <allan@archlinux.org>
9364
9365 * sysdeps/i386/fpu/libm-test-ulps: Update.
9366
f0302940
JM
93672013-04-26 Joseph Myers <joseph@codesourcery.com>
9368
9457fd95
JM
9369 [BZ #15406]
9370 * math/s_catan.c: Include <float.h>.
9371 (__catan): Ensure underflow exception occurs for underflowed
9372 result.
9373 * math/s_catanf.c: Include <float.h>.
9374 (__catanf): Ensure underflow exception occurs for underflowed
9375 result.
9376 * math/s_catanh.c: Include <float.h>.
9377 (__catanh): Ensure underflow exception occurs for underflowed
9378 result.
9379 * math/s_catanhf.c: Include <float.h>.
9380 (__catanhf): Ensure underflow exception occurs for underflowed
9381 result.
9382 * math/s_catanhl.c: Include <float.h>.
9383 (__catanhl): Ensure underflow exception occurs for underflowed
9384 result.
9385 * math/s_catanl.c: Include <float.h>.
9386 (__catanl): Ensure underflow exception occurs for underflowed
9387 result.
9388 * math/libm-test.inc (catan_test): Add more tests.
9389 (catanh_test): Likewise.
9390
f0302940
JM
9391 [BZ #15405]
9392 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9393 underflowed result.
9394 * math/s_ccoshf.c (__ccoshf): Likewise.
9395 * math/s_ccoshl.c (__ccoshl): Likewise.
9396 * math/s_csin.c (__csin): Likewise.
9397 * math/s_csinf.c (__csinf): Likewise.
9398 * math/s_csinh.c (__csinh): Likewise.
9399 * math/s_csinhf.c (__csinhf): Likewise.
9400 * math/s_csinhl.c (__csinhl): Likewise.
9401 * math/s_csinl.c (__csinl): Likewise.
9402 * math/libm-test.inc (ccos_test): Add more tests.
9403 (ccosh_test): Likewise.
9404 (csin_test): Likewise.
9405 (csinh_test): Likewise.
9406
aa630f59
AZ
94072013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9408
9409 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9410 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9411 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9412 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9413 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9414 powerpc/power5+/fpu folders.
9415 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9416
9417
1b835983
MT
94182013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9419
9420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9421
73709b26
JM
94222013-04-25 Joseph Myers <joseph@codesourcery.com>
9423
9424 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9425 additions to variable.
9426 [$(config-machine) = x86_64] (modules-names): Likewise.
9427 ($(objpfx)tst-audit3): Remove dependency.
9428 ($(objpfx)tst-audit3.out): Likewise.
9429 ($(objpfx)tst-audit4): Likewise.
9430 ($(objpfx)tst-audit4.out): Likewise.
9431 ($(objpfx)tst-audit5): Likewise.
9432 ($(objpfx)tst-audit5.out): Likewise.
9433 ($(objpfx)tst-audit6): Likewise.
9434 ($(objpfx)tst-audit6.out): Likewise.
9435 ($(objpfx)tst-audit7): Likewise.
9436 ($(objpfx)tst-audit7.out): Likewise.
9437 (tst-audit3-ENV): Remove variable.
9438 (tst-audit4-ENV): Likewise.
9439 (tst-audit5-ENV): Likewise.
9440 (tst-audit6-ENV): Likewise.
9441 (tst-audit7-ENV): Likewise.
9442 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9443 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9444 addition to variable.
9445 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9446 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9447 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9448 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9449 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9450 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9451 tst-audit3, tst-audit4 and tst-audit5.
9452 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9453 tst-audit6 and tst-audit7.
9454 [$(subdir) = elf] (modules-names): Add audit modules for those
9455 tests.
9456 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9457 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9458 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9459 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9460 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9461 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9462 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9463 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9464 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9465 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9466 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9467 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9468 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9469 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9470 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9471 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9472 Likewise.
9473 [$(subdir) = elf && $(config-cflags-avx) = yes]
9474 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9475 [$(subdir) = elf && $(config-cflags-avx) = yes]
9476 (CFLAGS-tst-auditmod4a.c): Likewise.
9477 [$(subdir) = elf && $(config-cflags-avx) = yes]
9478 (CFLAGS-tst-auditmod4b.c): Likewise.
9479 [$(subdir) = elf && $(config-cflags-avx) = yes]
9480 (CFLAGS-tst-auditmod6b.c): Likewise.
9481 [$(subdir) = elf && $(config-cflags-avx) = yes]
9482 (CFLAGS-tst-auditmod6c.c): Likewise.
9483 [$(subdir) = elf && $(config-cflags-avx) = yes]
9484 (CFLAGS-tst-auditmod7b.c): Likewise.
9485 * elf/tst-audit3.c: Move to ...
9486 * sysdeps/x86_64/tst-audit3.c: ... here.
9487 * elf/tst-audit4.c: Move to ...
9488 * sysdeps/x86_64/tst-audit4.c: ... here.
9489 * elf/tst-audit5.c: Move to ...
9490 * sysdeps/x86_64/tst-audit5.c: ... here.
9491 * elf/tst-audit6.c: Move to ...
9492 * sysdeps/x86_64/tst-audit6.c: ... here.
9493 * elf/tst-audit7.c: Move to ...
9494 * sysdeps/x86_64/tst-audit7.c: ... here.
9495 * elf/tst-auditmod3a.c: Move to ...
9496 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9497 * elf/tst-auditmod3b.c: Move to ...
9498 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9499 * elf/tst-auditmod4a.c: Move to ...
9500 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9501 * elf/tst-auditmod4b.c: Move to ...
9502 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9503 * elf/tst-auditmod5a.c: Move to ...
9504 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9505 * elf/tst-auditmod5b.c: Move to ...
9506 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9507 * elf/tst-auditmod6a.c: Move to ...
9508 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9509 * elf/tst-auditmod6b.c: Move to ...
9510 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9511 * elf/tst-auditmod6c.c: Move to ...
9512 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9513 * elf/tst-auditmod7a.c: Move to ...
9514 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9515 * elf/tst-auditmod7b.c: Move to ...
9516 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9517
1ef74943
PP
95182013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9519
9520 [BZ #15366]
9521 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9522 define unconditionally.
9523 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9524 define unconditionally.
9525 (INT8_C, INT16_C, etc.): Likewise.
9526
93fd48c5
MR
95272013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9528
ae9552cf
MR
9529 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9530 __ehdr_start with hidden visibility.
9531
93fd48c5
MR
9532 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9533
418601aa
CD
95342013-04-24 Carlos O'Donell <carlos@redhat.com>
9535
9536 * math/libm-test.inc (cos_test): Use accurate hex constants.
9537 (sincost_test): Likewise.
9538
2f38fbfe
JM
95392013-04-24 Joseph Myers <joseph@codesourcery.com>
9540
5e221800
JM
9541 * math/libm-test.inc (catan_test): Add more tests.
9542 (catanh_test): Likewise.
9543
77f143fd
JM
9544 * math/s_catanf.c (__catanf): Use suffixed floating-point
9545 constants.
9546 * math/s_catanhf.c (__catanhf): Likewise.
9547 * math/s_catanhl.c (__catanhl): Likewise.
9548 * math/s_catanl.c (__catanl): Likewise.
9549
2f38fbfe
JM
9550 [BZ #15394]
9551 * math/s_catan.c (__catan): Calculate imaginary part of result
9552 with log1p not log unless computing log of number close to 0.
9553 * math/s_catanf.c (__catanf): Likewise.
9554 * math/s_catanl.c (__catanl): Likewise.
9555 * math/s_catanh.c (__catanh): Calculate real part of result with
9556 log1p not log unless computing log of number close to 0.
9557 * math/s_catanhf.c (__catanhf): Likewise.
9558 * math/s_catanhl.c (__catanhl): Likewise.
9559 * math/libm-test.inc (catan_test): Add more tests.
9560 (catanh_test): Likewise.
9561 * sysdeps/i386/fpu/libm-test-ulps: Update.
9562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9563
45d69176
SP
95642013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9565
9566 * benchtests/Makefile: Mention files in which fast and slow
9567 paths of math functions are implemented.
9568
87f51853
RM
95692013-04-23 Roland McGrath <roland@hack.frob.com>
9570
9571 * sysdeps/posix/timespec_get.c: New file.
9572
3c026539
AZ
95732013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9574
9575 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9576 POWER.
9577 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9578 for POWER.
9579 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9580 powerpc/power5/fpu folders.
9581 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9582 * benchtests/Makefile: Add modf testcase.
9583 * benchtests/bench-modf.c: New file: Benchmark test for mo
9584
ff491d14
SP
95852013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9586
9587 [BZ #14888]
9588 * time/Makefile (tests): Add tst-strptime-whitespace.
9589 * time/strptime_l.c (get_number): Use ISSPACE.
9590 (__strptime_internal): Likewise.
9591 * time/tst-strptime-whitespace.c: New test case.
9592
7ed3f4e8
AS
95932013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9594
9595 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9596 member.
9597 (_nss_files_init): Set it here.
9598
5c95f7b6
HC
95992013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9600
9601 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9602 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9603 unsigned.
9604
d34c9158
JBG
96052013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9606
9607 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9608
2169712d
SP
96092013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9610
9611 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9612 size just once.
9613
29c5de99
DM
96142013-04-21 David S. Miller <davem@davemloft.net>
9615
9616 * po/ru.po: Update Russion translation from translation project.
9617
ccdad15d
AC
96182013-04-17 Adam Conrad <adconrad@0c3.net>
9619
9620 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9621 and setfsgid.
9622
0f122b8d
CD
96232013-04-17 Carlos O'Donell <carlos@redhat.com>
9624
5c5b07da 9625 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9626 * configure: Regenerate.
5c5b07da 9627 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9628 Add example to error message.
9629 * sysdeps/i386/configure: Regenerate.
9630
037714dd
SP
96312013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9632
9633 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9634 slowtan.
9635 * benchtests/cos-inputs: New file.
9636 * benchtests/slowcos-inputs: New file.
9637 * benchtests/slowcos.c: New file.
9638 * benchtests/slowtan-inputs: New file.
9639 * benchtests/slowtan.c: New file.
9640 * benchtests/tan-inputs: New file.
9641
e913141d
RM
96422013-04-16 Roland McGrath <roland@hack.frob.com>
9643
9644 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9645 considered kosher.
9646
a2964074
SP
96472013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9648
4856bcd2
SP
9649 * benchtests/Makefile: Include cppflags-iterator.mk to add
9650 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9651
a2964074
SP
9652 * Makefile.in (bench-clean): New target.
9653 * benchtests/Makefile (bench-clean): Likewise.
9654
9fbf9aca
DH
96552013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9656
9657 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9658
207d1e2a
TS
96592013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9660
9661 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9662
306dfba9
AS
96632013-04-15 Andreas Schwab <schwab@suse.de>
9664
9665 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9667 * nscd/pwdcache.c (cache_addpw): Likewise.
9668 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9669 more than recsize.
9670
206a6699
SP
96712013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9672
9673 * benchtests/Makefile (bench): Write all output to
9674 bench-out.tmp together.
9675
0582f6b3
AS
96762013-04-15 Andreas Schwab <schwab@suse.de>
9677
9678 * nscd/nscd.c (main): Don't fork again after closing files.
9679
acb4325f
SP
96802013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9681
5cb26d0a
SP
9682 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9683
acb4325f
SP
9684 * benchtests/Rules (bench-deps): Collect dependencies into a
9685 single variable. Add Makefile to dependencies.
9686 ($(objpfx)bench-%.c): Depend on bench-deps.
9687
47792506
RM
96882013-04-12 Roland McGrath <roland@hack.frob.com>
9689 Xavier Roche <roche+kml2@exalead.com>
9690
9691 [BZ #15361]
9692 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9693 just that it's a file descriptor.
9694 * manual/llio.texi (Synchronizing AIO Operations): Update description
9695 for EBADF error from aio_fsync.
9696
8fc1bee5
SP
96972013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9698
9699 * Rules (bench): Move target definition...
9700 * benchtests/Makefile: ... here.
9701
aba5e333
CD
97022013-04-11 Carlos O'Donell <carlos@redhat.com>
9703
9704 * math/libm-test.inc (cos_test): Fix PI/2 test.
9705 (sincos_test): Likewise.
9706 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9707 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9708
273cdee8
AS
97092013-04-11 Andreas Schwab <schwab@suse.de>
9710
6ecec3b6
AS
9711 [BZ #13988]
9712 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9713 accept exponent character only when digits were seen.
9714 * stdio-common/Makefile (tests): Add bug26.
9715 * stdio-common/bug26.c: New file.
9716
273cdee8
AS
9717 [BZ #14293]
9718 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9719 non-freeable.
9720
8da491f5
SP
97212013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9722
01dc6df9
SP
9723 * Makeconfig (rtld-prefix): Define built linker prefix.
9724 * Rules (run-bench): Use it.
9725 * math/Makefile (run-regen-ulps): Likewise.
9726
8da491f5
SP
9727 * Rules (bench): Remove eval.
9728
abe7f530
SP
97292013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9730 Roland McGrath <roland@hack.frob.com>
9731 Ondrej Bilka <neleai@seznam.cz>
9732
9733 [BZ #15346]
9734 * time/getdate.c: Include ctype.h and alloca.h.
9735 (__getdate_r): Trim leading and trailing spaces of input.
9736 * time/tst-getdate.c (tests): Add tests with leading and
9737 trailing spaces.
9738
61c23e62
RM
97392013-04-08 Roland McGrath <roland@hack.frob.com>
9740
9741 [BZ #14280]
9742 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9743 when computing value.
9744
7208a313
CD
97452013-04-06 Carlos O'Donell <carlos@redhat.com>
9746
085b2d41
CD
9747 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9748 Use testrun.sh to run libm tests.
9749
7208a313
CD
9750 [BZ #15309]
9751 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9752
872c0acd
MM
97532013-04-06 Marko Myllynen <myllynen@redhat.com>
9754
9755 [BZ #15264]
9756 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9757
26510bdd
CD
97582013-04-06 Carlos O'Donell <carlos@redhat.com>
9759
9760 * Makefile.in (regen-ulps): New target.
9761 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9762 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9763 [ifneq (no,$(PERL)] (regen-ulps): New target.
9764 [ifeq (no,$(PERL)] (regen-ulps): New target.
9765 * math/libm-test.inc (ulps_file_name): Define.
9766 (output_dir): New variable.
9767 (options): Add "output-dir" option.
9768 (parse_opt): Handle 'o' case.
9769 (main): If output_dir is non-NULL use it as a prefix
9770 otherwise use "".
9771 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9772
a01f19c8
CD
97732013-04-06 Carlos O'Donell <carlos@redhat.com>
9774
9775 [BZ #10060, #10062]
9776 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9777 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9778 fail configure if __sync_val_compare_and_swap is not inlined.
9779 * sysdeps/i386/configure: Regenerate.
9780 * configure.in: Build for i686 when configured for i386.
9781 * configure: Regenerate.
9782 * README: Remove i386 reference.
9783
b7a329a5
CD
97842013-04-06 Carlos O'Donell <carlos@redhat.com>
9785
9786 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9788
bf0f50df
TS
97892013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9790
ee091edf
TS
9791 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9792 (lmsnanval): New variables.
9793 (F): Add conversion tests.
9794 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9795 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9796
a8b792d6
TS
9797 * stdio-common/tstdiomisc.c (F): Properly collect individual
9798 tests' results.
9799
a1cbf437
TS
9800 [BZ #14686, #15336]
9801 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9802 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9803 Instead, use input NaN values or generate a qNaN by arithmetic
9804 operation. Also fix bugs to comply with the standard.
9805 * math/libm-test.inc (remainder_test): Add more tests.
9806
8b43a0c9
TS
9807 [BZ #15335, #15342]
9808 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9809 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9810 input NaN values or generate a qNaN by arithmetic operation.
9811
d91da4ce
TS
9812 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9813 unreachable code.
9814
bf0f50df
TS
9815 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9816 definitions.
9817
05e166c8
JM
98182013-04-03 Joseph Myers <joseph@codesourcery.com>
9819
9820 [BZ #14478]
9821 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9822 underflowed result.
9823 * math/s_cexpf.c (__cexpf): Likewise.
9824 * math/s_cexpl.c (__cexpl): Likewise.
9825 * math/libm-test.inc (cexp_test): Add more tests.
9826
1cef1b19
AS
98272013-04-03 Andreas Schwab <schwab@suse.de>
9828
9829 [BZ #15330]
9830 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9831 order arrays from heap if bigger than alloca cutoff.
9832
74d87055
TS
98332013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9834
9835 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9836 (SNAN_TESTS_double): Refer to GCC PR56831.
9837 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9838 GCC PR56828.
9839
d755bba4
SP
98402013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9841
90d5d5bb
SP
9842 * Rules (bench): Move bench.out after the run is complete.
9843
73e0cd5d
SP
9844 * Rules (bench): Echo currently running benchmark.
9845
64aabd4b
SP
9846 * benchtests/Makefile (bench): Add atan and slowatan.
9847 * benchtests/atan-inputs: New file.
9848 * benchtests/slowatan-inputs: New file.
9849 * benchtests/slowatan.c: New file.
9850
c871eccd
SP
9851 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9852 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9853 its value.
9854
d755bba4
SP
9855 [BZ #15305]
9856 * sysdeps/unix/sysv/linux/kernel-features.h
9857 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9858 __ASSUME_XFS_RESTRICTED_CHOWN.
9859 * sysdeps/unix/sysv/linux/pathconf.c
9860 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9861 Save and restore errno.
9862
52ce4860
JM
98632013-04-02 Joseph Myers <joseph@codesourcery.com>
9864
9865 [BZ #15327]
9866 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9867 arguments using __kernel_casinh.
9868 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9869 arguments using __kernel_casinhf.
9870 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9871 arguments using __kernel_casinhl.
9872 * math/libm-test.inc (cacosh_test): Add more tests.
9873 * sysdeps/i386/fpu/libm-test-ulps: Update.
9874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9875
81f311c2
SP
98762013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9877
e7906a47
SP
9878 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9879 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9880
92e3664b
SP
9881 * bench/Makefile (bench): Add sin and slowsin.
9882 * benchtests/sin-inputs: New file.
9883 * benchtests/slowsin-inputs: New file.
9884 * benchtests/slowsin.c: New file.
9885
81f311c2
SP
9886 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9887 (bench): Add slowexp and slowpow.
9888 (exp-ITER): Increase iterations.
9889 (pow-ITER): Likewise.
9890 * benchtests/exp-inputs: Change input.
9891 * benchtests/pow-inputs: Likewise.
9892 * benchtests/slowexp-inputs: New file.
9893 * benchtests/slowexp.c: New file.
9894 * benchtests/slowpow-inputs: New file.
9895 * benchtests/slowpow.c: New file.
9896
ab0f1aa9
AZ
98972013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9898
9899 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9900 instructions.
9901 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9902 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9903 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9904 * benchtests/Makefile: Add rint benchtest.
9905 * benchtests/rint-inputs: Input for rint benchtest.
9906
57267616
TS
99072013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9908
9909 * Versions.def (libm): Add GLIBC_2.18.
9910 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9911 hidden libm prototypes.
9912 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9913 * math/Makefile (libm-calls): Add s_issignaling.
9914 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9915 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9916 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9917 declaration.
9918 * math/math.h [__USE_GNU] (issignaling): New macro.
9919 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9920 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9922 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9925 * manual/arith.texi (issignaling): New section.
9926 * manual/libm-err-tab.pl (@all_functions): Update comment.
9927 * math/gen-libm-test.pl (parse_args): Apply special handling for
9928 issignaling.
9929 * math/libm-test.inc (print_float, issignaling_test): New
9930 functions.
9931 (check_float_internal): Add issignaling checks.
9932 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9933 default definition.
9934 * sysdeps/powerpc/math-tests.h: New file.
9935 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9936 tests.
9937 * math/test-snan.c (TEST_FUNC): Likewise.
9938
6142896d
DM
99392013-03-30 David S. Miller <davem@davemloft.net>
9940
9941 * po/de.po: Update from translation team.
9942
ccc8cadf
JM
99432013-03-30 Joseph Myers <joseph@codesourcery.com>
9944
9945 [BZ #10357]
9946 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9947 imaginary part less than 1.0 and real part less than 0.5
9948 specially.
9949 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9950 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9951 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9952 (cacos_test): Add more tests.
9953 (casin_test): Likewise.
9954 (casinh_test): Likewise.
9955 * sysdeps/i386/fpu/libm-test-ulps: Update.
9956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9957
0f6a8d4b
SP
99582013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9959
0d1029de
SP
9960 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9961 ONE with its value.
9962
c2d94018
SP
9963 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9964 (__pow_mp): Replace ONE and MONE with their values.
9965 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9966 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9967 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9968 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9969 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9970 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9971
27ec37f1
SP
9972 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9973
a64d7e0e
SP
9974 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9975 (__pow_mp): Replace ZERO and MZERO with their values.
9976 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9977 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9978 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9980 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9981 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9982 (__sqr): Likewise.
9983
d26dd3eb
SP
9984 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9985
0f6a8d4b
SP
9986 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9987
e57b0c61
RM
99882013-03-28 Roland McGrath <roland@hack.frob.com>
9989
9990 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9991 Declare with __attribute__ ((weak)).
9992 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9993 Call __call_tls_dtors only if it's not NULL.
9994
356b3480
RM
99952013-03-28 Roland McGrath <roland@hack.frob.com>
9996
288f7d79
RM
9997 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9998 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9999 magic __ehdr_start linker symbol if it's defined.
10000 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10001 them up here if it was already done.
10002
dc0a0263
RM
10003 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10004 (_dl_aux_init): Use const in cast when setting it.
10005 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10006 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10007 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10008
3d3436ae
RM
10009 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10010 Declare them here.
10011 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10012 * csu/libc-tls.c: Nor here.
10013 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10014
356b3480
RM
10015 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10016 (__libc_message): Never call vsyslog.
10017
b0f1246a
AM
100182013-03-28 Alan Modra <amodra@gmail.com>
10019
10020 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10021 Define as empty.
10022 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10023 Likewise.
10024
fbbe2b9a
AZ
100252013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10026
10027 [BZ #15214]
10028 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10029 underflow.
10030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10031
1728ab37
SP
100322013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10033
7a86be6e
SP
10034 [BZ #15304]
10035 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10036 Don't add gid passed as argument.
10037
1728ab37
SP
10038 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10039
3a7182a1
JM
100402013-03-27 Joseph Myers <joseph@codesourcery.com>
10041
10042 [BZ #15307]
10043 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10044 imaginary part between 1.0 and 1.5 and real part less than 0.5
10045 specially.
10046 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10047 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10048 * math/libm-test.inc (cacos_test): Add more tests.
10049 (casin_test): Likewise.
10050 (casinh_test): Likewise.
10051 * sysdeps/i386/fpu/libm-test-ulps: Update.
10052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10053
6f2e90e7
SP
100542013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10055
5739f705
SP
10056 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10057 constants.
10058 (norm): Likewise.
10059 (denorm): Likewise.
10060 (__dbl_mp): Likewise.
10061 (add_magnitudes): Likewise.
10062 (sub_magnitudes): Likewise.
10063 (__add): Likewise.
10064 (__sub): Likewise.
10065 (__mul): Likewise.
10066 (__sqr): Likewise.
10067 (__inv): Likewise.
10068 (__dvd): Likewise.
10069
e375e83d
SP
10070 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10071 commented code.
10072 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10073 (__dubcos): Likewise.
10074 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10075 (__ieee754_acos): Likewise.
10076 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10077 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10078 (__exp1): Likewise.
10079 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10081 (log1): Likewise.
10082 (my_log2): Likewise.
10083 (checkint): Likewise.
10084 * sysdeps/ieee754/dbl-64/e_remainder.c
10085 (__ieee754_remainder): Likewise.
10086 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10087 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10088 (bsloww): Likewise.
10089 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10090
6f2e90e7
SP
10091 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10092 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10093 MANTISSA_STORE_T to store computations on mantissa. Use
10094 macros for rounding and division.
10095 (denorm): Likewise.
10096 (__dbl_mp): Likewise.
10097 (add_magnitudes): Likewise.
10098 (sub_magnitudes): Likewise.
10099 (__mul): Likewise.
10100 (__sqr): Likewise.
10101 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10102 powers of two in terms of TWOPOW macro.
10103 (mp_no): Make type of mantissa as MANTISSA_T.
10104 [!RADIXI]: Define RADIXI.
10105 [!TWO52]: Define TWO52.
10106 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10107
fce14d4e
AZ
101082013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10109
10110 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10111 llroundl symbol when building for PPC32.
10112
9ad027fb
MW
101132013-03-24 Mark H Weaver <mhw@netris.org>
10114
10115 * manual/arith.texi (Normalization Functions): Fix prototypes for
10116 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10117
e42a38dd
AZ
101182013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10119
10120 [BZ #13889]
10121 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10122 high value to check if expl overflow.
10123 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10124 to check for underflow and overflow.
10125 * math/libm-test.inc: Add exp test.
10126
2e0fb521
DL
101272013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10128
10129 [BZ #11120]
10130 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10131 with NOT_IN_libc.
10132
b5784d95
AZ
101332013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10134
10135 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10136 symbol.
10137
5aa4a1a1
TS
101382013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10139
bdef0be7
TS
10140 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10141 wrap blocks consisting of several statements.
10142
5aa4a1a1
TS
10143 * sysdeps/generic/math-tests.h: New file.
10144 * sysdeps/i386/fpu/math-tests.h: Likewise.
10145 * math/test-snan.c: Include it.
10146 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10147
98c48fe5
JM
101482013-03-21 Joseph Myers <joseph@codesourcery.com>
10149
10150 [BZ #15285]
10151 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10152 (__ieee754_j0l): Do not improve calculations using cos of twice
10153 input for inputs above LDBL_MAX / 2.0L.
10154 (__ieee754_y0l): Likewise.
10155 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10156 (__ieee754_j1l): Do not improve calculations using cos of twice
10157 input for inputs above LDBL_MAX / 2.0L.
10158 (__ieee754_y1l): Likewise.
10159 * math/libm-test.inc (j0_test): Add another test.
10160 (j1_test): Likewise.
10161 (y0_test): Likewise.
10162 (y1_test): Likewise.
10163 * sysdeps/i386/fpu/libm-test-ulps: Update.
10164
3775a8bc
SP
101652013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10166
10167 * Rules ($(objpfx)bench-%.c): Include code from a C source
10168 file.
10169
0a1b2ae6
JM
101702013-03-21 Joseph Myers <joseph@codesourcery.com>
10171
10172 [BZ #15287]
10173 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10174 imaginary part 1.0 and real part less than 0.5 specially.
10175 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10176 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10177 * math/libm-test.inc (cacos_test): Add more tests.
10178 (casin_test): Likewise.
10179 (casinh_test): Likewise.
10180 * sysdeps/i386/fpu/libm-test-ulps: Update.
10181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10182
b33d4ce4
SP
101832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10184
10185 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10186 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10187
bef0b507
JM
101882013-03-20 Joseph Myers <joseph@codesourcery.com>
10189
10190 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10191 * config.make.in (config-cflags-sse4): Remove variable.
10192 (config-cflags-avx): Likewise.
10193 (config-cflags-sse2avx): Likewise.
10194 (config-cflags-novzeroupper): Likewise.
10195 (config-asflags-i686): Likewise.
10196 (have-mfma4): Likewise.
10197 (have-as-vis3): Likewise.
10198 (MIG): Likewise.
10199 * configure.in (MIG): Do not AC_SUBST.
10200 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10201 (libc_cv_cc_sse4): Do not AC_SUBST.
10202 (libc_cv_cc_avx): Likewise.
10203 (libc_cv_cc_sse2avx): Likewise.
10204 (libc_cv_cc_novzeroupper): Likewise.
10205 (libc_cv_cc_fma4): Likewise.
10206 (libc_cv_as_i686): Likewise.
10207 (libc_cv_sparc_as_vis3): Likewise.
10208 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10209 LIBC_CONFIG_VAR.
10210 (config-asflags-i686): Likewise.
10211 (config-cflags-avx): Likewise.
10212 (config-cflags-sse2avx): Likewise.
10213 (have-mfma4): Likewise.
10214 (config-cflags-novzeroupper): Likewise.
10215 * sysdeps/mach/configure.in (MIG): Likewise.
10216 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10217 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10218 LIBC_CONFIG_VAR.
10219 (config-cflags-avx): Likewise.
10220 (config-cflags-sse2avx): Likewise.
10221 (have-mfma4): Likewise.
10222 (config-cflags-novzeroupper): Likewise.
10223 * configure: Regenerated.
10224 * sysdeps/i386/configure: Likewise.
10225 * sysdeps/mach/configure: Likewise.
10226 * sysdeps/sparc/configure: Likewise.
10227 * sysdeps/x86_64/configure: Likewise.
10228
912cc4b3
RM
102292013-03-20 Roland McGrath <roland@hack.frob.com>
10230
10231 [BZ #14812]
10232 * locale/programs/localedef.c (options): Put N_ translation marker
10233 on argument names, not just descriptions.
10234
04eed2b0
MS
102352013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10236
10237 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10238
a065ceff
OB
102392013-03-20 Ondřej Bílka <neleai@seznam.cz>
10240
9bb2a810 10241 [BZ #14176]
a065ceff
OB
10242 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10243
a600e5ce
RM
102442013-03-19 Roland McGrath <roland@hack.frob.com>
10245
10246 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10247 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10248 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10249 [!BEFORE_ABORT] (before_abort): New function.
10250 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10251 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10252 (writev_for_fatal): New function.
10253 (WRITEV_FOR_FATAL): New macro; call that.
10254 (backtrace_and_maps): New function.
10255 (BEFORE_ABORT): New macro; call that.
10256 (struct str_list): Type removed.
10257 (__libc_message, __libc_fatal): Functions removed.
10258 Include <sysdeps/posix/libc_fatal.c> instead.
10259
6b18bea6
JM
102602013-03-19 Joseph Myers <joseph@codesourcery.com>
10261
10262 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10263 constants.
10264 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10265 double constants.
10266
aaa8cb4b
AS
102672013-03-19 Andreas Schwab <schwab@suse.de>
10268
44673770
AS
10269 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10270 * sysdeps/gnu/configure: Regenerate.
10271
aaa8cb4b
AS
10272 * configure.in: Substitute libc_cv_rtlddir.
10273 * configure: Regenerate.
10274 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10275 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10276 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10277 * elf/Makefile (install-others, CFLAGS-interp.c)
10278 (ldso_install, common-ldd-rewrite): Likewise.
10279 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10280 $(inst_slibdir)/$(rtld-installed-name).
10281 * scripts/rellns-sh: Add -p option.
10282 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10283 for source.
10284
d3cfc668
SP
102852013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10286
10287 * manual/nptl.texi: Renamed to ...
10288 * manual/threads.texi: ... this.
10289 * manual/Makefile (chapters): Update.
10290
0e2b9cdd
RM
102912013-03-18 Roland McGrath <roland@hack.frob.com>
10292
10293 [BZ #14812]
10294 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10295 on argument names, not just descriptions.
0e2b9cdd
RM
10296 * malloc/memusagestat.c (options): Likewise.
10297 * nss/getent.c (options): Likewise.
63270c24
RM
10298
102992013-03-18 Benno Schulenberg <bensberg@justemail.net>
10300
10301 [BZ #14812]
10302 * iconv/iconv_prog.c (options): Put N_ translation marker
10303 on argument names, not just descriptions.
10304 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10305
b2e1393c
OB
103062013-03-18 Ondrej Bilka <neleai@seznam.cz>
10307
10308 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10309 implementation which is faster on all x86_64 architectures.
10310 Tested on AMD, Intel Nehalem, SNB, IVB.
10311 * sysdeps/x86_64/strnlen.S: Likewise.
10312
10313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10314 Remove all multiarch strlen and strnlen versions.
10315 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10316 Remove strlen and strnlen related parts.
10317
10318 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10319 Inline strlen part.
10320 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10321
10322 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10323 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10324 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10325 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10326 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10327 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10328
ec4ff04d
CD
103292013-03-17 Carlos O'Donell <carlos@redhat.com>
10330
10331 * manual/memory.texi (Malloc Tunable Parameters):
10332 Sort parameters alphabetically. Add comments for missing entries.
10333
cd18e90a
DM
103342013-03-17 David S. Miller <davem@davemloft.net>
10335
10336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10337
2a185d32
JM
103382013-03-16 Joseph Myers <joseph@codesourcery.com>
10339
d2f9799e
JM
10340 [BZ #15283]
10341 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10342 for arguments at most half maximum finite value.
10343 * math/libm-test.inc (j0_test): Add more tests.
10344 (j1_test): Likewise.
10345 (y0_test): Likewise.
10346 (y1_test): Likewise.
10347 * sysdeps/i386/fpu/libm-test-ulps: Update.
10348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10349
2a185d32
JM
10350 [BZ #14155]
10351 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10352 1 / x and functions P and Q for arguments above 0x1p256L.
10353 (__ieee754_y0l): Likewise.
10354 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10355 (__ieee754_y1l): Likewise.
10356 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10357 (j1_test): Likewise.
10358 (y0_test): Likewise.
10359 (y1_test): Likewise.
10360
6cbec759
TS
103612013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10362
10363 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10364 variable.
10365
bc16e260
RM
103662013-03-15 Roland McGrath <roland@hack.frob.com>
10367
aefc9b8c
RM
10368 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10369 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10370 zero since it's initialized to EXEC_PAGESIZE.
10371
bc16e260
RM
10372 * sysdeps/unix/sysv/linux/ldsodefs.h
10373 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10374 * sysdeps/generic/ldsodefs.h: ... here.
10375
a57da955
TS
103762013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10377
af00a34d
TS
10378 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10379
495ded2c
TS
10380 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10381 math/test-snan.c.
10382 * math/test-snan.c: Renamed from
10383 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10384 * math/Makefile (tests): Add test-snan.
10385 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10386 test-powerpc-snan.
10387
777b0332
TS
10388 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10389 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10390 functions.
10391 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10392 __builtin_nan family of functions.
10393 * math/libm-test.inc (initialize): Initialize qnan_value with
10394 __builtin_nan family of functions.
10395 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10396 Remove variables.
10397 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10398 Remove functions.
10399 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10400 storage class. Initialize qNaN_var and sNaN_var with
10401 __builtin_nan and __builtin_nans families of functions,
10402 respectively.
10403
64d063b8
TS
10404 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10405 (sqrt_test): Remove duplicate test with qNaN input.
10406 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10407 (round_test, signbit_test, significand_test): Note missing +/-Inf
10408 as well as qNaN tests.
10409
67e971f1
TS
10410 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10411 qNaN_var. Fix a few strings, too.
10412 * math/libm-test.inc (nan_value): Rename to qnan_value.
10413 * math/gen-libm-test.pl (%beautify): Adjust to that.
10414 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10415 * math/test-misc.c (main): Likewise.
10416 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10417 to __qnan_bytes, and __qnan_union, respectively.
10418 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10419 Likewise.
10420 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10421 and lqnanval, respectively.
10422 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10423 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10424 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10425 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10426
64487e12
TS
10427 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10428 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10429 doubles.
10430
e015e27b
TS
10431 * math/test-misc.c (main): Fix copy'n'pastos.
10432 * misc/tst-efgcvt.c (special): Likewise.
10433
a57da955
TS
10434 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10435 Remove declarations.
10436
1e380345
SP
104372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10438
10439 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10440 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10441 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10442 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10443
ef26eece
AZ
104442013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10445
10446 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10447 macro to return vdso values correctly in IFUNC implementations.
10448 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10449 Optimization by using IFUNC.
10450
8cfdb7e0
SP
104512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10452 Richard Henderson <rth@redhat.com>
10453 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10454
10455 * Makefile.in (bench): New target.
10456 * NEWS: Mention the benchmark framework.
10457 * Rules (bench): Likewise.
10458 (binaries-bench): Generate binaries for functions to
10459 benchmark.
10460 * benchtests/Makefile: New makefile for benchmark tests.
10461 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10462 programs.
10463 * benchtests/exp-inputs: New input file for EXP function.
10464 * benchtests/pow-inputs: New input file for POW function.
10465 * scripts/bench.pl: New script to generate source files for
10466 benchmark programs.
10467
bcda9880
SP
104682013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10469
d22ca8cd
SP
10470 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10471 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10472 computations on mantissa. Use macros for rounding and
10473 division.
10474 (denorm): Likewise.
10475 (__dbl_mp): Likewise.
10476 (add_magnitudes): Likewise.
10477 (sub_magnitudes): Likewise.
10478 (__mul): Likewise.
10479 (__sqr): Likewise.
10480 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10481 powers of two in terms of TWOPOW macro.
10482 (mp_no): Make type of mantissa as MANTISSA_T.
10483 [!RADIXI]: Define RADIXI.
10484 [!TWO52]: Define TWO52.
10485 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10486
bcda9880
SP
10487 * manual/nptl.texi (cindex): Modify threads to pthreads.
10488
06d5adfb
JM
104892013-03-15 Joseph Myers <joseph@codesourcery.com>
10490
10491 * sysdeps/x86_64/preconfigure: Regenerated.
10492
41c7328e
JM
104932013-03-14 Joseph Myers <joseph@codesourcery.com>
10494
10495 [BZ #14155]
10496 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10497 0x1p28 and above.
10498 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10499 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10500 0x1p28 and above.
10501 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10502 * math/libm-test.inc (j0_test): Do not allow one spurious
10503 underflow exception.
10504 (y1_test): Likewise.
10505
e25cfa60
SP
105062013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10507
0409959c
SP
10508 * manual/Makefile (chapters): Add nptl.
10509 * manual/debug.texi (Debugging Support): Add link to Threads
10510 chapter.
10511 * manual/nptl.texi: New file.
10512
e25cfa60
SP
10513 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10514
58a1335e
PB
105152013-03-14 Petr Baudis <pasky@ucw.cz>
10516
10517 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10518 for non-NULL pointer before the memory validity test. Pointed
10519 out by Holger Brunck <holger.brunck@keymile.com>.
10520
9dc7c64f
AS
105212013-03-13 Andreas Schwab <schwab@suse.de>
10522
10523 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10524 instead of .os.
10525
54206aa6
JM
105262013-03-13 Joseph Myers <joseph@codesourcery.com>
10527
10528 * timezone/zic.c: Update from tzcode 2013b.
10529
e98cdb38
CD
105302013-03-12 Carlos O'Donell <carlos@redhat.com>
10531
10532 * manual/install.texi (Configuring and compiling):
10533 Mention i686 and i586.
10534 * INSTALL: Regenerate.
10535
9967e003
RM
105362013-03-12 Roland McGrath <roland@hack.frob.com>
10537
10538 * sysdeps/init_array/elf-init.c: New file.
10539 * csu/elf-init.c
10540 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10541 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10542
10543 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10544 __gmon_start__ as global, but as static with a .preinit_array pointer.
10545 * sysdeps/init_array/gmon-start.c: New file. Use that.
10546 * sysdeps/init_array/crti.S: New file, empty except for comments.
10547 * sysdeps/init_array/crtn.S: Likewise.
10548
e6b5a293 105492013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10550
10551 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10552 definining bcopy.
80f844c9
OB
10553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10554 Remove Prefer_SSE_for_memop.
10555 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10556 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10557 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10559 memset-x86-64.
80f844c9 10560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10561 Remove bzero, memset ifunc support.
80f844c9
OB
10562 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10563 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10564 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10565 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10566
fb6b0fcb
AS
105672013-03-11 Andreas Schwab <schwab@suse.de>
10568
10569 [BZ #15234]
10570 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10571 by SHLIB_COMPAT.
10572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10573 (GLIBC_2.16): Remove pthread_atfork.
10574
3e6bd4b1
PP
105752013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10576
10577 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10578 (ptestcases.h): Likewise.
10579
222d7f00
RM
105802013-03-08 Roland McGrath <roland@hack.frob.com>
10581
10582 * Makeconfig ($(common-objpfx)config.status): Depend on
10583 sysdeps/*/preconfigure{,.in} too.
10584
1ba4f030
JM
105852013-03-08 Joseph Myers <joseph@codesourcery.com>
10586
a222d91a
JM
10587 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10588 (__free_hook): Use void * instead of __malloc_ptr_t.
10589 (__malloc_hook): Likewise.
10590 (__realloc_hook): Likewise.
10591 (__memalign_hook): Likewise.
10592 (__after_morecore_hook): Likewise.
10593 * malloc/arena.c (save_malloc_hook): Likewise.
10594 (save_free_hook): Likewise.
10595 * malloc/hooks.c (malloc_hook_ini): Likewise.
10596 (realloc_hook_ini): Likewise.
10597 (memalign_hook_ini): Likewise.
10598 * malloc/malloc.c (malloc_hook_ini): Likewise.
10599 (realloc_hook_ini): Likewise.
10600 (memalign_hook_ini): Likewise.
10601 (__free_hook): Likewise.
10602 (__malloc_hook): Likewise.
10603 (__realloc_hook): Likewise.
10604 (__memalign_hook): Likewise.
10605 (__libc_malloc): Likewise.
10606 (__libc_free): Likewise.
10607 (__libc_realloc): Likewise.
10608 (__libc_memalign): Likewise.
10609 (__libc_valloc): Likewise.
10610 (__libc_pvalloc): Likewise.
10611 (__libc_calloc): Likewise.
10612 (__posix_memalign): Likewise.
10613 * malloc/morecore.c (__sbrk): Likewise.
10614 (__default_morecore): Likewise.
10615
5cc45e10
JM
10616 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10617
dd54b864
JM
10618 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10619 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10620 __malloc_ptrdiff_t.
10621
1ba4f030
JM
10622 * malloc/malloc.h (__malloc_size_t): Remove macro.
10623 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10624 __malloc_size_t.
10625 (old_memalign_hook): Likewise.
10626 (old_realloc_hook): Likewise.
10627 (struct hdr): Likewise.
10628 (flood): Likewise.
10629 (mallochook): Likewise.
10630 (memalignhook): Likewise.
10631 (reallochook): Likewise.
10632 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10633 (tr_old_realloc_hook): Likewise.
10634 (tr_old_memalign_hook): Likewise.
10635 (tr_mallochook): Likewise.
10636 (tr_reallochook): Likewise.
10637 (tr_memalignhook): Likewise.
10638
edf66e57
AZ
106392013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10640
10641 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10642 default_ldbl_pack and using as default implementation.
10643 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10644 implementation.
10645 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10646 redundant definition.
10647 (ldbl_insert_mantissa): Likewise.
10648 (ldbl_canonicalize): Likewise.
10649 (ldbl_nearbyint): Likewise.
10650 (ldbl_pack): Rename to ldbl_pack_ppc.
10651 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10652 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10653 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10654
6d9145d8
SP
106552013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10656
10657 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10658 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10659 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10660 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10662 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10663 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10664 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10665
4dd4e157
AJ
106662013-03-07 Andreas Jaeger <aj@suse.de>
10667
10668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10669 bits/mman-linux.h.
10670
adbb8027
SP
106712013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10672
ce544b5b
SP
10673 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10674 Include mpa.h and declare __MPEXP.
10675 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10676 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10677 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10678 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10679 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10680 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10681 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10682
4cc149fd
SP
10683 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10684 (__slowpow): Use long double EXPL and LOGL functions to
10685 compute POW.
10686 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10687 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10688 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10689 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10690 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10691 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10692
e6ebd4a7
SP
10693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10694 intermediate variable to calculate exponent.
10695 (__sqr): Likewise.
10696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10697 Likewise.
10698 (__sqr): Likewise.
10699
82a9811d
SP
10700 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10701 [!NO__SQR]: Define __sqr.
10702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10703 and NO__SQR. Remove all code except __mul and __sqr. Include
10704 sysdeps/ieee754/dbl-64/mpa.c.
10705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10706
adbb8027
SP
10707 [BZ #12723]
10708 * posix/Makefile (tests): Add tst-pathconf.
10709 * posix/tst-pathconf.c: New test case.
10710 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10711 _PC_PIPE_BUF.
10712 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10713
39120df9
PF
107142013-03-06 Patsy Franklin <pfrankli@redhat.com>
10715
10716 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10717
67525cb8
AJ
107182013-03-06 Andreas Jaeger <aj@suse.de>
10719
664a9ce4
AJ
10720 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10721 definition via __MAP_ANONYMOUS.
10722
8e39047d
AJ
10723 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10724 it's not part of Linux headers.
10725
67525cb8
AJ
10726 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10727 (MAP_HUGE_MASK): Define.
10728
10729 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10730 Define.
10731 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10732 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10733 Define.
10734 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10735 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10736 Define.
10737 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10738 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10739 Define.
10740 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10741
10742 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10743 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10744 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10745 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10746 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10747 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10748
10749 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10750 Handle f2fs.
10751
10752 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10753 Handle f2fs and efivarfs.
10754
10755 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10756 f2fs.
10757
10758 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10759 (EFIVARFS_MAGIC): Add.
10760 (F2FS_LINK_MAX): Add.
10761
e1b42695
PP
107622013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10763
10764 * stdio-common/vfprintf.c: Replace __builtin_expect with
10765 __glibc_unlikely.
10766
2d67d91a
JM
107672013-03-06 Joseph Myers <joseph@codesourcery.com>
10768
10769 [BZ #13550]
10770 * sysdeps/generic/bp-sym.h: Remove file.
10771 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10772 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10773 <bp-sym.h> and <bp-asm.h>.
10774 (__longjmp): Don't use BP_SYM.
10775 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10776 and <bp-asm.h>.
10777 (memcpy): Don't use BP_SYM.
10778 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10779 <bp-sym.h> and <bp-asm.h>.
10780 (memcpy): Don't use BP_SYM.
10781 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10782 <bp-asm.h>.
10783 (memcpy): Don't use BP_SYM.
10784 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10785 <bp-asm.h>.
10786 (memset): Don't use BP_SYM.
10787 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10788 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10789 (__bzero): Don't use BP_SYM.
10790 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10791 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10792 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10793 <bp-sym.h> and <bp-asm.h>.
10794 (memcmp): Don't use BP_SYM. Remove comment about bounded
10795 pointers.
10796 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10797 <bp-sym.h> and <bp-asm.h>.
10798 (memcpy): Don't use BP_SYM.
10799 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10800 <bp-sym.h> and <bp-asm.h>.
10801 (memset): Don't use BP_SYM.
10802 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10803 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10804 (__bzero): Don't use BP_SYM.
10805 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10806 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10807 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10808 <bp-sym.h> and <bp-asm.h>.
10809 (strncmp): Don't use BP_SYM. Remove comment about bounded
10810 pointers.
10811 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10812 <bp-sym.h> and <bp-asm.h>.
10813 (memcpy): Don't use BP_SYM.
10814 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10815 <bp-sym.h> and <bp-asm.h>.
10816 (memset): Don't use BP_SYM.
10817 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10818 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10819 (__bzero): Don't use BP_SYM.
10820 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10821 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10822 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10823 <bp-sym.h> and <bp-asm.h>.
10824 (__memchr): Don't use BP_SYM.
10825 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10826 <bp-sym.h> and <bp-asm.h>.
10827 (memcmp): Don't use BP_SYM. Remove comment about bounded
10828 pointers.
10829 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10830 <bp-sym.h> and <bp-asm.h>.
10831 (memcpy): Don't use BP_SYM.
10832 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10833 <bp-sym.h> and <bp-asm.h>.
10834 (__mempcpy): Don't use BP_SYM.
10835 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10836 <bp-sym.h> and <bp-asm.h>.
10837 (__memrchr): Don't use BP_SYM.
10838 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10839 <bp-sym.h> and <bp-asm.h>.
10840 (memset): Don't use BP_SYM.
10841 (__bzero): Likewise.
10842 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10843 <bp-sym.h> and <bp-asm.h>.
10844 (__rawmemchr): Don't use BP_SYM.
10845 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10846 <bp-sym.h> and <bp-asm.h>.
10847 (__STRCMP): Don't use BP_SYM.
10848 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10849 <bp-sym.h> and <bp-asm.h>.
10850 (strchr): Don't use BP_SYM.
10851 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10852 <bp-sym.h> and <bp-asm.h>.
10853 (__strchrnul): Don't use BP_SYM.
10854 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10855 <bp-sym.h> and <bp-asm.h>.
10856 (strlen): Don't use BP_SYM.
10857 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10858 <bp-sym.h> and <bp-asm.h>.
10859 (strncmp): Don't use BP_SYM. Remove comment about bounded
10860 pointers.
10861 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10862 <bp-sym.h> and <bp-asm.h>.
10863 (__strnlen): Don't use BP_SYM.
10864 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10865 <bp-sym.h> and <bp-asm.h>.
10866 (__GI__setjmp): Don't use BP_SYM.
10867 (_setjmp): Likewise.
10868 (__sigsetjmp): Likewise.
10869 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10870 (L(start_addresses)): Don't use BP_SYM.
10871 (_start): Likewise.
10872 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10873 <bp-asm.h>.
10874 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10875 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10876 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10877 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10878 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10879 <bp-asm.h>.
10880 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10881 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10882 about bounded pointers.
10883 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10884 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10885 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10886 <bp-asm.h>.
10887 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10888 about bounded pointers. Remove GKM FIXME comments.
10889 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10890 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10891 <bp-asm.h>.
10892 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10893 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10894 Remove GKM FIXME comments.
10895 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10896 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10897 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10898 <bp-asm.h>.
10899 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10900 about bounded pointers. Remove GKM FIXME comment.
10901 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10902 and <bp-asm.h>.
10903 (strncmp): Don't use BP_SYM. Remove comment about bounded
10904 pointers.
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10906 <bp-sym.h> and <bp-asm.h>.
10907 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10909 <bp-sym.h> and <bp-asm.h>.
10910 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10911 comment.
10912
cdcf361f
PP
109132013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10914
10915 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10916 call free(NULL).
10917
3c4a2b15
DM
109182013-03-05 David S. Miller <davem@davemloft.net>
10919
10920 * po/es.po: Update from translation team.
10921
cdcf361f 109222013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10923
10924 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10925 <bits/mman-linux.h>.
10926 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10927 is fine.
10928 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10929 <bits/mman-linux.h> to end of file.
10930 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10931 is fine.
10932 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10933 <bits/mman-linux.h> to end of file.
10934 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10935 is fine.
10936 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10937 <bits/mman-linux.h> to end of file.
10938
10939 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10940 (MCL_CURRENT, MCL_FUTURE): Define here.
10941
5f67c04f
AK
109422013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10943
8a4473cc 10944 [BZ #15232]
5f67c04f
AK
10945 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10946 attribute_hidden.
10947 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10948
c3e94a95
AK
109492013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10950
10951 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10952 fourth parameter needed for rt_sigprocmask syscall.
10953 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10954 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10955 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10956 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10957 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10958 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10959
cfb6382a
JM
109602013-03-04 Joseph Myers <joseph@codesourcery.com>
10961
10962 [BZ #13550]
10963 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10964 comment about bounded pointers.
10965 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10966 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10967
539d8e01
AJ
109682013-03-04 Andreas Jaeger <aj@suse.de>
10969
10970 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10971 common definitions.
10972
10973 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10974 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10975 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10976 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10977 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10978 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10979
2e167a70 109802013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10981
10982 [BZ #15055]
10983 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10984 __ieee754_sqrl instead of __sqrl.
10985
68508633
JM
109862013-03-01 Joseph Myers <joseph@codesourcery.com>
10987
10988 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10989 * sysdeps/powerpc/fpu_control.h: ... here.
10990 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10991 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10992 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10993 * sysdeps/powerpc/bits/mathinline.h: ... here.
10994
7775448e
RM
109952013-03-01 Roland McGrath <roland@hack.frob.com>
10996
10997 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10998 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10999 to just [NEED_DL_SYSINFO_DSO].
11000 * elf/dl-support.c: Likewise.
11001 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11002 * elf/rtld.c (dl_main): Likewise.
11003 * elf/setup-vdso.h (setup_vdso): Likewise.
11004 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11005 * sysdeps/unix/sysv/linux/dl-sysdep.c
11006 (_dl_discover_osversion): Likewise.
11007
4e9b5995
CD
110082013-03-01 Carlos O'Donell <carlos@redhat.com>
11009
11010 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11011 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11012
e23872c8
SP
110132013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11014
e5c74c63
SP
11015 * NEWS: Mention libm performance improvements and non-x86 PI
11016 futex support.
11017
e23872c8
SP
11018 * csu/libc-start.c (__pthread_initialize_minimal): Change
11019 function arguments.
11020 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11021
b5510883
JM
110222013-02-28 Joseph Myers <joseph@codesourcery.com>
11023
11024 [BZ #13550]
11025 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11026 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11027 <bp-sym.h> and <bp-asm.h>.
11028 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11029 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11030 and <bp-asm.h>.
11031 (memcpy): Don't use BP_SYM.
11032 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11033 <bp-asm.h>.
11034 (__mpn_add_n): Don't use BP_SYM.
11035 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11036 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11037 and <bp-asm.h>.
11038 (__mpn_addmul_1): Don't use BP_SYM.
11039 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11040 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11041 <bp-sym.h>.
11042 (_setjmp): Don't use BP_SYM.
11043 (__novmx_setjmp): Likewise.
11044 (__GI__setjmp): Likewise.
11045 (__vmx_setjmp): Likewise.
11046 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11047 <bp-sym.h>.
11048 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11049 (__bzero): Don't use BP_SYM.
11050 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11051 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11052 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11053 <bp-sym.h> and <bp-asm.h>.
11054 (memcpy): Don't use BP_SYM.
11055 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11056 <bp-sym.h> and <bp-asm.h>.
11057 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11058 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11059 <bp-sym.h> and <bp-asm.h>.
11060 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11061 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11062 <bp-asm.h>.
11063 (__mpn_lshift): Don't use BP_SYM.
11064 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11065 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11066 <bp-asm.h>.
11067 (memset): Don't use BP_SYM.
11068 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11069 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11070 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11071 <bp-asm.h>.
11072 (__mpn_mul_1): Don't use BP_SYM.
11073 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11074 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11075 <bp-sym.h> and <bp-asm.h>.
11076 (memcmp): Don't use BP_SYM.
11077 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11078 <bp-sym.h> and <bp-asm.h>.
11079 (memcpy): Don't use BP_SYM.
11080 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11081 <bp-sym.h> and <bp-asm.h>.
11082 (memset): Don't use BP_SYM.
11083 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11084 <bp-sym.h> and <bp-asm.h>.
11085 (strncmp): Don't use BP_SYM.
11086 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11087 <bp-sym.h> and <bp-asm.h>.
11088 (memcpy): Don't use BP_SYM.
11089 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11090 <bp-sym.h> and <bp-asm.h>.
11091 (memset): Don't use BP_SYM.
11092 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11093 <bp-sym.h> and <bp-asm.h>.
11094 (__memchr): Don't use BP_SYM.
11095 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11096 <bp-sym.h> and <bp-asm.h>.
11097 (memcmp): Don't use BP_SYM.
11098 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11099 <bp-sym.h> and <bp-asm.h>.
11100 (memcpy): Don't use BP_SYM.
11101 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11102 <bp-sym.h> and <bp-asm.h>.
11103 (__mempcpy): Don't use BP_SYM.
11104 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11105 <bp-sym.h> and <bp-asm.h>.
11106 (__memrchr): Don't use BP_SYM.
11107 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11108 <bp-sym.h> and <bp-asm.h>.
11109 (memset): Don't use BP_SYM.
11110 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11111 <bp-sym.h> and <bp-asm.h>.
11112 (__rawmemchr): Don't use BP_SYM.
11113 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11114 <bp-sym.h> and <bp-asm.h>.
11115 (__STRCMP): Don't use BP_SYM.
11116 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11117 <bp-sym.h> and <bp-asm.h>.
11118 (strchr): Don't use BP_SYM.
11119 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11120 <bp-sym.h> and <bp-asm.h>.
11121 (__strchrnul): Don't use BP_SYM.
11122 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11123 <bp-sym.h> and <bp-asm.h>.
11124 (strlen): Don't use BP_SYM.
11125 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11126 <bp-sym.h> and <bp-asm.h>.
11127 (strncmp): Don't use BP_SYM.
11128 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11129 <bp-sym.h> and <bp-asm.h>.
11130 (__strnlen): Don't use BP_SYM.
11131 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11132 <bp-asm.h>.
11133 (__mpn_rshift): Don't use BP_SYM.
11134 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11135 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11136 <bp-sym.h> and <bp-asm.h>.
11137 (__sigsetjmp): Don't use BP_SYM.
11138 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11139 (L(start_addresses)): Don't use BP_SYM.
11140 (_start): Likewise.
11141 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11142 <bp-asm.h>.
11143 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11144 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11145 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11146 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11147 <bp-asm.h>.
11148 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11149 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11150 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11151 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11152 <bp-asm.h>.
11153 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11154 comments.
11155 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11156 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11157 <bp-asm.h>.
11158 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11159 FIXME comments.
11160 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11161 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11162 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11163 <bp-asm.h>.
11164 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11165 comment.
11166 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11167 and <bp-asm.h>.
11168 (strncmp): Don't use BP_SYM,
11169 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11170 <bp-asm.h>.
11171 (__mpn_sub_n): Don't use BP_SYM.
11172 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11173 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11174 and <bp-asm.h>.
11175 (__mpn_submul_1): Don't use BP_SYM.
11176 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11178 <bp-sym.h> and <bp-asm.h>.
11179 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11181 <bp-sym.h> and <bp-asm.h>.
11182 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11183 comment.
11184
8d19fe64
SP
111852013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11186
11187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11188 Use ZK to minimize writes to Z.
11189 (sub_magnitudes): Simplify code a bit.
11190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11191 Use ZK to minimize writes to Z.
11192 (sub_magnitudes): Simplify code a bit.
11193
85bd816a
RM
111942013-02-27 Roland McGrath <roland@hack.frob.com>
11195
11196 * csu/gmon-start.c: Add special exception to license text.
11197
b5977bf2
RH
111982013-02-27 Richard Henderson <rth@redhat.com>
11199
11200 * scripts/config.guess: Update from config.git.
11201 * scripts/config.sub: Likewise.
11202
11d6e2f2
SP
112032013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11204
09c14ed2
SP
11205 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11206
a688864e
SP
11207 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11208
6295157a
SP
11209 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11210
b8de2202
SP
11211 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11212
11d6e2f2
SP
11213 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11214
7e80ddb8
RM
112152013-02-26 Roland McGrath <roland@hack.frob.com>
11216
11217 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11218 [$(build-shared = yes].
7e80ddb8 11219
7da6d9ed
SP
112202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11221
45f05884
SP
11222 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11223 (__mul): Reduce iterations for calculating mantissa.
11224
2236d359
SP
11225 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11226 MPTWO.
11227 (__mpranred): Likewise.
11228
7da6d9ed
SP
11229 [BZ #15160]
11230 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11231 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11232
b7688c42
PE
112332013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11234
11235 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11236 Define __attribute__.
11237
53a5c423
SP
112382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11239
11240 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11241 unused.
11242 * posix/regex_internal.h (__attribute): Remove.
11243 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11244 (re_string_context_at): Likewise.
11245 (bitset_not): Use __attribute__ and mark function as possibly
11246 unused.
11247 (bitset_merge): Likewise.
11248 (bitset_mask): Likewise.
11249 (re_string_char_size_at): Likewise.
11250 (re_string_wchar_at): Likewise.
11251 (re_string_elem_size_at): Likewise.
11252
60f5a8b5
SP
112532013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11254
2a983a2e
SP
11255 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11256 code.
11257 (cc32): Likewise.
11258
e69804d1
SP
11259 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11260 (__acr): Likewise.
11261 (__cpy): Likewise.
11262 (norm): Likewise.
11263 (denorm): Likewise.
11264 (__dbl_mp): Likewise.
11265 (add_magnitudes): Likewise.
11266 (sub_magnitudes): Likewise.
11267 (__mul): Likewise.
11268 (__inv): Likewise.
11269
2f22a1e8
SP
11270 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11271 style.
11272
8930ddc7
SP
11273 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11274 style.
11275
dc60cb11
SP
11276 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11277 code.
11278
60f5a8b5
SP
11279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11280 up changes with default code.
11281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11282 Likewise.
11283
b4d1fd33
AM
112842013-02-24 Allan McRae <allan@archlinux.org>
11285
faf6f8bc
AM
11286 * manual/socket.texi (The Internet Namespace): Order menu items
11287 to match that in the file.
11288
b4d1fd33
AM
11289 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11290 node listing of the info page menu.
11291
2366713d
JM
112922013-02-21 Joseph Myers <joseph@codesourcery.com>
11293
11294 [BZ #13550]
11295 * sysdeps/i386/bp-asm.h: Remove file.
11296 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11297 (PARMS): Do not use macros from bp-asm.h.
11298 (S1): Likewise.
11299 (S2): Likewise.
11300 (SIZE): Likewise.
11301 (__mpn_add_n): Do not use BP_SYM
11302 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11303 "bp-asm.h".
11304 (PARMS): Do not use macros from bp-asm.h.
11305 (S1): Likewise.
11306 (SIZE): Likewise.
11307 (__mpn_addmul_1): Do not use BP_SYM
11308 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11309 "bp-asm.h".
11310 (PARMS): Do not use macros from bp-asm.h.
11311 (SIGMSK): Likewise.
11312 (_setjmp): Likewise. Do not use BP_SYM.
11313 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11314 "bp-asm.h".
11315 (PARMS): Do not use macros from bp-asm.h.
11316 (SIGMSK): Likewise.
11317 (setjmp): Likewise. Do not use BP_SYM.
11318 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11319 "bp-asm.h".
11320 (PARMS): Do not use macros from bp-asm.h.
11321 (__frexp): Do not use BP_SYM.
11322 (frexp): Likewise.
11323 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11324 "bp-asm.h".
11325 (PARMS): Do not use macros from bp-asm.h.
11326 (__frexpf): Do not use BP_SYM.
11327 (frexpf): Likewise.
11328 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11329 "bp-asm.h".
11330 (PARMS): Do not use macros from bp-asm.h.
11331 (__frexpl): Do not use BP_SYM.
11332 (frexpl): Likewise.
11333 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11334 "bp-asm.h".
11335 (PARMS): Do not use macros from bp-asm.h.
11336 (__remquo): Do not use BP_SYM.
11337 (remquo): Likewise.
11338 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11339 "bp-asm.h".
11340 (PARMS): Do not use macros from bp-asm.h.
11341 (__remquof): Do not use BP_SYM.
11342 (remquof): Likewise.
11343 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11344 "bp-asm.h".
11345 (PARMS): Do not use macros from bp-asm.h.
11346 (__remquol): Do not use BP_SYM.
11347 (remquol): Likewise.
11348 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11349 "bp-asm.h".
11350 (PARMS): Do not use macros from bp-asm.h.
11351 (DEST): Likewise.
11352 (SRC): Likewise.
11353 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11354 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11355 "bp-asm.h".
11356 (PARMS): Do not use macros from bp-asm.h.
11357 (strlen): Do not use BP_SYM.
11358 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11359 "bp-asm.h".
11360 (PARMS): Do not use macros from bp-asm.h.
11361 (S1): Likewise.
11362 (S2): Likewise.
11363 (SIZE): Likewise.
11364 (__mpn_add_n): Do not use BP_SYM.
11365 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11366 "bp-asm.h".
11367 (PARMS): Do not use macros from bp-asm.h.
11368 (S1): Likewise.
11369 (SIZE): Likewise.
11370 (__mpn_addmul_1): Do not use BP_SYM.
11371 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11372 weak_alias.
11373 (bzero): Likewise.
11374 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11375 "bp-asm.h".
11376 (PARMS): Do not use macros from bp-asm.h.
11377 (S): Likewise.
11378 (SIZE): Likewise.
11379 (__mpn_lshift): Do not use BP_SYM.
11380 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11381 "bp-asm.h".
11382 (PARMS): Do not use macros from bp-asm.h.
11383 (DEST): Likewise.
11384 (SRC): Likewise.
11385 (LEN): Likewise.
11386 (memcpy): Likewise. Do not use BP_SYM.
11387 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11388 libc_hidden_def and weak_alias.
11389 (mempcpy): Do not use BP_SYM in weak_alias.
11390 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11391 "bp-asm.h".
11392 (PARMS): Do not use macros from bp-asm.h.
11393 (DEST): Likewise.
11394 (LEN): Likewise.
11395 [!BZERO_P] (CHR): Likewise.
11396 (memset): Likewise. Do not use BP_SYM.
11397 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11398 "bp-asm.h".
11399 (PARMS): Do not use macros from bp-asm.h.
11400 (S1): Likewise.
11401 (SIZE): Likewise.
11402 (__mpn_mul_1): Do not use BP_SYM.
11403 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11404 "bp-asm.h".
11405 (PARMS): Do not use macros from bp-asm.h.
11406 (S): Likewise.
11407 (SIZE): Likewise.
11408 (__mpn_rshift): Do not use BP_SYM.
11409 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11410 "bp-asm.h".
11411 (PARMS): Do not use macros from bp-asm.h.
11412 (STR): Likewise.
11413 (CHR): Likewise.
11414 (strchr): Likewise. Do not use BP_SYM.
11415 (index): Do not use BP_SYM in weak_alias.
11416 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11417 "bp-asm.h".
11418 (PARMS): Do not use macros from bp-asm.h.
11419 (DEST): Likewise.
11420 (SRC): Likewise.
11421 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11422 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11423 "bp-asm.h".
11424 (PARMS): Do not use macros from bp-asm.h.
11425 (strlen): Do not use BP_SYM.
11426 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11427 "bp-asm.h".
11428 (PARMS): Do not use macros from bp-asm.h.
11429 (S1): Likewise.
11430 (S2): Likewise.
11431 (SIZE): Likewise.
11432 (__mpn_sub_n): Do not use BP_SYM.
11433 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11434 "bp-asm.h".
11435 (PARMS): Do not use macros from bp-asm.h.
11436 (S1): Likewise.
11437 (SIZE): Likewise.
11438 (__mpn_submul_1): Do not use BP_SYM.
11439 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11440 "bp-asm.h".
11441 (PARMS): Do not use macros from bp-asm.h.
11442 (S1): Likewise.
11443 (S2): Likewise.
11444 (SIZE): Likewise.
11445 (__mpn_add_n): Do not use BP_SYM.
11446 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11447 weak_alias.
11448 (bzero): Likewise.
11449 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11450 "bp-asm.h".
11451 (PARMS): Do not use macros from bp-asm.h.
11452 (BLK2): Likewise.
11453 (LEN): Likewise.
11454 (memcmp): Do not use BP_SYM.
11455 (bcmp): Do not use BP_SYM in weak_alias.
11456 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11457 "bp-asm.h".
11458 (PARMS): Do not use macros from bp-asm.h.
11459 (DEST): Likewise.
11460 (SRC): Likewise.
11461 (LEN): Likewise.
11462 (memcpy): Likewise. Do not use BP_SYM.
11463 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11464 "bp-asm.h".
11465 (PARMS): Do not use macros from bp-asm.h.
11466 (DEST): Likewise.
11467 (SRC): Likewise.
11468 (LEN): Likewise.
11469 (memmove): Likewise. Do not use BP_SYM.
11470 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11471 "bp-asm.h".
11472 (PARMS): Do not use macros from bp-asm.h.
11473 (DEST): Likewise.
11474 (SRC): Likewise.
11475 (LEN): Likewise.
11476 (__mempcpy): Likewise. Do not use BP_SYM.
11477 (mempcpy): Do not use BP_SYM in weak_alias.
11478 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11479 "bp-asm.h".
11480 (PARMS): Do not use macros from bp-asm.h.
11481 (DEST): Likewise.
11482 (LEN): Likewise.
11483 [!BZERO_P] (CHR): Likewise.
11484 (memset): Likewise. Do not use BP_SYM.
11485 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11486 "bp-asm.h".
11487 (PARMS): Do not use macros from bp-asm.h.
11488 (STR2): Likewise.
11489 (strcmp): Do not use BP_SYM.
11490 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11491 "bp-asm.h".
11492 (PARMS): Do not use macros from bp-asm.h.
11493 (STR): Likewise.
11494 (DELIM): Likewise.
11495 [USE_AS_STRTOK_R] (SAVE): Likewise.
11496 (FUNCTION): Likewise. Do not use BP_SYM.
11497 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11498 aliases.
11499 (strtok_r): Likewise.
11500 (__GI___strtok_r): Likewise.
11501 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11502 (PARMS): Do not use macros from bp-asm.h.
11503 (S): Likewise.
11504 (SIZE): Likewise.
11505 (__mpn_lshift): Do not use BP_SYM.
11506 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11507 (PARMS): Do not use macros from bp-asm.h.
11508 (STR): Likewise.
11509 (CHR): Likewise.
11510 (__memchr): Do not use BP_SYM.
11511 (memchr): Do not use BP_SYM in weak_alias.
11512 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11513 (PARMS): Do not use macros from bp-asm.h.
11514 (BLK2): Likewise.
11515 (LEN): Likewise.
11516 (memcmp): Do not use BP_SYM.
11517 (bcmp): Do not use BP_SYM in weak_alias.
11518 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11519 (PARMS): Do not use macros from bp-asm.h.
11520 (S1): Likewise.
11521 (SIZE): Likewise.
11522 (__mpn_mul_1): Do not use BP_SYM.
11523 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11524 "bp-asm.h".
11525 (PARMS): Do not use macros from bp-asm.h.
11526 (STR): Likewise.
11527 (CHR): Likewise.
11528 (__rawmemchr): Do not use BP_SYM.
11529 (rawmemchr): Do not use BP_SYM in weak_alias.
11530 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11531 (PARMS): Do not use macros from bp-asm.h.
11532 (S): Likewise.
11533 (SIZE): Likewise.
11534 (__mpn_rshift): Do not use BP_SYM.
11535 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11536 (PARMS): Do not use macros from bp-asm.h.
11537 (SIGMSK): Likewise.
11538 (__sigsetjmp): Likewise. Do not use BP_SYM.
11539 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11540 (_start): Do not use BP_SYM.
11541 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11542 (PARMS): Do not use macros from bp-asm.h.
11543 (DEST): Likewise.
11544 (SRC): Likewise.
11545 (__stpcpy): Likewise. Do not use BP_SYM.
11546 (stpcpy): Do not use BP_SYM in weak_alias.
11547 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11548 "bp-asm.h".
11549 (PARMS): Do not use macros from bp-asm.h.
11550 (DEST): Likewise.
11551 (SRC): Likewise.
11552 (LEN): Likewise.
11553 (__stpncpy): Likewise. Do not use BP_SYM.
11554 (stpncpy): Do not use BP_SYM in weak_alias.
11555 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11556 (PARMS): Do not use macros from bp-asm.h.
11557 (STR): Likewise.
11558 (CHR): Likewise.
11559 (strchr): Likewise. Do not use BP_SYM.
11560 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11561 "bp-asm.h".
11562 (PARMS): Do not use macros from bp-asm.h.
11563 (STR): Likewise.
11564 (CHR): Likewise.
11565 (__strchrnul): Likewise. Do not use BP_SYM.
11566 (strchrnul): Do not use BP_SYM in weak_alias.
11567 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11568 "bp-asm.h".
11569 (PARMS): Do not use macros from bp-asm.h.
11570 (STOP): Likewise.
11571 (strcspn): Do not use BP_SYM.
11572 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11573 "bp-asm.h".
11574 (PARMS): Do not use macros from bp-asm.h.
11575 (STR): Likewise.
11576 (STOP): Likewise.
11577 (strpbrk): Likewise. Do not use BP_SYM.
11578 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11579 "bp-asm.h".
11580 (PARMS): Do not use macros from bp-asm.h.
11581 (STR): Likewise.
11582 (CHR): Likewise.
11583 (strrchr): Likewise. Do not use BP_SYM.
11584 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11585 (PARMS): Do not use macros from bp-asm.h.
11586 (SKIP): Likewise.
11587 (strspn): Do not use BP_SYM.
11588 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11589 (PARMS): Do not use macros from bp-asm.h.
11590 (STR): Likewise.
11591 (DELIM): Likewise.
11592 (SAVE): Likewise.
11593 (FUNCTION): Likewise. Do not use BP_SYM.
11594 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11595 aliases.
11596 (strtok_r): Likewise.
11597 (__GI___strtok_r): Likewise.
11598 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11599 (PARMS): Do not use macros from bp-asm.h.
11600 (S1): Likewise.
11601 (S2): Likewise.
11602 (SIZE): Likewise.
11603 (__mpn_sub_n): Do not use BP_SYM.
11604 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11605 "bp-asm.h".
11606 (PARMS): Do not use macros from bp-asm.h.
11607 (S1): Likewise.
11608 (SIZE): Likewise.
11609 (__mpn_submul_1): Do not use BP_SYM.
11610 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11611 <bp-sym.h>.
11612 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11613 and <bp-asm.h>.
11614 (PARMS): Do not use macros from bp-asm.h.
11615 (FLAGS): Likewise.
11616 (PTID): Likewise.
11617 (TLS): Likewise.
11618 (CTID): Likewise.
11619 (__clone): Do not use BP_SYM.
11620 (clone): Do not use BP_SYM in weak_alias.
11621 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11622 and <bp-asm.h>.
11623 (PARMS): Do not use macros from bp-asm.h.
11624 (LEN): Likewise.
11625 (__mmap64): Do not use BP_SYM.
11626 (mmap64): Do not use BP_SYM in weak_alias.
11627 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11628 <bp-sym.h> and <bp-asm.h>.
11629 (PARMS): Do not use macros from bp-asm.h.
11630 (__posix_fadvise64_l64): Do not use BP_SYM.
11631 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11632 (PARMS): Do not use macros from bp-asm.h.
11633 (NSOPS): Likewise.
11634 (semtimedop): Do not use BP_SYM.
11635 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11636 and <bp-asm.h>.
11637
582a3cff
AM
116382013-02-21 Allan McRae <allan@archlinux.org>
11639
11640 * manual/message.texi (Charset conversion in gettext):
11641 Move @end statement to beginning of line.
11642
bab8a695
SP
116432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11644
80945231
SP
11645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11646 static.
11647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11648 Likewise.
11649
bab8a695
SP
11650 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11651 (denorm): Likewise.
11652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11654
e21d7aa7
AK
116552013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11656
11657 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11658 tail-call to the resolved function if pltexit isn't needed.
11659
4c7a4263
SP
116602013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11661
11662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11663 or Y being zero as being unlikely.
11664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11665 Likewise.
11666
41f49342
CD
116672013-02-20 Carlos O'Donell <carlos@redhat.com>
11668
11669 * manual/nss.texi (System Databases and Name Service Switch):
11670 Remove frobnicate @pxref.
11671
50022a93
TS
116722013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11673
11674 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11675 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11676
08cbd996
PM
116772013-02-20 Petr Machata <pmachata@redhat.com>
11678
11679 * elf/elf.h (R_ARM_TARGET1): New macro.
11680 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11681 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11682 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11683 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11684 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11685 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11686 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11687 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11688 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11689 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11690 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11691 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11692 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11693 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11694 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11695 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11696 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11697 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11698 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11699 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11700 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11701 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11702 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11703 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11704 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11705 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11706 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11707 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11708 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11709 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11710 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11711 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11712 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11713 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11714 (R_ARM_THM_GOT_BREL12): Likewise.
11715 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11716 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11717 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11718 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11719 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11720 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11721 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11722 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11723 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11724
c7b275d6
TS
117252013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11726
11727 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11728 __attribute_used__ to __attribute__ ((unused)).
11729
20cd7fb3
SP
117302013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11731
11732 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11733 powerpc mpa.c.
11734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11735 comment formatting.
11736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11737
92945b52
JM
117382013-02-19 Joseph Myers <joseph@codesourcery.com>
11739
11740 [BZ #13550]
11741 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11742 Remove macro.
11743 (ENTER): Remove both macro definitions.
11744 (LEAVE): Likewise.
11745 (CHECK_BOUNDS_LOW): Likewise.
11746 (CHECK_BOUNDS_HIGH): Likewise.
11747 (CHECK_BOUNDS_BOTH): Likewise.
11748 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11749 (RETURN_BOUNDED_POINTER): Likewise.
11750 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11751 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11752 (POP_ERRNO_LOCATION_RETURN): Likewise.
11753 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11754 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11755 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11756 macros.
11757 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11758 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11759 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11760 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11761 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11762 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11763 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11764 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11765 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11766 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11767 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11768 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11769 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11770 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11771 removed macros.
11772 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11773 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11774 macros.
11775 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11776 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11777 * sysdeps/i386/i586/memset.S (memset): Likewise.
11778 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11779 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11780 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11781 macros.
11782 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11783 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11784 Change uses of L(2) to L(out).
11785 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11786 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11787 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11788 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11789 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11790 removed macros.
11791 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11792 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11793 macros.
11794 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11795 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11796 (RETURN): Do not use macro LEAVE.
11797 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11798 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11799 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11800 * sysdeps/i386/i686/memset.S (memset): Likewise.
11801 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11802 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11803 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11804 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11805 Likewise.
11806 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11807 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11808 L(1_2) and L(1_3) into L(1).
11809 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11810 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11811 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11812 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11813 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11814 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11815 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11816 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11817 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11818 macros.
11819 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11820 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11821 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11822 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11823 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11824 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11825 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11826 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11827 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11828 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11829 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11830 * sysdeps/i386/strspn.S (strspn): Likewise.
11831 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11832 conditional code.
11833 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11834 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11835 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11836 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11837 L(1_3) into L(1_1).
11838 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11839 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11840 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11841 macros.
11842 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11843
2389741a
JJ
118442013-02-19 Jakub Jelinek <jakub@redhat.com>
11845
11846 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11847 macro.
11848
2016b3cd
SP
118492013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11850
e4f22324
SP
11851 * math/atest-exp.c (exp_mpn): Remove ROUND.
11852 * math/atest-exp2.c (exp_mpn): Likewise.
11853 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11854
2016b3cd
SP
11855 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11856 * stdlib/tst-tls-atexit-lib.c: Likewise.
11857 * stdlib/tst-tls-atexit.c: Likewise.
11858
4be9b544
MF
118592013-02-18 Mike Frysinger <vapier@gentoo.org>
11860
11861 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11862 and __attribute_alloc_size__.
11863
2f62b9ee
MF
118642013-02-18 Mike Frysinger <vapier@gentoo.org>
11865
11866 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11867 __attribute_alloc_size__.
11868 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11869 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11870
6ff444c4
MF
118712013-02-18 Mike Frysinger <vapier@gentoo.org>
11872
11873 * include/programs/xmalloc.h: New file.
11874 * catgets/gencat.c: Include it.
11875 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11876 * elf/pldd.c: Likewise.
11877 * iconv/iconv_charmap.c: Likewise.
11878 * iconv/iconvconfig.c: Likewise.
11879 * iconv/strtab.c: Likewise.
11880 * locale/programs/locale.c: Likewise.
11881 * locale/programs/localedef.h: Likewise.
11882 * locale/programs/simple-hash.c: Likewise.
11883 * nscd/nscd.h: Likewise.
11884 * nss/makedb.c: Likewise.
11885 * sysdeps/generic/ldconfig.h: Likewise.
11886
be179c8a
SP
118872013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11888
ba384f6e
SP
11889 * Versions.def: Add GLIBC_2.18.
11890 * include/link.h (struct link_map): New member l_tls_dtor_count.
11891 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11892 (__call_tls_dtors): Likewise.
11893 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11894 __cxa_thread_atexit_impl.
11895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11896 Likewise.
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11898 Likewise.
11899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11900 Likewise.
11901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11902 Likewise.
11903 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11905 Likewise.
11906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11907 Likewise.
11908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11910 Likewise.
11911 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11912 (tests): Add test case tst-tls-atexit.
11913 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11914 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11915 (GLIBC_PRIVATE): Add __call_tls_dtors.
11916 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11917 for libstdc++.
11918 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11919 * stdlib/tst-tls-atexit.c: New test case.
11920 * stdlib/tst-tls-atexit-lib.c: New test case.
11921
ffaa74cf 11922 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11923
be179c8a
SP
11924 * elf/Versions (ld): Add _dl_find_dso_for_object.
11925 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11926 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11927 (dl_open_worker): Use _dl_find_dso_for_object.
11928 * elf/dl-sym.c (do_sym): Likewise.
11929 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11930
f78b5caa
AK
119312013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11932
11933 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11934 Syntactic changes only.
11935 (_dl_runtime_profile): Do a tail-call to the resolved function.
11936
29691210
JM
119372013-02-17 Joseph Myers <joseph@codesourcery.com>
11938
11939 [BZ #13550]
11940 * sysdeps/x86_64/bp-asm.h: Remove file.
11941 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11942 <bp-sym.h> and <bp-asm.h>.
11943 (__clone): Do not use BP_SYM.
11944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11945 <bp-sym.h> and <bp-asm.h>.
11946 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11947 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11948 "bp-asm.h".
11949 (_setjmp): Do not use BP_SYM.
11950 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11951 "bp-asm.h".
11952 (setjmp): Do not use BP_SYM.
11953 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11954 libc_hidden_def.
11955 (mempcpy): Do not use BP_SYM in weak_alias.
11956 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11957 "bp-asm.h".
11958 (strchr): Do not use BP_SYM.
11959 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11960 "bp-asm.h".
11961 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11962 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11963 (_start): Do not use BP_SYM.
11964 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11965 "bp-asm.h".
11966 (strcat): Do not use BP_SYM.
11967 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11968 "bp-asm.h".
11969 (STRCMP): Do not use BP_SYM.
11970 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11971 "bp-asm.h".
11972 (STRCPY): Do not use BP_SYM.
11973 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11974 "bp-asm.h".
11975 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11976 "bp-asm.h".
11977 (FUNCTION): Do not use BP_SYM.
11978 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11979 weak_alias.
11980 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11981
f238fd19
AJ
119822013-02-17 Andreas Jaeger <aj@suse.de>
11983
11984 * time/Versions: Sort entries.
11985 * string/Versions: Likewise.
11986 * resolv/Versions: Likewise.
11987 * posix/Versions: Likewise.
11988 * iconv/Versions: Likewise.
11989 * elf/Versions: Likewise.
11990 * wcsmbs/Versions: Likewise.
11991
bd07f23c 119922013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11993
22af19f9
SP
11994 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11995 loop termination condition.
11996
4709fe76
SP
11997 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11998 variable to calculate EZ.
11999 (__sqr): Likewise.
2d0e0f29
SP
12000
12001 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12002 the lower precision input.
12003
daaa7713
JM
120042013-02-15 Joseph Myers <joseph@codesourcery.com>
12005
12006 [BZ #13550]
12007 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12008 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12009 (run-via-rtld-prefix): Do not handle %-bp tests.
12010 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12011 (all-object-suffixes): Remove .ob.
12012 (bppfx): Remove variable.
12013 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12014 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12015 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12016 [$(build-bounded) = yes] (libtype.ob): Likewise.
12017 * Makerules (elide-routines.ob): Remove variable.
12018 (do-tests-clean): Do not handle *-bp.out.
12019 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12020 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12021 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12022 (tests): Do not include $(tests-bp.out).
12023 (xtests): Do not include $(xtests-bp.out).
12024 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12025 [$(build-bounded) = yes] ($(addprefix
12026 $(objpfx),$(binaries-bounded))): Remove rule.
12027 ($(objpfx)%-bp.out): Remove rule.
12028 * config.make.in (build-bounded): Remove variable.
12029 * crypt/Makefile [$(build-bounded) = yes]
12030 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12031 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12032 append to variable.
12033 [$(build-bounded) = yes] (install-lib): Likewise.
12034 [$(build-bounded) = yes] (generated): Likewise.
12035 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12036 Remove rule.
12037 * intl/Makefile [$(build-bounded) = yes]
12038 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12039 * math/Makefile [$(build-bounded) = yes]
12040 ($(tests:%=$(objpfx)%-bp): Likewise.
12041 * misc/Makefile [$(build-bounded) = yes]
12042 ($(objpfx)tst-tsearch-bp): Likewise.
12043 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12044 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12045 Remove dependency.
12046 * string/Makefile (o-objects.ob): Remove variable.
12047 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12048 (CFLAGS-.ob): Remove variable.
12049 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12050 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12051 both definitions of variable.
12052 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12053 (ASFLAGS-.ob): Remove variable.
12054
e97ed6dd
JM
120552013-02-14 Joseph Myers <joseph@codesourcery.com>
12056
2bdd4ca6
JM
12057 [BZ #13550]
12058 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12059 Remove __BOUNDED_POINTERS__ from condition.
12060 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12061 * string/bits/string2.h [!__NO_STRING_INLINES &&
12062 !__BOUNDED_POINTERS__]: Likewise.
12063 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12064 Likewise.
12065 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12066 Remove conditional code.
12067 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12068 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12069 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12070 condition.
12071
e97ed6dd
JM
12072 [BZ #13550]
12073 * csu/libc-start.c: Do not include <bp-sym.h>.
12074 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12075 * elf/dl-open.c: Do not include <bp-sym.h>.
12076 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12077 * math/fegetenv.c: Do not include <bp-sym.h>.
12078 (fegetenv): Do not use BP_SYM in versioned symbols.
12079 * nptl/sysdeps/pthread/bits/libc-lockP.h
12080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12081 <bp-sym.h>.
12082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12083 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12085 (__pthread_mutex_destroy): Likewise.
12086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12087 (__pthread_mutex_lock): Likewise.
12088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12089 (__pthread_mutex_trylock): Likewise.
12090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12091 (__pthread_mutex_unlock): Likewise.
12092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12093 (__pthread_mutexattr_init): Likewise.
12094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12095 (__pthread_mutexattr_destroy): Likewise.
12096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12097 (__pthread_mutexattr_settype): Likewise.
12098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12099 (__pthread_rwlock_init): Likewise.
12100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12101 (__pthread_rwlock_destroy): Likewise.
12102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12103 (__pthread_rwlock_rdlock): Likewise.
12104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12105 (__pthread_rwlock_tryrdlock): Likewise.
12106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12107 (__pthread_rwlock_wrlock): Likewise.
12108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12109 (__pthread_rwlock_trywrlock): Likewise.
12110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12111 (__pthread_rwlock_unlock): Likewise.
12112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12113 (__pthread_key_create): Likewise.
12114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12115 (__pthread_setspecific): Likewise.
12116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12117 (__pthread_getspecific): Likewise.
12118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12119 Likewise.
12120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12121 (_pthread_cleanup_push_defer): Likewise.
12122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12123 (_pthread_cleanup_pop_restore): Likewise.
12124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12125 (pthread_setcancelstate): Likewise.
12126 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12127 <bp-sym.h>.
12128 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12129 (memchr): Do not use BP_SYM in weak_alias.
12130 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12131 (fegetenv): Do not use BP_SYM in versioned symbols.
12132 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12133 (fesetenv): Do not use BP_SYM in versioned symbols.
12134 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12135 (feupdateenv): Do not use BP_SYM in versioned symbols.
12136 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12137 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12138 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12139 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12140 (open64): Do not use BP_SYM in weak_alias.
12141 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12142 (fegetenv): Do not use BP_SYM in versioned symbols.
12143 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12144 (fesetenv): Do not use BP_SYM in versioned symbols.
12145 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12146 (feupdateenv): Do not use BP_SYM in versioned symbols.
12147 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12148 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12149 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12150 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12151 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12152 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12153 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12154 <bp-sym.h>.
12155 (__libc_start_main): Do not use BP_SYM.
12156
d6752ccd
SP
121572013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12158
cb57ce60
SP
12159 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12160 redundant return line.
12161 (norm): Likewise.
12162 (denorm): Likewise.
12163 (dbl_mp): Likewise.
12164 (sub_magnitudes): Likewise.
12165 (__add): Likewise.
12166 (__sub): Likewise.
12167 (__mul): Likewise.
12168 (__inv): Likewise.
12169 (__dvd): Likewise.
12170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12171 (norm): Likewise.
12172 (denorm): Likewise.
12173 (dbl_mp): Likewise.
12174 (sub_magnitudes): Likewise.
12175 (__add): Likewise.
12176 (__sub): Likewise.
12177 (__mul): Likewise.
12178 (__inv): Likewise.
12179 (__dvd): Likewise.
12180
f414520d
SP
12181 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12182 instead of __mul.
12183 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12184 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12185 (cc32): Likewise.
12186
d6752ccd
SP
12187 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12188 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12189 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12190 of __mul for squares.
12191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12192 function
12193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12194 Likewise.
12195 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12196 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12197
70d9946a
JM
121982013-02-13 Joseph Myers <joseph@codesourcery.com>
12199
12200 [BZ #13550]
12201 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12202 code.
12203 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12204 prototype or function definition. Rename ubp_* variables and
12205 parameters. Remove argv definitions conditional on
12206 [__BOUNDED_POINTERS__].
12207 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12208 * elf/dl-runtime.c (_dl_fixup): Likewise.
12209 * include/set-hooks.h (RUN_HOOK): Likewise.
12210 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12211 definition.
12212 * string/strcpy.c (strcpy): Do not use __unbounded.
12213 * sysdeps/generic/frame.h (struct layout): Likewise.
12214 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12215 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12216 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12217 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12218 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12219 (__backtrace): Likewise.
12220 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12221 use __ptrvalue.
12222 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12223 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12224 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12225 Likewise.
12226 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12227 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12228 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12229 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12230 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12231 Do not use __unbounded.
12232 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12233 Rename __unboundedrlimits parameter to rlimits in prototype.
12234 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12235 Do not use __unbounded.
12236 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12237 not use __ptrvalue.
12238 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12239 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12240 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12241 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12242 __ptrvalue or __unbounded.
12243 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12244 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12245 use __unbounded.
12246 (__new_msgctl): Do not use __ptrvalue.
12247 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12248 __unbounded.
12249 (__libc_msgrcv): Do not use __ptrvalue.
12250 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12251 startup_info): Do not use __unbounded.
12252 (__libc_start_main): Likewise. Rename ubp_* variables and
12253 parameters. Remove argv definitions conditional on
12254 [__BOUNDED_POINTERS__].
12255 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12256 __ptrvalue.
12257 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12258 use __unbounded.
12259 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12260 or __ptrvalue.
12261 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12262 use __unbounded.
12263 (__new_shmctl): Do not use __ptrvalue.
12264 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12265 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12266 Likewise.
12267 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12268 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12269 (__libc_sigaction): Likewise.
12270 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12271 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12272 Likewise.
12273 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12274
cc7834d6
OB
122752013-02-13 Ondřej Bílka <neleai@seznam.cz>
12276
ffb1ec7b 12277 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12278
12279 * string/mempcpy.c: Implement by calling memcpy.
12280
bdf02814
SP
122812013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12282
c2af38aa
SP
12283 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12284
4e92d59e
SP
12285 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12286 evaluation.
12287
909279a5
SP
12288 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12289 values in the mantissa.
12290
bdf02814
SP
12291 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12292 minimize writes to Z.
12293 (sub_magnitudes): Simplify code a bit.
12294
cd525923
RM
122952013-02-12 Roland McGrath <roland@hack.frob.com>
12296
12297 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12298 from the message. The linker prefixes all warnings with that already.
12299
7e2f0d2d
AS
123002013-02-12 Andreas Schwab <schwab@suse.de>
12301
a445af0b
AS
12302 [BZ #15078]
12303 * posix/regexec.c (extend_buffers): Add parameter min_len.
12304 (check_matching): Pass minimum needed length.
12305 (clean_state_log_if_needed): Likewise.
12306 (get_subexp): Likewise.
12307 * posix/Makefile (tests): Add bug-regex34.
12308 (bug-regex34-ENV): Define.
12309 * posix/bug-regex34.c: New file.
12310
7e2f0d2d
AS
12311 [BZ #11561]
12312 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12313 elements compare against the byte sequence of it, not its name.
12314 * posix/Makefile (tests): Add bug-regex35.
12315 (bug-regex35-ENV): Define.
12316 * posix/bug-regex35.c: New file.
12317
a175b684
TV
123182013-02-11 Tom de Vries <tom@codesourcery.com>
12319
12320 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12321 comment.
12322 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12323 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12324 (CHECK_EOL): Add undef.
12325
310998fe 123262013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12327
12328 * bits/stdlib-bsearch.h: New file.
12329 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12330 * stdlib/stdlib.h: Likewise.
41eda41d 12331
8ded91fb
RM
123322013-02-11 Roland McGrath <roland@hack.frob.com>
12333
12334 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12335 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12336 declaration.
12337 * manual/search.texi (Array Search Function): Add missing const in
12338 lfind prototype.
12339 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12340 declaration to use rlim_t.
12341 (Basic Scheduling Functions): Remove erroneous const from
12342 sched_getparam prototype. Remove erroneous * from
12343 sched_get_priority_max and sched_get_priority_min prototypes.
12344 (Resource Usage): Fix summary @comment on vtimes to refer to
12345 sys/vtimes.h rather than vtimes.h.
12346 Add missing *s in vtimes prototype.
12347 (Limits on Resources): Fix ulimit prototype to return long int.
12348 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12349 prototypes to use long int rather than double.
12350 (BSD Random): Fix initstate and setstate to use char *, not void *.
12351 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12352 prototype to make second argument 'struct aiocb64 *const[]'.
12353 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12354 (Status of AIO Operations): Remove erroneous const in aio_return and
12355 aio_return64 prototypes.
12356 (Synchronizing I/O): Fix sync prototype to return void.
12357 * manual/startup.texi (Suboptions): Remove an erroneous const in
12358 getsubopt prototype.
12359 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12360 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12361 use size_t rather than int.
12362 (Scanning All Users): Likewise for getpwent_r.
12363 (Setting Groups): Add missing const to setgroups prototype.
12364 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12365 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12366 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12367 'const void *' rather than 'const char *'.
12368 (Host Address Functions): Likewise for inet_ntop.
12369 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12370 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12371 ssize_t for return value.
12372 (Sending Data): Likewise for send, sendto, sendmsg.
12373 (Socket Option Functions): Add a missing const in setsockopt prototype.
12374 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12375 use wchar_t for the argument.
12376 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12377 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12378 take no arguments.
12379 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12380 double/float/long double for second argument.
12381 Fix return types of significand, significandf, significandl.
12382 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12383 argument in fchmod prototype.
12384 (File Owner): Use uid_t and gid_t in fchown prototype.
12385 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12386 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12387 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12388 use 'const struct dirent **' as argument types to CMP function pointer
12389 argument.
12390 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12391 (File Times): Fix summary magic @comment for struct utimbuf and utime
12392 to refer to utime.h, not time.h.
12393 * manual/string.texi (Argz Functions): Add missing const in
12394 argz_extract and argz_next prototypes.
12395 (Finding Tokens in a String): Likewise for basename.
12396 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12397 (Copying and Concatenation): Fix typo in wmemmove prototype.
12398 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12399 (Signal Stack): Remove erroneous const in sigstack prototype.
12400 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12401 prototype.
12402 (Simple Calendar Time): Likewise for stime.
12403 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12404 prototype.
12405 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12406 say sys/sysctl.h instead.
12407 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12408 and vsyslog prototypes.
12409
fe77fe6d
TV
124102013-02-11 Tom de Vries <tom@codesourcery.com>
12411
12412 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12413 Remove.
12414
3a09b620
RM
124152013-02-11 Roland McGrath <roland@hack.frob.com>
12416
12417 * misc/sys/mman.h: Fix typo in mremap comment.
12418
550a0b89
RM
124192013-02-08 Roland McGrath <roland@hack.frob.com>
12420
12421 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12422 the '\0' terminator.
12423
a2da1673
JM
124242013-02-08 Joseph Myers <joseph@codesourcery.com>
12425
12426 [BZ #13550]
12427 * debug/segfault.c: Don't include <bp-checks.h>.
12428 * sysdeps/generic/bp-checks.h: Remove file.
12429 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12430 (__GETDENTS): Don't use CHECK_N.
12431 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12432 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12433 (__getgroups): Don't use CHECK_N.
12434 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12435 (setgroups): Don't use CHECK_N.
12436 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12437 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12438 (__libc_msgrcv): Don't use CHECK_N.
12439 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12440 (__libc_msgsnd): Don't use CHECK_N.
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12442 <bp-checks.h>.
12443 (__libc_pread): Don't use CHECK_N.
12444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12445 include <bp-checks.h>.
12446 (__libc_pread64): Don't use CHECK_N.
12447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12448 include <bp-checks.h>.
12449 (__libc_pwrite): Don't use CHECK_N.
12450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12451 include <bp-checks.h>.
12452 (__libc_pwrite64): Don't use CHECK_N.
12453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12454 <bp-checks.h>.
12455 (__libc_pread): Don't use CHECK_N.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12457 include <bp-checks.h>.
12458 (__libc_pread64): Don't use CHECK_N.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12460 include <bp-checks.h>.
12461 (__libc_pwrite): Don't use CHECK_N.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12463 include <bp-checks.h>.
12464 (__libc_pwrite64): Don't use CHECK_N.
12465 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12466 (do_pread): Don't use CHECK_N.
12467 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12468 (do_pread64): Don't use CHECK_N.
12469 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12470 (do_pwrite): Don't use CHECK_N.
12471 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12472 (do_pwrite64): Don't use CHECK_N.
12473 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12474 (__libc_readv): Don't use CHECK_N.
12475 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12476 (semop): Don't use CHECK_N.
12477 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12478 <bp-checks.h>.
12479 (semtimedop): Don't use CHECK_N.
12480 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12481 (__libc_pread): Don't use CHECK_N.
12482 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12483 <bp-checks.h>.
12484 (__libc_pread64): Don't use CHECK_N.
12485 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12486 <bp-checks.h>.
12487 (__libc_pwrite): Don't use CHECK_N.
12488 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12489 <bp-checks.h>.
12490 (__libc_pwrite64): Don't use CHECK_N.
12491 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12492 <bp-checks.h>.
12493 (__libc_msgrcv): Don't use CHECK_N.
12494 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12495 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12496 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12497 (__libc_writev): Don't use CHECK_N.
12498
b84660a8
RM
124992013-02-08 Roland McGrath <roland@hack.frob.com>
12500
7f3e75f8
RM
12501 * string/strcpy.c: Removed unused variable.
12502
b84660a8
RM
12503 * Makeconfig (+sysdep-includes): Define with := rather than =.
12504 Use an existing include/ subdir of each sysdeps dir before it.
12505
471514d3
CD
125062013-02-08 Carlos O'Donell <carlos@redhat.com>
12507
12508 * nscd/connection.c (register_traced_file): Comment function.
12509 [HAVE_INOTIFY] (union __inev): Define.
12510 [HAVE_INOTIFY] (inotify_check_files): New function.
12511 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12512 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12513 clear_db_cache.
12514 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12515
b2d3c3be
CD
125162013-02-08 Carlos O'Donell <carlos@redhat.com>
12517
12518 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12519 loaded if not already and that a failure is permanent.
12520
b39949d2
CD
125212013-02-08 Carlos O'Donell <carlos@redhat.com>
12522
ddacd1db 12523 [BZ #15006]
b39949d2
CD
12524 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12525 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12526
b2c9eff4
JM
125272013-02-08 Joseph Myers <joseph@codesourcery.com>
12528
f3aae3f3
JM
12529 [BZ #13550]
12530 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12531 (CHECK_1_NULL_OK): Likewise.
12532 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12533 (__fxstat): Do not use CHECK_1.
12534 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12535 <bp-checks.h>.
12536 (___fxstat64): Do not use CHECK_1.
12537 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12538 <bp-checks.h>.
12539 (__fxstatat): Do not use CHECK_1.
12540 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12541 <bp-checks.h>.
12542 (__fxstatat64): Do not use CHECK_1.
12543 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12544 <bp-checks.h>.
12545 (__fxstat): Do not use CHECK_1.
12546 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12547 <bp-checks.h>.
12548 (__fxstatat): Do not use CHECK_1.
12549 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12550 <bp-checks.h>.
12551 (__getresgid): Do not use CHECK_1.
12552 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12553 <bp-checks.h>.
12554 (__getresuid): Do not use CHECK_1.
12555 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12556 <bp-checks.h>.
12557 (__lxstat): Do not use CHECK_1.
12558 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12559 <bp-checks.h>.
12560 (__old_msgctl): Do not use CHECK_1.
12561 (__new_msgctl): Likewise.
12562 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12563 <bp-checks.h>.
12564 (__new_setrlimit): Do not use CHECK_1.
12565 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12566 <bp-checks.h>.
12567 (__old_shmctl): Do not use CHECK_1.
12568 (__new_shmctl): Likewise.
12569 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12570 <bp-checks.h>.
12571 (__xstat): Do not use CHECK_1.
12572 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12573 (__lxstat): Do not use CHECK_1.
12574 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12575 <bp-checks.h>.
12576 (___lxstat64): Do not use CHECK_1.
12577 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12578 (__old_msgctl): Do not use CHECK_1.
12579 (__new_msgctl): Likewise.
12580 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12581 <bp-checks.h>.
12582 (__gettimeofday): Do not use CHECK_1.
12583 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12584 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12585 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12586 <bp-checks.h>.
12587 (__gettimeofday): Do not use CHECK_1.
12588 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12589 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12590 (__new_shmctl): Do not use CHECK_1.
12591 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12592 <bp-checks.h>.
12593 (do_sigtimedwait): Do not use CHECK_1.
12594 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12595 <bp-checks.h>.
12596 (do_sigwaitinfo): Do not use CHECK_1.
12597 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12598 <bp-checks.h>.
12599 (msgctl): Do not use CHECK_1.
12600 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12601 <bp-checks.h>.
12602 (shmctl): Do not use CHECK_1.
12603 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12604 (ustat): Do not use CHECK_1.
12605 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12606 <bp-checks.h>.
12607 (__fxstat): Do not use CHECK_1.
12608 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12609 <bp-checks.h>.
12610 (__fxstatat): Do not use CHECK_1.
12611 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12612 <bp-checks.h>.
12613 (__lxstat): Do not use CHECK_1.
12614 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12615 <bp-checks.h>.
12616 (__xstat): Do not use CHECK_1.
12617 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12618 (__xstat): Do not use CHECK_1.
12619 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12620 (___xstat64): Do not use CHECK_1.
12621
b2c9eff4
JM
12622 [BZ #13550]
12623 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12624 definitions.
12625 (CHECK_BOUNDS_HIGH): Likewise.
12626 * string/strcpy.c: Do not include <bp-checks.h>.
12627 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12628
f1d70dad
RM
126292013-02-07 Roland McGrath <roland@hack.frob.com>
12630
12631 * nscd/nscd-client.h (__nscd_drop_map_ref):
12632 Add __attribute__ ((unused)).
12633 * nis/nss-nisplus.h (niserr2nss): Likewise.
12634
12635 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12636 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12637
12638 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12639 Remove inline keyword.
12640 * include/rounding-mode.h (round_away): Likewise.
12641 * libio/wfileops.c (adjust_wide_data): Likewise.
12642 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12643 (__m128i_strloadu_tolower): Likewise.
12644 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12645 (__m128i_strloadu_tolower): Likewise.
12646 * time/mktime.c (ydhms_diff): Likewise.
12647 * locale/elem-hash.h (elem_hash): Likewise.
12648 * locale/setlocale.c (setdata): Likewise.
12649 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12650 (re_string_wchar_at): Likewise.
12651 (bitset_not, bitset_merge, bitset_mask): Likewise.
12652 [!(__GNUC__ > 3)] (inline): Remove macro.
12653 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12654 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12655 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12656 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12657 * string/memcmp.c (memcmp_bytes): Likewise.
12658 * locale/programs/locarchive.c (compute_hashval): Likewise.
12659 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12660 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12661 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12662 * nss/getent.c (print_rpc, print_protocols): Likewise.
12663 (print_passwd, print_group, print_aliases): Likewise.
12664 * nis/nss-nisplus.h (niserr2nss): Likewise.
12665 * nscd/connections.c (restart_p): Likewise.
12666 Change return type to bool.
12667
eab55bfb
RM
126682013-02-05 Roland McGrath <roland@hack.frob.com>
12669
7bd642f5
RM
12670 * Makeconfig (all-Depend-files): Add existing
12671 $(sorted-subdirs:=/Depend) files.
12672 (all-subdirs): Remove nss.
12673 * sysdeps/unix/inet/Subdirs: Add it here instead.
12674 * hesiod/Depend: New file.
12675
573c29b2
RM
12676 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12677 instead of calling alloca.
12678
b2e25af0
RM
12679 * io/lseek.c (__lseek): Rename to __libc_lseek.
12680 Define __lseek as an alias.
12681
eab55bfb
RM
12682 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12683
9a0d1941
CD
126842013-02-04 Carlos O'Donell <carlos@redhat.com>
12685
12686 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12687 else clause and remove check for non-standard endianness.
12688
b83bbec4
DM
126892013-02-04 David S. Miller <davem@davemloft.net>
12690
12691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12692
6277fdab
JM
126932013-02-04 Joseph Myers <joseph@codesourcery.com>
12694
12695 [BZ #13550]
12696 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12697 (__ubp_memchr): Remove prototype.
12698 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12699 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12700 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12701 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12702 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12703 Remove alias.
12704 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12705 (__ubp_memchr): Likewise.
12706 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12707 (__ubp_memchr): Likewise.
12708 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12709 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12710 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12711 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12712 CHECK_STRING.
12713 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12714 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12715 (__getcwd): Do not use CHECK_STRING.
12716 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12717 <bp-checks.h>.
12718 (__real_chown): Do not use CHECK_STRING.
12719 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12720 <bp-checks.h>.
12721 (fchownat): Do not use CHECK_STRING.
12722 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12723 CHECK_STRING.
12724 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12725 <bp-checks.h>.
12726 (__lchown): Do not use CHECK_STRING.
12727 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12728 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12729 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12730 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12732 include <bp-checks.h>.
12733 (truncate64): Do not use CHECK_STRING.
12734 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12735 <bp-checks.h>.
12736 (__real_chown): Do not use CHECK_STRING.
12737 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12738 <bp-checks.h>.
12739 (__lchown): Do not use CHECK_STRING.
12740 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12741 <bp-checks.h>.
12742 (__chown): Do not use CHECK_STRING.
12743 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12744 <bp-checks.h>.
12745 (truncate64): Do not use CHECK_STRING.
12746 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12747 Likewise.
12748 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12749 (__xmknod): Do not use CHECK_STRING.
12750 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12751 <bp-checks.h>.
12752 (__xmknodat): Do not use CHECK_STRING.
12753 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12754 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12755
903ae060
AS
127562013-02-04 Andreas Schwab <schwab@suse.de>
12757
12758 [BZ #14142]
12759 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12760 * include/netdb.h: Likewise for h_errno.
12761 * elf/tst-stackguard1.c: Include <tls.h>.
12762
542f9466
JK
127632013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12764
12765 * elf/link.h (struct link_map): Extend the l_addr comment.
12766 * include/link.h (struct link_map): Likewise.
12767
e782a927
JM
127682013-02-01 Joseph Myers <joseph@codesourcery.com>
12769
12770 [BZ #13550]
12771 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12772 (BOUNDED_1): Remove macro.
12773 * debug/backtrace.c: Don't include <bp-checks.h>.
12774 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12775 (__backtrace): Likewise.
12776 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12777 <bp-checks.h>.
12778 (__backtrace): Don't use BOUNDED_1.
12779 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12780 <bp-checks.h>.
12781 (__backtrace): Don't use BOUNDED_1.
12782 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12783 (__backtrace): Don't use BOUNDED_1.
12784 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12785 (shmat): Don't use BOUNDED_N.
12786
8cf28c5e
JM
127872013-01-31 Joseph Myers <joseph@codesourcery.com>
12788
3a7ac8a0
JM
12789 [BZ #13550]
12790 * sysdeps/generic/bp-start.h: Remove file.
12791 * csu/libc-start.c: Don't include <bp-start.h>.
12792 (LIBC_START_MAIN): Set up __environ directly instead of using
12793 INIT_ARGV_and_ENVIRON.
12794 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12795 <bp-start.h>.
12796
f3499f95
JM
12797 [BZ #13550]
12798 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12799 definitions.
12800 (CHECK_FCNTL): Likewise.
12801 (CHECK_N_PAGES): Likewise.
12802
32a45bea
JM
12803 [BZ #13550]
12804 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12805 definitions.
12806 (CHECK_SIGSET_NULL_OK): Likewise.
12807 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12808 <bp-checks.h>.
12809 (sigpending): Don't use CHECK_SIGSET.
12810 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12811 <bp-checks.h>.
12812 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12813 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12814 <bp-checks.h>.
12815 (do_sigsuspend): Don't use CHECK_SIGSET.
12816 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12817 use CHECK_SIGSET.
12818 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12819 (do_sigwait): Don't use CHECK_SIGSET.
12820 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12821 use CHECK_SIGSET.
12822 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12823 include <bp-checks.h>.
12824 (sigpending): Don't use CHECK_SIGSET.
12825 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12826 include <bp-checks.h>.
12827 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12828 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12829 <bp-checks.h>.
12830 (sigpending): Don't use CHECK_SIGSET.
12831 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12832 <bp-checks.h>.
12833 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12834
2e8a5c8c
JM
12835 [BZ #13550]
12836 * sysdeps/generic/bp-semctl.h: Remove file.
12837 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12838 <bp-checks.h> and <bp-semctl.h>.
12839 (__old_semctl): Don't use CHECK_SEMCTL.
12840 (__new_semctl): Likewise.
12841 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12842 and <bp-semctl.h>.
12843 (__old_semctl): Don't use CHECK_SEMCTL.
12844 (__new_semctl): Likewise.
12845 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12846 <bp-checks.h> and <bp-semctl.h>.
12847 (__old_semctl): Don't use CHECK_SEMCTL.
12848 (__new_semctl): Likewise.
12849 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12850 <bp-checks.h> and <bp-semctl.h>.
12851 (semctl): Don't use CHECK_SEMCTL.
12852
c2d54929
JM
12853 [BZ #13550]
12854 * Makerules (elide-bp-thunks): Remove variable.
12855 (elide-routines.oS): Don't use $(elide-bp-thunks).
12856 (elide-routines.os): Likewise.
12857 (elide-routines.o): Likewise.
12858 (elide-routines.op): Likewise.
12859 (elide-routines.og): Likewise.
12860 (objects): Don't use $(bp-thunks).
12861 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12862 include.
12863 (common-generated): Do not add s-proto-bp.d.
12864 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12865 (int): Likewise.
12866 (typ): Likewise.
12867 Do not generate makefile rules for bounded-pointer thunks.
12868 * sysdeps/generic/bp-thunks.h: Remove file.
12869 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12870 * sysdeps/unix/s-proto-bp.S: Likewise.
12871
8cf28c5e
JM
12872 [BZ #15062]
12873 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12874 parts of result separately when argument is not close to line from
12875 -i to i and one part of argument is small.
12876 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12877 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12878 * math/libm-test.inc (cacos_test): Add more tests.
12879 (casin_test): Likewise.
12880 (casinh_test): Likewise.
12881 * sysdeps/i386/fpu/libm-test-ulps: Update.
12882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12883
c4e33b8d
DM
128842013-01-31 David S. Miller <davem@davemloft.net>
12885
12886 * po/de.po: Update from translation team.
12887
3b60b421
MK
128882013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12889
12890 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12891
bb931195
TS
128922013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12893
b5a5da23
TS
12894 * configure.in (_AC_PROG_CC_C89): New definition.
12895 * configure: Regenerate.
12896
bb931195
TS
12897 * configure.in (AC_PROG_CPP): New definition.
12898 * configure: Regenerate.
12899
8c53a12c
JM
129002013-01-23 Joseph Myers <joseph@codesourcery.com>
12901
12902 * debug/tst-backtrace.h: New file.
12903 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12904 (ret): Remove variable.
12905 (x): Likewise.
12906 (FAIL): Remove macro.
12907 (NO_INLINE): Likewise.
12908 (fn1): Use match function instead of strstr.
12909 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12910 (ret): Remove variable.
12911 (x): Likewise.
12912 (FAIL): Remove macro.
12913 (NO_INLINE): Likewise.
12914 (fn): Use match function instead of strstr.
12915 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12916 (ret): Remove variable.
12917 (x): Likewise.
12918 (FAIL): Remove macro.
12919 (NO_INLINE): Likewise.
12920 (handle_signal): Use match function instead of strstr.
12921 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12922 (ret): Remove variable.
12923 (x): Likewise.
12924 (FAIL): Remove macro.
12925 (NO_INLINE): Likewise.
12926 (handle_signal): Use match function instead of strstr.
12927
4858fa2a
RM
129282013-01-23 Roland McGrath <roland@hack.frob.com>
12929
12930 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12931
bae8e7f5
DM
129322013-01-23 David S. Miller <davem@davemloft.net>
12933
12934 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12935 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12936 argument of CAS if possible.
12937 * sysdeps/sparc/sparc64/bits/atomic.h
12938 (__arch_compare_and_exchange_val_32_acq): Likewise.
12939 (__arch_compare_and_exchange_val_64_acq): Likewise.
12940
9cbbc4ae
PT
129412013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12942
12943 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12944 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12945 Include <limits.h>.
67b3f58c 12946 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12947
5655a0b5
AC
129482013-01-23 Adam Conrad <adconrad@0c3.net>
12949
12950 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12951 (LDFLAGS-tst-array5): Likewise.
12952
052aff95
JM
129532013-01-23 Joseph Myers <joseph@codesourcery.com>
12954
12955 [BZ #15036]
12956 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12957 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12958 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12959 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12960
7c1e01aa
DM
129612013-01-21 David S. Miller <davem@davemloft.net>
12962
12963 * sysdeps/sparc/backtrace.c: New file.
12964 * sysdeps/sparc/sparc32/backtrace.h: New file.
12965 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12966 * sysdeps/sparc/sparc64/backtrace.h: New file.
12967 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12968 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12969 -funwind-tables.
12970
ab087e0a
AS
129712013-01-21 Andreas Schwab <schwab@suse.de>
12972
12973 [BZ #15020]
12974 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12975 closed its stdout.
12976
ed689c2f
AS
129772013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12978
12979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12980 "mpa2.h".
12981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12982
31d470ac
JM
129832013-01-18 Joseph Myers <joseph@codesourcery.com>
12984 Mark Mitchell <mark@codesourcery.com>
12985 Tom de Vries <tom@codesourcery.com>
12986 Paul Pluzhnikov <ppluzhnikov@google.com>
12987
12988 * debug/tst-backtrace2.c: New file.
12989 * debug/tst-backtrace3.c: Likewise.
12990 * debug/tst-backtrace4.c: Likewise.
12991 * debug/tst-backtrace5.c: Likewise.
12992 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12993 (CFLAGS-tst-backtrace3.c): Likewise.
12994 (CFLAGS-tst-backtrace4.c): Likewise.
12995 (CFLAGS-tst-backtrace5.c): Likewise.
12996 (LDFLAGS-tst-backtrace2): Likewise.
12997 (LDFLAGS-tst-backtrace3): Likewise.
12998 (LDFLAGS-tst-backtrace4): Likewise.
12999 (LDFLAGS-tst-backtrace5): Likewise.
13000 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13001 tst-backtrace4 and tst-backtrace5.
13002
90567f30 130032013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13004 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13005
13006 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13007 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13008 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13009 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13011 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13012 "+r" and remove output regs list as redundant. Add explicit inline
13013 asm to specify register of return val to work around compiler codegen
13014 bug. Remove (int) cast on return value. Add return type parameter to
13015 use in macro so that this macro does not truncate return value for
13016 64-bit values.
13017 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13018 pass to INTERNAL_VSYSCALL_NCS.
13019 (INLINE_VSYSCALL): Add 'long int' as return type to
13020 INTERNAL_VSYSCALL_NCS macro invocation.
13021 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13022 INTERNAL_VSYSCALL_NCS macro invocation.
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13024
d3b9ea61
SP
130252013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13026
0b57daeb
SP
13027 [BZ #14496]
13028 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13029 Fix application of SIMD FP exception mask.
13030
caa99d06
SP
13031 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13032 mp_no from a power of two.
13033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13034 __mpexp_twomm1. Use __pow_mp.
13035
d3b9ea61
SP
13036 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13037 multiplication.
13038
1dbaee3c
DM
130392013-01-17 David S. Miller <davem@davemloft.net>
13040
13041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13042
728d7b43
JM
130432013-01-17 Joseph Myers <joseph@codesourcery.com>
13044
13045 [BZ #15023]
13046 * include/complex.h: Condition contents on [!_COMPLEX_H].
13047 (__kernel_casinhf): New prototype.
13048 (__kernel_casinh): Likewise.
13049 (__kernel_casinhl): Likewise.
13050 * math/Makefile (libm_calls): Add k_casinh.
13051 * math/k_casinh.c: New file.
13052 * math/k_casinhf.c: Likewise.
13053 * math/k_casinhl.c: Likewise.
13054 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13055 finite nonzero arguments.
13056 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13057 finite nonzero arguments.
13058 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13059 finite nonzero arguments.
13060 * math/s_casinh.c: Do not include <float.h>.
13061 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13062 * math/s_casinhf.c: Do not include <float.h>.
13063 (__casinhf): Move code for finite nonzero arguments to
13064 k_casinhf.c.
13065 * math/s_casinhl.c: Do not include <float.h>.
13066 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13067 redefine.
13068 (__casinhl): Move code for finite nonzero arguments to
13069 k_casinhl.c.
13070 * math/libm-test.inc (cacos_test): Add more tests.
13071 * sysdeps/i386/fpu/libm-test-ulps: Update.
13072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13073
2a26ef3a
PT
130742013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13075
13076 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13077 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13078 [!HAVE_MREMAP]: Remove [defined linux] case.
13079 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13080
a897655d
SP
130812013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13082
13083 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13084
881ebe89 130852013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13086
13087 * elf/elf.h (R_386_SIZE32): New relocation.
13088 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13089 R_386_SIZE32.
13090 (elf_machine_rela): Likewise.
13091 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13092 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13093
59981e9b
JM
130942013-01-17 Joseph Myers <joseph@codesourcery.com>
13095
13096 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13097 (FP_FAST_FMA): Do not define.
13098 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13099 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13100 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13101 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13102 !_SOFT_FLOAT]: Likewise.
13103 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13104 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13105 value.
13106 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13107 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13108 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13109 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13110 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13111 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13112 file.
13113
cfa8054f
AS
131142013-01-16 Andreas Schwab <schwab@suse.de>
13115
13116 [BZ #14327]
13117 * include/stdlib.h (__mktemp): Add declaration.
13118 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13119 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13120
dd930cc5
SP
131212013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13122
881ebe89
SP
13123 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13124 definitions.
13125 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13126 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13127 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13128 definitions here.
13129 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13130 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13131 definitions.
13132 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13133 and ONE.
13134 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13135 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13136 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13137 definitions.
13138 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13139 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13140 definitions.
13141 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13142
dd930cc5
SP
13143 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13144
c19a9f89
DM
131452013-01-15 David S. Miller <davem@davemloft.net>
13146
1aa61767
DM
13147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13148 trunc{,f} to libm-sysdep_routes.
13149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13151 file.
13152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13154 file.
13155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13156 file.
13157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13159 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13160 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13161 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13162 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13163 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13164 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13165
c42d5e98
DM
13166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13167 nearbyint{,f} to libm-sysdep_routes.
13168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13170 New file.
13171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13172 file.
13173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13174 New file.
13175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13176 file.
13177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13179 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13180 file.
13181 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13182 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13183 file.
13184 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13185 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13186 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13187
c19a9f89
DM
13188 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13189 libc_feholdexcept and libc_fesetenv.
13190
357679d2
MF
131912013-01-15 Mike Frysinger <vapier@gentoo.org>
13192
13193 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13194
65a82e3d
DM
131952013-01-14 David S. Miller <davem@davemloft.net>
13196
8b954ab9
DM
13197 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13198 (SPARC_ASM_VIS2_IFUNC): Likewise.
13199 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13201 use of 'siam' instruction.
13202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13203 Likewise.
13204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13205 Likewise.
13206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13207 Likewise.
13208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13213 file.
13214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13215 file.
13216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13217 file.
13218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13219 file.
13220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13225 new VIS2 routines.
13226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13229 Likewise.
13230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13235 routines to libm-sysdep_routines.
13236 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13237
65a82e3d
DM
13238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13239 fdim/fdimf to libm-sysdep_routines.
13240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13241 file.
13242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13244 file.
13245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13248 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13249 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13250 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13251 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13252
e34ab705
SP
132532013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13254
2a91b573
SP
13255 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13256 to optimize copies.
13257
1066a534
SP
13258 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13261
e34ab705
SP
13262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13263 local variable MPTWO.
13264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13265 Likewise.
13266
aba5e596
MF
132672013-01-13 Mike Frysinger <vapier@gentoo.org>
13268
13269 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13270 GLOB_NOESCAPE.
13271
e557e9e5
MF
132722013-01-13 Mike Frysinger <vapier@gentoo.org>
13273
13274 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13275
0428cec9
MF
132762013-01-13 Mike Frysinger <vapier@gentoo.org>
13277
13278 * manual/pattern.texi (glob_t): Document gl_flags.
13279 (glob64_t): Likewise.
13280
8794a964
DM
132812013-01-11 David S. Miller <davem@davemloft.net>
13282
66438c3f
RM
13283 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13284 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13285 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13286 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13287 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13288 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13289 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13290 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13291 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13292 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13293 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13294 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13295 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13296
4ae4244d
DM
13297 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13298 sparc V9 rather than using V8 code.
13299 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13300 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13301
8794a964
DM
13302 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13303 Move to...
13304 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13305 Here.
13306
6270516e
RM
133072013-01-11 Roland McGrath <roland@hack.frob.com>
13308
13309 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13310 not in the main loop.
13311 * configure: Regenerated.
13312
6a57d931
JM
133132013-01-11 Joseph Myers <joseph@codesourcery.com>
13314
13315 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13316 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13317 to just #else.
13318 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13319 [!__GLIBC_HAVE_LONG_LONG] case.
13320 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13321 condition to just #else.
13322 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13323 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13324 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13325 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13326 unconditional.
13327 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13328 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13329 #elif condition to just #else.
13330 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13331 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13332 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13333 #elif condition to just #else.
13334
0e8529e9
SE
133352013-01-11 Steve Ellcey <sellcey@mips.com>
13336
13337 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13338 (EF_MIPS_ARCH_64): Fix value.
13339 (EF_MIPS_ARCH_32R2): New.
13340 (EF_MIPS_ARCH_64R2): New.
13341
740b3dbe
L
133422013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13343
13344 * Makeconfig (+link-pie-before-libc): New.
13345 (+link-pie-after-libc): Likewise.
13346 (+link-pie-tests): Likewise.
13347 (+link-pie): Rewritten.
13348 (link-before-libc): Remove $(config-LDFLAGS).
13349 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13350 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13351 (config-LDFLAGS): Renamed to ...
13352 (rtld-LDFLAGS): This.
13353 (rtld-tests-LDFLAGS): New macro.
13354 (link-libc-rpath-link): Likewise.
13355 (link-libc-tests-rpath-link): Likewise.
13356 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13357 (link-libc): Prepand $(link-libc-rpath-link).
13358 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13359 (test-program-prefix): New macro.
13360 (test-via-rtld-prefix): Likewise.
13361 (test-program-cmd): Likewise.
13362 (host-test-program-cmd): Likewise.
13363 * Makefile ($(common-objpfx)testrun.sh): Replace
13364 $(run-program-prefix) with $(test-program-prefix).
13365 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13366 $(rtld-LDFLAGS).
13367 ($(common-objpfx)shlib.lds): Likewise.
13368 (build-module-helper): Likewise.
13369 ($(common-objpfx)format.lds): Likewise.
13370 * Rules (binaries-pie-tests): New.
13371 (binaries-pie-notests): Likewise.
13372 (binaries-pie): Rewritten.
13373 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13374 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13375 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13376 (make-test-out): Replace $(host-built-program-cmd) with
13377 $(host-test-program-cmd).
13378 * config.make.in (build-hardcoded-path-in-tests): New variable.
13379 * configure.in (--enable-hardcoded-path-in-tests): New configure
13380 option.
13381 (hardcoded_path_in_tests): New AC_SUBST.
13382 * configure: Regenerated.
13383 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13384 $(built-program-cmd) with $(test-program-cmd).
13385 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13386 (test_program_cmd): This.
13387 * elf/Makefile ($(objpfx)order.out): Run test with
13388 $(test-program-prefix).
13389 ($(objpfx)order2.out): Likewise.
13390 ($(objpfx)tst-initorder.out): Likewise.
13391 ($(objpfx)tst-initorder2.out): Likewise.
13392 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13393 $(test-program-cmd).
13394 ($(objpfx)tst-array1-static.out): Likewise.
13395 ($(objpfx)tst-array2.out): Likewise.
13396 ($(objpfx)tst-array3.out): Likewise.
13397 ($(objpfx)tst-array4.out): Likewise.
13398 ($(objpfx)tst-array5.out): Likewise.
13399 ($(objpfx)tst-array5-static.out): Likewise.
13400 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13401 $(test-program-cmd).
13402 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13403 $(run-program-prefix) with $(test-program-prefix).
13404 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13405 (test_program_prefix): This.
13406 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13407 $(run-program-prefix) with $(test-program-prefix).
13408 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13409 (test_program_prefix): This.
13410 * iconvdata/tst-tables.sh: Likewise.
13411 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13412 $(run-program-prefix) with $(test-program-prefix).
13413 ($(objpfx)tst-translit.out): Likewise.
13414 ($(objpfx)tst-gettext2.out): Likewise.
13415 ($(objpfx)tst-gettext4.out): Likewise.
13416 ($(objpfx)tst-gettext6.out): Likewise.
13417 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13418 (test_program_prefix): This.
13419 * intl/tst-gettext2.sh: Likewise.
13420 * intl/tst-gettext4.sh Likewise.
13421 * intl/tst-gettext6.sh: Likewise.
13422 * intl/tst-translit.sh: Likewise.
13423 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13424 with $(test-program-cmd).
13425 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13426 $(run-program-prefix) with $(test-program-prefix).
13427 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13428 (test_program_prefix): This.
13429 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13430 $(run-program-prefix) with $(test-program-prefix).
13431 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13432 (test_program_prefix): This.
13433 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13434 * posix/Makefile ($(objpfx)globtest.out): Replace
13435 $(run-via-rtld-prefix) and $(test-wrapper) with
13436 $(test-program-prefix) and $(test-via-rtld-prefix).
13437 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13438 $(test-program-prefix).
13439 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13440 $(host-test-program-cmd).
13441 (tst-spawn-ARGS): Likewise.
13442 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13443 $(test-program-prefix).
13444 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13445 (test_via_rtld_prefix): This.
13446 (test_wrapper): Renamed to ...
13447 (test_program_prefix): This.
13448 (run_program_prefix): Replaced by test_program_prefix.
13449 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13450 (test_program_prefix): This.
13451 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13452 with $(host-test-program-cmd).
13453 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13454 $(run-program-prefix) with $(test-program-prefix).
13455 ($(objpfx)tst-printf.out): Likewise.
13456 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13457 $(test-program-cmd).
13458 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13459 (test_program_prefix): This.
13460 * stdio-common/tst-unbputc.sh: Likewise.
13461 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13462 $(run-program-prefix) with $(test-program-prefix).
13463 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13464 (test_program_prefix): This.
13465 * string/Makefile ($(objpfx)tst-svc.out): Replace
13466 $(built-program-cmd) with $(test-program-cmd).
13467
c6fe55cf
AJ
134682013-01-11 Andreas Jaeger <aj@suse.de>
13469
13470 [BZ #15003]
13471 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13472 value. Sync with Linux 3.7.
13473
9e6919c8
DM
134742013-01-10 David S. Miller <davem@davemloft.net>
13475
13476 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13477 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13478 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13479
1c9f1a02
RM
134802013-01-10 Roland McGrath <roland@hack.frob.com>
13481
13482 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13483 never set.
13484 * configure: Regenerated.
13485
b9de2dde
DM
134862013-01-10 David S. Miller <davem@davemloft.net>
13487
13488 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13489 sparc V9 rather than using V8 code.
13490 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13491 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13492
e7f68ef4
RM
134932013-01-10 Roland McGrath <roland@hack.frob.com>
13494
13495 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13496 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13497 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13498 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13499 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13500 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13501 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13502 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13503 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13504 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13505 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13506 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13507 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13508 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13509 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13510 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13511 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13512 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13513 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13514 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13515 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13516 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13517 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13518 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13519 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13520 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13521 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13522
5a47cc9c
DM
135232013-01-10 David S. Miller <davem@davemloft.net>
13524
13525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13526
4cf8f209
L
135272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13528
13529 * posix/Makefile (tests-static): New variable.
13530 (tests): Add $(tests-static).
13531 (tst-exec-static-ARGS): New variable.
13532 (tst-spawn-static-ARGS): Likewise.
13533 * posix/tst-exec-static.c: New file.
13534 * posix/tst-spawn-static.c: Likewise.
13535 * posix/tst-exec.c: Support run directly.
13536 * posix/tst-spawn.c: Likewise.
13537
fed0faa1
JM
135382013-01-10 Joseph Myers <joseph@codesourcery.com>
13539
828beb13
JM
13540 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13541 long.
13542 * math/bits/mathcalls.h (llrint): Likewise.
13543 (llround): Likewise.
13544 * stdlib/stdlib.h (struct drand48_data): Likewise.
13545 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13546 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13547 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13548 Likewise.
13549 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13550 Likewise.
13551 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13552 (elf_greg_t): Likewise.
13553 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13554 (__jmp_buf): Likewise.
13555 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13556 definitions.
13557 (llrint): Likewise, for all definitions.
13558 (llrintl): Likewise.
13559
fed0faa1
JM
13560 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13561 Remove [__GNUC__] condition.
13562 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13563 condition to just [__USE_ISOC99].
13564 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13565
1a20cb20
L
135662013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13567
13568 [BZ #14200]
13569 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13570 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13571 defined.
13572 (_POSIX_V6_ILP32_OFF32): Likewise.
13573 (_XBS5_ILP32_OFF32): Likewise.
13574 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13575 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13576
751b85f7
SP
135772013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13578
7490eb81
SP
13579 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13580
751b85f7
SP
13581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13582 doubles __mpexp_twomm1. Adjust usage.
13583 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13584 Remove.
13585
988197f0
AS
135862013-01-10 Andreas Schwab <schwab@suse.de>
13587
13588 [BZ #14964]
13589 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13590 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13591
e83d7298
DM
135922013-01-09 David S. Miller <davem@davemloft.net>
13593
034ed64b 13594 [BZ #15003]
e83d7298
DM
13595 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13596 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13597 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13598 TCP_FASTOPEN): Define.
13599 (tcp_repair_opt): New structure.
13600 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13601 enum values.
13602 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13603 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13604 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13605 (tcp_cookie_transactions): New structure.
13606
d5e0b9bd
AB
136072013-01-09 Anton Blanchard <anton@samba.org>
13608
13609 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13610 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13611 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13612 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13613
0c07e3ea
JM
136142013-01-09 Joseph Myers <joseph@codesourcery.com>
13615
13616 * include/features.h (__USE_ANSI): Remove.
13617
232f7002
RM
136182013-01-09 Roland McGrath <roland@hack.frob.com>
13619
ad98e30c
RM
13620 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13621
232f7002
RM
13622 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13623
950c99ca
SP
136242013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13625
b5792741
SP
13626 * sysdeps/s390/fpu/libm-test-ulps: Update.
13627
47cf2278
SP
13628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13629
950c99ca
SP
13630 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13631 (__acr): Likewise.
13632 (__cpy): Likewise.
13633 (norm): Likewise.
13634 (denorm): Likewise.
13635 (__mp_dbl): Likewise.
13636 (__dbl_mp): Likewise.
13637 (add_magnitudes): Likewise.
13638 (sub_magnitudes): Likewise.
13639 (__add): Likewise.
13640 (__sub): Likewise.
13641 (__mul): Likewise.
13642 (__inv): Likewise.
13643 (__dvd): Likewise.
13644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13645 (__acr): Likewise.
13646 (__cpy): Likewise.
13647 (norm): Likewise.
13648 (denorm): Likewise.
13649 (__mp_dbl): Likewise.
13650 (__dbl_mp): Likewise.
13651 (add_magnitudes): Likewise.
13652 (sub_magnitudes): Likewise.
13653 (__add): Likewise.
13654 (__sub): Likewise.
13655 (__mul): Likewise.
13656 (__inv): Likewise.
13657 (__dvd): Likewise.
13658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13659 (__acr): Likewise.
13660 (__cpy): Likewise.
13661 (norm): Likewise.
13662 (denorm): Likewise.
13663 (__mp_dbl): Likewise.
13664 (__dbl_mp): Likewise.
13665 (add_magnitudes): Likewise.
13666 (sub_magnitudes): Likewise.
13667 (__add): Likewise.
13668 (__sub): Likewise.
13669 (__mul): Likewise.
13670 (__inv): Likewise.
13671 (__dvd): Likewise.
13672
eede9df9
JM
136732013-01-08 Joseph Myers <joseph@codesourcery.com>
13674
13675 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13676 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13677 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13678 2 && __USE_EXTERN_INLINES]: Likewise.
13679
c40ea3d9
AJ
136802013-01-08 Andreas Jaeger <aj@suse.de>
13681
13682 [BZ# 14985]
13683 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13684 Remove.
13685 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13686 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13687
2ccdea26
AB
136882013-01-07 Anton Blanchard <anton@samba.org>
13689
13690 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13691 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13692 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13693 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13694 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13695 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13696 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13697 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13699 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13700 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13701 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13702 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13703 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13704 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13705 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13706 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13707 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13708 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13709 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13710 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13711 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13712 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13713 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13714 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13715 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13716 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13717 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13718 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13719 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13720 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13722 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13723 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13724 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13725 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13726 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13727 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13728 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13729 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13730 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13731 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13732 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13733
a9708fed
JM
137342013-01-07 Joseph Myers <joseph@codesourcery.com>
13735
375607b9
JM
13736 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13737 (__MALLOC_PMT): Likewise.
13738 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13739 [__GNUC__], only on [_LIBC].
13740 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13741 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13742 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13743 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13744 forward declaration.
13745 (realloc_hook_ini): Likewise.
13746 (memalign_hook_ini): Likewise.
13747 (__libc_memalign): Do not use __MALLOC_PMT in variable
13748 declaration.
13749 (__libc_valloc): Likewise.
13750 (__libc_pvalloc): Likewise.
13751 (__libc_calloc): Likewise.
13752 (__posix_memalign): Likewise.
13753
a9708fed
JM
13754 [BZ #14996]
13755 * math/s_casinh.c: Include <float.h>.
13756 (__casinh): Do not do computation with squaring and square root
13757 for large arguments.
13758 * math/s_casinhf.c: Include <float.h>.
13759 (__casinhf): Do not do computation with squaring and square root
13760 for large arguments.
13761 * math/s_casinhl.c: Include <float.h>.
13762 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13763 (__casinhl): Do not do computation with squaring and square root
13764 for large arguments.
13765 * math/libm-test.inc (casin_test): Add more tests.
13766 (casinh_test): Likewise.
13767 * sysdeps/i386/fpu/libm-test-ulps: Update.
13768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13769
afec409a
L
137702013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13771
13772 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13773 (__x86_64_raw_data_cache_size): Likewise.
13774 (__x86_64_data_cache_size_half): Likewise.
13775 (__x86_64_raw_data_cache_size_half): Likewise.
13776 (__x86_64_shared_cache_size): Likewise.
13777 (__x86_64_raw_shared_cache_size): Likewise.
13778 (__x86_64_shared_cache_size_half): Likewise.
13779 (__x86_64_raw_shared_cache_size_half): Likewise.
13780 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13781 to ...
13782 (__x86_data_cache_size): This.
13783 (__x86_64_raw_data_cache_size): Renamed to ...
13784 (__x86_raw_data_cache_size): This.
13785 (__x86_64_data_cache_size_half): Renamed to ...
13786 (__x86_data_cache_size_half): This.
13787 (__x86_64_raw_data_cache_size_half): Renamed to ...
13788 (__x86_raw_data_cache_size_half): This.
13789 (__x86_64_shared_cache_size): Renamed to ...
13790 (__x86_shared_cache_size): This.
13791 (__x86_64_raw_shared_cache_size): Renamed to ...
13792 (__x86_raw_shared_cache_size): This.
13793 (__x86_64_shared_cache_size_half): Renamed to ...
13794 (__x86_shared_cache_size_half): This.
13795 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13796 (__x86_raw_shared_cache_size_half): This.
13797 * sysdeps/x86_64/memcpy.S: Updated.
13798 * sysdeps/x86_64/memset.S: Likewise.
13799 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13800 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13801 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13802
0b3986d0
DM
138032013-01-04 David S. Miller <davem@davemloft.net>
13804
13805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13806
e47686e9
AS
138072013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13808
d643bac1
AS
13809 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13810 1 to avoid redefinition warning.
13811 (__USE_GNU): Don't define.
13812 (init_signaling_nan): Protoize.
13813
e47686e9
AS
13814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13815
b18decba
SP
138162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13817
fffb407f
SP
13818 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13820 (__cpymn): Likewise.
13821 (norm): Remove commented code.
13822 (denorm): Likewise.
13823 (__mp_dbl): Likewise.
13824 (__inv): Likewise.
13825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13826 (__cpymn): Likewise.
13827 (norm): Remove commented code.
13828 (denorm): Likewise.
13829 (__mp_dbl): Likewise.
13830 (__inv): Likewise.
13831
b18decba
SP
13832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13833 mp_no value for 1.0 and 2.0.
13834 (norm): Use RADIXI instead of radixi.d.
13835 (denorm): Likewise.
13836 (__mul): Use 0.0 instead of zero.d.
13837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13838 mp_no value for 1.0 and 2.0.
13839 (norm): Use RADIXI instead of radixi.d.
13840 (denorm): Likewise.
13841 (__mul): Use 0.0 instead of zero.d.
13842
cdc1c96f
JM
138432013-01-04 Joseph Myers <joseph@codesourcery.com>
13844
13845 [BZ #14994]
13846 * math/s_casinh.c (__casinh): Reduce finite argument to first
13847 quadrant then set signs of results at the end.
13848 * math/s_casinhf.c (__casinhf): Likewise.
13849 * math/s_casinhl.c (__casinhl): Likewise.
13850 * math/libm-test.inc (casin_test): Add more tests.
13851 (casinh_test): Likewise.
13852 * sysdeps/i386/fpu/libm-test-ulps: Update.
13853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13854
302913e1
SP
138552013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13856
6420d207
SP
13857 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13858
a9e48ab4
SP
13859 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13860
b7837264
SP
13861 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13862 declarations.
13863 (denorm): Likewise.
13864 (__mp_dbl): Likewise.
13865 (__inv): Likewise.
13866
f8af25d2
SP
13867 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13868 and adjust the header comment.
13869
302913e1
SP
13870 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13871 variable name from declaration.
13872
5d7dd1ca
L
138732013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13874
13875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13876 Initialize COMMON_CPUID_INDEX_7 element.
13877 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13878 (CPUID_RTM): Likewise.
13879 (HAS_RTM): Likewise.
13880 (COMMON_CPUID_INDEX_7): New enum.
13881
2f5f40f4
AS
138822013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13883
13884 [BZ #14981]
13885 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13886 size is zero, record memory as freed.
13887
4056f4a0
AJ
138882013-01-03 Andreas Jaeger <aj@suse.de>
13889
13890 * po/ia.po: Add new Interlingua translation.
13891
ab15736f 138922012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13893
13894 * locale/programs/localedef.c: Fix description of '--posix' flag.
13895
568035b7
JM
138962013-01-02 Joseph Myers <joseph@codesourcery.com>
13897
e6898b8d
JM
13898 * NEWS: Update dates in second copyright notice.
13899 * README: Update copyright dates in example.
13900 * manual/libc.texinfo: Update copyright dates.
13901 * scripts/test-installation.pl: Update copyright date in --version
13902 output.
13903
0e2f9562
JM
13904 * hurd/ctty-input.c: Fix copyright notice formatting.
13905 * hurd/ctty-output.c: Likewise.
13906 * hurd/dtable.c: Likewise.
13907 * hurd/hurd-raise.c: Likewise.
13908 * hurd/hurdprio.c: Likewise.
13909 * hurd/msgportdemux.c: Likewise.
13910 * misc/sys/file.h: Likewise.
13911 * misc/sys/ioctl.h: Likewise.
13912 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13913 * sysdeps/mach/hurd/chdir.c: Likewise.
13914 * sysdeps/mach/hurd/fchdir.c: Likewise.
13915 * sysdeps/mach/hurd/rename.c: Likewise.
13916 * sysdeps/mach/hurd/rmdir.c: Likewise.
13917 * sysdeps/mach/hurd/seekdir.c: Likewise.
13918 * sysdeps/mach/hurd/setsid.c: Likewise.
13919 * sysdeps/posix/wait3.c: Likewise.
13920
568035b7
JM
13921 * All files with FSF copyright notices: Update copyright dates
13922 using scripts/update-copyrights.
13923 * intl/plural.c: Regenerated.
13924 * locale/programs/charmap-kw.h: Likewise.
13925 * locale/programs/locfile-kw.h: Likewise.
13926
da08f647
SP
139272013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13928
0f5477af
SP
13929 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13930 four values.
13931
44e0d4c2
SP
13932 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13933 calculation loop and add branch prediction.
13934
4d55b4e5
SP
13935 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13936 check access beyond bounds of m1np.
13937
da08f647
SP
13938 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13939 MPTWO.
13940 (__inv): Remove local variable MPTWO to use the global
13941 constant.
13942 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13943 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13944 variable MPTWO.
13945 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13946 MP3HALFS static const.
13947
8e051029
DM
139482013-01-01 David S. Miller <davem@davemloft.net>
13949
13950 * po/ca.po: Update from translation team.
13951
f4cf5f2d
JM
139522013-01-01 Joseph Myers <joseph@codesourcery.com>
13953
13954 * scripts/update-copyrights: New file.
13955 * Makeconfig: Reformat copyright notice.
13956 * ctype/ctype.h: Likewise.
13957 * debug/swprintf_chk.c: Likewise.
13958 * elf/dl-cache.c: Likewise.
13959 * elf/dl-debug.c: Likewise.
13960 * elf/dl-object.c: Likewise.
13961 * grp/initgroups.c: Likewise.
13962 * hurd/Makefile: Likewise.
13963 * hurd/hurd/signal.h: Likewise.
13964 * hurd/hurdfault.c: Likewise.
13965 * hurd/hurdioctl.c: Likewise.
13966 * hurd/hurdlookup.c: Likewise.
13967 * hurd/intr-msg.c: Likewise.
13968 * iconv/gconv_open.c: Likewise.
13969 * libio/swprintf.c: Likewise.
13970 * locale/lc-ctype.c: Likewise.
13971 * locale/nl_langinfo.c: Likewise.
13972 * mach/Machrules: Likewise.
13973 * mach/Makefile: Likewise.
13974 * malloc/obstack.h: Likewise.
13975 * manual/Makefile: Likewise.
13976 * manual/tsort.awk: Likewise.
13977 * misc/bits/stab.def: Likewise.
13978 * nis/nis_print_group_entry.c: Likewise.
13979 * nis/nis_table.c: Likewise.
13980 * nis/nss_compat/compat-pwd.c: Likewise.
13981 * nis/nss_compat/compat-spwd.c: Likewise.
13982 * po/Makefile: Likewise.
13983 * posix/fnmatch.c: Likewise.
13984 * posix/regex.h: Likewise.
13985 * resolv/Makefile: Likewise.
13986 * resolv/nss_dns/dns-network.c: Likewise.
13987 * resolv/res_hconf.c: Likewise.
13988 * scripts/gen-sorted.awk: Likewise.
13989 * soft-fp/soft-fp.h: Likewise.
13990 * stdio-common/printf.h: Likewise.
13991 * stdlib/monetary.h: Likewise.
13992 * stdlib/random.c: Likewise.
13993 * stdlib/random_r.c: Likewise.
13994 * sysdeps/generic/Makefile: Likewise.
13995 * sysdeps/gnu/Makefile: Likewise.
13996 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13998 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13999 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14003 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14004 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14006 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14007 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14008 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14009 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14010 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14011 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14012 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14013 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14014 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14015 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14016 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14017 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14018 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14019 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14020 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14021 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14022 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14023 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14024 * sysdeps/mach/hurd/errnos.awk: Likewise.
14025 * sysdeps/mach/hurd/fork.c: Likewise.
14026 * sysdeps/mach/hurd/getcwd.c: Likewise.
14027 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14028 * sysdeps/mach/hurd/mmap.c: Likewise.
14029 * sysdeps/mach/hurd/utimes.c: Likewise.
14030 * sysdeps/mach/hurd/xmknod.c: Likewise.
14031 * sysdeps/posix/profil.c: Likewise.
14032 * sysdeps/posix/readdir_r.c: Likewise.
14033 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14034 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14035 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14036 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14038 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14039 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14040 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14042 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14043 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14044 * sysdeps/pthread/lio_listio.c: Likewise.
14045 * sysdeps/sparc/dl-procinfo.h: Likewise.
14046 * sysdeps/unix/i386/sysdep.S: Likewise.
14047 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14048 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14049 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14050 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14052 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14053 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14054 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14055 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14056 * sysdeps/wordsize-32/divdi3.c: Likewise.
14057 * time/sys/time.h: Likewise.
14058 * wcsmbs/Makefile: Likewise.
14059
0549fbba
DM
140602013-01-01 David S. Miller <davem@davemloft.net>
14061
a141f1a7
DM
14062 * po/fr.po: Update from translation team.
14063
0549fbba
DM
14064 * catgets/gencat.c: Update copyright year.
14065 * csu/version.c: Likewise.
14066 * debug/catchsegv.sh: Likewise.
14067 * debug/pcprofiledump.c: Likewise.
14068 * debug/xtrace.sh: Likewise.
14069 * elf/ldconfig.c: Likewise.
14070 * elf/ldd.bash.in: Likewise.
14071 * elf/pldd.c: Likewise.
14072 * elf/sotruss.ksh: Likewise.
14073 * elf/sprof.c: Likewise.
14074 * iconv/iconv_prog.c: Likewise.
14075 * iconv/iconvconfig.c: Likewise.
14076 * locale/programs/locale.c: Likewise.
14077 * locale/programs/localedef.c: Likewise.
14078 * login/programs/pt_chown.c: Likewise.
14079 * malloc/memusage.sh: Likewise.
14080 * malloc/memusagestat.c: Likewise.
14081 * malloc/mtrace.pl: Likewise.
14082 * nscd/nscd.c: Likewise.
14083 * nss/getent.c: Likewise.
14084 * nss/makedb.c: Likewise.
14085 * posix/getconf.c: Likewise.
14086
18ea052c
SP
140872012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14088
14089 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14090 numbers.
14091
9c89fca6
MF
140922012-12-30 Mike Frysinger <vapier@gentoo.org>
14093
14094 * math/bits/mathcalls.h (modf): Use __nonnull.
14095
085ec079
SP
140962012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14097
14098 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14099 (split): Use macro CN instead of the bare value.
14100 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14101 could be used.
14102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14103 instead of the bare value.
14104 (power1): Likewise.
14105
6d9f97e1
SP
141062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14107
d63f73be
SP
14108 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14109 __ATAN_TWOM.
14110 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14111
6d9f97e1
SP
14112 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14113 their values.
14114 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14115 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14116 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14117 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14118
4c4febf5
AJ
141192012-12-28 Andreas Jaeger <aj@suse.de>
14120
af5843ef
AJ
14121 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14122 values are from Linux 3.7.
14123
4c4febf5
AJ
14124 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14125 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14126
99136f82
SP
141272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14128
2f216c3c 14129 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14130 TRUE case.
14131
99136f82
SP
14132 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14133 (norm): Likewise.
14134 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14135 variables with preprocessor constants.
14136 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14137 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14138 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14139
7fffbdff
BH
141402012-12-27 Bruno Haible <bruno@clisp.org>
14141
14142 [BZ #14317]
14143 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14144 only if needed.
14145
b76eb5f0
SP
141462012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14147
31a7fe5c
SP
14148 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14149 and use variable directly.
14150 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14151
b76eb5f0
SP
14152 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14153 MPONE.
14154 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14155 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14156 variable MPONE.
14157 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14158 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14159 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14160 include directive. Remove local variable MPONE.
14161 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14162 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14163 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14164
2c8bfe7d
DM
141652012-12-25 David S. Miller <davem@davemloft.net>
14166
14167 * version.h (RELEASE): Set to "development".
14168 (VERSION): Set to "2.17.90".
14169 * NEWS: Add 2.18 section.
14170
147d03b0
DM
141712012-12-21 David S. Miller <davem@davemloft.net>
14172
14173 * po/hr.po: Update from translation team.
14174
a8ebb2b9
AK
141752012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14176
14177 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14178
95b4f1b6
SE
141792012-12-19 Steve Ellcey <sellcey@mips.com>
14180
b2d94007 14181 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14182
cedb2a90
MS
141832012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14184
14185 * manual/contrib.texi (Contributors): Spelling correction.
14186
bbf527d6
DM
141872012-12-15 David S. Miller <davem@davemloft.net>
14188
14189 * po/ru.po: Update from translation team.
14190
bc38c906
DM
141912012-12-13 David S. Miller <davem@davemloft.net>
14192
85429b1a
DM
14193 * NEWS: Mention IFUNC testsuite enhancements.
14194
d283e353
DM
14195 * po/pl.po: Update from translation team.
14196 * po/bg.po: Likewise.
14197
bc38c906
DM
14198 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14199 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14200
a181b0d7
DM
142012012-12-11 David S. Miller <davem@davemloft.net>
14202
4641d57e
DM
14203 * po/sv.po: Update from translation team.
14204
f7bc6495
DM
14205 * po/vi.po: Update from translation team.
14206
6fc9048f
DM
14207 * po/cs.po: Update from translation team.
14208
a181b0d7
DM
14209 * po/de.po: Update from translation team.
14210 * po/eo.po: Likewise.
14211 * po/nl.po: Likewise.
14212
f70bfe80
SP
142132012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14214
3c8b4190
SP
14215 [BZ #14246]
14216 * manual/argp.texi (Argp Helper Functions): Move node to follow
14217 Argp Parsing State.
14218
f70bfe80
SP
14219 [BZ #14872]
14220 * manual/conf.texi (Limits on File System Capacity): Mention if
14221 terminating null is included in the max size.
14222
188f0adf
AJ
142232012-12-10 Andreas Jaeger <aj@suse.de>
14224
14225 * po/cs.po: Update from translation team.
14226
56e7d3ad
SP
142272012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14228
14229 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14230 void pointer and cast to uintptr_t.
14231 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14232 path.
14233 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14234 * sysdeps/s390/s390-64/memset.S: Likewise.
14235
76f2d2ea 142362012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14237
14238 [BZ #14833]
14239 * menual/message.texi (Message Translation): Fix typos.
14240 (Helper programs for gettext): Likewise.
14241
67cbf9a2
AS
142422012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14243
14244 [BZ #14898]
14245 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14246 Change to -1.
14247
682d0e9a
DM
142482012-12-07 David S. Miller <davem@davemloft.net>
14249
14250 * po/libc.pot: Update.
14251
573cd484
RH
142522012-12-07 Richard Henderson <rth@redhat.com>
14253
7e9da188 14254 [BZ #10114]
573cd484
RH
14255 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14256 normal/normal case to before the switch.
14257 (_FP_DIV): Likewise.
14258
e933a943
MF
142592012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14260 Mike Frysinger <vapier@gentoo.org>
14261
14262 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14263 check for __NR_fadvise64_64.
14264
82123268
CM
142652012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14266
14267 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14268 0, not just to plain "0" as a statement.
14269 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14270 with cw.
14271
d9814526
JM
142722012-12-06 Joseph Myers <joseph@codesourcery.com>
14273
14274 * NEWS: Use sourceware.org in Bugzilla URL.
14275
7728c574
SP
142762012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14277
f16946dd
SP
14278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14279 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14280
5704bbcb
SP
14281 * stdio-common/tst-put-error.c (do_test): Add newline to the
14282 padded test to ensure flush.
14283
17aa0516
JL
142842012-12-05 Jeff Law <law@redhat.com>
14285
14286 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14287
363313b5
JM
142882012-12-05 Joseph Myers <joseph@codesourcery.com>
14289
effbd42a
JM
14290 * README: Don't refer to ports add-on as distributed separately.
14291 Mention AArch64 in list of systems supported in the ports add-on.
14292
87600365
JM
14293 * LICENSES: Add more non-FSF copyright and license notices.
14294
a0d7066a
JM
14295 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14296 ((unused)).
14297
66ca5a5b
JM
14298 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14299
363313b5
JM
14300 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14301 10000 as width of padded output.
14302
b37984ad
JM
143032012-12-04 Joseph Myers <joseph@codesourcery.com>
14304
9003570a
JM
14305 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14306
b37984ad
JM
14307 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14308 variable LX with __attribute__ ((unused)).
14309 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14310 Likewise.
14311 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14312 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14313 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14314 with __attribute__ ((unused)).
14315
c8df52ec
DM
143162012-12-04 David S. Miller <davem@abraco.davemloft.net>
14317
14318 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14319
b3b099af
JM
143202012-12-04 Joseph Myers <joseph@codesourcery.com>
14321
c33aa6e3
JM
14322 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14323 (CFLAGS-nldbl-acos.c): New variable.
14324 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14325 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14326 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14327 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14328 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14329 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14330 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14331 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14332 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14333 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14334 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14335 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14336 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14337 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14338 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14339 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14340 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14341 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14342 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14343 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14344 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14345 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14346 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14347 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14348 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14349 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14350 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14351 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14352 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14353 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14354 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14355 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14356 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14357 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14358 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14359 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14360 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14361 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14362 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14363 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14364 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14365 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14366 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14367 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14368 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14369 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14370 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14371 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14372 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14373 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14374 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14375 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14376 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14377 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14378 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14379 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14380 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14381 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14382 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14383 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14384 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14385 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14386 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14387 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14388 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14389 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14390 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14391 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14392 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14393 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14394 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14395 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14396 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14397 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14398 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14399 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14400 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14401 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14402 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14403 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14404 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14405 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14406 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14407 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14408 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14409 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14410 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14411 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14412 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14413 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14414 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14415 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14416 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14417 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14418 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14419 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14420 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14421
20f0018d
JM
14422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14423 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14424
b3b099af
JM
14425 [BZ #14914]
14426 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14427 whole low double instead of just low 47 bits when splitting values
14428 into two parts.
14429
029264d1
AM
144302012-12-03 Allan McRae <allan@archlinux.org>
14431
14432 * manual/stdio.texi (Predefined Printf Handlers): Remove
14433 @hsep and @vsep usage.
14434
c9d6789e
MF
144352012-12-03 Mike Frysinger <vapier@gentoo.org>
14436
14437 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14438 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14439
4b7634a5
JL
144402012-12-03 Jeff Law <law@redhat.com>
14441
14442 * time/sys/time.h (settimeofday): Do not mark TV argument
14443 as __nonnull.
14444
eb6cbd24
MF
144452012-12-01 Mike Frysinger <vapier@gentoo.org>
14446
14447 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14448 when currently writing and seek to current position when not.
14449 * libio/Makefile (tests): Remove bug-fclose1.
14450 * libio/bug-fclose1.c: Delete.
14451
f638872a
JM
144522012-12-01 Joseph Myers <joseph@codesourcery.com>
14453
14454 * manual/arith.texi (feenableexcept): Fix typo.
14455 (fedisableexcept): Likewise.
14456
48085d14
RM
144572012-11-30 Roland McGrath <roland@hack.frob.com>
14458
14459 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14460 second, differently-typed declaration, rather than a cast.
14461
1a538b9f
SP
144622012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14463
14464 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14465 * include/rpc/svc.h: ... here.
14466
d07f2ff1 144672012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14468
14469 [BZ #13013]
14470 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14471 depending n and resplen2 to catch cases where answer
14472 equals answerp2.
14473
c93ec1f0
CD
144742012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14475
14476 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14477 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14478
37db69de
MF
144792012-11-29 Mike Frysinger <vapier@gentoo.org>
14480
14481 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14482
e10c4e4f
RM
144832012-11-29 Roland McGrath <roland@hack.frob.com>
14484
14485 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14486
2af1b328
JL
144872012-11-28 Jeff Law <law@redhat.com>
14488
14489 [BZ #13761]
14490 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14491 dataset_temporary. Track alloca usage into alloca_used.
14492 If dataset is large allocate and release it via malloc/free.
14493
111db5b1
FW
144942012-06-04 Florian Weimer <fweimer@redhat.com>
14495
f06cc227 14496 [BZ #14197]
111db5b1
FW
14497 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14498
dd694abd
DM
144992012-11-28 David S. Miller <davem@davemloft.net>
14500
14501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14502
9984dd01
JM
145032012-11-28 Joseph Myers <joseph@codesourcery.com>
14504
14505 [BZ #14803]
14506 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14507 of pi/2 rounded to nearest to 64 bits.
14508 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14509 nearest to 64 bits.
14510 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14511 bits.
14512
14bc93a9
JL
145132012-11-28 Jeff Law <law@redhat.com>
14514 Martin Osvald <mosvald@redhat.com>
14515
14516 [BZ #14889]
14517 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14518 * sunrpc/svc.c: Include time.h.
14519 (__svc_accept_failed): New function.
14520 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14521 any reason other than EINTR, call __svc_accept_failed.
14522 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14523 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14524
e3c6aa3a
AS
145252012-11-28 Andreas Schwab <schwab@suse.de>
14526
14527 * scripts/abilist.awk: Also handle indirect functions in .opd
14528 section.
14529
1bead169
JM
145302012-11-28 Joseph Myers <joseph@codesourcery.com>
14531
14532 [BZ #13881]
14533 * sysdeps/x86/fpu/powl_helper.c: New file.
14534 * sysdeps/x86/fpu/Makefile: Likewise.
14535 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14536 (p3): New object.
14537 (__ieee754_powl): Use __powl_helper for finite arguments except
14538 integer exponents below 8.
14539 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14540 (p3): New object.
14541 (__ieee754_powl): Use __powl_helper for finite arguments except
14542 integer exponents below 8.
14543 * math/libm-test.inc (pow_test): Add more tests and enable some
14544 previously disabled tests.
14545 * sysdeps/i386/fpu/libm-test-ulps: Update.
14546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14547
0817d63d
SP
145482012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14549 Carlos O'Donell <carlos_odonell@mentor.com>
14550
14551 * nss/makedb.c (is_prime): Assert that input is odd and greater
14552 than 4. Note that fact in a comment too.
14553 (next_prime): Add 4 to input.
14554
de2fd463
SP
145552012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14556
14557 [BZ #11741]
14558 * libio/Makefile (tests): Add test case tst-fwrite-error.
14559 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14560 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14561 * libio/tst-fwrite-error.c: New test case.
14562
c515fb51
L
145632012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14564
14565 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14566 before casting to void *.
14567 * include/libc-internal.h (__pointer_type): New macro.
14568 (__integer_if_pointer_type_sub): Likewise.
14569 (__integer_if_pointer_type): Likewise.
14570 (cast_to_integer): Likewise.
14571 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14572 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14573 before casting to atomic64_t.
14574 (atomic_exchange_acq): Likewise.
14575 (__arch_exchange_and_add_body): Likewise.
14576 (__arch_add_body): Likewise.
14577 (atomic_add_negative): Likewise.
14578 (atomic_add_zero): Likewise.
14579
4cf77aa9
JM
145802012-11-26 Joseph Myers <joseph@codesourcery.com>
14581
14582 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14583 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14584 (add_fdes): Likewise.
14585 (linear_search_fdes): Likewise.
14586 (binary_search_unencoded_fdes): Likewise.
14587
d260b3b4
AS
145882012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14589
14590 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14591
67060746
AC
145922012-11-24 Adam Conrad <adconrad@0c3.net>
14593
14594 * configure.in: Autodetect C++ header directories.
14595 * configure: Regenerated.
14596
800938a1
MF
145972012-11-23 Mike Frysinger <vapier@gentoo.org>
14598
14599 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14600
4e6e34e6
AS
146012012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14602
14603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14604
7c7feb47
JM
146052012-11-22 Joseph Myers <joseph@codesourcery.com>
14606
7184dcdf
JM
14607 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14608 LDBL_MANT_DIG == 106]: Disable some tests.
14609 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14610 Likewise.
14611 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14612 Likewise.
14613
0a42601f
JM
14614 [BZ #14871]
14615 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14616 input for small inputs. Return +/- pi/2 for large inputs.
14617 * math/libm-test.inc (atan_test): Add more tests.
14618
79c9b9fe
JM
14619 * sysdeps/generic/unwind-dw2-fde-glibc.c
14620 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14621 __attribute__ ((unused)).
14622
c60d3bf2
JM
14623 [BZ #14645]
14624 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14625 x * y if x and y are nonzero and z is zero.
14626
ef1e0867
JM
14627 [BZ #14811]
14628 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14629 nonzero exponents with absolute value below 0x1p-117 to +/-
14630 0x1p-117.
14631
1468ded3
JM
14632 [BZ #14869]
14633 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14634 up arguments below 2**-450, not just those below 2**-500.
14635 * math/libm-test.inc (hypot_test): Add another test.
14636
8e27e3cc
JM
14637 [BZ #14868]
14638 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14639 Return a+b for ratio over 2**120, not 2**60.
14640 * math/libm-test.inc (hypot_test): Add another test.
14641
c9c0279b
JM
14642 * math/libm-test.inc (clog_test): Use
14643 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14644 (clog10_test): Likewise.
14645
7c7feb47
JM
14646 [BZ #6778]
14647 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14648
fff1530e
AS
146492012-11-22 Andreas Schwab <schwab@suse.de>
14650
14651 * sysdeps/i386/fpu/libm-test-ulps: Update.
14652
94558d30
PT
146532012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14654
14655 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14656 printf output with newline.
14657
7e1be741
L
146582012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14659
6bfea974
L
14660 [BZ #14865]
14661 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14662 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14663 -z nodlopen, -z initfirst and -z execstack support.
14664 * configure: Regenerated.
14665
7e1be741
L
14666 * elf/elf.h (DF_1_NODIRECT): New macro.
14667 (DF_1_IGNMULDEF): Likewise.
14668 (DF_1_NOKSYMS): Likewise.
14669 (DF_1_NOHDR): Likewise.
14670 (DF_1_EDITED): Likewise.
14671 (DF_1_NORELOC): Likewise.
14672 (DF_1_SYMINTPOSE): Likewise.
14673 (DF_1_GLOBAUDIT): Likewise.
14674 (DF_1_SINGLETON): Likewise.
14675 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14676 DT_1_SUPPORTED_MASK bits.
14677 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14678
105ce2ce
CD
146792012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14680
14681 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14682
123be9de
TS
146832012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14684
d072f3f7
TS
14685 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14686 macro.
14687
123be9de
TS
14688 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14689 (sendmmsg): Move declarations...
14690 * socket/sys/socket.h: ... here.
14691 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14692 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14693 include it from...
14694 * socket/recvmmsg.c: ... this new file.
14695 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14696 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14697 definition of __sendmmsg hidden.
14698 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14699 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14700 Move ENOSYS stub into and include it from...
14701 * socket/sendmmsg.c: ... this new file.
14702 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14703 (sysdep_routines): Move recvmmsg and sendmmsg...
14704 * socket/Makefile (routines): ... here.
14705 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14706 (GLIBC_PRIVATE): Add __sendmmsg.
14707 * include/sys/socket.h (__sendmmsg): Add declarations.
14708 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14709 sendmmsg.
14710
cf9a5d18
JM
147112012-11-20 Joseph Myers <joseph@codesourcery.com>
14712
14713 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14714 variable I1 with __attribute__ ((unused)).
14715 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14716
ecd4caf9
JM
147172012-11-19 Joseph Myers <joseph@codesourcery.com>
14718
be14d48f
JM
14719 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14720 DUMMY variables with __attribute__ ((unused)).
14721
ecd4caf9
JM
14722 * bits/byteswap.h: Include <bits/types.h>.
14723 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14724
986cab95
PT
147252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14726
14727 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14728 string_t. Do not manually set errno.
14729 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14730 length with __strnlen. Make sure to both set errno and return it on
14731 failure.
14732
6d33cc9d
DM
147332012-11-19 David S. Miller <davem@davemloft.net>
14734
14735 With help from Joseph Myers.
14736 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14737 very large arguments properly.
14738 * math/libm-test.inc (atan_test): New tests.
14739 (atan2_test): New tests.
14740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14742
ee663277
JM
147432012-11-19 Joseph Myers <joseph@codesourcery.com>
14744
877f2d8e
JM
14745 [BZ #14856]
14746 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14747 Define to 3.
14748
116fc08a
JM
14749 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14750 [POSIX] (EADDRNOTAVAIL): Likewise.
14751 [POSIX] (EAFNOSUPPORT): Likewise.
14752 [POSIX] (EALREADY): Likewise.
14753 [POSIX] (ECONNABORTED): Likewise.
14754 [POSIX] (ECONNREFUSED): Likewise.
14755 [POSIX] (ECONNRESET): Likewise.
14756 [POSIX] (EDESTADDRREQ): Likewise.
14757 [POSIX] (EDQUOT): Likewise.
14758 [POSIX] (EHOSTUNREACH): Likewise.
14759 [POSIX] (EIDRM): Likewise.
14760 [POSIX] (EISCONN): Likewise.
14761 [POSIX] (ELOOP): Likewise.
14762 [POSIX] (EMULTIHOP): Likewise.
14763 [POSIX] (ENETDOWN): Likewise.
14764 [POSIX] (ENETUNREACH): Likewise.
14765 [POSIX] (ENOBUFS): Likewise.
14766 [POSIX] (ENODATA): Likewise.
14767 [POSIX] (ENOLINK): Likewise.
14768 [POSIX] (ENOMSG): Likewise.
14769 [POSIX] (ENOPROTOOPT): Likewise.
14770 [POSIX] (ENOSR): Likewise.
14771 [POSIX] (ENOSTR): Likewise.
14772 [POSIX] (ENOTCONN): Likewise.
14773 [POSIX] (ENOTSOCK): Likewise.
14774 [POSIX] (EOPNOTSUPP): Likewise.
14775 [POSIX] (EOVERFLOW): Likewise.
14776 [POSIX] (EPROTO): Likewise.
14777 [POSIX] (EPROTONOSUPPORT): Likewise.
14778 [POSIX] (EPROTOTYPE): Likewise.
14779 [POSIX] (ESTALE): Likewise.
14780 [POSIX] (ETIME): Likewise.
14781 [POSIX] (ETXTBSY): Likewise.
14782 [POSIX] (EWOULDBLOCK): Likewise.
14783 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14784 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14785 [POSIX] (SEEK_CUR): Likewise.
14786 [POSIX] (SEEK_END): Likewise.
14787 [POSIX || UNIX98] (mode_t): Do not require.
14788 [POSIX] (off_t): Likewise.
14789 [POSIX] (pid_t): Likewise.
14790 [POSIX] (sys/stat.h): Do not allow header.
14791 [POSIX] (unistd.h): Likewise.
14792 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14793 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14794 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14795 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14796 require.
14797 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14798 sigevent): Specify elements.
14799 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14800 entry.
14801 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14802 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14803
a483863f
JM
14804 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14805 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14806 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14807 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14808 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14809 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14810 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14811 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14812 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14813 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14814 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14815 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14816 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14817 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14818 Likewise.
14819 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14820 Likewise.
14821 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14822 Likewise.
14823 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14824 Likewise.
14825 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14826 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14827 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14828 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14829 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14830 Specify lower bound on value.
14831 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14832 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14833 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14834 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14835 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14836 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14837 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14838 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14839 value.
14840 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14841 as optional.
14842 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14843 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14844 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14845 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14846 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14847 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14848 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14849 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14850 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14851 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14852 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14853 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14854 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14855 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14856 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14857 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14858 entry.
14859 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14860 optional.
14861 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14862 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14863 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14864 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14865 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14866 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14867 Likewise.
14868 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14869 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14873 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14874 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14875 as optional.
14876 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14878 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14879 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14880 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14881 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14882 specify as optional.
14883 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14884 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14885 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14886 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14887 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14888 [XPG3] (NL_LANGMAX): Likewise.
14889 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14890 [POSIX || XPG3] (NL_NMAX): Likewise.
14891 [POSIX || XPG3] (NL_SETMAX): Likewise.
14892 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14893 [XPG3] (NZERO): Likewise.
14894 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14895 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14896 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14897 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14898 (REG_ERANGE): Expect.
14899 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14900 optional-constant.
14901 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14902 Use (void) in prototype.
14903 [POSIX] (*_t): Allow.
14904 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14905 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14906 (WRDE_BADVAL): Expect.
14907
5ba924e3
JM
14908 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14909 expect.
14910 [XPG3 || XPG4] (O_RSYNC): Likewise.
14911 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14912 Likewise.
14913 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14914 [XPG3 || XPG4] (sigqueue): Likewise.
14915 [XPG3 || XPG4] (sigtimedwait): Likewise.
14916 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14917 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14918 [XPG3 || XPG4] (vsnprintf): Likewise.
14919 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14920 Likewise.
14921 [XPG3 || XPG4] (blksize_t): Likewise.
14922 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14923 Likewise.
14924 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14925 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14926 [XPG3 || XPG4] (struct itimerspec): Likewise.
14927 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14928 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14929 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14930 [XPG3 || XPG4] (clockid_t): Likewise.
14931 [XPG3 || XPG4] (timer_t): Likewise.
14932 [XPG3 || XPG4] (clock_getres): Likewise.
14933 [XPG3 || XPG4] (clock_gettime): Likewise.
14934 [XPG3 || XPG4] (clock_settime): Likewise.
14935 [XPG3 || XPG4] (nanosleep): Likewise.
14936 [XPG3 || XPG4] (timer_create): Likewise.
14937 [XPG3 || XPG4] (timer_delete): Likewise.
14938 [XPG3 || XPG4] (timer_gettime): Likewise.
14939 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14940 [XPG3 || XPG4] (timer_settime): Likewise.
14941 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14942 [XPG3 || XPG4] (getlogin_r): Likewise.
14943 [XPG3 || XPG4] (pread): Likewise.
14944 [XPG3 || XPG4] (pthread_atfork): Likewise.
14945 [XPG3 || XPG4] (pwrite): Likewise.
14946
ee663277
JM
14947 [BZ #14835]
14948 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14949 <bits/siginfo.h>.
14950
942caa16
PT
149512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14952
e19af380
PT
14953 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14954 finalizing MALLSTREAM.
14955
942caa16
PT
14956 * sysdeps/mach/hurd/syncfs.c: New file.
14957
cfde9b46
SP
149582012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14959
14960 [BZ #14719]
14961 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14962 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14963 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14964 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14965 (_nss_dns_gethostbyname4_r): Likewise.
14966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14967 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14968
f6da27e5
PH
149692012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14970
14971 [BZ #13763]
14972 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14973
6665d4a2
SM
149742012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14975
1f51ee92
SM
14976 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14977 * elf/cache.c (print_entry): Print ",AArch64" for
14978 FLAG_AARCH64_LIB64
14979
6665d4a2
SM
14980 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14981 * elf/cache.c (print_entry): Print ",hard-float" for
14982 FLAG_ARM_LIBHF.
14983
05b227bd
DM
149842012-11-18 David S. Miller <davem@davemloft.net>
14985
14986 With help from Joseph Myers.
14987 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14988 cutoff to 2**-13.
14989 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14990 cutoff to 2**-25.
14991 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14992 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14993 small.
14994 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14995 * math/libm-test.inc (y0_test): New tests.
14996 (y1_test): New tests.
14997 * sysdeps/i386/fpu/libm-test-ulps: Update.
14998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15000
786b0b67
AS
150012012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15002
15003 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15004 64-bit targets.
15005 * configure: Regenerated.
15006
8e18b86d
DM
150072012-11-17 David S. Miller <davem@davemloft.net>
15008
15009 [BZ #14811]
15010 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15011 nonzero exponents with absolute value below 0x1p-128 to +/-
15012 0x1p-128.
15013
531f1ae0
JM
150142012-11-17 Joseph Myers <joseph@codesourcery.com>
15015
12df29e2
JM
15016 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15017
150dc1a0
JM
15018 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15019
531f1ae0
JM
15020 * posix/getconf-speclist.c: New file.
15021 * posix/posix-envs.def: Likewise.
15022 * posix/confstr.c (START_ENV_GROUP): New macro.
15023 (END_ENV_GROUP): Likewise.
15024 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15025 (KNOWN_PRESENT_ENV_STRING): Likewise.
15026 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15027 (UNKNOWN_ENVIRONMENT): Likewise.
15028 (confstr): Include posix-envs.def instead of handling
15029 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15030 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15031 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15032 (END_ENV_GROUP): Likewise.
15033 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15034 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15035 (UNKNOWN_ENVIRONMENT): Likewise.
15036 (__sysconf): Include posix-envs.def instead of handling associated
15037 cases directly here.
15038 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15039 preprocessing getconf-speclist.c rather than running getconf or
15040 generating empty file.
15041
a93f9cbc
PT
150422012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15043
15044 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15045
d64d9f87
AL
150462012-11-16 Andrej Lajovic <natrij@gmail.com>
15047
15048 [BZ #14672]
15049 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15050
447885eb
DM
150512012-11-16 David S. Miller <davem@davemloft.net>
15052
15053 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15054 smaller than LDBL_EPSILON/2.0L, just return xm1.
15055
bcbf9830
L
150562012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15057
15058 * elf/tst-array1.c (init): Set constructor priority to 1000.
15059 (fini): Set destructor priority to 1000.
15060 * elf/tst-array2dep.c: Likewise.
15061
2b766585
SP
150622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15063
15064 [BZ #11741]
15065 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15066 (_IO_new_file_xsputn): Also return EOF if none of the input
15067 data was written when overflow failed.
15068 * libio/iopadn.c (_IO_padn): Likewise.
15069 * libio/iowpadn.c (_IO_wpadn): Likewise.
15070 * stdio-common/tst-put-error.c: Add copyright notice.
15071 (do_test): Add case for printing padded string.
15072 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15073 _IO_padn returned error.
15074 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15075 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15076 return EOF.
15077
b1848fde
SP
150782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15079
15080 * libio/libioP.h: Add comment note that the references to C++
15081 bits are now obsolete.
15082
2fd89785
MS
150832012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15084
15085 * math/libm-test.inc (check_complex): Use asprintf.
15086
e3ea5409
JM
150872012-11-14 Joseph Myers <joseph@codesourcery.com>
15088
15089 * debug/pcprofiledump.c (print_version): Update copyright year.
15090 * malloc/memusagestat.c (print_version): Likewise.
15091
2e64d265
L
150922012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15093
15094 [BZ #14831]
15095 * elf/Makefile (tests): Add tst-audit8.
15096 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15097 ($(objpfx)tst-audit8.out): New target.
15098 (tst-audit8-ENV): New variable.
15099 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15100 audit if l_reloc_result is NULL.
15101 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15102 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15103 * elf/tst-audit8.c: New file.
15104
c485e4d2
MS
151052012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15106
15107 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15108 * misc/Makefile (CFLAGS-select.c): Define.
15109 * posix/Makefile (CFLAGS-pause.c): Define.
15110
3a0d900a
DM
151112012-11-13 David S. Miller <davem@davemloft.net>
15112
15113 * crypt/Makefile: Move test targets after toplevel Rules
15114 inclusion. Grab any necessary sysdep routines when linking.
15115 * crypt/md5.c (md5_process_block): Remove define, we will always
15116 name it __md5_process_block.
15117 (md5_finish_ctx): Update md5_process_block call.
15118 (md5_stream): Likewise.
15119 (md5_process_bytes): Likewise.
15120 (md5_process_block): Rename to __md5_process_block and move to ...
15121 * crypt/md5-block.c: ... here.
15122 * crypt/sha256.c (sha256_process_block): Move to ...
15123 * crypt/sha256-block.c: ... here.
15124 * crypt/sha512.c (sha512_process_block): Move to ...
15125 * crypt/sha512-block.c: ... here.
15126 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15127 path.
15128 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15129 * sysdeps/sparc/sparc64/multiarch/Makefile
15130 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15131 crypt subdir.
15132 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15133 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15134 multiarch changes.
15135 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15136 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15137 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15138 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15139 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15140 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15141 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15142 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15143 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15144 file.
15145 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15146 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15147 file.
15148 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15149
8ca89318
JM
151502012-11-13 Joseph Myers <joseph@codesourcery.com>
15151
e27d476a
JM
15152 * timezone/tzselect.ksh: Update from tzcode git revision
15153 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15154 * timezone/zdump.c: Likewise.
15155 * timezone/zic.c: Likewise.
15156 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15157 in TZVERSION setting, not $(PKGVERSION).
15158 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15159 REPORT_BUGS_TO settings.
15160
8ca89318
JM
15161 [BZ #14838]
15162 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15163 macro.
15164
47594329
MS
151652012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15166
15167 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15168 detection to immediately after _FP_ROUND().
15169 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15170 bits are 0.
15171
640ac3f1
DM
151722012-11-11 David S. Miller <davem@davemloft.net>
15173
15174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15175 inttypes.h
15176 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15177 __close rather than their public counterparts.
15178
3d2577bb
JM
151792012-11-10 Joseph Myers <joseph@codesourcery.com>
15180
15181 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15182 file.
15183 [UNIX98] (sem_timedwait): Do not expect.
15184 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15185 [XPG4 || UNIX98] (sockatmark): Do not expect.
15186 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15187 (clock_getcpuclockid): Do not expect.
15188 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15189 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15190 Do not expect.
15191 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15192 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15193 [UNIX98] (vwscanf): Likewise.
15194 [UNIX98] (vswscanf): Likewise.
15195
fb1ae1ee
JM
151962012-11-09 Joseph Myers <joseph@codesourcery.com>
15197
9ec6f8bd
JM
15198 * timezone/version.h: Remove file.
15199 * timezone/README: Do not refer to version.h.
15200 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15201 $(objpfx)version.h.
15202 ($(objpfx)zdump.o): Likewise.
c3f81911 15203 ($(objpfx)version.h): New target.
9ec6f8bd 15204
0aa8f8a1
JM
15205 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15206 2012i.
15207 * timezone/README: Don't mention modification to tzselect.ksh.
15208 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15209 work on unmodified tzselect.ksh. Substitute version numbers in
15210 tzselect.ksh.
15211
4e87147f
JM
15212 * Makefile (format-me): Remove.
15213 (INSTALL): Adjust indentation. Use commands directly instead of
15214 using $(format-me).
15215
8b748aed
JM
15216 * aclocal.m4 (ACX_PKGVERSION): New macro.
15217 (ACX_BUGURL): Likewise.
15218 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15219 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15220 (REPORT_BUGS_TO): Likewise.
15221 * configure: Regenerated.
15222 * config.h.in (PKGVERSION): New macro.
15223 (REPORT_BUGS_TO): Likewise.
15224 * config.make.in (PKGVERSION): New variable.
15225 (PKGVERSION_TEXI): Likewise.
15226 (REPORT_BUGS_TO): Likewise.
15227 (REPORT_BUGS_TEXI): Likewise.
15228 * Makefile (format-me): Use -I$(common-objpfx)manual.
15229 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15230 ($(common-objpfx)manual/%): New target.
15231 (manual/%): Remove target.
15232 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15233 (print_version): Use PKGVERSION.
15234 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15235 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15236 and REPORT_BUGS_TO.
15237 ($(objpfx)xtrace): Likewise.
15238 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15239 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15240 (print_version): Use PKGVERSION.
15241 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15242 (do_version): Use PKGVERSION.
15243 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15244 REPORT_BUGS_TO.
15245 (common-ldd-rewrite): Likewise.
15246 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15247 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15248 (print_version): Use PKGVERSION.
15249 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15250 * elf/pldd.c (argp_program_bug_address): Remove variable.
15251 (more_help): New function.
15252 (argp): Use more_help.
15253 (print_version): Use PKGVERSION.
15254 * elf/sln.c (main): Use PKGVERSION.
15255 (usage): Use REPORT_BUGS_TO.
15256 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15257 (top level): Use PKGVERSION.
15258 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15259 (print_version): Use PKGVERSION.
15260 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15261 (print_version): Use PKGVERSION.
15262 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15263 (print_version): Use PKGVERSION.
15264 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15265 (print_version): Use PKGVERSION.
15266 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15267 (print_version): Use PKGVERSION.
15268 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15269 (print_version): Use PKGVERSION.
15270 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15271 and BUGURL.
15272 ($(objpfx)memusage): Likewise.
15273 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15274 (do_version): Use PKGVERSION.
15275 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15276 (print_version): Use PKGVERSION.
15277 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15278 ($PKGVERSION): New variable.
15279 ($REPORT_BUGS_TO): Likewise.
15280 (usage): Use $REPORT_BUGS_TO.
15281 (top level): Use $PKGVERSION.
15282 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15283 ($(objpfx)pkgvers.texi): New rule.
15284 ($(objpfx)stamp-pkgvers): Likewise.
15285 * manual/install.texi: Include pkgvers.texi.
15286 (--with-pkgversion): Document new configure option.
15287 (--with-bugurl): Likewise.
15288 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15289 than necessarily for this particular distribution. Use
15290 REPORT_BUGS_TO for where to report bugs.
15291 * INSTALL: Regenerated.
15292 * manual/libc.texinfo: Include pkgvers.texi.
15293 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15294 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15295 (print_version): Use PKGVERSION.
15296 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15297 (print_version): Use PKGVERSION.
15298 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15299 (print_version): Use PKGVERSION.
15300 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15301 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15302 macro.
15303 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15304 (print_version): Use PKGVERSION.
15305 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15306 (print_version): Use PKGVERSION.
15307 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15308 and PKGVERSION.
15309
92e4b6a9
JM
15310 * timezone/checktab.awk: Update from tzcode 2012i.
15311 * timezone/ialloc.c: Likewise.
15312 * timezone/private.h: Likewise.
15313 * timezone/scheck.c: Likewise.
15314 * timezone/tzfile.h: Likewise.
15315 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15316 (TZVERSION): Hardcode tzcode version number.
15317 * timezone/zdump.c: Update from tzcode 2012i.
15318 * timezone/zic.c: Likewise.
15319 * timezone/version.h: New file.
15320 * timezone/README: Describe version.h. Update upstream location.
15321
9bde902c
JM
15322 [BZ #14824]
15323 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15324 (mktemp): Enable declaration.
15325 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15327 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15329 Likewise.
15330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15331 Likewise.
15332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15333 Likewise.
15334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15335 Likewise.
15336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15337 Likewise.
15338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15339 Likewise.
15340
fb1ae1ee
JM
15341 [BZ #14821]
15342 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15343 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15344 for copies of such integer values.
15345 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15346 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15347
2c1adbcb
AJ
153482012-11-09 Andreas Jaeger <aj@suse.de>
15349
15350 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15351 definitions and declarations that are provided by
15352 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15353
d0f8457e
AK
153542012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15355
3a235abb 15356 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15357 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15358 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15359 definition.
15360
57241e26
MS
153612012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15362
15363 * elf/elf.h: Update comment before AArch64 relocations.
15364
60e8270d
DM
153652012-11-07 David S. Miller <davem@davemloft.net>
15366
15367 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15368 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15369 (__start_context): Declare.
15370 (__makecontext_ret): Delete.
15371 (__makecontext): Hook up __start_context instead of
15372 __makecontext_ret.
15373 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15374 (sysdep_routines): Add __start_context when in stdlib.
15375
0fbb0fbc
JM
153762012-11-07 Joseph Myers <joseph@codesourcery.com>
15377
15378 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15379 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15380 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15381 hardcoded "nm".
15382 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15383 (READELF): New variable. Use it instead of hardcoded "readelf".
15384
eb48db7e
L
153852012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15386
15387 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15388 * sysdeps/x86/Makefile: Here.
15389 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15390 * sysdeps/x86/tst-xmmymm.sh: This.
15391
05bcf62a
JM
153922012-11-07 Joseph Myers <joseph@codesourcery.com>
15393
c4b6cf53
JM
15394 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15395 expectations.
15396 [UNIX98] (pthread_barrier_t): Do not expect.
15397 [UNIX98] (pthread_barrierattr_t): Likewise.
15398 [UNIX98] (pthread_spinlock_t): Likewise.
15399 [UNIX98] (pthread_barrier_destroy): Likewise.
15400 [UNIX98] (pthread_barrier_init): Likewise.
15401 [UNIX98] (pthread_barrier_wait): Likewise.
15402 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15403 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15404 [UNIX98] (pthread_barrierattr_init): Likewise.
15405 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15406 [UNIX98] (pthread_getcpuclockid): Likewise.
15407 [UNIX98] (pthread_mutex_timedlock): Likewise.
15408 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15409 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15410 [UNIX98] (pthread_sigmask): Likewise.
15411 [UNIX98] (pthread_spin_destroy): Likewise.
15412 [UNIX98] (pthread_spin_init): Likewise.
15413 [UNIX98] (pthread_spin_lock): Likewise.
15414 [UNIX98] (pthread_spin_trylock): Likewise.
15415 [UNIX98] (pthread_spin_unlock): Likewise.
15416 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15417 Do not expect.
15418 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15419 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15420 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15421 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15422 [XPG3 || XPG4] (pthread_key_t): Likewise.
15423 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15424 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15425 [XPG3 || XPG4] (pthread_once_t): Likewise.
15426 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15427 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15428 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15429 [XPG3 || XPG4] (pthread_t): Likewise.
15430
cbe6e120
JM
15431 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15432 not expect.
15433 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15434
1b126443
JM
15435 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15436 Change function return type to int.
15437
b961a573
JM
15438 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15439 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15440 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15441 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15442 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15443 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15444 [!POSIX] (posix_madvise): Likewise.
15445 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15446 && !UNIX98].
15447 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15448 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15449 (mode_t): Likewise.
15450 (posix_mem_offset): Likewise.
15451 (posix_typed_mem_get_info): Likewise.
15452 (posix_typed_mem_open): Likewise.
15453
9e188909
JM
15454 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15455 Change condition to [XOPEN2K8].
15456
05bcf62a
JM
15457 * conform/conformtest.pl: Preprocess allow-header data with -x c
15458 instead of from stdin.
15459 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15460 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15461 [C99-based standards] (cerfc): Likewise.
15462 [C99-based standards] (cexp2): Likewise.
15463 [C99-based standards] (cexpm1): Likewise.
15464 [C99-based standards] (clog10): Likewise.
15465 [C99-based standards] (clog1p): Likewise.
15466 [C99-based standards] (clog2): Likewise.
15467 [C99-based standards] (clgamma): Likewise.
15468 [C99-based standards] (ctgamma): Likewise.
15469 [C99-based standards] (cerff): Likewise.
15470 [C99-based standards] (cerfcf): Likewise.
15471 [C99-based standards] (cexp2f): Likewise.
15472 [C99-based standards] (cexpm1f): Likewise.
15473 [C99-based standards] (clog10f): Likewise.
15474 [C99-based standards] (clog1pf): Likewise.
15475 [C99-based standards] (clog2f): Likewise.
15476 [C99-based standards] (clgammaf): Likewise.
15477 [C99-based standards] (ctgammaf): Likewise.
15478 [C99-based standards] (cerfl): Likewise.
15479 [C99-based standards] (cerfcl): Likewise.
15480 [C99-based standards] (cexp2l): Likewise.
15481 [C99-based standards] (cexpm1l): Likewise.
15482 [C99-based standards] (clog10l): Likewise.
15483 [C99-based standards] (clog1pl): Likewise.
15484 [C99-based standards] (clog2l): Likewise.
15485 [C99-based standards] (clgammal): Likewise.
15486 [C99-based standards] (ctgammal): Likewise.
15487 * conform/data/inttypes.h-data [C99-based standards]: Include
15488 stdint.h-data. Remove all expectations for stdint.h contents.
15489 [C99-based standards] (PRI*): Do not allow.
15490 [C99-based standards] (SCN*): Likewise.
15491 [C99-based standards] (*_t): Likewise.
15492 [C99-based-standards] (PRId8): Expect macro.
15493 [C99-based-standards] (PRIi8): Likewise.
15494 [C99-based-standards] (PRIo8): Likewise.
15495 [C99-based-standards] (PRIu8): Likewise.
15496 [C99-based-standards] (PRIx8): Likewise.
15497 [C99-based-standards] (PRIX8): Likewise.
15498 [C99-based-standards] (SCNd8): Likewise.
15499 [C99-based-standards] (SCNi8): Likewise.
15500 [C99-based-standards] (SCNo8): Likewise.
15501 [C99-based-standards] (SCNu8): Likewise.
15502 [C99-based-standards] (SCNx8): Likewise.
15503 [C99-based-standards] (PRIdLEAST8): Likewise.
15504 [C99-based-standards] (PRIiLEAST8): Likewise.
15505 [C99-based-standards] (PRIoLEAST8): Likewise.
15506 [C99-based-standards] (PRIuLEAST8): Likewise.
15507 [C99-based-standards] (PRIxLEAST8): Likewise.
15508 [C99-based-standards] (PRIXLEAST8): Likewise.
15509 [C99-based-standards] (SCNdLEAST8): Likewise.
15510 [C99-based-standards] (SCNiLEAST8): Likewise.
15511 [C99-based-standards] (SCNoLEAST8): Likewise.
15512 [C99-based-standards] (SCNuLEAST8): Likewise.
15513 [C99-based-standards] (SCNxLEAST8): Likewise.
15514 [C99-based-standards] (PRIdFAST8): Likewise.
15515 [C99-based-standards] (PRIiFAST8): Likewise.
15516 [C99-based-standards] (PRIoFAST8): Likewise.
15517 [C99-based-standards] (PRIuFAST8): Likewise.
15518 [C99-based-standards] (PRIxFAST8): Likewise.
15519 [C99-based-standards] (PRIXFAST8): Likewise.
15520 [C99-based-standards] (SCNdFAST8): Likewise.
15521 [C99-based-standards] (SCNiFAST8): Likewise.
15522 [C99-based-standards] (SCNoFAST8): Likewise.
15523 [C99-based-standards] (SCNuFAST8): Likewise.
15524 [C99-based-standards] (SCNxFAST8): Likewise.
15525 [C99-based-standards] (PRId16): Likewise.
15526 [C99-based-standards] (PRIi16): Likewise.
15527 [C99-based-standards] (PRIo16): Likewise.
15528 [C99-based-standards] (PRIu16): Likewise.
15529 [C99-based-standards] (PRIx16): Likewise.
15530 [C99-based-standards] (PRIX16): Likewise.
15531 [C99-based-standards] (SCNd16): Likewise.
15532 [C99-based-standards] (SCNi16): Likewise.
15533 [C99-based-standards] (SCNo16): Likewise.
15534 [C99-based-standards] (SCNu16): Likewise.
15535 [C99-based-standards] (SCNx16): Likewise.
15536 [C99-based-standards] (PRIdLEAST16): Likewise.
15537 [C99-based-standards] (PRIiLEAST16): Likewise.
15538 [C99-based-standards] (PRIoLEAST16): Likewise.
15539 [C99-based-standards] (PRIuLEAST16): Likewise.
15540 [C99-based-standards] (PRIxLEAST16): Likewise.
15541 [C99-based-standards] (PRIXLEAST16): Likewise.
15542 [C99-based-standards] (SCNdLEAST16): Likewise.
15543 [C99-based-standards] (SCNiLEAST16): Likewise.
15544 [C99-based-standards] (SCNoLEAST16): Likewise.
15545 [C99-based-standards] (SCNuLEAST16): Likewise.
15546 [C99-based-standards] (SCNxLEAST16): Likewise.
15547 [C99-based-standards] (PRIdFAST16): Likewise.
15548 [C99-based-standards] (PRIiFAST16): Likewise.
15549 [C99-based-standards] (PRIoFAST16): Likewise.
15550 [C99-based-standards] (PRIuFAST16): Likewise.
15551 [C99-based-standards] (PRIxFAST16): Likewise.
15552 [C99-based-standards] (PRIXFAST16): Likewise.
15553 [C99-based-standards] (SCNdFAST16): Likewise.
15554 [C99-based-standards] (SCNiFAST16): Likewise.
15555 [C99-based-standards] (SCNoFAST16): Likewise.
15556 [C99-based-standards] (SCNuFAST16): Likewise.
15557 [C99-based-standards] (SCNxFAST16): Likewise.
15558 [C99-based-standards] (PRId32): Likewise.
15559 [C99-based-standards] (PRIi32): Likewise.
15560 [C99-based-standards] (PRIo32): Likewise.
15561 [C99-based-standards] (PRIu32): Likewise.
15562 [C99-based-standards] (PRIx32): Likewise.
15563 [C99-based-standards] (PRIX32): Likewise.
15564 [C99-based-standards] (SCNd32): Likewise.
15565 [C99-based-standards] (SCNi32): Likewise.
15566 [C99-based-standards] (SCNo32): Likewise.
15567 [C99-based-standards] (SCNu32): Likewise.
15568 [C99-based-standards] (SCNx32): Likewise.
15569 [C99-based-standards] (PRIdLEAST32): Likewise.
15570 [C99-based-standards] (PRIiLEAST32): Likewise.
15571 [C99-based-standards] (PRIoLEAST32): Likewise.
15572 [C99-based-standards] (PRIuLEAST32): Likewise.
15573 [C99-based-standards] (PRIxLEAST32): Likewise.
15574 [C99-based-standards] (PRIXLEAST32): Likewise.
15575 [C99-based-standards] (SCNdLEAST32): Likewise.
15576 [C99-based-standards] (SCNiLEAST32): Likewise.
15577 [C99-based-standards] (SCNoLEAST32): Likewise.
15578 [C99-based-standards] (SCNuLEAST32): Likewise.
15579 [C99-based-standards] (SCNxLEAST32): Likewise.
15580 [C99-based-standards] (PRIdFAST32): Likewise.
15581 [C99-based-standards] (PRIiFAST32): Likewise.
15582 [C99-based-standards] (PRIoFAST32): Likewise.
15583 [C99-based-standards] (PRIuFAST32): Likewise.
15584 [C99-based-standards] (PRIxFAST32): Likewise.
15585 [C99-based-standards] (PRIXFAST32): Likewise.
15586 [C99-based-standards] (SCNdFAST32): Likewise.
15587 [C99-based-standards] (SCNiFAST32): Likewise.
15588 [C99-based-standards] (SCNoFAST32): Likewise.
15589 [C99-based-standards] (SCNuFAST32): Likewise.
15590 [C99-based-standards] (SCNxFAST32): Likewise.
15591 [C99-based-standards] (PRId64): Likewise.
15592 [C99-based-standards] (PRIi64): Likewise.
15593 [C99-based-standards] (PRIo64): Likewise.
15594 [C99-based-standards] (PRIu64): Likewise.
15595 [C99-based-standards] (PRIx64): Likewise.
15596 [C99-based-standards] (PRIX64): Likewise.
15597 [C99-based-standards] (SCNd64): Likewise.
15598 [C99-based-standards] (SCNi64): Likewise.
15599 [C99-based-standards] (SCNo64): Likewise.
15600 [C99-based-standards] (SCNu64): Likewise.
15601 [C99-based-standards] (SCNx64): Likewise.
15602 [C99-based-standards] (PRIdLEAST64): Likewise.
15603 [C99-based-standards] (PRIiLEAST64): Likewise.
15604 [C99-based-standards] (PRIoLEAST64): Likewise.
15605 [C99-based-standards] (PRIuLEAST64): Likewise.
15606 [C99-based-standards] (PRIxLEAST64): Likewise.
15607 [C99-based-standards] (PRIXLEAST64): Likewise.
15608 [C99-based-standards] (SCNdLEAST64): Likewise.
15609 [C99-based-standards] (SCNiLEAST64): Likewise.
15610 [C99-based-standards] (SCNoLEAST64): Likewise.
15611 [C99-based-standards] (SCNuLEAST64): Likewise.
15612 [C99-based-standards] (SCNxLEAST64): Likewise.
15613 [C99-based-standards] (PRIdFAST64): Likewise.
15614 [C99-based-standards] (PRIiFAST64): Likewise.
15615 [C99-based-standards] (PRIoFAST64): Likewise.
15616 [C99-based-standards] (PRIuFAST64): Likewise.
15617 [C99-based-standards] (PRIxFAST64): Likewise.
15618 [C99-based-standards] (PRIXFAST64): Likewise.
15619 [C99-based-standards] (SCNdFAST64): Likewise.
15620 [C99-based-standards] (SCNiFAST64): Likewise.
15621 [C99-based-standards] (SCNoFAST64): Likewise.
15622 [C99-based-standards] (SCNuFAST64): Likewise.
15623 [C99-based-standards] (SCNxFAST64): Likewise.
15624 [C99-based-standards] (PRIdMAX): Likewise.
15625 [C99-based-standards] (PRIiMAX): Likewise.
15626 [C99-based-standards] (PRIoMAX): Likewise.
15627 [C99-based-standards] (PRIuMAX): Likewise.
15628 [C99-based-standards] (PRIxMAX): Likewise.
15629 [C99-based-standards] (PRIXMAX): Likewise.
15630 [C99-based-standards] (SCNdMAX): Likewise.
15631 [C99-based-standards] (SCNiMAX): Likewise.
15632 [C99-based-standards] (SCNoMAX): Likewise.
15633 [C99-based-standards] (SCNuMAX): Likewise.
15634 [C99-based-standards] (SCNxMAX): Likewise.
15635 [C99-based-standards] (PRIdPTR): Likewise.
15636 [C99-based-standards] (PRIiPTR): Likewise.
15637 [C99-based-standards] (PRIoPTR): Likewise.
15638 [C99-based-standards] (PRIuPTR): Likewise.
15639 [C99-based-standards] (PRIxPTR): Likewise.
15640 [C99-based-standards] (PRIXPTR): Likewise.
15641 [C99-based-standards] (SCNdPTR): Likewise.
15642 [C99-based-standards] (SCNiPTR): Likewise.
15643 [C99-based-standards] (SCNoPTR): Likewise.
15644 [C99-based-standards] (SCNuPTR): Likewise.
15645 [C99-based-standards] (SCNxPTR): Likewise.
15646 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15647 allow.
15648 * conform/data/stdint.h-data: Update comments to clarify
15649 requirements.
15650 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15651 type.
15652 [C99-based standards] (INT8_MAX): Likewise.
15653 [C99-based standards] (INT16_MIN): Likewise.
15654 [C99-based standards] (INT16_MAX): Likewise.
15655 [C99-based standards] (INT32_MIN): Likewise.
15656 [C99-based standards] (INT32_MAX): Likewise.
15657 [C99-based standards] (INT64_MIN): Likewise.
15658 [C99-based standards] (INT64_MAX): Likewise.
15659 [C99-based standards] (UINT8_MAX): Likewise.
15660 [C99-based standards] (UINT16_MAX): Likewise.
15661 [C99-based standards] (UINT32_MAX): Likewise.
15662 [C99-based standards] (UINT64_MAX): Likewise.
15663 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15664 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15665 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15666 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15667 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15668 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15669 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15670 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15671 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15672 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15673 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15674 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15675 [C99-based standards] (INT_FAST8_MIN): Likewise.
15676 [C99-based standards] (INT_FAST8_MAX): Likewise.
15677 [C99-based standards] (INT_FAST16_MIN): Likewise.
15678 [C99-based standards] (INT_FAST16_MAX): Likewise.
15679 [C99-based standards] (INT_FAST32_MIN): Likewise.
15680 [C99-based standards] (INT_FAST32_MAX): Likewise.
15681 [C99-based standards] (INT_FAST64_MIN): Likewise.
15682 [C99-based standards] (INT_FAST64_MAX): Likewise.
15683 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15684 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15685 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15686 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15687 [C99-based standards] (INTPTR_MIN): Likewise.
15688 [C99-based standards] (INTPTR_MAX): Likewise.
15689 [C99-based standards] (UINTPTR_MAX): Likewise.
15690 [C99-based standards] (INTMAX_MIN): Likewise.
15691 [C99-based standards] (INTMAX_MAX): Likewise.
15692 [C99-based standards] (UINTMAX_MAX): Likewise.
15693 [C99-based standards] (PTRDIFF_MIN): Likewise.
15694 [C99-based standards] (PTRDIFF_MAX): Likewise.
15695 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15696 [C99-based standards] (SIZE_MAX): Likewise.
15697 [C99-based standards] (WCHAR_MAX): Likewise.
15698 [C99-based standards] (WINT_MAX): Likewise.
15699 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15700 constraint on value.
15701 [C99-based standards] (WCHAR_MIN): Likewise.
15702 [C99-based standards] (WINT_MIN): Likewise.
15703 [C99-based standards] (*_t): Allow.
15704 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15705 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15706 Include math.h-data and complex.h-data. Remove all expectations
15707 of math.h and complex.h contents.
15708 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15709 at end of line.
15710 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15711 (struct tm): Expect tag.
15712 [C99-based-standards] (wcstof): Expect function.
15713 [C99-based-standards] (wcstold): Likewise.
15714 [C99-based-standards] (wcstoll): Likewise.
15715 [C99-based-standards] (wcstoull): Likewise.
15716 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15717 macro-int-constant. Specify type.
15718 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15719 constraint on value.
15720 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15721 Specify type.
15722 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15723 Specify value.
15724 [ISO C standards]: Do not allow headers.
15725 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15726 wcs[abcdefghijklmnopqrstuvwxyz]*.
15727 [ISO C standards] (*_t): Do not allow.
15728 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15729 Expect function.
15730 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15731 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15732 Specify type.
15733 [ISO C standards]: Do not allow headers.
15734 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15735 is[abcdefghijklmnopqrstuvwxyz]*.
15736 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15737 to[abcdefghijklmnopqrstuvwxyz]*.
15738 [ISO C standards] (*_t): Do not allow.
15739 * conform/data/stdalign.h-data: New file.
15740 * conform/data/stdbool.h-data: Likewise.
15741 * conform/data/stdnoreturn.h-data: Likewise.
15742
7514feb8
RM
157432012-11-07 Roland McGrath <roland@hack.frob.com>
15744
15745 [BZ #14815]
15746 * manual/filesys.texi (Directory Entries): Typo fix.
15747 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15748
19b2ecfc
MS
157492012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15750
15751 * elf/elf.h (EM_AARCH64): New macro.
15752 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15753 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15754 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15755 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15756 (R_AARCH64_TLSDESC): Likewise.
15757 (NT_ARM_TLS): Likewise.
15758 (NT_ARM_HW_BREAK): Likewise.
15759 (NT_ARM_HW_WATCH): Likewise.
15760
60e235ee
JM
157612012-11-07 Joseph Myers <joseph@codesourcery.com>
15762
15763 [BZ #14811]
15764 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15765 (__ieee754_powl): Saturate nonzero exponents with absolute value
15766 below 0x1p-79 to +/- 0x1p-79.
15767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15768 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15769 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15770 nonzero exponents with absolute value below 0x1p-32 to +/-
15771 0x1p-32.
15772 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15773 (__ieee754_powl): Saturate nonzero exponents with absolute value
15774 below 0x1p-79 to +/- 0x1p-79.
15775 * math/libm-test.inc (pow_test): Add more tests.
15776
0ab234b7
AK
157772012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15778
15779 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15780 _dl_s390_cap_flags with kernel. Increase string length.
15781 (_dl_s390_platforms): Add z196 and zEC12.
15782
45832f74
JM
157832012-11-07 Joseph Myers <joseph@codesourcery.com>
15784
15785 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15786 Change XOPEN21K to XOPEN2K.
15787
19218757
MK
157882012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15789
15790 * string/memmove.c: Use memcpy when possible.
15791
c5f45721
AJ
157922012-11-06 Andreas Jaeger <aj@suse.de>
15793
15794 * po/eo.po: Update from translation team.
15795
82477c28
JM
157962012-11-06 Joseph Myers <joseph@codesourcery.com>
15797
15798 [BZ #14793]
15799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15800 exponent and small x and y exponents, scale x or y up. Increase
15801 by 2 the exponent used in scaling up.
15802 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15803 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15804 * math/libm-test.inc (fma_test): Add more tests.
15805 (fma_test_towardzero): Likewise.
15806 (fma_test_downward): Likewise.
15807 (fma_test_upward): Likewise.
15808
99252c8c
JM
158092012-11-05 Joseph Myers <joseph@codesourcery.com>
15810
acfa885f
JM
15811 [BZ #14805]
15812 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15813 fenv_t *.
15814
99252c8c
JM
15815 [BZ #14801]
15816 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15817 namespace for names of struct fields.
15818 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15819 fenv_t fields.
15820 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15821 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15822
d6d98dea
ST
158232012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15824
15825 [BZ #3665]
15826 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15827
e10bb107
TS
158282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15829
15830 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15831 PTR_DEMANGLE.
15832
15833 [BZ #5246]
15834 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15835 PTR_DEMANGLE.
15836
a0c2940d
JM
158372012-11-04 Joseph Myers <joseph@codesourcery.com>
15838
15839 [BZ #14797]
15840 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15841 definitely overflow as x * y not x * y + z.
15842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15843 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15844 * math/libm-test.inc (fma_test): Add more tests.
15845 (fma_test_towardzero): Likewise.
15846 (fma_test_downward): Likewise.
15847 (fma_test_upward): Likewise.
15848
b830319d
TS
158492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15850
15851 [BZ #157]
15852
15853 * include/stub-tag.h: Remove file.
15854 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15855 '#include' of it.
15856 * manual/maint.texi (Porting): Don't reference it.
15857 * Makerules ($(objpfx)stubs): Likewise.
15858 * dirent/closedir.c: Don't include <stub-tag.h>.
15859 * dirent/dirfd.c: Likewise.
15860 * dirent/fdopendir.c: Likewise.
15861 * dirent/getdents.c: Likewise.
15862 * dirent/getdents64.c: Likewise.
15863 * dirent/opendir.c: Likewise.
15864 * dirent/readdir.c: Likewise.
15865 * dirent/readdir64.c: Likewise.
15866 * dirent/readdir64_r.c: Likewise.
15867 * dirent/readdir_r.c: Likewise.
15868 * dirent/rewinddir.c: Likewise.
15869 * dirent/seekdir.c: Likewise.
15870 * dirent/telldir.c: Likewise.
15871 * gmon/profil.c: Likewise.
15872 * grp/setgroups.c: Likewise.
15873 * inet/if_index.c: Likewise.
15874 * io/access.c: Likewise.
15875 * io/chdir.c: Likewise.
15876 * io/chmod.c: Likewise.
15877 * io/chown.c: Likewise.
15878 * io/close.c: Likewise.
15879 * io/dup.c: Likewise.
15880 * io/dup2.c: Likewise.
15881 * io/dup3.c: Likewise.
15882 * io/euidaccess.c: Likewise.
15883 * io/faccessat.c: Likewise.
15884 * io/fchdir.c: Likewise.
15885 * io/fchmod.c: Likewise.
15886 * io/fchmodat.c: Likewise.
15887 * io/fchown.c: Likewise.
15888 * io/fchownat.c: Likewise.
15889 * io/fcntl.c: Likewise.
15890 * io/flock.c: Likewise.
15891 * io/fstatfs.c: Likewise.
15892 * io/fstatfs64.c: Likewise.
15893 * io/fstatvfs.c: Likewise.
15894 * io/fstatvfs64.c: Likewise.
15895 * io/futimens.c: Likewise.
15896 * io/fxstat.c: Likewise.
15897 * io/fxstat64.c: Likewise.
15898 * io/fxstatat.c: Likewise.
15899 * io/fxstatat64.c: Likewise.
15900 * io/getcwd.c: Likewise.
15901 * io/isatty.c: Likewise.
15902 * io/lchmod.c: Likewise.
15903 * io/lchown.c: Likewise.
15904 * io/link.c: Likewise.
15905 * io/linkat.c: Likewise.
15906 * io/lseek.c: Likewise.
15907 * io/lseek64.c: Likewise.
15908 * io/lxstat64.c: Likewise.
15909 * io/mkdir.c: Likewise.
15910 * io/mkdirat.c: Likewise.
15911 * io/mkfifo.c: Likewise.
15912 * io/mkfifoat.c: Likewise.
15913 * io/open.c: Likewise.
15914 * io/open64.c: Likewise.
15915 * io/openat.c: Likewise.
15916 * io/openat64.c: Likewise.
15917 * io/pipe.c: Likewise.
15918 * io/pipe2.c: Likewise.
15919 * io/poll.c: Likewise.
15920 * io/posix_fadvise.c: Likewise.
15921 * io/posix_fadvise64.c: Likewise.
15922 * io/posix_fallocate.c: Likewise.
15923 * io/posix_fallocate64.c: Likewise.
15924 * io/read.c: Likewise.
15925 * io/readlink.c: Likewise.
15926 * io/readlinkat.c: Likewise.
15927 * io/rmdir.c: Likewise.
15928 * io/sendfile.c: Likewise.
15929 * io/sendfile64.c: Likewise.
15930 * io/statfs.c: Likewise.
15931 * io/statfs64.c: Likewise.
15932 * io/statvfs.c: Likewise.
15933 * io/statvfs64.c: Likewise.
15934 * io/symlink.c: Likewise.
15935 * io/symlinkat.c: Likewise.
15936 * io/ttyname.c: Likewise.
15937 * io/ttyname_r.c: Likewise.
15938 * io/umask.c: Likewise.
15939 * io/unlink.c: Likewise.
15940 * io/unlinkat.c: Likewise.
15941 * io/utime.c: Likewise.
15942 * io/utimensat.c: Likewise.
15943 * io/write.c: Likewise.
15944 * io/xmknod.c: Likewise.
15945 * io/xmknodat.c: Likewise.
15946 * io/xstat.c: Likewise.
15947 * io/xstat64.c: Likewise.
15948 * login/getpt.c: Likewise.
15949 * login/grantpt.c: Likewise.
15950 * login/unlockpt.c: Likewise.
15951 * math/e_acoshl.c: Likewise.
15952 * math/e_acosl.c: Likewise.
15953 * math/e_asinl.c: Likewise.
15954 * math/e_atan2l.c: Likewise.
15955 * math/e_atanhl.c: Likewise.
15956 * math/e_coshl.c: Likewise.
15957 * math/e_expl.c: Likewise.
15958 * math/e_fmodl.c: Likewise.
15959 * math/e_gammal_r.c: Likewise.
15960 * math/e_hypotl.c: Likewise.
15961 * math/e_j0l.c: Likewise.
15962 * math/e_j1l.c: Likewise.
15963 * math/e_jnl.c: Likewise.
15964 * math/e_lgammal_r.c: Likewise.
15965 * math/e_log10l.c: Likewise.
15966 * math/e_log2l.c: Likewise.
15967 * math/e_logl.c: Likewise.
15968 * math/e_powl.c: Likewise.
15969 * math/e_rem_pio2l.c: Likewise.
15970 * math/e_sinhl.c: Likewise.
15971 * math/e_sqrtl.c: Likewise.
15972 * math/fclrexcpt.c: Likewise.
15973 * math/fedisblxcpt.c: Likewise.
15974 * math/feenablxcpt.c: Likewise.
15975 * math/fegetenv.c: Likewise.
15976 * math/fegetexcept.c: Likewise.
15977 * math/fegetround.c: Likewise.
15978 * math/feholdexcpt.c: Likewise.
15979 * math/fesetenv.c: Likewise.
15980 * math/fesetround.c: Likewise.
15981 * math/feupdateenv.c: Likewise.
15982 * math/fgetexcptflg.c: Likewise.
15983 * math/fraiseexcpt.c: Likewise.
15984 * math/fsetexcptflg.c: Likewise.
15985 * math/ftestexcept.c: Likewise.
15986 * math/k_cosl.c: Likewise.
15987 * math/k_rem_pio2l.c: Likewise.
15988 * math/k_sinl.c: Likewise.
15989 * math/k_tanl.c: Likewise.
15990 * math/s_asinhl.c: Likewise.
15991 * math/s_atanl.c: Likewise.
15992 * math/s_cbrtl.c: Likewise.
15993 * math/s_erfl.c: Likewise.
15994 * math/s_expm1l.c: Likewise.
15995 * math/s_log1pl.c: Likewise.
15996 * math/s_tanhl.c: Likewise.
15997 * misc/acct.c: Likewise.
15998 * misc/brk.c: Likewise.
15999 * misc/chflags.c: Likewise.
16000 * misc/chroot.c: Likewise.
16001 * misc/fchflags.c: Likewise.
16002 * misc/fgetxattr.c: Likewise.
16003 * misc/flistxattr.c: Likewise.
16004 * misc/fremovexattr.c: Likewise.
16005 * misc/fsetxattr.c: Likewise.
16006 * misc/fsync.c: Likewise.
16007 * misc/ftruncate.c: Likewise.
16008 * misc/futimes.c: Likewise.
16009 * misc/futimesat.c: Likewise.
16010 * misc/getdomain.c: Likewise.
16011 * misc/getdtsz.c: Likewise.
16012 * misc/gethostid.c: Likewise.
16013 * misc/gethostname.c: Likewise.
16014 * misc/getloadavg.c: Likewise.
16015 * misc/getpagesize.c: Likewise.
16016 * misc/getsysstats.c: Likewise.
16017 * misc/getxattr.c: Likewise.
16018 * misc/gtty.c: Likewise.
16019 * misc/ioctl.c: Likewise.
16020 * misc/lgetxattr.c: Likewise.
16021 * misc/listxattr.c: Likewise.
16022 * misc/llistxattr.c: Likewise.
16023 * misc/lremovexattr.c: Likewise.
16024 * misc/lsetxattr.c: Likewise.
16025 * misc/lutimes.c: Likewise.
16026 * misc/madvise.c: Likewise.
16027 * misc/mincore.c: Likewise.
16028 * misc/mlock.c: Likewise.
16029 * misc/mlockall.c: Likewise.
16030 * misc/mmap.c: Likewise.
16031 * misc/mprotect.c: Likewise.
16032 * misc/msync.c: Likewise.
16033 * misc/munlock.c: Likewise.
16034 * misc/munlockall.c: Likewise.
16035 * misc/munmap.c: Likewise.
16036 * misc/preadv.c: Likewise.
16037 * misc/preadv64.c: Likewise.
16038 * misc/ptrace.c: Likewise.
16039 * misc/pwritev.c: Likewise.
16040 * misc/pwritev64.c: Likewise.
16041 * misc/readv.c: Likewise.
16042 * misc/reboot.c: Likewise.
16043 * misc/remap_file_pages.c: Likewise.
16044 * misc/removexattr.c: Likewise.
16045 * misc/revoke.c: Likewise.
16046 * misc/select.c: Likewise.
16047 * misc/setdomain.c: Likewise.
16048 * misc/setegid.c: Likewise.
16049 * misc/seteuid.c: Likewise.
16050 * misc/sethostid.c: Likewise.
16051 * misc/sethostname.c: Likewise.
16052 * misc/setregid.c: Likewise.
16053 * misc/setreuid.c: Likewise.
16054 * misc/setxattr.c: Likewise.
16055 * misc/sstk.c: Likewise.
16056 * misc/stty.c: Likewise.
16057 * misc/swapoff.c: Likewise.
16058 * misc/swapon.c: Likewise.
16059 * misc/sync.c: Likewise.
16060 * misc/syncfs.c: Likewise.
16061 * misc/syscall.c: Likewise.
16062 * misc/truncate.c: Likewise.
16063 * misc/ualarm.c: Likewise.
16064 * misc/usleep.c: Likewise.
16065 * misc/ustat.c: Likewise.
16066 * misc/utimes.c: Likewise.
16067 * misc/vhangup.c: Likewise.
16068 * misc/writev.c: Likewise.
16069 * posix/_exit.c: Likewise.
16070 * posix/alarm.c: Likewise.
16071 * posix/execve.c: Likewise.
16072 * posix/fexecve.c: Likewise.
16073 * posix/fork.c: Likewise.
16074 * posix/fpathconf.c: Likewise.
16075 * posix/getaddrinfo.c: Likewise.
16076 * posix/getegid.c: Likewise.
16077 * posix/geteuid.c: Likewise.
16078 * posix/getgid.c: Likewise.
16079 * posix/getgroups.c: Likewise.
16080 * posix/getlogin.c: Likewise.
16081 * posix/getlogin_r.c: Likewise.
16082 * posix/getpgid.c: Likewise.
16083 * posix/getpid.c: Likewise.
16084 * posix/getppid.c: Likewise.
16085 * posix/getresgid.c: Likewise.
16086 * posix/getresuid.c: Likewise.
16087 * posix/getsid.c: Likewise.
16088 * posix/getuid.c: Likewise.
16089 * posix/glob64.c: Likewise.
16090 * posix/nanosleep.c: Likewise.
16091 * posix/pathconf.c: Likewise.
16092 * posix/pause.c: Likewise.
16093 * posix/posix_madvise.c: Likewise.
16094 * posix/pread.c: Likewise.
16095 * posix/pread64.c: Likewise.
16096 * posix/pwrite.c: Likewise.
16097 * posix/pwrite64.c: Likewise.
16098 * posix/sched_getaffinity.c: Likewise.
16099 * posix/sched_getp.c: Likewise.
16100 * posix/sched_gets.c: Likewise.
16101 * posix/sched_primax.c: Likewise.
16102 * posix/sched_primin.c: Likewise.
16103 * posix/sched_rr_gi.c: Likewise.
16104 * posix/sched_setaffinity.c: Likewise.
16105 * posix/sched_setp.c: Likewise.
16106 * posix/sched_sets.c: Likewise.
16107 * posix/sched_yield.c: Likewise.
16108 * posix/setgid.c: Likewise.
16109 * posix/setlogin.c: Likewise.
16110 * posix/setpgid.c: Likewise.
16111 * posix/setresgid.c: Likewise.
16112 * posix/setresuid.c: Likewise.
16113 * posix/setsid.c: Likewise.
16114 * posix/setuid.c: Likewise.
16115 * posix/sleep.c: Likewise.
16116 * posix/spawni.c: Likewise.
16117 * posix/sysconf.c: Likewise.
16118 * posix/times.c: Likewise.
16119 * posix/wait.c: Likewise.
16120 * posix/wait3.c: Likewise.
16121 * posix/wait4.c: Likewise.
16122 * posix/waitpid.c: Likewise.
16123 * resolv/gai_sigqueue.c: Likewise.
16124 * resource/getpriority.c: Likewise.
16125 * resource/getrlimit.c: Likewise.
16126 * resource/getrusage.c: Likewise.
16127 * resource/nice.c: Likewise.
16128 * resource/setpriority.c: Likewise.
16129 * resource/setrlimit.c: Likewise.
16130 * resource/ulimit.c: Likewise.
16131 * rt/aio_cancel.c: Likewise.
16132 * rt/aio_fsync.c: Likewise.
16133 * rt/aio_read.c: Likewise.
16134 * rt/aio_sigqueue.c: Likewise.
16135 * rt/aio_suspend.c: Likewise.
16136 * rt/aio_write.c: Likewise.
16137 * rt/clock_getres.c: Likewise.
16138 * rt/clock_gettime.c: Likewise.
16139 * rt/clock_nanosleep.c: Likewise.
16140 * rt/clock_settime.c: Likewise.
16141 * rt/lio_listio.c: Likewise.
16142 * rt/mq_close.c: Likewise.
16143 * rt/mq_getattr.c: Likewise.
16144 * rt/mq_notify.c: Likewise.
16145 * rt/mq_open.c: Likewise.
16146 * rt/mq_receive.c: Likewise.
16147 * rt/mq_send.c: Likewise.
16148 * rt/mq_setattr.c: Likewise.
16149 * rt/mq_timedreceive.c: Likewise.
16150 * rt/mq_timedsend.c: Likewise.
16151 * rt/mq_unlink.c: Likewise.
16152 * rt/shm_open.c: Likewise.
16153 * rt/shm_unlink.c: Likewise.
16154 * rt/timer_create.c: Likewise.
16155 * rt/timer_delete.c: Likewise.
16156 * rt/timer_getoverr.c: Likewise.
16157 * rt/timer_gettime.c: Likewise.
16158 * rt/timer_settime.c: Likewise.
16159 * setjmp/__longjmp.c: Likewise.
16160 * setjmp/setjmp.c: Likewise.
16161 * signal/kill.c: Likewise.
16162 * signal/killpg.c: Likewise.
16163 * signal/raise.c: Likewise.
16164 * signal/sigaction.c: Likewise.
16165 * signal/sigaltstack.c: Likewise.
16166 * signal/sigblock.c: Likewise.
16167 * signal/sigignore.c: Likewise.
16168 * signal/sigintr.c: Likewise.
16169 * signal/signal.c: Likewise.
16170 * signal/sigpause.c: Likewise.
16171 * signal/sigpending.c: Likewise.
16172 * signal/sigqueue.c: Likewise.
16173 * signal/sigreturn.c: Likewise.
16174 * signal/sigset.c: Likewise.
16175 * signal/sigsetmask.c: Likewise.
16176 * signal/sigstack.c: Likewise.
16177 * signal/sigsuspend.c: Likewise.
16178 * signal/sigtimedwait.c: Likewise.
16179 * signal/sigvec.c: Likewise.
16180 * signal/sigwait.c: Likewise.
16181 * signal/sigwaitinfo.c: Likewise.
16182 * signal/sysv_signal.c: Likewise.
16183 * socket/accept.c: Likewise.
16184 * socket/accept4.c: Likewise.
16185 * socket/bind.c: Likewise.
16186 * socket/connect.c: Likewise.
16187 * socket/getpeername.c: Likewise.
16188 * socket/getsockname.c: Likewise.
16189 * socket/getsockopt.c: Likewise.
16190 * socket/isfdtype.c: Likewise.
16191 * socket/listen.c: Likewise.
16192 * socket/recv.c: Likewise.
16193 * socket/recvfrom.c: Likewise.
16194 * socket/recvmsg.c: Likewise.
16195 * socket/send.c: Likewise.
16196 * socket/sendmsg.c: Likewise.
16197 * socket/sendto.c: Likewise.
16198 * socket/setsockopt.c: Likewise.
16199 * socket/shutdown.c: Likewise.
16200 * socket/sockatmark.c: Likewise.
16201 * socket/socket.c: Likewise.
16202 * socket/socketpair.c: Likewise.
16203 * stdio-common/ctermid.c: Likewise.
16204 * stdio-common/cuserid.c: Likewise.
16205 * stdio-common/remove.c: Likewise.
16206 * stdio-common/rename.c: Likewise.
16207 * stdio-common/renameat.c: Likewise.
16208 * stdio-common/tempname.c: Likewise.
16209 * stdlib/getcontext.c: Likewise.
16210 * stdlib/makecontext.c: Likewise.
16211 * stdlib/setcontext.c: Likewise.
16212 * stdlib/swapcontext.c: Likewise.
16213 * stdlib/system.c: Likewise.
16214 * streams/fattach.c: Likewise.
16215 * streams/fdetach.c: Likewise.
16216 * streams/getmsg.c: Likewise.
16217 * streams/getpmsg.c: Likewise.
16218 * streams/putmsg.c: Likewise.
16219 * streams/putpmsg.c: Likewise.
16220 * sysdeps/unix/bsd/getpt.c: Likewise.
16221 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16222 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16223 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16225 Likewise.
16226 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16227 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16228 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16229 * sysvipc/msgctl.c: Likewise.
16230 * sysvipc/msgget.c: Likewise.
16231 * sysvipc/msgrcv.c: Likewise.
16232 * sysvipc/msgsnd.c: Likewise.
16233 * sysvipc/semctl.c: Likewise.
16234 * sysvipc/semget.c: Likewise.
16235 * sysvipc/semop.c: Likewise.
16236 * sysvipc/semtimedop.c: Likewise.
16237 * sysvipc/shmat.c: Likewise.
16238 * sysvipc/shmctl.c: Likewise.
16239 * sysvipc/shmdt.c: Likewise.
16240 * sysvipc/shmget.c: Likewise.
16241 * termios/tcdrain.c: Likewise.
16242 * termios/tcflow.c: Likewise.
16243 * termios/tcflush.c: Likewise.
16244 * termios/tcgetattr.c: Likewise.
16245 * termios/tcgetpgrp.c: Likewise.
16246 * termios/tcsendbrk.c: Likewise.
16247 * termios/tcsetattr.c: Likewise.
16248 * termios/tcsetpgrp.c: Likewise.
16249 * time/adjtime.c: Likewise.
16250 * time/clock.c: Likewise.
16251 * time/getitimer.c: Likewise.
16252 * time/gettimeofday.c: Likewise.
16253 * time/setitimer.c: Likewise.
16254 * time/settimeofday.c: Likewise.
16255 * time/stime.c: Likewise.
16256 * time/time.c: Likewise.
16257
162582012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16259
a20492cf
PT
16260 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16261 /usr/old/bin.
16262
72e182e3
PT
16263 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16264 instead of spaces.
16265 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16266
fbeafede
JM
162672012-11-03 Joseph Myers <joseph@codesourcery.com>
16268
5b5b04d6
JM
16269 [BZ #14796]
16270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16271 FE_TONEAREST before applying Dekker multiplication and Knuth
16272 addition. Clear inexact exceptions and check for exact zero
16273 results afterwards.
16274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16275 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16276 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16277 * math/libm-test.inc (fma_test): Add more tests.
16278 (fma_test_towardzero): Likewise.
16279 (fma_test_downward): Likewise.
16280 (fma_test_upward): Likewise.
16281 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16282 function.
16283 (libc_fesetround): New macro.
16284 (libc_fesetroundf): Likewise.
16285 (libc_fesetroundl): Likewise.
16286 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16287 function.
16288 (libc_fesetround_387): Likewise.
16289 (libc_fesetroundf): New macro.
16290 (libc_fesetround): Likewise.
16291 (libc_fesetroundl): Likewise.
16292 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16293 function.
16294 (libc_fesetroundf): New macro.
16295 (libc_fesetround): Likewise.
16296 (libc_fesetroundl): Likewise.
16297 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16298 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16299 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16300 libm_hidden_ver.
16301 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16302 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16303 libm_hidden_def.
16304 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16305 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16306 libm_hidden_ver.
16307 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16308 libm_hidden_def.
16309
fbeafede
JM
16310 [BZ #3439]
16311 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16312 integer constant usable in #if and use that to give value to enum
16313 constant.
16314 (FE_DIVBYZERO): Likewise.
16315 (FE_UNDERFLOW): Likewise.
16316 (FE_OVERFLOW): Likewise.
16317 (FE_INVALID): Likewise.
16318 (FE_INVALID_SNAN): Likewise.
16319 (FE_INVALID_ISI): Likewise.
16320 (FE_INVALID_IDI): Likewise.
16321 (FE_INVALID_ZDZ): Likewise.
16322 (FE_INVALID_IMZ): Likewise.
16323 (FE_INVALID_COMPARE): Likewise.
16324 (FE_INVALID_SOFTWARE): Likewise.
16325 (FE_INVALID_SQRT): Likewise.
16326 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16327 (FE_TONEAREST): Likewise.
16328 (FE_TOWARDZERO): Likewise.
16329 (FE_UPWARD): Likewise.
16330 (FE_DOWNWARD): Likewise.
16331 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16332 (FE_DIVBYZERO): Likewise.
16333 (FE_OVERFLOW): Likewise.
16334 (FE_UNDERFLOW): Likewise.
16335 (FE_INEXACT): Likewise.
16336 (FE_TONEAREST): Likewise.
16337 (FE_DOWNWARD): Likewise.
16338 (FE_UPWARD): Likewise.
16339 (FE_TOWARDZERO): Likewise.
16340 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16341 (FE_UNDERFLOW): Likewise.
16342 (FE_OVERFLOW): Likewise.
16343 (FE_DIVBYZERO): Likewise.
16344 (FE_INVALID): Likewise.
16345 (FE_TONEAREST): Likewise.
16346 (FE_TOWARDZERO): Likewise.
16347 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16348 (FE_OVERFLOW): Likewise.
16349 (FE_UNDERFLOW): Likewise.
16350 (FE_DIVBYZERO): Likewise.
16351 (FE_INEXACT): Likewise.
16352 (FE_TONEAREST): Likewise.
16353 (FE_TOWARDZERO): Likewise.
16354 (FE_UPWARD): Likewise.
16355 (FE_DOWNWARD): Likewise.
16356 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16357 (FE_DIVBYZERO): Likewise.
16358 (FE_OVERFLOW): Likewise.
16359 (FE_UNDERFLOW): Likewise.
16360 (FE_INEXACT): Likewise.
16361 (FE_TONEAREST): Likewise.
16362 (FE_DOWNWARD): Likewise.
16363 (FE_UPWARD): Likewise.
16364 (FE_TOWARDZERO): Likewise.
16365
105ca950
CM
163662012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16367
16368 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16369
a542b389
AS
163702012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16371
16372 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16373 commands. Quote $PWD.
16374 (blacklist_exports): Don't use remove_newlines. Replace "declare
16375 -x" by "export".
16376 (remove_newlines): Remove.
16377
f62c8abc
L
163782012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16379
16380 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16381 * stdlib/stdlib.h (atof): Moved to ...
16382 * include/bits/stdlib-float.h: Here. New file.
16383 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16384 * stdlib/bits/stdlib-float.h: New file.
16385 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16386 -mno-sse -mno-mmx.
16387 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16388 <xmmintrin.h>.
16389
0155d5b2
JM
163902012-11-02 Joseph Myers <joseph@codesourcery.com>
16391
a68d0680
JM
16392 * conform/conformtest.pl (@headers): Add fenv.h.
16393 * conform/data/fenv.h-data: New file.
16394 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16395 include of <math/fenv.h>.
16396
caf7f573
JM
16397 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16398 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16399 && !UNIX98]. Enables tests for XOPEN2K8.
16400 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16401 POSIX2008]: Likewise.
16402
6c073ad6
JM
16403 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16404 (struct rusage): Do not expect type or its members.
16405
0155d5b2
JM
16406 [BZ #3439]
16407 * math/math.h (FP_NAN): Define macro to integer constant usable in
16408 #if and use that to give value to enum constant.
16409 (FP_INFINITE): Likewise.
16410 (FP_ZERO): Likewise.
16411 (FP_SUBNORMAL): Likewise.
16412 (FP_NORMAL): Likewise.
16413
b5dcacb4
AS
164142012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16415
16416 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16417 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16418 arguments.
16419
f7934be8
RM
164202012-11-02 Roland McGrath <roland@hack.frob.com>
16421
16422 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16423 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16424 autoconf-time if not.
16425 * configure.in: Remove AC_PREREQ.
16426
d7d08bde
TMQMF
164272012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16428
16429 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16430 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16431 of the internal implementation.
16432
dcdae19a
JM
164332012-11-02 Joseph Myers <joseph@codesourcery.com>
16434
16435 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16436 except include of <misc/sys/syslog.h>.
16437
d6cffd3e
AS
164382012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16439
16440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16441 function returns with a NULL context exit with zero.
16442
b3563932
TMQMF
164432012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16444
16445 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16446
b288a93d
L
164472012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16448
16449 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16450 (run_program_cmd): This.
16451 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16452 (tst_langinfo): New variable. Use it.
16453
a2421a68
SAS
164542012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16455
16456 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16457 floating point opcodes.
16458
6f796e1b
TS
164592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16460
7402596b
TS
16461 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16462 variable.
16463
d0d4f868
TS
16464 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16465
6f796e1b
TS
16466 * sysdeps/mach/hurd/powerpc: Remove directory.
16467 * sysdeps/mach/powerpc: Likewise.
16468
4da224a2
AS
164692012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16470
16471 * scripts/check-local-headers.sh: Ignore c++ headers.
16472
341dd673
TS
164732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16474
16475 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16476 __libc_cleanup_region_start argument.
16477
473611b2
JM
164782012-11-01 Joseph Myers <joseph@codesourcery.com>
16479
16480 [BZ #14784]
16481 [BZ #14785]
16482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16483 x * y using scaling, not as x * y + z.
16484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16486 * math/libm-test.inc (fma_test): Add more tests.
16487 (fma_test_towardzero): Likewise.
16488 (fma_test_downward): Likewise.
16489 (fma_test_upward): Likewise.
16490
4078da3d
TS
164912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16492
16493 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16494
903252aa
JM
164952012-10-31 Joseph Myers <joseph@codesourcery.com>
16496
16497 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16498 New variable.
16499
cbc818d0
TS
165002012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16501
16502 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16503
5a03cb1e
AS
165042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16505
16506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16507 Fix sort order.
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16509 Likewise.
16510
90aff2ff
TMQMF
165112012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16512
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16514 Fix the order of the list for glibc 2.17.
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16516 Likewise.
16517
1818fcb7
AS
165182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16519
16520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16521
ef82f4da
JM
165222012-10-31 Joseph Myers <joseph@codesourcery.com>
16523
16a0e2ec
JM
16524 [BZ #14610]
16525 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16526 for low part of x being zero before using __atanl (y).
16527 * math/libm-test.inc (atan2_test): Add another test.
16528
0eb69512
JM
16529 * manual/install.texi (Configuring and compiling): Document
16530 general use of test-wrapper and test-wrapper-env.
16531 * INSTALL: Regenerated.
16532
ef82f4da
JM
16533 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16534 (__fma): Do not extract and scale down low bits on after-rounding
16535 systems when result rounded to normal precision would have normal
16536 exponent.
16537 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16538 (__fmal): Do not extract and scale down low bits on after-rounding
16539 systems when result rounded to normal precision would have normal
16540 exponent.
16541 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16542 (__fmal): Do not extract and scale down low bits on after-rounding
16543 systems when result rounded to normal precision would have normal
16544 exponent.
16545 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16546 macro.
16547 (fma_test): Add more tests.
16548 (fma_test_towardzero): Likewise.
16549 (fma_test_downward): Likewise.
16550 (fma_test_upward): Likewise.
16551
954ef0d9
L
165522012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16553
16554 * sysdeps/i386/tininess.h: Renamed to ...
16555 * sysdeps/x86/tininess.h: This.
16556 * sysdeps/x86_64/tininess.h: Removed.
16557
df61ffb2
JM
165582012-10-30 Joseph Myers <joseph@codesourcery.com>
16559
16560 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16561 input. Use $(build-program-cmd).
16562 ($(objpfx)tst-array1-static.out): Likewise.
16563 ($(objpfx)tst-array2.out): Likewise.
16564 ($(objpfx)tst-array3.out): Likewise.
16565 ($(objpfx)tst-array4.out): Likewise.
16566 ($(objpfx)tst-array5.out): Likewise.
16567 ($(objpfx)tst-array5-static.out): Likewise.
16568
01767843
CM
165692012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16570
47cc1490
CM
16571 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16572 if defined.
16573
01767843
CM
16574 * nss/nsswitch.h (nss_interface_function): Provide new
16575 macro for use with NSS functions.
16576 * grp/initgroups.c: Use new macro.
16577 * nss/getXXbyYY.c: Likewise.
16578 * nss/getXXbyYY_r.c: Likewise.
16579 * nss/getXXent.c: Likewise.
16580 * nss/getXXent_r.c: Likewise.
16581 * sysdeps/posix/getaddrinfo.c: Likewise.
16582
8321aa97
AJ
165832012-10-30 Andreas Jaeger <aj@suse.de>
16584
16585 * po/ru.po: Update Russion translation from translation project.
16586
2a27fd6d
JM
165872012-10-30 Joseph Myers <joseph@codesourcery.com>
16588
8627a232
JM
16589 [BZ #14152]
16590 [BZ #14783]
16591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16592 result and shift together with sticky bit instead of replicating
16593 round-to-nearest rounding.
16594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16595 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16596 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16597 missing underflow exceptions.
16598 (fma_test_towardzero): Add more tests.
16599 (fma_test_downward): Likewise.
16600 (fma_test_upward): Likewise.
16601
2a27fd6d
JM
16602 [BZ #14047]
16603 * sysdeps/generic/tininess.h: New file.
16604 * sysdeps/i386/tininess.h: Likewise.
16605 * sysdeps/sh/tininess.h: Likewise.
16606 * sysdeps/x86_64/tininess.h: Likewise.
16607 * stdlib/tst-strtod-underflow.c: Likewise.
16608 * stdlib/tst-tininess.c: Likewise.
16609 * stdlib/strtod_l.c: Include <tininess.h>.
16610 (round_and_return): Do not set errno for exact underflow cases.
16611 Force an underflow exception when setting errno for underflow.
16612 Determine underflow based on rounding to normal precision if
16613 TININESS_AFTER_ROUNDING.
16614 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16615 ERANGE for exact underflow cases.
16616 * stdlib/Makefile (tests): Add tst-tininess and
16617 tst-strtod-underflow.
16618 ($(objpfx)tst-tininess): Use $(link-libm).
16619 ($(objpfx)tst-strtod-underflow): Likewise.
16620
e7170363
AJ
166212012-10-30 Andreas Jaeger <aj@suse.de>
16622
e5088dc6
AJ
16623 [BZ#14767]
16624 * elf/Makefile (tests): Remove conditional for have-initfini-array
16625 since this is now always required and the variable does not exist
16626 anymore.
16627 (tests-static): Likewise.
16628 (modules-names): Likewise.
16629
e7170363 16630 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16631
16632 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16633 merged with constructor/destructor.
16634 (init_array): Likewise.
16635 * elf/tst-array2dep.c (fini_array): Likewise.
16636 (init_array): Likewise.
16637
60457d8a
MF
166382012-10-29 Mike Frysinger <vapier@gentoo.org>
16639
16640 * manual/message.texi: Delete @cartouche tags.
16641
8bece752
PT
166422012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16643
94ce799f
PT
16644 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16645 EOPNOTSUPP.
16646 * sysdeps/mach/hurd/fsync.c: Likewise.
16647
8bece752
PT
16648 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16649 [_POSIX_REALTIME_SIGNALS]: Change condition to
16650 [_POSIX_REALTIME_SIGNALS > 0].
16651
86ebe6b1
AJ
166522012-10-27 Andreas Jaeger <aj@suse.de>
16653
16654 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16655 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16657 [__WORDSIZE != 64]: Likewise.
16658
54399c08
L
166592012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16660
16661 * iconvdata/tst-table.sh: Remove ${SHELL}.
16662 * iconvdata/tst-tables.sh: Likewise.
16663
e2211bed
DM
166642012-10-25 David S. Miller <davem@davemloft.net>
16665
16666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16667 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16668 of strtoull.
16669
f303f97c
DM
16670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16671 ifunc-impl-list.c
16672 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16673 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16674 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16675 file.
16676
1e9d84cd
RM
166772012-10-25 Roland McGrath <roland@hack.frob.com>
16678
16679 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16680 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16681 __getdirentries.
16682
df381762
JM
166832012-10-25 Joseph Myers <joseph@codesourcery.com>
16684 Jim Blandy <jimb@codesourcery.com>
16685
16686 * scripts/cross-test-ssh.sh: New file.
16687 * manual/install.texi (Configuring and compiling): Document use of
16688 cross-test-ssh.sh.
16689 * INSTALL: Regenerated.
16690
bff64913
PT
166912012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16692
16693 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16694 EOPNOTSUPP.
16695
25fe8932
JM
166962012-10-25 Joseph Myers <joseph@codesourcery.com>
16697
16698 * Makeconfig (run-program-prefix): Fix comment.
16699
cc1290d0
JM
167002012-10-24 Joseph Myers <joseph@codesourcery.com>
16701 Jim Blandy <jimb@codesourcery.com>
16702
16703 * Makeconfig (test-wrapper): New variable,
16704 (test-wrapper-env): Likewise.
16705 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16706 (run-built-tests): Define to yes.
16707 (run-program-prefix): Use $(test-wrapper).
16708 (built-program-cmd): Likewise.
16709 * Rules (make-test-out): Use $(test-wrapper-env) and
16710 $(host-built-program-cmd).
16711 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16712 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16713 tst-pathopt.sh.
16714 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16715 $(test-wrapper-env) to tst-rtld-load-self.sh.
16716 ($(objpfx)order2.out): Use $(test-wrapper).
16717 ($(objpfx)tst-initorder.out): Likewise.
16718 ($(objpfx)tst-initorder2.out): Likewise.
16719 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16720 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16721 (test_wrapper_env): New variable. Use it to run ld.so.
16722 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16723 Use it to run ld.so.
16724 (test_wrapper_env): Likewise.
16725 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16726 $(test-wrapper) to run-iconv-test.sh.
16727 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16728 (ICONV): Use $test_wrapper.
16729 * posix/Makefile ($(objpfx)globtest.out): Pass
16730 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16731 globtest.sh, not $(run-program-prefix).
16732 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16733 (test_wrapper): Likewise.
16734 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16735 set together with run_via_rtld_prefix.
16736 (run_program_prefix): Define in terms of test_wrapper and
16737 run_via_rtld_prefix.
16738
6e6249d0
RM
167392012-10-24 Roland McGrath <roland@hack.frob.com>
16740
16741 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16742 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16743 Targets removed.
16744
16745 [BZ #14743]
16746 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16747 Declare __clock_getres, __clock_gettime, __clock_settime,
16748 __clock_nanosleep, and __clock_getcpuclockid.
16749 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16750 Remove librt_hidden_def (clock_gettime).
16751 * sysdeps/unix/clock_gettime.c: Likewise.
16752 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16753 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16754 * rt/clock_getres.c: Define __clock_getres as an alias.
16755 * sysdeps/posix/clock_getres.c: Likewise.
16756 * rt/clock_settime.c: Define __clock_settime as an alias.
16757 * sysdeps/unix/clock_settime.c: Likewise.
16758 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16759 * sysdeps/unix/clock_nanosleep.c: Likewise.
16760 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16761 * rt/clock-compat.c: New file.
16762 * rt/Makefile (librt-routines): Add clock-compat and move
16763 $(clock-routines) to ...
16764 (routines): ... here, new variable.
16765 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16766 Don't add get_clockfreq here.
16767 * rt/Versions (libc: GLIBC_2.17): New version set.
16768 Add clock_* symbols here.
16769 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16770 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16771 (GLIBC_2.17): Add clock_* symbols.
16772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16774 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16776 Likewise.
16777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16778 Likewise.
16779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16783 * NEWS: Mention the move.
16784
16785 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16786 Use __open, __read, __close rather than their public counterparts.
16787 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16788 (__get_clockfreq_via_cpuinfo): Likewise.
16789 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16790 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16791
16792 * config.h.in (HAVE_IFUNC): New #undef.
16793 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16794 was successful.
16795 * configure: Regenerated.
16796
0cae3f4b
MF
167972012-10-24 Mike Frysinger <vapier@gentoo.org>
16798
16799 * configure.in: Move READELF check to start of file.
16800 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16801 libc_cv_asm_gnu_indirect_function in the process.
16802 * configure: Regenerated.
16803
8175a253
MF
168042012-10-24 Mike Frysinger <vapier@gentoo.org>
16805
16806 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16807 send the output to /dev/null.
16808 (libc_cv_cc_with_libunwind): Likewise.
16809 (libc_cv_as_noexecstack): Likewise.
16810 * configure: Regenerate.
16811
0708a7d1
JM
168122012-10-24 Joseph Myers <joseph@codesourcery.com>
16813
10b40d85
JM
16814 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16815
0708a7d1
JM
16816 * posix/globtest.sh (TMPDIR): Do not set.
16817 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16818 (testout): Likewise.
16819
9fddec1a
AJ
168202012-10-24 Andreas Jaeger <aj@suse.de>
16821
3a8db22f
AJ
16822 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16823 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16824 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16825 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16826 posix_fadvise64, posix_fallocate64.
16827
9fddec1a
AJ
16828 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16829 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16830 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16831 Likewise.
16832 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16833 Likewise.
16834 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16835
16836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16837 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16838 <bits/fcntl-linux.h>.
16839 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16840
16841 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16842 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16843 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16844 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16845 [__WORDSIZE != 64]: Likewise.
16846
ebfd1bbd
JM
168472012-10-23 Joseph Myers <joseph@codesourcery.com>
16848
03ac099f
JM
16849 * Makeconfig (run-built-tests): New variable.
16850 * Rules [$(cross-compiling) = yes]: Change condition to
16851 [$(run-built-tests) = no].
16852 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16853 to [$(run-built-tests) = yes].
16854 * elf/Makefile [$(cross-compiling) = no]: Likewise
16855 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16856 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16857 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16858 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16859 * io/Makefile [$(cross-compiling) = no]: Likewise.
16860 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16861 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16862 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16863 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16864 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16865 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16866 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16867 * string/Makefile [$(cross-compiling) = no]: Likewise.
16868
ebfd1bbd
JM
16869 * posix/Makefile ($(objpfx)globtest.out): Pass
16870 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16871 $(rtld-installed-name).
16872 * posix/globtest.sh (elf_objpfx): Remove variable.
16873 (rtld_installed_name): Likewise.
16874 (library_path): Likewise.
16875 (run_program_prefix): New variable. Use for running globtest
16876 binary.
16877
166bca24
JB
168782012-10-23 Jim Blandy <jimb@codesourcery.com>
16879 Joseph Myers <joseph@codesourcery.com>
16880
16881 * Makeconfig (host-built-program-cmd): New variable.
16882 * elf/Makefile (tst-stackguard1-ARGS): Use
16883 $(host-built-program-cmd).
16884 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16885 (tst-spawn-ARGS): Likewise.
16886 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16887
88866099
JM
168882012-10-23 Joseph Myers <joseph@codesourcery.com>
16889 Jim Blandy <jimb@codesourcery.com>
16890
16891 * Makeconfig (run-via-rtld-prefix): New variable.
16892 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16893 (built-program-cmd): Likewise.
16894
b4b4c296
AJ
168952012-10-22 Andreas Jaeger <aj@suse.de>
16896
16897 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16898 __O_RSYNC if it exists, otherwise to O_SYNC.
16899
6fb54a22
JB
169002012-10-22 Jim Blandy <jimb@codesourcery.com>
16901 Joseph Myers <joseph@codesourcery.com>
16902
16903 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16904 /dev/null.
16905 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16906 from /dev/null
16907 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16908 /dev/null.
16909
481b90b9
AJ
169102012-10-22 Andreas Jaeger <aj@suse.de>
16911
2a0e2669
AJ
16912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16913 Define always.
16914 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16915
76e38f9a
AJ
16916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16917 bits/fcntl-linux.h.
16918
7cd37b43
AJ
16919 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16920 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16921
481b90b9
AJ
16922 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16923 to __O_LARGEFILE.
16924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16925 to __O_LARGEFILE.
16926
aba75984
JB
169272012-10-21 Jim Blandy <jimb@codesourcery.com>
16928 Joseph Myers <joseph@codesourcery.com>
16929
16930 * config.make.in (NM): New variable.
16931
88d4247f
AJ
169322012-10-21 Andreas Jaeger <aj@suse.de>
16933
16934 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16935 definitions and declarations that are provided by
16936 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16937
f2eed205
L
169382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16939
16940 [BZ #14683]
16941 * elf/Makefile (tests-static): Add tst-leaks1-static.
16942 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16943 ($(objpfx)tst-leaks1-static): New rule.
16944 ($(objpfx)tst-leaks1-static-mem): Likewise.
16945 (tst-leaks1-static-ENV): New macro.
16946 * elf/dl-open.c (dl_open_worker): Check the main application
16947 only if SHARED is defined.
16948 * elf/tst-leaks1-static.c: New file.
16949
335e6931
AJ
169502012-10-20 Andreas Jaeger <aj@suse.de>
16951
16952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16953 generic values for Linux.
16954 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16955 and declarations that are provided by <bits/fcntl-linux.h> and
16956 include <bits/fcntl-linux.h>.
16957 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16958 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16959
ac5c94d3
RM
169602012-10-20 Roland McGrath <roland@hack.frob.com>
16961
16962 * io/fcntl.h: Move include of <bits/types.h> to the top and
16963 include it unconditionally.
16964
de54b33a
L
169652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16966
228cfb01
L
16967 * wcsmbs/Makefile (tests-ifunc): New variable.
16968 (tests): Add $(tests-ifunc).
16969 * wcsmbs/test-wcschr-ifunc.c: New file.
16970 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16971 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16972 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16973 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16974 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16975
69f07e5f
L
16976 * string/Makefile (tests-ifunc): New variable.
16977 (tests): Add $(tests-ifunc).
16978 * string/test-memccpy.c (TEST_NAME): New macro.
16979 * string/test-memchr.c (TEST_NAME): Likewise.
16980 * string/test-memcmp.c (TEST_NAME): Likewise.
16981 * string/test-memcpy.c (TEST_NAME): Likewise.
16982 * string/test-memmem.c (TEST_NAME): Likewise.
16983 * string/test-memmove.c (TEST_NAME): Likewise.
16984 * string/test-memset.c (TEST_NAME): Likewise.
16985 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16986 * string/test-stpcpy.c (TEST_NAME): Likewise.
16987 * string/test-stpncpy.c (TEST_NAME): Likewise.
16988 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16989 * string/test-strcasestr.c (TEST_NAME): Likewise.
16990 * string/test-strcat.c (TEST_NAME): Likewise.
16991 * string/test-strchr.c (TEST_NAME): Likewise.
16992 * string/test-strcmp.c(TEST_NAME): Likewise.
16993 * string/test-strcpy.c (TEST_NAME): Likewise.
16994 * string/test-strcspn.c (TEST_NAME): Likewise.
16995 * string/test-strlen.c (TEST_NAME): Likewise.
16996 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16997 * string/test-strncmp.c (TEST_NAME): Likewise.
16998 * string/test-strncpy.c (TEST_NAME): Likewise.
16999 * string/test-strnlen.c (TEST_NAME): Likewise.
17000 * string/test-strpbrk.c (TEST_NAME): Likewise.
17001 * string/test-strrchr.c (TEST_NAME): Likewise.
17002 * string/test-strspn.c (TEST_NAME): Likewise.
17003 * string/test-strstr.c (TEST_NAME): Likewise.
17004 * string/test-bcopy-ifunc.c: New file.
17005 * string/test-bzero-ifunc.c: Likewise.
17006 * string/test-memccpy-ifunc.c: Likewise.
17007 * string/test-memchr-ifunc.c: Likewise.
17008 * string/test-memcmp-ifunc.c: Likewise.
17009 * string/test-memcpy-ifunc.c: Likewise.
17010 * string/test-memmem-ifunc.c: Likewise.
17011 * string/test-memmove-ifunc.c: Likewise.
17012 * string/test-mempcpy-ifunc.c: Likewise.
17013 * string/test-memset-ifunc.c: Likewise.
17014 * string/test-rawmemchr-ifunc.c: Likewise.
17015 * string/test-stpcpy-ifunc.c: Likewise.
17016 * string/test-stpncpy-ifunc.c: Likewise.
17017 * string/test-strcasecmp-ifunc.c: Likewise.
17018 * string/test-strcasestr-ifunc.c: Likewise.
17019 * string/test-strcat-ifunc.c: Likewise.
17020 * string/test-strchr-ifunc.c: Likewise.
17021 * string/test-strchrnul-ifunc.c: Likewise.
17022 * string/test-strcmp-ifunc.c: Likewise.
17023 * string/test-strcpy-ifunc.c: Likewise.
17024 * string/test-strcspn-ifunc.c: Likewise.
17025 * string/test-strlen-ifunc.c: Likewise.
17026 * string/test-strncasecmp-ifunc.c: Likewise.
17027 * string/test-strncat-ifunc.c: Likewise.
17028 * string/test-strncmp-ifunc.c: Likewise.
17029 * string/test-strncpy-ifunc.c: Likewise.
17030 * string/test-strnlen-ifunc.c: Likewise.
17031 * string/test-strpbrk-ifunc.c: Likewise.
17032 * string/test-strrchr-ifunc.c: Likewise.
17033 * string/test-strspn-ifunc.c: Likewise.
17034 * string/test-strstr-ifunc.c: Likewise.
17035
de54b33a
L
17036 * debug/Makefile (tests-ifunc): New variable.
17037 (tests): Add $(tests-ifunc).
17038 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17039 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17040 * debug/test-stpcpy_chk-ifunc.c: New file.
17041 * debug/test-strcpy_chk-ifunc.c: Likewise.
17042
88481c16
SP
170432012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17044
17045 [BZ #13601]
17046 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17047 header is not read in.
17048
135948bd
JM
170492012-10-19 Joseph Myers <joseph@codesourcery.com>
17050
89f1c388
JM
17051 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17052 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17053 directly. Pass built executable to script as
17054 $(built-program-cmd).
17055 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17056 $testprogram without using LD_LIBRARY_PATH and $ldso.
17057
e40a0d21
JM
17058 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17059 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17060 $(rtld-installed-name).
17061 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17062 (rtld_installed_name): Likewise.
17063 (library_path): Likewise.
17064 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17065 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17066 $(run-program-prefix) to tst-tables.sh.
17067 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17068 it to run tst-table-from and tst-table-to.
17069 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17070 Pass it to tst-table.sh.
17071 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17072 $(run-program-prefix) to tst-gettext.sh.
17073 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17074 tst-translit.sh.
17075 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17076 tst-gettext2.sh.
17077 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17078 to run tst-gettext.
17079 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17080 to run tst-gettext2.
17081 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17082 to run tst-translit.
17083 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17084 $(run-program-prefix) to tst-mtrace.sh.
17085 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17086 to run tst-mtrace.
17087 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17088 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17089 $(rtld-installed-name).
17090 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17091 (rtld_installed_name): Likewise.
17092 (run_program_prefix): New variable. Use it to run wordexp-test.
17093
728e272a
JM
17094 * Makeconfig (ARCH): Remove all definitions.
17095 (machine): Likewise.
17096 [ARCH]: Remove conditional code.
17097 [!objdir]: Give error.
17098 [!objdir] (objpfx): Remove.
17099 [!objdir] (common-objpfx): Likewise.
17100 [!objdir] (common-objdir): Likewise.
17101 * configure.in (config_makefile): Remove. Hardcode Makefile in
17102 AC_CONFIG_FILES call.
17103 * configure: Regenerated.
17104
d528cdcf
JM
17105 [BZ #13888]
17106 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17107 or TMPDIR.
17108 (testout): Likewise.
17109
135948bd
JM
17110 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17111 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17112 $(rtld-installed-name).
17113 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17114 (rtld_installed_name): Likwise.
17115 (runit): Remove function.
17116 (run_getconf): New variable, Use it for running getconf binary.
17117
38c78296
L
171182012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17119
17120 [BZ #14716]
17121 * string/test-memmem.c (check_result): New function.
17122 (do_one_test): Use it.
17123 (check1): New function.
17124 (test_main): Use it.
17125
d077f65f
MT
171262012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17127
17128 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17129
ced52c71
JM
171302012-10-18 Joseph Myers <joseph@codesourcery.com>
17131
17132 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17133 (_G_LSEEK64): Likewise.
17134 (_G_MMAP64): Likewise.
17135 (_G_FSTAT64): Likewise.
17136 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17137 (_G_LSEEK64): Likewise.
17138 (_G_MMAP64): Likewise.
17139 (_G_FSTAT64): Likewise.
17140 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17141 unconditional. Call __mmap64 directly.
17142 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17143 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17144 __lseek64 directly.
17145 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17146 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17147 __mmap64 directly.
17148 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17149 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17150 __lseek64 directly.
17151 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17152 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17153 __lseek64 directly.
17154 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17155 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17156 __lseek64 directly.
17157 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17158 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17159 __fxstat64 directly.
17160 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17161 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17162 unconditional.
17163 (freopen64) [!_G_OPEN64]: Remove conditional code.
17164 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17165 unconditional.
17166 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17167 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17168 unconditional.
17169 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17170 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17171 unconditional.
17172 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17173 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17174 unconditional.
17175 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17176 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17177 unconditional.
17178 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17179 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17180 unconditional.
17181 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17182 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17183 unconditional.
17184 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17185
b741de23
SP
171862012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17187
17188 [BZ #12140]
17189 * manual/memory.texi (Malloc Tunable Parameters): Add note
17190 about free list pointers overwriting some perturb bytes.
17191 Wording suggested by Roland McGrath.
17192
f9b9d9c9
JM
171932012-10-17 Joseph Myers <joseph@codesourcery.com>
17194
17195 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17196 (lgamma_test): Likewise.
17197 (tgamma_test): Likewise.
17198
172a631a
FW
171992012-10-16 Florian Weimer <fweimer@redhat.com>
17200
17201 [BZ #14700]
17202 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17203 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17204
e9f37252
MK
172052012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17206
17207 * NEWS: Mention BZ #14716.
17208 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17209 when removing AVAILABLE1_USES_J macro.
17210
d394eb74
L
172112012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17212
17213 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17214 (__bswap_64): __uint64_t for unsigned 64-bit int.
17215
ca38dc17
AS
172162012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17217
17218 * include/string.h (memmem): Declare libc hidden alias.
17219 * string/memmem.c (memmem): Define libc hidden alias.
17220 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17221 __read, __close instead of open, read, close.
17222
9a387d1f
L
172232012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17224
ac49ecaf
L
17225 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17226 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17227 global and hidden.
17228 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17229 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17230 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17231 Likewise.
17232 (__rawmemchr_sse2): Likewise.
17233 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17234 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17235 (__strchr_sse2): Likewise.
17236 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17237 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17238 (__strcasecmp_sse2): Likewise.
17239 (__strncasecmp_sse2): Likewise.
17240 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17241 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17242 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17243 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17244 (__strrchr_sse2): Likewise.
17245 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17246 ifunc-impl-list.c.
17247 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17248 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17249 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17250 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17251 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17252 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17253 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17254 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17255 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17256 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17257 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17258 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17259 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17260 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17261 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17262 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17263 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17264 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17265 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17266 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17267 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17268 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17269 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17270 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17271 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17272 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17273 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17274 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17275 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17276 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17277
b090e8ea
L
17278 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17279 global and hidden.
17280 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17281 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17282 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17283 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17284 Likewise.
17285 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17286 Likewise.
17287 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17288 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17289 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17290 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17291 ifunc-impl-list.c.
17292 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17293 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17294 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17295 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17296 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17297 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17298 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17299 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17300 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17301 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17302 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17303 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17304 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17305 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17306 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17307 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17308 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17309 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17310 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17311 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17312 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17313 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17314 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17315 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17316 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17317 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17318 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17319 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17320 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17321 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17322 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17323 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17324 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17325 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17326 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17327 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17328 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17329 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17330 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17331 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17332 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17333
11dd4af6
L
17334 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17335 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17336 * include/ifunc-impl-list.h: New file.
17337 * misc/ifunc-impl-list.c: Likewise.
17338 * misc/Makefile (routines): Add ifunc-impl-list.
17339 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17340 * string/test-string.h: Include <ifunc-impl-list.h>.
17341 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17342 impl_array): New variables.
17343 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17344 are defined.
17345 (test_init): Call __libc_ifunc_impl_list to initialize
17346 func_list if TEST_IFUNC and TEST_NAME are defined.
17347
9a387d1f
L
17348 * string/Makefile (strop-tests): Add bcopy and bzero.
17349 * string/test-bcopy.c: New file.
17350 * string/test-bzero.c: Likewise.
17351 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17352 defined.
17353 * string/test-memset.c: Support bzero test if TEST_BZERO is
17354 defined.
17355 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17356 __libc_memmove.
17357 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17358 __libc_memset.
17359 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17360 of memset.
17361
472371b9
JM
173622012-10-10 Joseph Myers <joseph@codesourcery.com>
17363
1e4a9536
JM
17364 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17365 * configure: Regenerated.
17366
d173d12e
JM
17367 * Makeconfig (+link-static-before-libc): Don't include
17368 $(link-static-libc).
17369
472371b9
JM
17370 * libio/libio.h (_IO_pos_t): Remove.
17371
89a3ad0b
AO
173722012-10-10 Alexandre Oliva <aoliva@redhat.com>
17373
17374 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17375 McGrath.
17376
e7451425
AO
173772012-10-10 Alexandre Oliva <aoliva@redhat.com>
17378
17379 * crypt/crypt-entry.c: Include fips-private.h.
17380 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17381 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17382 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17383 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17384
4ba74a35
AO
173852012-10-10 Alexandre Oliva <aoliva@redhat.com>
17386
17387 * crypt/crypt-private.h: Include stdbool.h.
17388 (_ufc_setup_salt_r): Return bool.
17389 * crypt/crypt-entry.c: Include errno.h.
17390 (__crypt_r): Return NULL with EINVAL for bad salt.
17391 * crypt/crypt_util.c (bad_for_salt): New.
17392 (_ufc_setup_salt_r): Check that salt is long enough and within
17393 the specified alphabet.
17394 * crypt/badsalttest.c: New file.
17395 * crypt/Makefile (tests): Add it.
17396 ($(objpfx)badsalttest): New.
17397
f96f1242
MK
173982012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17399
17400 * NEWS: Add entry for BZ #14602.
17401
0e8e0c1c
JM
174022012-10-09 Joseph Myers <joseph@codesourcery.com>
17403
17404 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17405 type-generic.
17406 * math/libm-test.inc: Update comment listing what functions and
17407 macros are tested.
17408 (isgreater_test): New function.
17409 (isgreaterequal_test): Likewise.
17410 (isless_test): Likewise.
17411 (islessequal_test): Likewise.
17412 (islessgreater_test): Likewise.
17413 (isunordered_test): Likewise.
17414 (main): Call the new functions.
17415
273edc5e
RM
174162012-10-09 Roland McGrath <roland@hack.frob.com>
17417
b8493de0
RM
17418 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17419 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17420 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17421 * sysdeps/i386/configure: Regenerated.
17422 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17423 * sysdeps/mach/configure: Regenerated.
17424 * sysdeps/mach/hurd/configure: Regenerated.
17425 * sysdeps/powerpc/configure: Regenerated.
17426 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17427 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17428 * sysdeps/s390/s390-32/configure: Regenerated.
17429 * sysdeps/s390/s390-64/configure: Regenerated.
17430 * sysdeps/sh/configure: Regenerated.
17431 * sysdeps/sparc/configure: Regenerated.
17432 * sysdeps/unix/sysv/linux/configure: Regenerated.
17433 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17434 * sysdeps/x86_64/configure: Regenerated.
17435
273edc5e
RM
17436 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17437 defined. Don't check if MAP is NULL.
17438
c8450f70
JM
174392012-10-09 Joseph Myers <joseph@codesourcery.com>
17440
17441 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17442 (_G_stat64): Likewise.
17443 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17444 (_G_stat64): Likewise.
17445 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17446 instead of struct _G_stat64.
17447 * libio/fileops.c (mmap_remap_check): Likewise.
17448 (decide_maybe_mmap): Likewise.
17449 (_IO_new_file_seekoff): Likewise.
17450 (_IO_file_stat): Likewise.
17451 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17452 _G_off64_t.
17453 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17454 instead of struct _G_stat64.
17455 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17456
57e605ba
MK
174572012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17458
17459 [BZ #14602]
17460 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17461 Replace with ...
17462 (CHECK_EOL): New macro.
17463 (two_way_short_needle): Check beginning of haystack for EOL. Use
17464 CHECK_EOL.
17465 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17466 Replace with CHECK_EOL.
17467 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17468 Replace with CHECK_EOL.
17469
ef1bb361
JM
174702012-10-08 Joseph Myers <joseph@codesourcery.com>
17471
17472 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17473 type-generic.
17474 * math/libm-test.inc: Update comment listing what functions and
17475 macros are tested.
17476 (finite_test): New function.
17477 (isinf_test): Likewise.
17478 (isnan_test): Likewise.
17479 (fpclassify_test): Test subnormal input.
17480 (isfinite_test): Likewise.
17481 (isnormal_test): Likewise.
17482 (main): Call the new functions.
17483
55f11534
JN
174842012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17485
17486 [BZ #14660]
17487 * Makerules (%.dynsym): Force C locale when running
17488 $(OBJDUMP) --dynamic-syms.
17489
1ab29350
AS
174902012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17491
17492 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17493 <stdint.h>.
17494
f1ecb7ef
DM
174952012-10-06 David S. Miller <davem@davemloft.net>
17496
17497 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17498 upper 32-bits of the length value in %o2 since we use branch-on-register
17499 tests which consider the entire 64-bit register.
17500
5d41d91a
L
175012012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17502
17503 * string/test-strstr.c (check2): Add a test for page boundary.
17504
3baddb72
DM
175052012-10-05 David S. Miller <davem@davemloft.net>
17506
17507 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17508 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17509 file.
17510 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17511 sysdep_routines.
17512 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17513 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17514 and bzero when HWCAP_SPARC_CRYPTO is present.
17515
9cee5585
L
175162012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17517
d7e0dab9
L
17518 [BZ #14602]
17519 * string/test-strstr.c (check2): New function.
17520 (test_main): Call check2.
17521
03759f47
L
17522 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17523 and bug-strchr1.
17524 * string/bug-strcasestr1.c (do_test): Moved to ...
17525 * string/test-strcasestr.c (check1): Here. New function.
17526 (do_one_test): Break out result checking code into ...
17527 (check_result): This. New function.
17528 (do_one_test): Call check_result.
17529 (test_main): Call check1.
17530 * string/bug-strchr1.c (do_test): Moved to ...
17531 * string/test-strchr.c (check1): Here. New function.
17532 (do_one_test): Break out result checking code into ...
17533 (check_result): This. New function.
17534 (do_one_test): Call check_result.
17535 (test_main): Call check1.
17536 * string/bug-strstr1.c (main): Moved to ...
046f153e 17537 * string/test-strstr.c (check1): Here. New function.
03759f47
L
17538 (do_one_test): Break out result checking code into ...
17539 (check_result): This. New function.
17540 (do_one_test): Call check_result.
17541 (test_main): Call check1.
17542 * string/bug-strcasestr1.c: Removed.
17543 * string/bug-strchr1.c: Likewise.
17544 * string/bug-strstr1.c: Likewise.
17545
53cea63e
L
17546 * elf/Makefile (dl-routines): Add hwcaps.
17547 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17548 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17549 (_dl_important_hwcaps): Moved to ...
17550 * elf/dl-hwcaps.c: Here. New file.
17551 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17552
9cee5585 17553 [BZ #14557]
bb859b06
L
17554 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17555 if IS_IN_rtld isn't defined.
17556
9cee5585
L
17557 * elf/dl-support.c (_dl_sysinfo_map): New.
17558 Include "get-dynamic-info.h" and "setup-vdso.h".
17559 (_dl_non_dynamic_init): Call setup_vdso.
17560 * elf/dynamic-link.h: Don't include <assert.h>.
17561 (elf_get_dynamic_info): Moved to ...
17562 * elf/get-dynamic-info.h: Here. New file.
17563 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17564 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17565 * elf/setup-vdso.h: Here. New file.
17566 * elf/rtld.c: Include "setup-vdso.h".
17567 (dl_main): Call setup_vdso.
17568
23c31b76
JM
175692012-10-05 Joseph Myers <joseph@codesourcery.com>
17570
28234b07
JM
17571 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17572 creal in comment listing functions tested. List finite, isinf,
17573 isnan, isless, islessequal, isgreater, isgreaterequal,
17574 islessgreater, isunordered, lgamma_r and pow10 as functions and
17575 macros not tested. Mention which functions not tested are aliases
17576 for other functions. Fix typo. Note that signs of NaNs are not
17577 tested.
17578
23c31b76
JM
17579 * scripts/config.guess: Update from config.git.
17580 * scripts/config.sub: Likewise.
17581
9043e228
RM
175822012-10-04 Roland McGrath <roland@hack.frob.com>
17583
17584 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17585 * misc/madvise.c (madvise): Renamed to __madvise.
17586 Make madvise a weak alias.
17587 * include/sys/mman.h: Declare __madvise.
17588 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17589 * sysdeps/unix/syscalls.list
17590 (madvise): Make __madvise the strong name, and madvise a weak alias.
17591 * sysdeps/unix/sysv/linux/syscalls.list
17592 (madvise, mmap): Remove redundant entries.
17593 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17594 * malloc/malloc.c (mtrim): Likewise.
17595 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17596
f57f8055
RM
175972012-10-03 Roland McGrath <roland@hack.frob.com>
17598
17599 * sysdeps/mach/hurd/dl-cache.c: File removed.
17600 * config.h.in (USE_LDCONFIG): New #undef.
17601 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17602 * configure: Regenerated.
17603 * elf/Makefile (dl-routines): Add dl-cache only under
17604 [$(use-ldconfig) = yes].
17605 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17606 cache on [USE_LDCONFIG].
17607 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17608 [USE_LDCONFIG].
17609 * elf/rtld.c (dl_main): Likewise.
17610
5bb0c10a
PT
176112012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17612
17613 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17614 _SC_LEVEL4_CACHE_LINESIZE.
17615
010188c6
RM
176162012-10-03 Roland McGrath <roland@hack.frob.com>
17617
17618 * sysdeps/unix/bsd/confstr.h: File removed.
17619
b6c5ec07
AO
176202012-10-02 Alexandre Oliva <aoliva@redhat.com>
17621
17622 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17623 sys/sdt-config.h.
17624
408223d4
RM
176252012-10-02 Roland McGrath <roland@hack.frob.com>
17626
17627 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17628 Make 'mapoff' field ElfW(Off) rather than off_t.
17629
bb9510dc
DL
176302012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17631
fc997c6e
DL
17632 * nscd/Makefile: Remove nscd-cflags and all its users.
17633 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17634 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17635
bb9510dc
DL
17636 [BZ #10631]
17637 * malloc.c (malloc_printerr): Clarify error message.
17638
05699367
L
176392012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17640
17641 [BZ #14648]
17642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17643 Set bit_FMA_Usable if FMA is supported.
17644 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17645 macro.
17646 (bit_FMA4_Usable): Updated.
17647 (index_FMA_Usable): New macro.
17648 (CPUID_FMA): Likewise
17649 (HAS_FMA): Defined with bit_FMA_Usable.
17650
51367701
RM
176512012-10-01 Roland McGrath <roland@hack.frob.com>
17652
17653 * bits/types.h (__swblk_t): Type removed.
17654 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17655 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17656 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17657 (__SWBLK_T_TYPE): Likewise.
17658 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17659 (__SWBLK_T_TYPE): Likewise.
17660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17661 (__SWBLK_T_TYPE): Likewise.
17662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17663 (__SWBLK_T_TYPE): Likewise.
17664
4d57bf63 176652012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17666 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17667
17668 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17669 (xdr_mapname): Use YPMAXMAP as maxsize.
17670 (xdr_peername): Use YPMAXPEER as maxsize.
17671 (xdr_keydat): Use YPAXRECORD as maxsize.
17672 (xdr_valdat): Use YPMAXRECORD as maxsize.
17673
93c65d43
RM
176742012-10-01 Roland McGrath <roland@hack.frob.com>
17675
497a03d6
RM
17676 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17677
93c65d43
RM
17678 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17679 * csu/init-first.c: ... here.
17680 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17681 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17682 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17683 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17684 * sysdeps/i386/init-first.c: File removed.
17685 * sysdeps/sh/init-first.c: File removed.
17686
bec749fd
JM
176872012-10-01 Joseph Myers <joseph@codesourcery.com>
17688
17689 [BZ #14645]
17690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17691 if x * y might underflow to zero and z is zero.
17692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17693 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17694 * math/libm-test.inc (min_subnorm_value): New variable.
17695 (fma_test): Add more tests.
17696 (fma_test_towardzero): Likewise.
17697 (fma_test_downward): Likewise
17698 (fma_test_upward): Likewise.
17699 (initialize): Set min_subnorm_value.
17700
8ec5b013
JM
177012012-09-29 Joseph Myers <joseph@codesourcery.com>
17702
17703 [BZ #14638]
17704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17705 0 + 0.
17706 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17707 mode for addition resulting in exact zero.
17708 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17710 exact 0 + 0.
17711 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17713 * math/libm-test.inc (fma_test): Add more tests.
17714 (fma_test_towardzero): New function.
17715 (fma_test_downward): Likewise.
17716 (fma_test_upward): Likewise.
17717 (main): Call the new functions.
17718
b1fa802e
DM
177192012-09-28 David S. Miller <davem@davemloft.net>
17720
17721 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17722
d3b9fd9e
RM
177232012-09-28 Roland McGrath <roland@hack.frob.com>
17724
ea4d37b3
RM
17725 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17726 instead of SIGALRM.
17727
ac51c949
RM
17728 * sysdeps/gnu/_G_config.h: Moved to ...
17729 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17730 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17731 * sysdeps/generic/_G_config.h: ... here.
17732
28c195f7
RM
17733 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17734
848917f9
RM
17735 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17736
6bacf05b
RM
17737 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17738 Conditionalize target on [libnss_test1.so-version].
17739
91363dbb
RM
17740 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17741
cc87f7d8
RM
17742 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17743 (elfobjdir): Move out of conditionals.
17744
b1c608fe
RM
17745 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17746 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17747 (__nss_lookup_function): Conditionalize label remove_from_tree on
17748 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17749
1d9a6d96
DM
177502012-09-28 David S. Miller <davem@davemloft.net>
17751
17752 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17753 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17754 file.
17755 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17756 sysdep_routines.
17757 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17759 when HWCAP_SPARC_CRYPTO is present.
17760
72581615
PT
177612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17762
17763 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17764
715a900c
JL
177652012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17766
17767 [BZ #6530]
17768 * stdio-common/vfprintf.c (process_string_arg): Revert
17769 2000-07-22 change.
17770
177712011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17772
17773 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17774 for testcase.
17775 * stdio-common/tst-sprintf.c: Include <locale.h>
17776 (main): Test sprintf's handling of incomplete multibyte
17777 characters.
17778
9bac1d86
L
177792012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17780
17781 * elf/dl-runtime.c (VERSYMIDX): Removed.
17782 * elf/dl-version.c (VERSYMIDX): Likewise.
17783 * elf/do-rel.h (VERSYMIDX): Likewise.
17784 (VALIDX): Likewise.
17785 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17786 * elf/rtld.c (VALIDX): Likewise.
17787 (ADDRIDX): Likewise.
9bac1d86
L
17788 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17789 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17790 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17791 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17792 (VALIDX): Likewise.
17793 (ADDRIDX): Likewise.
9bac1d86 17794
b31606c0
PT
177952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17796
17797 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17798
11541177
JL
177992012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17800
17801 [BZ #11438]
17802 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17803 to global scope.
17804 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17805 addresses are in the same scope as 192.0.2/24.
17806 * posix/gai.conf: Document new scope table defaults.
17807
adb26fae
SP
178082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17809
17810 [BZ #5298]
17811 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17812 for ftell. Compute offsets from write pointers instead.
17813 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17814
4573c6b0
SP
178152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17816
17817 [BZ #14543]
17818 * libio/Makefile (tests): New test case tst-fseek.
17819 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17820 combination works in wide mode.
17821 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17822 state when the external buffer state changes.
17823
aa9bbfe6
DM
178242012-09-27 David S. Miller <davem@davemloft.net>
17825
17826 [BZ #14376]
17827 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17828 pass reloc->r_addend in as the 'high' argument to
17829 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17830
784421e7
DM
17831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17832
c39bc8b8
PT
178332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17834
17835 * rt/tst-aio2.c: Include <pthread.h>.
17836 * rt/tst-aio3.c: Likewise.
17837
1ccc2399
SE
178382012-09-27 Steve Ellcey <sellcey@mips.com>
17839
17840 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17841
31ed4153
L
178422012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17843
25f5f885
L
17844 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17845 contents on [SHARED].
31ed4153 17846
b7bfe116
MP
178472012-09-26 Marek Polacek <polacek@redhat.com>
17848
17849 [BZ #14530]
17850 [BZ #13741]
17851 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17852 for C++ and GCC <4.3 as well as for non GCC compilers.
17853
43c4edba
MT
178542012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17855
17856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17857
6a1bf82f
RM
178582012-09-25 Roland McGrath <roland@hack.frob.com>
17859
17860 * Makefile.in (all, install): Declare with .PHONY.
17861 Reported by Michael Hope <michael.hope@linaro.org>.
17862
8ad11b9a
TMQMF
178632012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17864
17865 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17866 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17867 system header.
17868 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17869 Likewise.
17870 (sydep_routines): Add the new and the internal functions.
17871 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17872 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17874 (GLIBC_2.17): Add the new function.
17875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17876 (GLIBC_2.17): Likewise.
17877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17878 (GLIBC_2.17): Likewise.
17879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17880 (GLIBC_2.17): Likewise.
17881 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17882
7e2fca8d
AM
178832012-09-25 Alan Modra <amodra@gmail.com>
17884
17885 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17886 Add release barrier before setting once_control to say
17887 initialisation is done. Add hints on lwarx. Use macro in
17888 place of isync.
17889 (clear_once_control): Add release barrier.
17890
b87c4b24
JM
178912012-09-25 Joseph Myers <joseph@codesourcery.com>
17892
d032e0d2
JM
17893 [BZ #13629]
17894 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17895 specially.
17896 * math/s_clog10.c (__clog10): Likewise.
17897 * math/s_clog10f.c (__clog10f): Likewise.
17898 * math/s_clog10l.c (__clog10l): Likewise.
17899 * math/s_clogf.c (__clogf): Likewise.
17900 * math/s_clogl.c (__clogl): Likewise.
17901 * math/Makefile (libm-calls): Add x2y2m1.
17902 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17903 (__x2y2m1): Likewise.
17904 (__x2y2m1l): Likewise.
17905 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17906 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17907 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17908 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17909 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17910 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17911 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17912 * sysdeps/i386/fpu/libm-test-ulps: Update.
17913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17914
b87c4b24
JM
17915 [BZ #14621]
17916 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17917 int as type of variable DEPTH.
17918 (glob): Use size_t instead of int as type of variables NEWCOUNT
17919 and OLD_PATHC.
17920
6d3bf199
LD
179212012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17922
22bf5c17
LD
17923 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17924 Add s_sincosf-sse2.
17925 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17926 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17927 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17928 macros for using routine as __sincosf_ia32.
17929 Use macro for function declaration and weak_alias.
17930 * sysdeps/i386/fpu/libm-test-ulps: Update.
17931
17932 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17934
17935 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17936 subnormal argument.
17937 * math/s_cexpf.c (__cexpf): Likewise.
17938 * math/s_csinf.c (__csinf): Likewise.
17939 * math/s_csinhf.c (__csinhf): Likewise.
17940 * math/s_ctanf.c (__ctanf): Likewise.
17941 * math/s_ctanhf.c (__ctanhf): Likewise.
17942 * math/s_ccosh.c (__ccoshf): Likewise.
17943 * math/s_cexp.c (__cexpl): Likewise.
17944 * math/s_csin.c (__csin): Likewise.
17945 * math/s_csinh.c (__csinh): Likewise.
17946 * math/s_ctan.c (__ctan): Likewise.
17947 * math/s_ctanh.c (ctanh): Likewise.
17948 * math/s_ccoshl.c (__ccoshl): Likewise.
17949 * math/s_cexpl.c (__cexpl): Likewise.
17950 * math/s_csinl.c (__csinl): Likewise.
17951 * math/s_csinhl.c (__csinhl): Likewise.
17952 * math/s_ctanl.c (__ctanl): Likewise.
17953 * math/s_ctanhl.c (__ctanhl): Likewise.
17954
203e5603
JM
179552012-09-25 Joseph Myers <joseph@codesourcery.com>
17956
17957 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17958 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17959 (_IO_off_t): Define to __off_t, not _G_off_t.
17960 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17961 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17962 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17963 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17964 type of __dummy and __dummy2 fields.
17965 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17966 (_G_ssize_t): Likewise.
17967 (_G_off_t): Likewise.
17968 (_G_pid_t): Likewise.
17969 (_G_uid_t): Likewise.
17970 (_G_wchar_t): Likewise.
17971 (_G_wint_t): Likewise.
17972 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17973 (_G_ssize_t): Likewise.
17974 (_G_off_t): Likewise.
17975 (_G_pid_t): Likewise.
17976 (_G_uid_t): Likewise.
17977 (_G_wchar_t): Likewise.
17978 (_G_wint_t): Likewise.
17979 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17980 (_G_ssize_t): Likewise.
17981 (_G_off_t): Likewise.
17982 (_G_pid_t): Likewise.
17983 (_G_uid_t): Likewise.
17984 (_G_wchar_t): Likewise.
17985 (_G_wint_t): Likewise.
17986
9fab36eb
SP
179872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17988
17989 * malloc/arena.c: Include malloc-sysdep.h.
17990 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17991 is sufficient to shrink the heap or an unmap is needed.
17992 * sysdeps/generic/malloc-sysdep.h: New file. Define
17993 new function check_may_shrink_heap.
17994 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17995 new function check_may_shrink_heap.
17996
2b4f00d1
SP
179972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17998
17999 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18000 comments.
18001
9a9028b1
DL
180022012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18003
57c69bef
DL
18004 * catgets/test-gencat.sh: Add "set -e".
18005 * elf/tst-pathopt.sh: Likewise.
18006 * grp/tst_fgetgrent.sh: Likewise.
18007 * iconvdata/run-iconv-test.sh: Likewise.
18008 * intl/tst-gettext.sh: Likewise.
18009 * intl/tst-gettext2.sh: Likewise.
18010 * intl/tst-gettext4.sh: Likewise.
18011 * intl/tst-gettext6.sh: Likewise.
18012 * intl/tst-translit.sh: Likewise.
18013 * io/ftwtest-sh: Likewise.
18014 * libio/test-freopen.sh: Likewise.
18015 * malloc/tst-mtrace.sh: Likewise.
18016 * posix/globtest.sh: Likewise.
18017 * posix/tst-getconf.sh: Likewise.
18018 * posix/wordexp-tst.sh: Likewise.
18019 * stdio-common/tst-printf.sh: Likewise.
18020 * stdio-common/tst-unbputc.sh: Likewise.
18021 * stdlib/tst-fmtmsg.sh: Likewise.
18022 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18023 * catgets/Makefile: Do not specify -e option when running
18024 testsuite shell scripts.
18025 * elf/Makefile: Likewise.
18026 * grp/Makefile: Likewise.
18027 * iconvdata/Makefile: Likewise.
18028 * intl/Makefile: Likewise.
18029 * io/Makefile: Likewise.
18030 * libio/Makefile: Likewise.
18031 * malloc/Makefile: Likewise.
18032 * posix/Makefile: Likewise.
18033 * stdio-common/Makefile: Likewise.
18034 * stdlib/Makefile: Likewise.
18035 * sysdeps/x86_64/Makefile: Likewise.
18036
9a9028b1
DL
18037 * io/ftwtest-sh: Add copyright header.
18038 * posix/globtest.sh: Likewise.
18039 * posix/tst-getconf.sh: Likewise.
18040 * posix/wordexp-tst.sh: Likewise.
18041 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18042
ced6f16e
L
180432012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18044
94b32c39
L
18045 [BZ #13679]
18046 * Makeconfig (+link): Defined as $(+link-static) if
18047 $(build-shared) isn't yes.
18048 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18049 isn't yes.
18050 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18051
189e935b
L
18052 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18053
ced6f16e
L
18054 [BZ #14562]
18055 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18056 new chunk size with MALLOC_ALIGN_MASK.
18057
a9f8e53a
JM
180582012-09-24 Joseph Myers <joseph@codesourcery.com>
18059
18060 [BZ #5044]
18061 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18062 <rounding-mode.h>.
18063 (__printf_fphex): Determine rounding using get_rounding_mode and
18064 round_away.
18065 * stdio-common/tst-printf-round.c (struct hex_test): New
18066 structure.
18067 (hex_tests): New variable.
18068 (test_hex_in_one_mode): New function.
18069 (do_test): Also run tests for hex float output.
18070
43153109
JM
180712012-09-21 Joseph Myers <joseph@codesourcery.com>
18072
18073 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18074 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18075 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18076 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18077 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18078 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18079 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18080 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18081
8a26625d
JM
180822012-09-20 Joseph Myers <joseph@codesourcery.com>
18083
18084 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18085 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18086 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18087 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18088
f3fd569c
DL
180892012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18090
18091 [BZ #14579]
18092 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18093 mode only.
18094 * elf/tst-rtld-load-self.sh: New test.
18095 * elf/Makefile: Run it.
18096
63bbedd4
JM
180972012-09-18 Joseph Myers <joseph@codesourcery.com>
18098
18099 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18100 (tst-writev-ENV): Remove.
18101 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18102
626f8b6a
CM
181032012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18104
18105 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18106
b7aaa4d6
JM
181072012-09-17 Joseph Myers <joseph@codesourcery.com>
18108
18109 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18110 unconditional.
18111 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18112 Likewise.
18113 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18114 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18115 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18116 Likewise.
18117
65513990
L
181182012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18119
18120 [BZ #14587]
18121 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18122 * config.make.in (have-cpp-asm-debuginfo): Removed.
18123 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18124 * configure: Regenerated.
18125
784761be
JM
181262012-09-14 Joseph Myers <joseph@codesourcery.com>
18127
18128 [BZ #5044]
18129 * stdio-common/printf_fp.c: Include <stdbool.h> and
18130 <rounding-mode.h>.
18131 (___printf_fp): Determine rounding using get_rounding_mode and
18132 round_away.
18133 * stdio-common/tst-printf-round.c: New file.
18134 * stdio-common/Makefile (tests): Add tst-printf-round.
18135 (link-libm): New variable.
18136 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18137
9503345f
L
181382012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18139
18140 [BZ #14576]
18141 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18142 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18143 Likewise.
18144 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18145 Likewise.
18146
ad35fc00
JM
181472012-09-13 Joseph Myers <joseph@codesourcery.com>
18148
18149 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18150 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18151 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18152 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18153
6c9b0f68
JM
181542012-09-12 Joseph Myers <joseph@codesourcery.com>
18155
18156 [BZ #14518]
18157 * include/rounding-mode.h: New file.
18158 * sysdeps/generic/get-rounding-mode.h: Likewise.
18159 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18160 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18161 (MAX_VALUE): New macro.
18162 (MIN_VALUE): Likewise.
18163 (overflow_value): New function.
18164 (underflow_value): Likewise.
18165 (round_and_return): Use overflow_value and underflow_value to
18166 determine return values in overflow and underflow cases. Use
18167 round_away to determine rounding depending on rounding mode.
18168 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18169 determine return values in overflow and underflow cases.
18170 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18171 (struct test_results): New structure.
18172 (struct test): Use struct test_results to store expected results
18173 for all rounding modes.
18174 (TEST): Include expected results for all rounding modes.
18175 (test_in_one_mode): New function.
18176 (do_test): Use test_in_one_mode to compute and check results.
18177 Check results for all rounding modes.
18178 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18179 $(link-libm).
18180
19fcedd5
AM
181812012-12-09 Allan McRae <allan@archlinux.org>
18182
1e9d84cd 18183 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18184
8bbfd2f1
JM
181852012-09-11 Joseph Myers <joseph@codesourcery.com>
18186
18187 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18188 (_G_int32_t): Likewise.
18189 (_G_uint16_t): Likewise.
18190 (_G_uint32_t): Likewise.
18191 (_G_HAVE_BOOL): Likewise.
18192 (_G_HAVE_ATEXIT): Likewise.
18193 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18194 (_G_HAVE_IO_FILE_OPEN): Likewise.
18195 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18196 (_G_int32_t): Likewise.
18197 (_G_uint16_t): Likewise.
18198 (_G_uint32_t): Likewise.
18199 (_G_HAVE_BOOL): Likewise.
18200 (_G_HAVE_ATEXIT): Likewise.
18201 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18202 (_G_HAVE_IO_FILE_OPEN): Likewise.
18203 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18204 (_G_int32_t): Likewise.
18205 (_G_uint16_t): Likewise.
18206 (_G_uint32_t): Likewise.
18207 (_G_HAVE_BOOL): Likewise.
18208 (_G_HAVE_ATEXIT): Likewise.
18209 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18210 (_G_HAVE_IO_FILE_OPEN): Likewise.
18211
b1dc5912
L
182122012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18213
18214 * csu/libc-tls.c: Update copyright years.
18215
0e886ef9
JM
182162012-09-10 Joseph Myers <joseph@codesourcery.com>
18217
28361c5e
JM
18218 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18219 [!_G_USING_THUNKS]: Remove conditional code.
18220 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18221 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18222
0e886ef9
JM
18223 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18224 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18225 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18226 (_G_VTABLE_LABEL_PREFIX): Likewise.
18227 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18228 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18229 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18230 (_G_VTABLE_LABEL_PREFIX): Likewise.
18231 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18232 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18233 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18234 (_G_VTABLE_LABEL_PREFIX): Likewise.
18235 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18236
bcba7aa2
L
182372012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18238
18239 * libio/Makefile: Include ../Makeconfig before tests.
18240 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18241 only if $(build-shared) is yes.
18242
06585ee8
L
18243 * iconv/gconv_db.c: Update copyright years.
18244
80ccd52c
LD
182452012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18246
18247 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18248 unwind info if defined PIC. Fix special cases description.
18249 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18250
18251 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18252 DP_HI_MASK entry.
18253 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18254
691bc9c1
L
182552012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18256
3d9b46b3
L
18257 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18258
de2139a9
L
18259 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18260 is NULL.
18261
5ca78dd0
L
18262 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18263 (LDLIBS-tst-chk4): This.
18264 (LDFLAGS-tst-chk5): Renamed to ...
18265 (LDLIBS-tst-chk5): This.
18266 (LDFLAGS-tst-chk6): Renamed to ...
18267 (LDLIBS-tst-chk6): This.
18268 (LDFLAGS-tst-lfschk4): Renamed to ...
18269 (LDLIBS-tst-lfschk4): This.
18270 (LDFLAGS-tst-lfschk5): Renamed to ...
18271 (LDLIBS-tst-lfschk5): This.
18272 (LDFLAGS-tst-lfschk6): Renamed to ...
18273 (LDLIBS-tst-lfschk6): This.
18274
691bc9c1
L
18275 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18276 on $(common-objpfx)soversions.mk.
18277
65cafb1c
JM
182782012-09-07 Joseph Myers <joseph@codesourcery.com>
18279
18280 [BZ #10014]
18281 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18282 example host name.
18283
c78ab094
SP
182842012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18285
18286 * malloc/arena.c (arena_get_retry): New function that gets
18287 another arena for the caller to try its request on.
18288 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18289 current arena cannot fulfill the request.
18290 (__libc_memalign): Likewise.
18291 (__libc_memalign): Likewise.
18292 (__libc_pvalloc): Likewise.
18293 (__libc_calloc): Likewise.
18294
01f49f59
JT
182952012-09-05 John Tobey <john.tobey@gmail.com>
18296
18297 [BZ #13542]
18298 * manual/arith.texi (Operations on Complex): Fix description
18299 of carg branch cut.
18300
4c23fed5
JM
183012012-09-06 Joseph Myers <joseph@codesourcery.com>
18302
1d3c8572
JM
18303 [BZ #10014]
18304 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18305 host name.
18306
4c23fed5
JM
18307 [BZ #10038]
18308 * manual/memory.texi (Memory): Make order of menu items match
18309 order of sections.
18310
04570aaa
L
183112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18312
18313 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18314 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18315 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18316
b80af2f4
L
183172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18318
18319 * csu/libc-tls.c (static_dtv): Renamed to ...
18320 (_dl_static_dtv): This. Make it global.
18321 (_dl_initial_dtv): Removed.
18322 (__libc_setup_tls): Updated.
18323 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18324 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18325 DL_INITIAL_DTV.
18326
2abe9f15
PM
183272012-09-06 Petr Machata <pmachata@redhat.com>
18328
18329 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18330 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18331 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18332 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18333
0948c3af
L
183342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18335
18336 [BZ #14545]
18337 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18338 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18339 freeing dtv[-1].
18340
a5055ad1
L
183412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18342
18343 [BZ #14544]
18344 * Makeconfig (link-static-before-libc): Replace $(+prector)
18345 with $(+prectorT).
18346 (link-static-after-libc): Replace $(+postctor) with
18347 $(+postctorT).
18348 (link-bounded): Replace $(+prector)/$(+postctor) with
18349 $(+prectorT)/$(+postctorT).
18350 (+prectorT): New macro.
18351 (+postctorT): Likewise.
18352
ed8c2ecd
JM
183532012-09-06 Joseph Myers <joseph@codesourcery.com>
18354
18355 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18356 (round_str): Handle values above the maximum for IBM long double
18357 as inexact.
18358 * stdlib/tst-strtod-round.c (tests): Regenerated.
18359
14c996c8
AK
183602012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18361
18362 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18363 assembler flag.
18364 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18365 zarch_nohighgprs around the zarch optimized routines.
18366 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18367 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18368 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18369 for zarch.
18370
430d6ce6
DM
183712012-09-05 David S. Miller <davem@davemloft.net>
18372
18373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18374
ff04dda4
DM
18375 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18376 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18377 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18378 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18379 entries.
18380
24d4e01b
AO
183812012-09-05 Alexandre Oliva <aoliva@redhat.com>
18382
18383 * malloc/arena.c: Fold copyright years.
18384 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18385
61d58174
AO
183862012-09-05 Alexandre Oliva <aoliva@redhat.com>
18387
18388 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18389
20196a5e
AO
183902012-09-05 Alexandre Oliva <aoliva@redhat.com>
18391
18392 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18393
5c447383
AO
183942012-09-05 Alexandre Oliva <aoliva@redhat.com>
18395
18396 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18397 change internal state upon failure.
18398
fad64255
AO
183992012-09-05 Alexandre Oliva <aoliva@redhat.com>
18400
18401 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18402 * malloc/memusage.c (mmap): Likewise.
18403 (mmap64, mremap): Likewise. Adjust name in comment.
18404
1ffb8c90
SP
184052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18406
18407 * libio/fileops.c: Fix typos in comments.
18408 * libio/oldfileops.c: Likewise.
18409 * libio/wfileops.c: Likewise.
18410
6ef9cc37
SP
184112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18412
18413 [BZ #1349]
18414 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18415 (tst-malloc-usable-ENV): Set environment for test case.
18416 * malloc/hooks.c (malloc_check_get_size): New function to get
18417 requested size.
18418 * malloc/malloc.c (musable): Use malloc_check_get_size.
18419 * malloc/tst-malloc-usable.c: New test case.
18420
4d038ae3
AS
184212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18422
18423 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18424
c4e85184
AM
184252012-09-05 Allan McRae <allan@archlinux.org>
18426
b9dafc56 18427 [BZ #13966]
c4e85184
AM
18428 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18429 determine header location.
18430 * configure: Regenerated.
18431
e1343020
AS
184322012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18433
18434 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18435 float format.
18436 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18437 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18438 format.
e1343020
AS
18439 (test): Regenerate.
18440
0a9f1987
DM
184412012-09-04 David S. Miller <davem@davemloft.net>
18442
18443 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18444 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18445 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18446
29237804
FW
184472012-09-04 Florian Weimer <fweimer@redhat.com>
18448
18449 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18450 failures.
18451
edb3cb88
FW
18452 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18453
60160d83
JM
184542012-09-04 Joseph Myers <joseph@codesourcery.com>
18455
18456 [BZ #9914]
18457 * libio/iogetdelim.c: Include <limits.h>.
18458 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18459 + len + 1 would overflow.
18460
bcd6c8dc
AJ
184612012-09-03 Andreas Jaeger <aj@suse.de>
18462
18463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18464 * sysdeps/i386/fpu/libm-test-ulps: Update.
18465
4ffffbd2
LD
184662012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18467
18468 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18469 Add s_sinf-sse2, s_conf-sse2.
18470
18471 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18472 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18473 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18474 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18475
18476 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18477 for using routine as __sinf_ia32.
18478 Use macro for function declaration and weak_alias.
18479 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18480 for using routine as __cosf_ia32.
18481 Use macro for function declaration and weak_alias.
18482
18483 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18484 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18485
18486 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18487 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18489
18490 * math/libm-test.inc (cos_test): Add more test cases.
18491 (sin_test): Likewise.
18492 (sincos_test): Likewise.
18493
511fa286
AK
184942012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18495
18496 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18497 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18498 hidden.
18499 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18500
5f30cfec
L
185012012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18502
18503 [BZ #14538]
18504 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18505 first element of the GOT.
18506 (elf_machine_load_address): Return the difference between
18507 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18508
0786794f
AM
185092012-09-01 Allan McRae <allan@archlinux.org>
18510
5f30cfec
L
18511 [BZ #13412]
18512 * configure.in (AWK): Require gawk version 3.0 or later.
18513 * configure: Regenerated.
0786794f 18514
26889eac
JM
185152012-09-01 Joseph Myers <joseph@codesourcery.com>
18516
18517 * sysdeps/unix/sysv/linux/kernel-features.h
18518 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18519 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18520 [__NR_clock_getres]: Make code unconditional.
18521 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18522 (clock_getcpuclockid): Remove code left unreachable by removal of
18523 conditionals.
18524 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18525 code unconditional.
18526 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18527 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18528 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18529 Make code unconditional.
18530 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18531 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18532 * sysdeps/unix/sysv/linux/clock_settime.c
18533 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18534 conditional code.
18535 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18536 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18537
d22e28b0
L
185382012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18539
18540 [BZ #14476]
18541 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18542 scripts/test-installation.pl.
18543
18544 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18545 and $ld_so_version if it is set.
18546
050af9c4
SP
185472012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18548
18549 [BZ #14516]
18550 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18551 failure if reading from procfs failed.
18552 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18553
ad845c0b
JM
185542012-08-27 Joseph Myers <joseph@codesourcery.com>
18555
18556 * sysdeps/unix/sysv/linux/kernel-features.h
18557 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18558 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18559 Remove conditional code.
18560 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18561 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18562 Remove conditional code.
18563 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18564 * sysdeps/unix/sysv/linux/i386/fxstat.c
18565 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18566 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18567 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18568 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18569 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18570 * sysdeps/unix/sysv/linux/i386/lxstat.c
18571 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18573 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18574 Remove conditional code.
18575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18576 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18577 Remove conditional code.
18578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18579 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18580 <kernel-features.h>.
18581 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18582 Remove.
18583 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18584 Remove conditional code.
18585 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18586 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18587 Remove conditional.
18588
5dbf56af
MF
185892012-08-27 Mike Frysinger <vapier@gentoo.org>
18590
18591 [BZ #5400]
18592 * NEWS: Add fixed bug number.
18593
d6e70f43
JM
185942012-08-27 Joseph Myers <joseph@codesourcery.com>
18595
7efb4737
JM
18596 [BZ #14519]
18597 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18598 underflowing exponent in case of negative sign.
18599 * stdlib/tst-strtod-round-data: Add more tests.
18600 * stdlib/tst-strtod-round.c (tests): Regenerated.
18601
af92131a
JM
18602 [BZ #3479]
18603 * stdlib/strtod_l.c (NDIG): Remove.
18604 (HEXNDIG): Likewise.
18605 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18606 smallest representable value.
18607 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18608 lie within an exact representation of 1/2 ulp of the result.
18609 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18610 unconditionally.
18611 (TENS_P9_IDX): Define unconditionally.
18612 (TENS_P9_SIZE): Likewise.
18613 (TENS_P10_IDX): Likewise.
18614 (TENS_P10_SIZE): Likewise.
18615 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18616 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18617 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18618 entries for 10^2^13 and 10^2^14.
18619 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18620 (TENS_P13_IDX): Define.
18621 (TENS_P13_SIZE): Likewise.
18622 (TENS_P14_IDX): Likewise.
18623 (TENS_P14_SIZE): Likewise.
18624 (_fpioconst_pow10): Change array size to
18625 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18626 unconditional.
18627 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18628 1024]: Add entries for 10^2^13 and 10^2^14.
18629 [LAST_POW10 > _LAST_POW10]: Remove #error.
18630 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18631 (_fpioconst_pow10): Change array size to
18632 FPIOCONST_POW10_ARRAY_SIZE.
18633 * stdlib/gen-fpioconst.c: New file.
18634 * stdlib/gen-tst-strtod-round.c: Likewise.
18635 * stdlib/tst-strtod-round-data: Likewise.
18636 * stdlib/tst-strtod-round.c: Likewise.
18637 * stdlib/Makefile (tests): Add tst-strtod-round.
18638
d6e70f43
JM
18639 [BZ #14459]
18640 * stdlib/strtod_l.c: Include <stdint.h>.
18641 (NDEBUG): Do not define.
18642 (round_and_return): Change EXPONENT parameter to type intmax_t.
18643 Rearrange calculations to avoid internal overflow possibilities.
18644 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18645 Rearrange calculations to avoid internal overflow possibilities.
18646 Assert that number fits inside MPNSIZE limbs.
18647 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18648 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18649 calculations and add assertions to avoid internal overflow
18650 possibilities. Add casts to avoid signed/unsigned operations.
18651 * stdlib/tst-strtod-overflow.c: New file.
18652 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18653
1f529f7d
MP
186542012-08-25 Marek Polacek <polacek@redhat.com>
18655
18656 * time/time.h: Fix some typos in comments.
18657
59a629f1
RM
186582012-08-23 Roland McGrath <roland@hack.frob.com>
18659
18660 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18661 * posix/tst-rfc3484-2.c: Likewise.
18662 * posix/tst-rfc3484-3.c: Likewise.
18663
d3bafbc9
SM
186642012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18665
18666 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18667 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18668
4efcc022
JM
186692012-08-23 Joseph Myers <joseph@codesourcery.com>
18670
18671 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18672 #include of fxstatat64.c.
18673
3cc3ef96
RM
186742012-08-22 Roland McGrath <roland@hack.frob.com>
18675
f04e2132
RM
18676 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18677 * shadow/getspent_r.c: Likewise.
18678 * shadow/getspnam.c: Likewise.
18679 * shadow/getspnam_r.c: Likewise.
18680 * gshadow/getsgent.c: Likewise.
18681 * gshadow/getsgent_r.c: Likewise.
18682 * gshadow/getsgnam.c: Likewise.
18683 * gshadow/getsgnam_r.c: Likewise.
18684 * inet/getnetbyad.c: Likewise.
18685 * inet/getnetbyad_r.c: Likewise.
18686 * inet/getnetbynm.c: Likewise.
18687 * inet/getnetbynm_r.c: Likewise.
18688 * inet/getnetent.c: Likewise.
18689 * inet/getnetent_r.c: Likewise.
18690 * inet/getproto.c: Likewise.
18691 * inet/getproto_r.c: Likewise.
18692 * inet/getprtent.c: Likewise.
18693 * inet/getprtent_r.c: Likewise.
18694 * inet/getprtname.c: Likewise.
18695 * inet/getprtname_r.c: Likewise.
18696 * inet/getrpcbyname.c: Likewise.
18697 * inet/getrpcbyname_r.c: Likewise.
18698 * inet/getrpcbynumber.c: Likewise.
18699 * inet/getrpcbynumber_r.c: Likewise.
18700 * inet/getrpcent.c: Likewise.
18701 * inet/getrpcent_r.c: Likewise.
18702 * inet/getaliasent.c: Likewise.
18703 * inet/getaliasent_r.c: Likewise.
18704 * inet/getaliasname.c: Likewise.
18705 * inet/getaliasname_r.c: Likewise.
18706 * nscd/getgrgid_r.c: Likewise.
18707 * nscd/getgrnam_r.c: Likewise.
18708 * nscd/gethstbyad_r.c: Likewise.
18709 * nscd/gethstbynm3_r.c: Likewise.
18710 * nscd/getpwnam_r.c: Likewise.
18711 * nscd/getpwuid_r.c: Likewise.
18712 * nscd/getsrvbynm_r.c: Likewise.
18713 * nscd/getsrvbypt_r.c: Likewise.
18714 * nscd/gai.c: Likewise.
18715
c53d909c
RM
18716 * configure.in (build_nscd): New substituted variable, set
18717 by --disable-build-nscd and defaults to $use_nscd.
18718 * configure: Regenerated.
18719 * config.make.in (build-nscd): New substituted variable.
18720 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18721 Change conditional to require [$(build-nscd) = yes] as well.
18722 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18723
3cc3ef96
RM
18724 [BZ# 13696]
18725 * configure.in (use_nscd): New substituted variable, set by
18726 --disable-nscd. If enabled, define USE_NSCD.
18727 * configure: Regenerated.
18728 * config.h.in: Add USE_NSCD.
18729 * config.make.in (use-nscd): New substituted variable.
18730 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18731 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18732 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18733 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18734 (CFLAGS-getgrnam_r.c): Likewise.
18735 (CFLAGS-initgroups.c): Likewise.
18736 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18737 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18738 Variables removed.
18739 * inet/getnetgrent_r.c
18740 (nscd_setnetgrent): New function, broken out of ...
18741 (setnetgrent): ... here. Call it.
18742 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18743 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18744 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18745 * nscd/Makefile (routines, aux): Move definitions after include of
18746 Makeconfig. Conditionalize on [$(use-nscd) != no].
18747 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18748 Conditionalize on [USE_NSCD].
18749 (is_nscd, nscd_init_cb): Likewise.
18750 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18751 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18752 * nss/nss_db/db-init.c: Likewise.
18753 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18754 [USE_NSCD].
18755 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18756 (make_request): Use it.
18757 (cache_valid_p): New function.
18758 (__check_pf): Use it.
18759 * NEWS: Add item for --disable-nscd.
18760
07e51550
DL
187612012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18762
18763 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18764 to support sed >= 4.2.1-20-ga9bf076.
18765 * configure: Regenerated.
18766
35a5b08b
RM
187672012-08-22 Roland McGrath <roland@hack.frob.com>
18768
18769 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18770 Conditionalize whole body on [IREL].
18771
8479f23a
JL
187722012-08-22 Jeff Law <law@redhat.com>
18773
18774 [BZ #14505]
18775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18776 if the family is PF_UNSPEC.
18777
48da0b21
MF
187782012-08-22 Mike Frysinger <vapier@gentoo.org>
18779
18780 * Makerules (lib-version): Rename from V.
18781 (install-lib-nosubdir): Change V to lib-version.
18782
15d0da8c
WS
187832012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18784
18785 [BZ #14252]
18786 * powerpc32/power6/wcschr.c: New file.
18787 * powerpc32/power6/wcscpy.c: New file.
18788 * powerpc32/power6/wcsrchr.c: New file.
18789 * powerpc64/power6/wcschr.c: New file.
18790 * powerpc64/power6/wcscpy.c: New file.
18791 * powerpc64/power6/wcsrchr.c: New file.
18792
bcca0895
MK
187932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18794
18795 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18796 (two_way_short_needle): Use it.
5a4aaa33
RM
18797 * string/strstr.c (AVAILABLE1_USES_J): Define.
18798 * string/strcasestr.c: Likewise.
99677e57
MK
18799
18800 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18801 array references.
18802 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18803
400726de
MK
18804 [BZ #11607]
18805 * NEWS: Add an entry.
18806 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18807 define their defaults.
18808 (two_way_short_needle): Detect end-of-string on-the-fly.
18809 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18810 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18811 * string/bug-strcasestr1.c: New test.
18812 * string/Makefile: Run it.
18813
20a71f2c
MK
188142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18815
18816 [BZ #11607]
18817 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18818 the first character.
18819
21ad0558
RM
188202012-08-21 Roland McGrath <roland@hack.frob.com>
18821
18822 * csu/elf-init.c (__libc_csu_irel): Function removed.
18823 * csu/libc-start.c (apply_irel): New function.
18824 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18825
0e1d9911
JM
188262012-08-21 Joseph Myers <joseph@codesourcery.com>
18827
18828 * sysdeps/unix/sysv/linux/kernel-features.h
18829 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18830 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18831 <kernel-features.h>.
18832 [__NR_fadvise64_64]: Make code unconditional.
18833 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18834 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18835 !__NR_fadvise64_64)]: Likewise.
18836 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18837 !__NR_fadvise64_64))]: Likewise.
18838 [__NR_fadvise64]: Make code unconditional.
18839 [!__NR_fadvise64]: Remove conditional code.
18840 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18841 <kernel-features.h>.
18842 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18843 unconditional.
18844 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18845 conditional code.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18847 not include <kernel-features.h>.
18848 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18849 unconditional.
18850 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18851 conditional code.
18852 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18853 include <kernel-features.h>.
18854 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18855 unconditional.
18856 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18857 conditional code.
18858
14a50c9d
WS
188592012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18860
18861 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18862 slight instruction rearrangements per scrollpipe analysis.
18863 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18864
c0f4faf0
RM
188652012-08-20 Roland McGrath <roland@hack.frob.com>
18866
696da859
RM
18867 * manual/syslog.texi (syslog; vsyslog, closelog):
18868 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18869 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18870
c0f4faf0
RM
18871 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18872 DSOCAPS to match condition on defining it.
18873
348363b2
JM
188742012-08-20 Joseph Myers <joseph@codesourcery.com>
18875
a35cbf28
JM
18876 * sysdeps/unix/sysv/linux/kernel-features.h
18877 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18879 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18880 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18882 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18883 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18885 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18886 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18887
445f7ecd
JM
18888 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18889 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18890
348363b2
JM
18891 * sysdeps/unix/sysv/linux/kernel-features.h
18892 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18893 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18894 unconditional.
18895 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18896 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18897 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18898 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18899 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18900 Make code unconditional.
18901 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18902 (__mmap64) [!__NR_mmap2]: Likewise.
18903 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18904 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18905 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18906 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18907 [__NR_mmap2]: Make code unconditional.
18908 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18909 (__mmap64) [!__NR_mmap2]: Likewise.
18910
bc5bc0e5
AK
189112012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18912
18913 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18914
88d506de
AJ
189152012-08-18 Andreas Jaeger <aj@suse.de>
18916
18917 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18918
493387d2
MF
189192012-08-18 Mike Frysinger <vapier@gentoo.org>
18920
18921 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18922 * include/unistd.h (__have_sock_cloexec): Likewise.
18923 (__have_pipe2): Likewise.
18924 (__have_dup3): Likewise.
18925
a277af22
MF
189262012-08-18 Mike Frysinger <vapier@gentoo.org>
18927
18928 [BZ #9685]
18929 * include/unistd.h (__have_pipe2): Change define into an extern int.
18930 (__have_dup3): Likewise.
18931 * socket/have_sock_cloexec.c: Include fcntl.h.
18932 (__have_pipe2): New variable.
18933 (__have_dup3): Likewise.
18934
fdab8fd3
MF
189352012-08-17 Mike Frysinger <vapier@gentoo.org>
18936
18937 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18938
31035e80
MP
189392012-08-17 Marek Polacek <polacek@redhat.com>
18940
18941 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18942 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18943
3bd9e993
RM
189442012-08-17 Roland McGrath <roland@hack.frob.com>
18945
c91c505f
RM
18946 * configure.in: Add AC_SUBST for sysheaders.
18947 * configure: Regenerated.
18948 * config.make.in (sysheaders): New substituted variable.
18949
7c6f9d53
RM
18950 * sysdeps/unix/mkfifo.c: Moved ...
18951 * sysdeps/posix/mkfifo.c: ... here.
18952 * sysdeps/unix/mkfifoat.c: Moved ...
18953 * sysdeps/posix/mkfifoat.c: ... here.
18954
18955 * sysdeps/unix/utime.c: Moved ...
18956 * sysdeps/posix/utime.c: ... here.
18957
18958 * sysdeps/unix/time.c: Moved ...
18959 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18960 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18961 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18962
18963 * sysdeps/unix/nice.c: Moved ...
18964 * sysdeps/posix/nice.c: ... here.
18965
18966 * sysdeps/unix/alarm.c: Moved ...
18967 * sysdeps/posix/alarm.c: ... here.
18968
3bd9e993
RM
18969 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18970
d1f09384
JL
189712012-08-17 Jeff Law <law@redhat.com>
18972
18973 * intl/Makefile (codeset_mo): New variable.
18974 ($(codeset_mo)): New target.
18975 (tst-codeset.out): Depend on that. Remove explicit rule.
18976 (tst-gettext3.out, tst-gettext5.out): Likewise.
18977 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18978 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18979 * intl/tst-codeset.sh: Remove.
18980 * intl/tst-gettext3.sh: Likewise.
18981 * intl/tst-gettext5.sh: Likewise.
18982
2ae1ae5c
RM
189832012-08-17 Roland McGrath <roland@hack.frob.com>
18984
c31fdb83
RM
18985 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18986 * sysdeps/unix/syscalls.list: ... here.
18987
a0844057
RM
18988 * sysdeps/posix/getaddrinfo.c
18989 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18990 (gaiconf_init, gaiconf_reload): Use them.
18991 [!_STATBUF_ST_NSEC]
18992 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18993 Define using time_t rather than struct timespec.
18994
750c1f2a
RM
18995 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18996 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18997 Macros removed.
18998 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18999 [!NO_THREADS].
19000 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19001 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19002 Likewise.
19003
2ae1ae5c
RM
19004 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19005 __libc_cleanup_push argument.
19006
e66a42f5
RM
19007 * bits/param.h: New file.
19008 * misc/sys/param.h: New file.
19009 * include/sys/param.h: New file.
19010 * misc/Makefile (headers): Add bits/param.h.
19011 * sysdeps/generic/sys/param.h: File removed.
19012 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19013 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19014 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19015 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19016
b7c08a66
RM
19017 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19018 last change.
19019
b2e1c562
RM
19020 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19021 [_IO_MTSAFE_IO].
19022 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19023 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19024 New macros.
19025
c75ccd4c
RM
19026 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19027 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19028 rather than -D_IO_MTSAFE_IO conditionally.
19029 * stdio-common/Makefile (CPPFLAGS): Likewise.
19030 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19031 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19032 Use $(libio-mtsafe).
19033 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19034 of -D_IO_MTSAFE_IO.
19035 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19036 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19037 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19038 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19039 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19040 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19041 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19042 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19043 (CFLAGS-fread_u_chk.c): Likewise.
19044 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19045 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19046 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19047 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19048 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19049 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19050 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19051 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19052 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19053
19054 * libio/Makefile: Test [$(libc-reentrant) = yes]
19055 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19056
19057 * Makeconfig
19058 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19059 * sysdeps/pthread/configure: File removed.
19060 * sysdeps/pthread/Makeconfig: New file.
19061 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19062 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19063
d9195db8
GB
190642012-08-16 Gary Benson <gbenson@redhat.com>
19065
19066 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19067 unmapping the first object in a namespace.
19068
86466cd9
RM
190692012-08-16 Roland McGrath <roland@hack.frob.com>
19070
19071 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19072 (__internal_setnetgrent): ... this. Add internal_function to
19073 definition. Add libc_hidden_def.
19074 (setnetgrent): Update caller.
19075 (internal_endnetgrent): Renamed to ...
19076 (__internal_endnetgrent): ... this. Add internal_function to
19077 definition. Add libc_hidden_def.
19078 (endnetgrent): Update caller.
19079 (internal_getnetgrent_r): Renamed to ...
19080 (__internal_getnetgrent_r): ... this. Add internal_function to
19081 definition. Add libc_hidden_def.
19082 (__getnetgrent_r): Update caller.
19083 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19084
c3c8283c
JM
190852012-08-16 Joseph Myers <joseph@codesourcery.com>
19086
19087 * stdlib/longlong.h: Update from GCC.
19088
db1ee0a8
RM
190892012-08-16 Roland McGrath <roland@hack.frob.com>
19090
19091 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19092 on _QL, which is set by umul_ppmm but never used.
19093 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19094 variables, which are set by GMP macros but never used.
19095 * stdio-common/_itowa.c (_itowa): Likewise.
19096 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19097 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19098
30f69637
CD
190992012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19100
19101 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19102 struct La_sh_regs is not constant.
19103 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19104 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19105 and struct La_sparc64_regs are not constant.
19106
93a78ac4
JM
191072012-08-16 Joseph Myers <joseph@codesourcery.com>
19108
19109 * sysdeps/unix/sysv/linux/kernel-features.h
19110 (__ASSUME_POSIX_TIMERS): Remove.
19111 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19112 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19113 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19114 Make code unconditional.
19115 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19116 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19117 Make code unconditional.
19118 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19119 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19120 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19121 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19122 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19123 Make code unconditional.
19124 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19125 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19126 (__libc_missing_posix_timers): Remove.
19127
dd924cd7
RM
191282012-08-15 Roland McGrath <roland@hack.frob.com>
19129
4b4f2771
RM
19130 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19131 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19132
601c888b
RM
19133 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19134
176790a7
RM
19135 * elf/dl-sym.c: Include <stdlib.h>.
19136
329bc018
RM
19137 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19138 constants, which avoids warnings in 32-bit builds.
19139
e04e272d
RM
19140 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19141 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19142
952bf94a
RM
19143 * misc/lseek.c: File moved to ...
19144 * io/lseek.c: ... here.
19145
7c99b50a
RM
19146 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19147
dd924cd7
RM
19148 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19149 shifting LEN more than 31 bits at once.
19150
b3f479a8
LD
191512012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19152
19153 [BZ #14195]
8c4ae0d4
RM
19154 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19155 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19156 * string/test-strncasecmp.c (check1): Renamed to...
19157 (bz12205): ...this.
19158 (bz14195): Add new testcase for two empty input strings and N > 0.
19159 (test_main): Call new testcase, adapt for renamed function.
19160
9c55864e
AJ
191612012-08-15 Andreas Jaeger <aj@suse.de>
19162
19163 [BZ #14090]
19164 * crypt/md5test2.c: New test, based on test supplied by Serge
19165 Belyshev <belyshev@depni.sinp.msu.ru>.
19166 * crypt/Makefile (xtests): Add md5test-giant..
19167 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19168
02dcb6c5
PE
191692012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19170
19171 [BZ #14090]
19172 * crypt/md5.c (md5_process_block): Don't assume the buffer
19173 length is less than 2**32.
19174 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19175 length is less than 2**64.
19176
a3f95dcc
RM
191772012-08-15 Roland McGrath <roland@hack.frob.com>
19178
be75d758
RM
19179 * string/str-two-way.h: Include <sys/param.h>.
19180 (MAX): Macro removed.
19181
7312ca90
RM
19182 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19183 Move #define and #undef of memmove to just before and after
19184 including <string.h>.
19185
9a0a5486
RM
19186 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19187 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19188 and after including <string.h>. Move declarations of
19189 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19190 to before #include "string/memmove.c".
19191
67cc348d
RM
19192 * include/dirent.h: Declare __getdirentries.
19193
a3f95dcc
RM
19194 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19195 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19196
ca98e171
MF
191972012-08-14 Mike Frysinger <vapier@gentoo.org>
19198
19199 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19200 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19201 * sysdeps/i386/configure: Regenerated.
19202 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19203 STABS_CURRENT_FILE, and STABS_FUN.
19204 (END): Remove call to STABS_FUN_END.
19205 (STABS_CURRENT_FILE1): Delete.
19206 (STABS_CURRENT_FILE): Likewise.
19207 (STABS_FUN): Likewise.
19208 (STABS_FUN_END): Likewise.
19209 (STABS_FUN2): Likewise.
19210 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19211 * sysdeps/x86_64/configure: Regenerated.
19212
5908bf46
RM
192132012-08-14 Roland McGrath <roland@hack.frob.com>
19214
19215 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19216 * elf/dl-lookup.c: Likewise.
5908bf46 19217
f2c05b9e
JM
192182012-08-14 Joseph Myers <joseph@codesourcery.com>
19219
19220 * sysdeps/unix/sysv/linux/kernel-features.h
19221 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19222 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19223 unconditionally.
19224 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19225 unconditionally.
19226 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19227 condition on __ASSUME_CLONE_THREAD_FLAGS.
19228
e11f5155
AJ
192292012-08-14 Andreas Jaeger <aj@suse.de>
19230
19231 * sysdeps/i386/fpu/libm-test-ulps: Update.
19232
51a9ba86
MK
192332012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19234
2fdd4f78
AJ
19235 * include/atomic.h (atomic_exchange_and_add): Split into ...
19236 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19237 New atomic macros.
51a9ba86 19238
ba6cba9e
MT
192392012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19240
19241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19242
42443a47
JL
192432012-08-13 Jeff Law <law@redhat.com>
19244
19245 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19246 null byte in the output string.
19247
121dce05
JM
192482012-08-10 Joseph Myers <joseph@codesourcery.com>
19249
19250 * sysdeps/unix/sysv/linux/kernel-features.h
19251 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19252 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19253 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19254 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19255 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19256 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19257 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19258
bf51f568
JL
192592012-08-09 Jeff Law <law@redhat.com>
19260
19261 [BZ #13939]
19262 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19263 When avoid_arena is set, don't retry in the that arena. Pick the
19264 next one, whatever it might be.
19265 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19266 (arena_lock): Pass in new parameter to arena_get2.
19267 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19268 arena_get2.
19269 (__libc_malloc): Unify retrying after main arena failure with
19270 __libc_memalign version.
19271 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19272
f85fa270
L
192732012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19274
19275 [BZ #14166]
19276 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19277 to __redirect_strstr.
19278 (__strstr_sse42): Use typeof __redirect_strstr.
19279 (__strstr_ia32): Likewise.
19280 (__libc_strstr): New prototype.
19281 (strstr): Renamed to ...
19282 (__libc_strstr): This.
19283 (strstr): New strong alias of __libc_strstr.
19284 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19285 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19286 __redirect_time.
19287 Include <time.h>.
19288 (__libc_time): New prototype.
19289 (time_ifunc): Replace time with __libc_time.
19290 (time): New strong alias and hidden definition of __libc_time.
19291 (__GI_time): Remove strong alias.
19292 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19293 Include <stddef.h>.
19294 (memmove): Redefined to __redirect_memmove.
19295 (__memmove_sse2): Use typeof __redirect_memmove.
19296 (__memmove_ssse3): Likewise.
19297 (__memmove_ssse3_back): Likewise.
19298 (__libc_memmove): New prototype.
19299 (memmove): Renamed to ...
19300 (__libc_memmove): This.
19301 (memmove): New strong alias of __libc_memmove.
19302
33b4a91e
MS
193032012-08-08 Mark Salter <msalter@redhat.com>
19304
19305 * elf/elf.h
19306 (R_MN10300_TLS_GD): Define.
19307 (R_MN10300_TLS_LD): Likewise.
19308 (R_MN10300_TLS_LDO): Likewise.
19309 (R_MN10300_TLS_GOTIE): Likewise.
19310 (R_MN10300_TLS_IE): Likewise.
19311 (R_MN10300_TLS_LE): Likewise.
19312 (R_MN10300_TLS_DTPMOD): Likewise.
19313 (R_MN10300_TLS_DTPOFF): Likewise.
19314 (R_MN10300_TLS_TPOFF): Likewise.
19315 (R_MN10300_SYM_DIFF): Likewise.
19316 (R_MN10300_ALIGN): Likewise.
19317 (R_MN10300_NUM): Update.
19318
b36137f1
JM
193192012-08-08 Joseph Myers <joseph@codesourcery.com>
19320
19321 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19322 Remove.
19323
cdd915fd
RM
193242012-08-08 Roland McGrath <roland@hack.frob.com>
19325
a2433aac
RM
19326 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19327
cdd915fd
RM
19328 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19329 sysdeps/unix -> sysdeps/posix move.
19330 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19331
bf9b740a
AM
193322012-08-07 Allan McRae <allan@archlinux.org>
19333
19334 [BZ #14303]
19335 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19336 (SUNOS_CPP): Likewise.
19337 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19338 not found.
19339 (open_input): Call CPP using execvp.
19340
93df14ee
JM
193412012-08-07 Joseph Myers <joseph@codesourcery.com>
19342
19343 * sysdeps/unix/sysv/linux/kernel-features.h
19344 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19345 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19346 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19347 (__ASSUME_WAITID_SYSCALL): Likewise.
19348 * sysdeps/unix/sysv/linux/dl-execstack.c
19349 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19350 code unconditional.
19351 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19352 conditional code.
19353 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19354 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19355 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19356 code.
19357 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19358 unconditional.
19359 [__ASSUME_WAITID_SYSCALL]: Likewise.
19360 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19361
d34689de
RM
193622012-08-07 Roland McGrath <roland@hack.frob.com>
19363
a281decc
RM
19364 * sysdeps/unix/closedir.c: Renamed to ...
19365 * sysdeps/posix/closedir.c: ... here.
19366 * sysdeps/unix/dirfd.c: Renamed to ...
19367 * sysdeps/posix/dirfd.c: ... here.
19368 * sysdeps/unix/dirstream.h: Renamed to ...
19369 * sysdeps/posix/dirstream.h: ... here.
19370 * sysdeps/unix/fdopendir.c: Renamed to ...
19371 * sysdeps/posix/fdopendir.c: ... here.
19372 * sysdeps/unix/opendir.c: Renamed to ...
19373 * sysdeps/posix/opendir.c: ... here.
19374 * sysdeps/unix/readdir.c: Renamed to ...
19375 * sysdeps/posix/readdir.c: ... here.
19376 * sysdeps/unix/readdir_r.c: Renamed to ...
19377 * sysdeps/posix/readdir_r.c: ... here.
19378 * sysdeps/unix/rewinddir.c: Renamed to ...
19379 * sysdeps/posix/rewinddir.c: ... here.
19380 * sysdeps/unix/seekdir.c: Renamed to ...
19381 * sysdeps/posix/seekdir.c: ... here.
19382 * sysdeps/unix/telldir.c: Renamed to ...
19383 * sysdeps/posix/telldir.c: ... here.
19384 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19385 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19386 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19387 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19388
22895b47
RM
19389 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19390 * bits/fcntl.h: ... here.
19391
707a53b6
RM
19392 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19393 not 0.
19394 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19395 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19396 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19397 (struct flock): Move l_start, l_len to the beginning.
19398 Use __pid_t for l_pid.
19399 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19400 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19401 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19402 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19403 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19404 [__USE_LARGEFILE64] (struct flock64): New type.
19405 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19406
f0bd3e25
RM
19407 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19408 * bits/dirent.h: ... here.
19409
d34689de
RM
19410 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19411 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19412
6dad2c06
JM
194132012-08-07 Joseph Myers <joseph@codesourcery.com>
19414
19415 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19416 Change from 2.6.0 to 2.6.16.
19417 * sysdeps/unix/sysv/linux/configure: Regenerated.
19418 * sysdeps/unix/sysv/linux/kernel-features.h
19419 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19420 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19421 version.
19422 (__ASSUME_UTIMES): Likewise.
19423 (__ASSUME_CLONE_STOPPED): Remove.
19424 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19425 architectures, not kernel version.
19426 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19427 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19428 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19429 (__ASSUME_WAITID_SYSCALL): Likewise.
19430 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19431 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19432 * README: State 2.6.16 as minimum Linux kernel version. Do not
19433 refer to older versions.
19434
03af9520
RM
194352012-08-06 Roland McGrath <roland@hack.frob.com>
19436
8e49df1d
RM
19437 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19438 Define alphasort64 as an alias.
19439 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19440 Define versionsort64 as an alias.
19441 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19442 Define scandir64 as an alias.
19443 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19444 Define scandirat64 as an alias.
19445 * dirent/alphasort64.c (alphasort64):
19446 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19447 * dirent/versionsort64.c: Likewise.
19448 * dirent/scandir64.c: Likewise.
19449 * dirent/scandirat64.c: Likewise.
19450 * sysdeps/wordsize-64/alphasort.c: File removed.
19451 * sysdeps/wordsize-64/alphasort64.c: File removed.
19452 * sysdeps/wordsize-64/scandir.c: File removed.
19453 * sysdeps/wordsize-64/scandir64.c: File removed.
19454 * sysdeps/wordsize-64/scandirat.c: File removed.
19455 * sysdeps/wordsize-64/scandirat64.c: File removed.
19456 * sysdeps/wordsize-64/versionsort.c: File removed.
19457 * sysdeps/wordsize-64/versionsort64.c: File removed.
19458 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19459 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19460 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19461 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19462 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19463 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19464 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19465 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19466
19467 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19468 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19469 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19470 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19471 [defined __arch64__ || defined __sparcv9]
19472 (__INO_T_MATCHES_INO64_T): New macro.
19473 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19474 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19475 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19476 * sysdeps/unix/sysv/linux/bits/dirent.h
19477 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19478 (_DIRENT_MATCHES_DIRENT64): New macro.
19479
03af9520
RM
19480 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19481 Define lockf64 as an alias.
19482 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19483 Define fseeko64 as an alias.
19484 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19485 Define ftello64 as an alias.
19486 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19487 Define _IO_fgetpos64 and fgetpos64 as aliases.
19488 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19489 Define _IO_fsetpos64 and fsetpos64 as aliases.
19490 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19491 Conditionalize body on this.
19492 * libio/fseeko64.c: Likewise.
19493 * libio/ftello64.c: Likewise.
19494 * libio/iofgetpos64.c: Likewise.
19495 * libio/iofsetpos64.c: Likewise.
19496 * sysdeps/wordsize-64/lockf.c: File removed.
19497 * sysdeps/wordsize-64/lockf64.c: File removed.
19498 * sysdeps/wordsize-64/fseeko.c: File removed.
19499 * sysdeps/wordsize-64/fseeko64.c: File removed.
19500 * sysdeps/wordsize-64/ftello.c: File removed.
19501 * sysdeps/wordsize-64/ftello64.c: File removed.
19502 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19503 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19504 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19505 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19506 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19507 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19508 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19509 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19510 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19511 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19512 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19513 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19514 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19515 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19516
19517 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19518 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19519 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19520 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19521 [defined __arch64__ || defined __sparcv9]
19522 (__OFF_T_MATCHES_OFF64_T): New macro.
19523 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19524 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19525 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19526 (__OFF_T_MATCHES_OFF64_T): New macro.
19527
c5757acd
L
195282012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19529
19530 * stdlib/secure-getenv.c (__secure_getenv): Replace
19531 GLIBC_2_16 with GLIBC_2_17.
19532
3a31811e
L
195332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19534
19535 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19536 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19537
faa2bccb
DM
195382012-08-03 David S. Miller <davem@davemloft.net>
19539
19540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19541
85fe1997
JM
195422012-08-03 Joseph Myers <joseph@codesourcery.com>
19543
19544 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19545 Remove.
19546 (__ASSUME_CORRECT_SI_PID): Likewise.
19547 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19548 (__ASSUME_TMPFS_NAME): Likewise.
19549 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19550 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19551 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19552 (HAVE_AUX_SECURE): Make definition unconditional.
19553 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19554 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19555
4f75b7a0
RM
195562012-08-03 Roland McGrath <roland@hack.frob.com>
19557
19558 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19559 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19560 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19561 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19562 __eloop_threshold instead of SYMLOOP_MAX.
19563
19564 * sysdeps/generic/eloop-threshold.h: New file.
19565 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19566 of MAXSYMLINKS.
19567 * elf/chroot_canon.c (chroot_canon): Likewise.
19568
7aab07e4
JM
195692012-08-03 Joseph Myers <joseph@codesourcery.com>
19570
19571 [BZ #13717]
19572 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19573 Change to 2.6.0 everywhere.
19574 * sysdeps/unix/sysv/linux/configure: Regenerated.
19575 * sysdeps/unix/sysv/linux/kernel-features.h
19576 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19577 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19578 kernel versions.
19579 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19580 (__ASSUME_FUTEX_REQUEUE): Remove.
19581 (__ASSUME_STATFS64): Define unconditionally.
19582 (__ASSUME_AT_SECURE): Likewise.
19583 (__ASSUME_CORRECT_SI_PID): Likewise.
19584 (__ASSUME_TGKILL): Define without depending on kernel version for
19585 i386.
19586 (__ASSUME_UTIMES): Likewise.
19587 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19588 kernel version.
19589 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19590 (__ASSUME_TMPFS_NAME): Likewise.
19591 * README: Update reference to Linux kernel versions.
19592
b67e9372
MP
195932012-08-02 Marek Polacek <polacek@redhat.com>
19594
1f529f7d 19595 [BZ# 14150]
b67e9372
MP
19596 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19597 libc_cv_asm_type_prefix with %.
19598 * configure: Regenerated.
d2441631
RM
19599 * include/libc-symbols.h: Remove comment about
19600 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19601 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19602 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19603 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19604 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19605 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19606 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19607 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19608 * elf/tst-unique2mod1.c: Likewise.
19609 * elf/tst-unique1mod2.c: Likewise.
19610 * elf/tst-unique1mod1.c: Likewise.
19611 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19612 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19613 Replace ASM_TYPE_DIRECTIVE with .type.
19614 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19615 * sysdeps/i386/sysdep.h: Likewise.
19616 * sysdeps/x86_64/sysdep.h: Likewise.
19617 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19619 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19620 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19621 * sysdeps/powerpc/powerpc32/sysdep.h:
19622 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19623 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19624 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19625 * sysdeps/i386/fpu/e_powf.S: Likewise.
19626 * sysdeps/i386/fpu/e_expl.S: Likewise.
19627 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19628 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19629 * sysdeps/i386/fpu/e_pow.S: Likewise.
19630 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19631 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19632 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19633 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19634 * sysdeps/i386/fpu/e_log2.S: Likewise.
19635 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19636 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19637 * sysdeps/i386/fpu/e_powl.S: Likewise.
19638 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19639 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19640 * sysdeps/i386/fpu/e_logl.S: Likewise.
19641 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19642 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19643 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19644 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19645 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19646 * sysdeps/i386/fpu/e_log.S: Likewise.
19647 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19648 * sysdeps/i386/fpu/e_logf.S: Likewise.
19649 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19650 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19651 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19652 * sysdeps/i386/fpu/e_log10.S: Likewise.
19653 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19654 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19655 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19656 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19657 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19658 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19659 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19660 * sysdeps/i386/i686/strtok.S: Likewise.
19661 * sysdeps/i386/i386-mcount.S: Likewise.
19662 * sysdeps/i386/strtok.S: Likewise.
19663 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19664 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19665 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19666 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19667 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19668 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19669 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19670 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19671 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19672 * sysdeps/x86_64/_mcount.S: Likewise.
19673 * sysdeps/x86_64/strtok.S: Likewise.
19674 * sysdeps/sh/_mcount.S: Likewise.
19675
2747bf9a
RM
196762012-08-01 Roland McGrath <roland@hack.frob.com>
19677
19678 * libio/iofopen.c: Include <fcntl.h>.
19679 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19680 (_IO_fopen64, fopen64): Define as aliases.
19681 * libio/iofopen64.c: Include <fcntl.h>.
19682 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19683 Conditionalize body on this.
19684 * sysdeps/wordsize-64/iofopen.c: File removed.
19685 * sysdeps/wordsize-64/iofopen64.c: File removed.
19686
3fb791b8
MP
196872012-08-01 Marek Polacek <polacek@redhat.com>
19688
19689 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19690 Use dlfcn directly instead of a variable.
19691 (binfmt-subdir): Do not define.
19692 (dlfcn): Likewise.
19693
a9f1039f
JM
196942012-08-01 Joseph Myers <joseph@codesourcery.com>
19695
23bddc06
JM
19696 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19697 Remove all definitions.
19698 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19699 <kernel-features.h>.
19700 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19701 (miss_F_GETOWN_EX): Remove all definitions.
19702 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19703 macro definition.
19704 [!__ASSUME_FCNTL64]: Remove conditional code.
19705 [__ASSUME_FCNTL64]: Make code unconditional.
19706 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19707 <kernel-features.h>.
19708 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19709 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19710 (lockf64) [__NR_fcntl64]: Make code unconditional.
19711 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19712
a9f1039f
JM
19713 * sysdeps/unix/sysv/linux/kernel-features.h
19714 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19715 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19716 Make code unconditional.
19717 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19718 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19720 [__NR_vfork]: Make code unconditional.
19721 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19722 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19724 [__NR_vfork]: Make code unconditional.
19725 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19726 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19727
09c0ee5f
RM
197282012-08-01 Roland McGrath <roland@hack.frob.com>
19729
48aec5b9
RM
19730 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19731 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19732
cd97c966
RM
19733 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19734 Define mkstemp64 as an alias.
3f55550c
RM
19735 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19736 Define mkstemps64 as an alias.
cd97c966
RM
19737 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19738 Define mkostemp64 as an alias.
b8625cfc
RM
19739 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19740 Define mkostemps64 as an alias.
cd97c966
RM
19741 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19742 Conditionalize body on this.
19743 * misc/mkostemp64.c: Likewise.
b8625cfc 19744 * misc/mkostemps64.c: Likewise.
3f55550c 19745 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19746 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19747 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19748 * sysdeps/wordsize-64/mkostemp.c: File removed.
19749 * sysdeps/wordsize-64/mkstemp.c: File removed.
19750 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19751 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19752 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19753 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19754
09c0ee5f
RM
19755 [BZ #14138]
19756 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19757 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19758 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19759 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19760
19761 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19762 compat_symbol macros from <shlib-compat.h> rather than the underlying
19763 default_symbol_version and symbol_version macros, so that DEFAULT
19764 lines in shlib-versions are respected.
19765 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19766
7e66ee51
FW
197672012-08-01 Florian Weimer <fweimer@redhat.com>
19768
19769 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19770 Declare with warn_unused_result.
19771 (setgid, setregid, setegid, setresgid): Likewise.
19772 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19773 Likewise.
19774 * WUR-REPORT: Remove set*id functions.
19775
d2a54255
PT
197762012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19777
19778 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19779
7ecdb005
RM
197802012-07-31 Roland McGrath <roland@hack.frob.com>
19781
b4180a5e 19782 [BZ #10191]
789bd351
RM
19783 * include/sys/socket.h (__libc_accept, __libc_accept4):
19784 Add attribute_hidden.
19785 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19786
40ce302d
RM
19787 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19788 use of PTR_MANGLE.
19789 * inet/getnetgrent_r.c (setup): Likewise.
19790
7ecdb005
RM
19791 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19792
e2eabb2c
DM
197932012-07-31 David S. Miller <davem@davemloft.net>
19794
19795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19796
d0419dbf
JM
197972012-07-31 Joseph Myers <joseph@codesourcery.com>
19798
19799 [BZ #13629]
19800 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19801 value between 1.0 and 2.0 and smaller part has absolute value less
19802 than 1.0.
19803 * math/s_clog10.c (__clog10): Likewise.
19804 * math/s_clog10f.c (__clog10f): Likewise.
19805 * math/s_clog10l.c (__clog10l): Likewise.
19806 * math/s_clogf.c (__clogf): Likewise.
19807 * math/s_clogl.c (__clogl): Likewise.
19808 * math/libm-test.inc (clog_test): Add more tests.
19809 (clog10_test): Likewise.
19810 * sysdeps/i386/fpu/libm-test-ulps: Update.
19811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19812
2bc13872
FW
198132012-07-31 Florian Weimer <fweimer@redhat.com>
19814
19815 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19816 Exit with zero in case no suitable GID is found, and write a
19817 message to standard error.
19818
bea9b193
RM
198192012-07-30 Roland McGrath <roland@hack.frob.com>
19820
19821 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19822 rather than to 1.
19823 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19824 (MAXPATHLEN): Removed.
19825 (NOGROUP, NODEV): New macros.
19826 (setbit, clrbit, isset, isclr): New macros.
19827 (howmany, roundup, powerof2): New macros.
19828 (DEV_BSIZE): New macro.
19829
19830 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19831 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19832
19833 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19834 definition on [!__NO_LONG_DOUBLE_MATH].
19835
19836 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19837 PTR_MANGLE and PTR_DEMANGLE.
19838
19839 * socket/accept4.c (accept4): Rename to __libc_accept4.
19840 Define accept4 as a weak alias.
19841
19842 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19843 on [_DIRENT_HAVE_D_TYPE].
19844 * io/ftw.c (ftw_dir): Likewise.
19845
19846 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19847
19848 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19849
19850 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19851 Use the BSD numbers rather than the arbitrary ones we had.
19852 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19853 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19854 (SIGXCPU, SIGXFSZ): New macros.
19855 (_NSIG): Now 32.
19856
19857 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19858 initializer on [_LIBC_REENTRANT].
19859
19860 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19861 definitions inside [_POSIX_MAPPED_FILES].
19862
19863 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19864
19865 * dirent/opendir.c: Include <fcntl.h>.
19866
19867 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19868 (__libc_getspecific): Likewise.
19869 (__libc_key_create): Likewise.
19870
19871 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19872 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19873 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19874 (tmpfile64): Define as alias.
19875 * sysdeps/wordsize-64/tmpfile.c: File removed.
19876 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19877 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19878 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19879
19880 * stdio-common/vfscanf.c: Include <stdbool.h>.
19881 * nss/makedb.c: Likewise.
19882 * stdio-common/_i18n_number.h: Likewise.
19883 * argp/argp-help.c: Likewise.
19884 * posix/wordexp.c: Likewise.
19885 * sysdeps/posix/spawni.c: Likewise.
19886 * nss/nss_files/files-initgroups.c: Likewise.
19887 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19888 * nss/nss_files/files-initgroups.c: Likewise.
19889 * nss/nss_db/db-netgrp.c: Likewise.
19890 * nss/nss_db/db-initgroups.c: Likewise.
19891 * io/fchmodat.c: Include <sys/stat.h>.
19892
19893 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19894 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19895
19896 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19897 [HAVE_MMAP].
19898
19899 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19900 Add multiple inclusion protection.
19901
e5abc686
DM
199022012-07-27 David S. Miller <davem@davemloft.net>
19903
19904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19905
815e6fa3
GB
199062012-07-27 Gary Benson <gbenson@redhat.com>
19907
19908 [BZ #14298]
19909 * elf/rtld.c: Include <stap-probe.h>.
19910 (dl_main): Added static probes "init_start" and "init_complete".
19911 * elf/dl-load.c: Include <stap-probe.h>.
19912 (lose): Take new parameter "nsid".
19913 Added static probe "map_failed".
19914 (_dl_map_object_from_fd): Pass namespace id to lose.
19915 Added static probe "map_start".
19916 (open_verify): Pass namespace id to lose.
19917 * elf/dl-open.c: Include <stap-probe.h>.
19918 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19919 and "reloc_complete".
19920 * elf/dl-close.c: Include <stap-probe.h>.
19921 (_dl_close_worker): Added static probes "unmap_start" and
19922 "unmap_complete".
19923 * elf/rtld-debugger-interface.txt: New file documenting the above.
19924
9f98c16c
RM
199252012-07-26 Roland McGrath <roland@hack.frob.com>
19926
19927 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19928 rather than a string variable.
19929 * sunrpc/rpc_main.c (h_output): Likewise.
19930 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19931
f3c22df3
PT
199322012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19933
19934 * inet/check_native.c: New file.
19935
3129cfc6
JM
199362012-07-26 Joseph Myers <joseph@codesourcery.com>
19937
da865e95
JM
19938 [BZ #13629]
19939 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19940 if larger part has absolute value 1.0.
19941 * math/s_clog10.c (__clog10): Likewise.
19942 * math/s_clog10f.c (__clog10f): Likewise.
19943 * math/s_clog10l.c (__clog10l): Likewise.
19944 * math/s_clogf.c (__clogf): Likewise.
19945 * math/s_clogl.c (__clogl): Likewise.
19946 * math/libm-test.inc (clog_test): Add more tests.
19947 (clog10_test): Likewise.
19948 * sysdeps/i386/fpu/libm-test-ulps: Update.
19949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19950
3129cfc6
JM
19951 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19952 (pltexit): Likewise.
19953 (La_regs): Likewise.
19954 (La_retval): Likewise.
19955 (int_retval): Likewise.
19956 Update #error for removed macros to refer only to definitions in
19957 tst-audit.h.
19958 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19959 macro.
19960 (pltexit): Likewise.
19961 (La_regs): Likewise.
19962 (La_retval): Likewise.
19963 (int_retval): Likewise.
19964 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19965 macro.
19966 (pltexit): Likewise.
19967 (La_regs): Likewise.
19968 (La_retval): Likewise.
19969 (int_retval): Likewise.
19970 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19971 macro.
19972 (pltexit): Likewise.
19973 (La_regs): Likewise.
19974 (La_retval): Likewise.
19975 (int_retval): Likewise.
19976 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19977 macro.
19978 (pltexit): Likewise.
19979 (La_regs): Likewise.
19980 (La_retval): Likewise.
19981 (int_retval): Likewise.
19982 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19983 macro.
19984 (pltexit): Likewise.
19985 (La_regs): Likewise.
19986 (La_retval): Likewise.
19987 (int_retval): Likewise.
19988 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19989 macro.
19990 (pltexit): Likewise.
19991 (La_regs): Likewise.
19992 (La_retval): Likewise.
19993 (int_retval): Likewise.
19994 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19995 macro definitions in tst-audit.h.
19996 * sysdeps/i386/tst-audit.h: New file.
19997 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19998 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19999 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20000 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20001 * sysdeps/sh/tst-audit.h: Likewise.
20002 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20003 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20004 * sysdeps/x86_64/tst-audit.h: Likewise.
20005
bfc07087
AJ
200062012-07-26 Andreas Jaeger <aj@suse.de>
20007
b1b2aaf8
AJ
20008 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20009 ptrace.
20010
20011 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20012 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20013 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20014 PTRACE_O_MASK.
20015 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20016 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20017 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20018
bfc07087
AJ
20019 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20020 value.
20021
20022 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20023 _sigsys.
20024 (si_call_addr, si_syscall, si_arch): Define new macro.
20025 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20026 _sigsys.
20027 (si_call_addr, si_syscall, si_arch): Define new marcro.
20028 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20029 _sigsys.
20030 (si_call_addr, si_syscall, si_arch): Define new macro.
20031 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20032 _sigsys.
20033 (si_call_addr, si_syscall, si_arch): Define new macro.
20034
89b4b02f
JM
200352012-07-25 Joseph Myers <joseph@codesourcery.com>
20036
20037 [BZ #13717]
20038 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20039 Change to 2.4.21 where previously 2.4.1.
20040 * sysdeps/unix/sysv/linux/configure: Regenerated.
20041 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20042 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20043 Linux kernel version.
20044 (__ASSUME_STD_AUXV): Remove.
20045 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20046 kernel version.
20047 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20048 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20049 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20050 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20051 (__ASSUME_NETLINK_SUPPORT): Likewise.
20052 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20053 (__no_netlink_support): Remove conditional definition.
20054 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20055 Remove.
20056 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20057 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20058 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20059 (if_nameindex_ioctl): Remove.
20060 (if_nameindex_netlink): Do not handle __no_netlink_support.
20061 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20062 code.
20063 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20064 Remove conditional code.
20065 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20066 code.
20067 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20068 unconditional.
20069 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20070 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20071 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20072 Remove.
20073 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20074 [!__ASSUME_STD_AUXV]: Remove conditional code.
20075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20076 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20077 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20079 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20080 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20081 code.
20082 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20084 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20085 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20086 conditional code.
20087 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20089 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20090 code.
20091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20092 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20093 conditional code.
20094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20095 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20096 code unconditional.
20097 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20098 conditional code.
20099 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20100 unconditional.
20101 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20102 conditional code.
20103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20104 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20105 unconditional.
20106 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20107 conditional code.
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20109 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20110 code unconditional.
20111 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20112 conditional code.
20113 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20114 unconditional.
20115 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20116 conditional code.
20117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20118 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20119 code unconditional.
20120 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20121 conditional code.
20122 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20123 unconditional.
20124 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20125 conditional code.
20126
842a39cd
AS
201272012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20128
20129 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20130 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20131 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20132 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20133 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20134 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20135 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20136 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20137 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20138 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20139 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20140 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20141 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20142 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20143 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20144 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20145 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20146 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20147 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20149 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20150 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20151 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20152
84b3fd84
FW
201532012-07-25 Florian Weimer <fweimer@redhat.com>
20154
20155 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20156 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20157 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20158 Introduce __libc_secure_getenv.
0c7936d5
FW
20159 * stdlib/Versions (2.17): Add secure_getenv
20160 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20161 * stdlib/secure-getenv.c: Rename __secure_getenv to
20162 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20163 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20164 * stdlib/tst-secure-getenv.c: New.
20165 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20166 * manual/startup.texi (Environment Access): Document
20167 secure_getenv.
84b3fd84
FW
20168 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20169 __libc_secure_getenv.
20170 * inet/ruserpass.c (ruserpass): Likewise.
20171 * malloc/mtrace.c (mtrace): Likewise.
20172 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20173 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20174 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20175 * sysdeps/posix/tempname.c: Likewise. Evaluate
20176 HAVE_SECURE_GETENV.
20177 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20178 __secure_getenv to __libc_secure_getenv.
84b3fd84 20179 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20181 Likewise.
20182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20183 Likewise.
20184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20186 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20191
56e49b71
JM
201922012-07-25 Joseph Myers <joseph@codesourcery.com>
20193
20194 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20195 (struct La_i86_retval): Likewise.
20196 (struct La_x86_64_regs): Likewise.
20197 (struct La_x86_64_retval): Likewise.
20198 (struct La_x32_regs): Likewise.
20199 (struct La_x32_retval): Likewise.
20200 (struct La_ppc32_regs): Likewise.
20201 (struct La_ppc32_retval): Likewise.
20202 (struct La_ppc64_regs): Likewise.
20203 (struct La_ppc64_retval): Likewise.
20204 (struct La_sh_regs): Likewise.
20205 (struct La_sh_retval): Likewise.
20206 (struct La_s390_32_regs): Likewise.
20207 (struct La_s390_32_retval): Likewise.
20208 (struct La_s390_64_regs): Likewise.
20209 (struct La_s390_64_retval): Likewise.
20210 (struct La_sparc32_regs): Likewise.
20211 (struct La_sparc32_retval): Likewise.
20212 (struct La_sparc64_regs): Likewise.
20213 (struct La_sparc64_retval): Likewise.
20214 (struct audit_ifaces): Remove architecture-specific pltenter and
20215 pltexit members.
20216 * sysdeps/i386/ldsodefs.h: New file.
20217 * sysdeps/powerpc/ldsodefs.h: Likewise.
20218 * sysdeps/s390/ldsodefs.h: Likewise.
20219 * sysdeps/sh/ldsodefs.h: Likewise.
20220 * sysdeps/sparc/ldsodefs.h: Likewise.
20221 * sysdeps/x86_64/ldsodefs.h: Likewise.
20222
354691b7
MP
202232012-07-25 Marek Polacek <polacek@redhat.com>
20224
20225 [BZ #6808]
20226 * math/libm-test.inc (yn_test): Add another test.
20227 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20228 to ERANGE when the result is +-Inf.
20229 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20230 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20231 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20232 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20233
bf9e2071
JM
202342012-07-24 Joseph Myers <joseph@codesourcery.com>
20235
20236 * conform/data/time.h-data (NULL): Use macro-constant. Require
20237 equal to 0.
20238 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20239 clock_t.
20240 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20241
57633811
TS
202422012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20243
20244 * configure.in <sysdeps resolving>: Correct printing
20245 Implies_before.
20246 * configure: Regenerate.
20247
c23c33b0
TS
202482012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20249
20250 * math/w_ilogb.c: Include <limits.h>.
20251 * math/w_ilogbl.c: Likewise.
20252
b5982523
JM
202532012-07-20 Joseph Myers <joseph@codesourcery.com>
20254
20255 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20256 va_copy. Document allowing for unavailable va_copy only as
20257 pre-C99 compatibility.
20258 * manual/string.texi (Copying and Concatenation): Use va_copy
20259 instead of __va_copy in concat example.
20260
ac4ea442
PT
202612012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20262
20263 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20264 (__sendto): Use create_address_port. Initialize APORT and deallocate
20265 it if not null.
20266
f98eafbd
PT
20267 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20268 with O_NOLINK passed to __file_name_lookup.
20269
898c7aab
PT
20270 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20271 with O_NOLINK passed to __file_name_lookup.
20272
0ced335a
PT
20273 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20274 negative N or less than NGIDS.
20275
b3404dbd
PT
20276 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20277 type to string_t. Set ERANGE as errno and return it if NAME is not big
20278 enough. Use memcpy instead of strncpy.
20279
0f48659e
JM
202802012-07-20 Joseph Myers <joseph@codesourcery.com>
20281
20282 * elf/Makefile (check-data): Remove.
20283 (localplt.data): New vpath directive.
20284 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20285 instead of $(check-data).
20286 * scripts/data/localplt-generic.data: Move to ...
20287 * sysdeps/generic/localplt.data: ... here.
20288 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20289 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20290 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20292 ... here.
20293 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20295 ... here.
20296 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20298 ... here.
20299 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20301 ... here.
20302 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20304 ... here.
20305 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20307 ... here.
20308
d37cbdaa
AZ
203092012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20310
20311 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20312 PPC32 and PPC64 files.
20313 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20314 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20315
46f85fc2
AK
203162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20317
20318 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20319 __makecontext_ret to ...
20320 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20321 ... here and call exit if uc_link is NULL. New file.
20322 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20323 __makecontext_ret.S.
20324 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20325 __makecontext_ret to ...
20326 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20327 ... here and call exit if uc_link is NULL. New file.
20328 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20329 __makecontext_ret.S.
20330
08f43f9b
AK
203312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20332
20333 * elf/elf.h (R_390_IRELATIVE): New definition.
20334 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20335 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20336 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20337 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20338 (elf_machine_lazy_rel): Likewise.
20339 * sysdeps/s390/dl-irel.h: New file.
20340 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20341 * sysdeps/s390/s390-64/memset.S: New asm code.
20342 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20343 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20344 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20345 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20346 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20347 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20348 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20349 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20350 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20351 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20352 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20353 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20354 * sysdeps/s390/s390-32/memset.S: New asm code.
20355 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20356
3b05db33
MP
203572012-07-17 Marek Polacek <polacek@redhat.com>
20358
20359 [BZ #14349]
20360 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20361 * sysdeps/s390/s390-64/configure.in: Likewise.
20362 * sysdeps/sparc/configure.in: Likewise.
20363 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20364 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20365 * sysdeps/i386/configure.in: Likewise.
20366 * sysdeps/x86_64/configure.in: Likewise.
20367 * sysdeps/sh/configure.in: Likewise.
20368 * sysdeps/s390/s390-32/configure: Regenerated.
20369 * sysdeps/s390/s390-64/configure: Likewise.
20370 * sysdeps/x86_64/configure: Likewise.
20371 * sysdeps/sh/configure: Likewise.
20372 * sysdeps/powerpc/powerpc64/configure: Likewise.
20373 * sysdeps/powerpc/powerpc32/configure: Likewise.
20374 * sysdeps/sparc/configure: Likwise.
20375 * sysdeps/i386/configure: Likewise.
20376
a66877c6
MP
20377 * elf/dl-open.c: Comment fixes.
20378
cfc82fd8
JM
203792012-07-17 Joseph Myers <joseph@codesourcery.com>
20380
bd29910a
JM
20381 * Makefile [CXX] (check-data): Remove.
20382 [CXX] (c++-types.data): New vpath directive.
20383 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20384 vpath. Do not allow for C++ type data being missing.
20385 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20386 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20387 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20388 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20389 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20390 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20391 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20393 ... here.
20394 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20396 ... here.
20397 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20399 ... here.
20400 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20402 ... here.
20403 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20405 ... here.
20406 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20408 ... here.
20409 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20411 ... here.
20412 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20414
cfc82fd8
JM
20415 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20416 definitions to architecture-specific files.
20417 (TLS_IE): Likewise.
20418 (TLS_LD): Likewise.
20419 (TLS_GD): Likewise.
20420 * sysdeps/i386/tls-macros.h: New file.
20421 * sysdeps/powerpc/tls-macros.h: Likewise.
20422 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20423 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20424 * sysdeps/sh/tls-macros.h: Likewise.
20425 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20426 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20427 * sysdeps/x86_64/tls-macros.h: Likewise.
20428
f7db3170
TS
204292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20430
07cbfc23
TS
20431 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20432 zero value for regular exit case.
20433
f7db3170
TS
20434 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20435 (__start_context): Preserve zero value for regular exit case.
20436
dc97c227
TS
204372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20438 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20439
20440 * manual/setjmp.texi (setcontext): Clarify normal process
20441 termination when uc_link is the null pointer.
20442 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20443 exit call.
20444
d0cd7d02
AS
204452012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20446
20447 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20448 preprocessor. Test for each exception mask separately.
20449
dd318934
AJ
204502012-07-16 Andreas Jaeger <aj@suse.de>
20451
20452 * po/ru.po: Update from translation team.
20453
8048311a
JM
204542012-07-15 Joseph Myers <joseph@codesourcery.com>
20455
20456 * conform/data/string.h-data (NULL): Use macro-constant. Require
20457 equal to 0.
20458 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20459 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20460 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20461 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20462 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20463
b637d46e
AJ
204642012-07-13 Andreas Jaeger <aj@suse.de>
20465
20466 * po/fr.po: Update from translation team.
20467
541428fe
MP
204682012-07-12 Marek Polacek <polacek@redhat.com>
20469
20470 [BZ #14173]
20471 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20472 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20473 loop condition.
20474
ec332e94
JM
204752012-07-12 Joseph Myers <joseph@codesourcery.com>
20476
20477 [BZ #13717]
20478 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20479 Change to 2.4.1 where previously 2.4.0.
20480 * sysdeps/unix/sysv/linux/configure: Regenerated.
20481 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20482 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20483 version.
20484 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20485 (__ASSUME_AT_CLKTCK): Remove.
20486 (__ASSUME_AT_PAGESIZE): Likewise.
20487 (__ASSUME_AT_XID): Likewise.
20488 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20489 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20490 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20491 unconditionally.
20492 (HAVE_AUX_PAGESIZE): Likewise.
20493 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20494 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20495 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20496
7b6e99be
JB
204972012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20498
20499 [BZ #14307]
20500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20501 the temporary buffer used to invoke __gethostbyname2_r,
20502 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20503 host_data / struct gaih_addrtuple.
20504 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20505 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20506 header file nss/nsswitch.h.
20507 * nss/nsswitch.h (global scope): Add definition of implementation
20508 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20509 resolv/nss_dns/dns-host.c).
20510
608404eb
AJ
205112012-07-11 Andreas Jaeger <aj@suse.de>
20512
20513 * po/fr.po: Update from translation team.
20514
71220aca
AJ
20515 * po/sv.po: Update from translation team
20516 * po/fr.po: Another update from translation team.
20517
28cfe843
AZ
205182012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20519
20520 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20521 for subnormals or multiply small sinh result by itself.
20522 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20524
6b90f981
DM
205252012-07-11 David S. Miller <davem@davemloft.net>
20526
20527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20528
c6825772
AS
205292012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20530
20531 [BZ #14347]
20532 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20533 (INTERNAL_MARK): Shift it here.
20534
7b8e0d49
MP
205352012-07-10 Marek Polacek <polacek@redhat.com>
20536
20537 [BZ #14151]
20538 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20539 libc_cv_asm_global_directive with .globl.
20540 * configure: Regenerated.
20541 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20542 with .globl.
20543 * sysdeps/i386/configure: Regenerated.
20544 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20545 with .globl.
20546 * sysdeps/x86_64/configure: Regenerated.
20547 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20548 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20549 * elf/tst-unique2mod2.c: Likewise.
20550 * elf/tst-unique2mod1.c: Likewise.
20551 * elf/tst-unique1mod2.c: Likewise.
20552 * elf/tst-unique1mod1.c: Likewise.
20553 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20554 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20555 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20556 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20557 * sysdeps/mach/sysdep.h: Likewise.
20558 * sysdeps/i386/sysdep.h: Likewise.
20559 * sysdeps/i386/i386-mcount.S: Likewise.
20560 * sysdeps/x86_64/_mcount.S: Likewise.
20561 * sysdeps/x86_64/sysdep.h: Likewise.
20562 * sysdeps/sh/_mcount.S: Likewise.
20563 * sysdeps/sh/sysdep.h: Likewise.
20564 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20565 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20566 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20567 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20568 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20569 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20570 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20571 * locale/localeinfo.h: Likewise.
20572 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20573 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20574
6c55cda3
RM
205752012-07-09 Roland McGrath <roland@hack.frob.com>
20576
20577 [BZ #14336]
20578 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20579 system".
20580 * manual/message.texi (The Uniforum approach): Likewise.
20581 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20582 (glibc iconv Implementation): Likewise.
20583
638a572e
JM
205842012-07-09 Joseph Myers <joseph@codesourcery.com>
20585
20586 [BZ #14337]
20587 * math/s_clog.c (__clog): Avoid scaling a value down where that
20588 could result in underflow.
20589 * math/s_clog10.c (__clog10): Likewise.
20590 * math/s_clog10f.c (__clog10f): Likewise.
20591 * math/s_clog10l.c (__clog10l): Likewise.
20592 * math/s_clogf.c (__clogf): Likewise.
20593 * math/s_clogl.c (__clogl): Likewise.
20594 * math/libm-test.inc (clog_test): Add more tests.
20595 (clog10_test): Likewise.
20596 * sysdeps/i386/fpu/libm-test-ulps: Update.
20597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20598
261f4859
AS
205992012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20600
0abaf3e4
AS
20601 [BZ #14283]
20602 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20603 by 7 not 8 to examine high bit of fractional part.
20604
261f4859
AS
20605 [BZ #14042]
20606 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20607 for call to __mcount_internal.
20608 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20609 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20610 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20611
f17ac40d
JM
206122012-07-06 Joseph Myers <joseph@codesourcery.com>
20613
9ad63c23
JM
20614 [BZ #14154]
20615 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20616 approximation for values within 0x1p-13f of an odd multiple of
20617 pi/4.
20618 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20619 exception. Add more tests.
20620 * sysdeps/i386/fpu/libm-test-ulps: Update.
20621
f17ac40d
JM
20622 [BZ #6778]
20623 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20624 inputs and return -1 for them. Do not check for +Inf in case not
20625 reachable for +Inf.
20626 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20627 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20628 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20629 and return -1 for them. Do not check for +Inf in case not
20630 reachable for +Inf.
20631 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20632 define.
20633 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20634 and return -1 for them. Do not check for +Inf in case not
20635 reachable for +Inf.
20636 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20637 spurious underflow.
20638 * sysdeps/i386/fpu/libm-test-ulps: Update.
20639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20640
fb21f89b
MF
206412012-07-06 Mike Frysinger <vapier@gentoo.org>
20642
20643 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20644
cdfe2c5e
JM
206452012-07-05 Joseph Myers <joseph@codesourcery.com>
20646
20647 [BZ #14157]
20648 [BZ #14331]
20649 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20650 could result in spurious underflow. Scale down values above
20651 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20652 * math/s_csqrtf.c (__csqrtf): Likewise.
20653 * math/s_csqrtl.c (__csqrtl): Likewise.
20654 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20655 spurious underflow.
20656 * sysdeps/i386/fpu/libm-test-ulps: Update.
20657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20658
70d35b67
AS
206592012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20660
704bc459
AS
20661 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20662 xopen-msg.sed.
20663 * catgets/xopen-msg.awk: New file.
20664 * catgets/xopen-msg.sed: Removed.
20665
70d35b67
AS
20666 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20667 po2text.sed.
20668 * intl/po2test.awk: New file.
20669 * intl/po2test.sed: Removed.
20670
ca61cf32
JM
206712012-07-04 Joseph Myers <joseph@codesourcery.com>
20672
20673 [BZ #14328]
20674 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20675 or multiply small sinh result by itself.
20676 * math/s_ctanf.c (__ctanf): Likewise.
20677 * math/s_ctanh.c (__ctanh): Likewise.
20678 * math/s_ctanhf.c (__ctanhf): Likewise.
20679 * math/s_ctanhl.c (__ctanhl): Likewise.
20680 * math/s_ctanl.c (__ctanl): Likewise.
20681 * math/libm-test.inc (ctan_test_tonearest): New function.
20682 (ctan_test_towardzero): Likewise.
20683 (ctan_test_downward): Likewise.
20684 (ctan_test_upward): Likewise.
20685 (ctanh_test_tonearest): Likewise.
20686 (ctanh_test_towardzero): Likewise.
20687 (ctanh_test_downward): Likewise.
20688 (ctanh_test_upward): Likewise.
20689 (main): Call these new functions.
20690 * sysdeps/i386/fpu/libm-test-ulps: Update.
20691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20692
ca48a46a
MF
206932012-07-03 Mike Frysinger <vapier@gentoo.org>
20694
20695 * .gitignore: Delete /ports entry.
20696
9d63d37d
AJ
206972012-07-03 Andreas Jaeger <aj@suse.de>
20698
20699 * po/bg.po: Update from translation team.
20700 * po/cs.po: Likewise.
20701 * po/de.po: Likewise.
20702 * po/hr.po: Likewise.
20703 * po/nl.pl: Likewise.
20704 * po/pl.po: Likewise.
20705 * po/vi.po: Likewise.
20706
370ca3d2
JM
207072012-07-03 Joseph Myers <joseph@codesourcery.com>
20708
95f5a9a8
JM
20709 * Makeconfig [!+link] (+link-before-libc): New variable.
20710 [!+link] (+link-after-libc): Likewise.
20711 [!+link] (+link-tests): Likewise.
20712 [!+link] (+link): Define in terms of $(+link-before-libc) and
20713 $(+link-after-libc).
20714 [!+link-static] (+link-static-before-libc): New variable.
20715 [!+link-static] (+link-static-after-libc): Likewise.
20716 [!+link-static] (+link-static-tests): Likewise.
20717 [!+link-static] (+link-static): Define in terms of
20718 $(+link-static-before-libc) and $(+link-static-after-libc).
20719 [build-shared] (link-libc-before-gnulib): New variable.
20720 [build-shared] (link-libc-tests): Likewise.
20721 [build-shared] (link-libc): Define in terms of
20722 $(link-libc-before-gnulib).
20723 [!build-shared] (link-libc-tests): New variable.
20724 (link-libc-static-tests): New variable.
20725 [!gnulib] (gnulib-arch): New variable.
20726 [!gnulib] (gnulib-tests): Likewise.
20727 [!gnulib] (static-gnulib-arch): Likewise.
20728 [!gnulib] (static-gnulib-tests): Likewise.
20729 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20730 Define with "=" instead of ":=".
20731 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20732 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20733 * Rules (binaries-all-notests): New variable.
20734 (binaries-all-tests): Likewise.
20735 (binaries-static-notests): Likewise.
20736 (binaries-static-tests): Likewise.
20737 (binaries-all): Define using $(binaries-all-notests) and
20738 $(binaries-all-tests).
20739 (binaries-static): Define using $(binaries-static-notests) and
20740 $(binaries-static-tests).
20741 (binaries-shared-tests): New variable.
20742 (binaries-shared-notests): Likewise.
20743 (binaries-shared): Remove variable.
20744 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20745 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20746 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20747 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20748 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20749 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20750 * elf/Makefile (sln-modules): New variable.
20751 (extra-objs): Add $(sln-modules:=.o).
20752 (ldconfig-modules): Add static-stubs.
20753 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20754 * elf/static-stubs.c: New file.
20755
7a845b2c
JM
20756 [BZ #14283]
20757 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20758 by 7 not 8 to examine high bit of fractional part. Use volatile
20759 variables when splitting into final array of floats if
20760 __FLT_EVAL_METHOD__ != 0.
20761 * math/libm-test.inc (cos_test): Add another test.
20762 (sin_test): Likewise.
20763 * sysdeps/i386/fpu/libm-test-ulps: Update.
20764
e2283f38
JM
20765 [BZ #14273]
20766 * math/libm-test.inc (cosh_test): Add more tests.
20767
370ca3d2
JM
20768 * version.h (RELEASE): Set to "development".
20769 (VERSION): Set to "2.16.90".
20770
ee9247c3
CD
207712012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20772
20773 * NEWS: Update copyright. Remove last-updated date.
20774 Mention math library bug fixes and timezone data changes.
20775 * README: Mention GNU/Hurd, x32, and HPPA support status.
20776
4648c381
TS
207772012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20778
20779 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20780
aac78a43
AJ
207812012-06-27 Andreas Jaeger <aj@suse.de>
20782
20783 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20784
ed3dbfad
AJ
207852012-06-25 Andreas Jaeger <aj@suse.de>
20786
20787 * sysdeps/s390/fpu/libm-test-ulps: Update.
20788
4d0ee855
AS
207892012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20790 Thomas Schwinge <thomas@codesourcery.com>
20791
20792 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20793 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20794 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20795 fanotify_mark.
20796
af1bce34
TS
207972012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20798
a9fa33ba
TS
20799 * sysdeps/mach/start.c: Remove file.
20800 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20801 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20802 * sysdeps/sh/init-first.c: Likewise.
20803
58f902b8
TS
20804 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20805 registers for frame unwinding purposes, add CFI directives.
20806 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20807 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20808 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20809 Likewise.
20810
1518f58b
TS
20811 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20812 __fortify_fail returning.
20813 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20814
db9b5059
TS
20815 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20816 sysdeps/sh/____longjmp_chk.S.
20817 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20818 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20819 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20820 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20821
967705fe
TS
20822 * sysdeps/sh/abort-instr.h: New file.
20823 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20824 process in case exit returns.
20825
a9def8c4
TS
20826 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20827 initialize the GOT register before use.
20828
2a649725
TS
20829 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20830 calculation of ARGC > 4.
20831
af1bce34
TS
20832 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20833 meaningful names to some local labels.
20834
d230f50a
KK
208352012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20836 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20837
20838 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20839 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20840 (__arch_compare_and_exchange_val_16_acq): Likewise.
20841 (__arch_compare_and_exchange_val_32_acq): Likewise.
20842 (atomic_exchange_and_add): Fix gUSA sequence.
20843 (atomic_add): Likewise.
20844 (atomic_add_negative): Likewise.
20845 (atomic_add_zero): Likewise.
20846 (atomic_bit_test_set): Likewise.
20847
0479b305
AS
208482012-06-22 Andreas Schwab <schwab@redhat.com>
20849
20850 [BZ #13579]
20851 * include/link.h (struct link_map): Add l_free_initfini.
20852 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20853 l_initfini.
20854 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20855 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20856 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20857 set.
20858
0e3933b9
CD
208592012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20860
20861 * configure.in: Use AC_LANG_SOURCE.
20862 * configure: Regenerate.
20863
4248b1b1
RM
208642012-06-22 Roland McGrath <roland@hack.frob.com>
20865
20866 * configure.in (libc_cv_localstatedir): New substituted variable.
20867 * configure: Regenerated.
20868 * config.make.in (localstatedir): New variable, substituted from
20869 libc_cv_localstatedir.
20870 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20871 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20872 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20873 * sysdeps/gnu/configure: Regenerated.
20874
006dd861
JL
208752012-06-21 Jeff Law <law@redhat.com>
20876
20877 [BZ #14277]
20878 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20879 free. Simplify list management for _LIBC case.
20880
79662d42
JM
208812012-06-21 Joseph Myers <joseph@codesourcery.com>
20882
b7abb4bf
JM
20883 [BZ #14273]
20884 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20885 Clear sign bit of 64-bit integer value before comparing against
20886 overflow value.
20887
79662d42
JM
20888 * sysdeps/mach/configure: Regenerated.
20889
1f150908
L
208902012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20891
20892 [BZ #14278]
20893 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20894
28363bbf
JL
208952012-06-21 Jeff Law <law@redhat.com>
20896
20897 [BZ #13882]
20898 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20899 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20900 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20901 * elf/dl-open.c (dl_open_worker): Likewise.
20902
09615db4
CD
209032012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20904
20905 * scripts/list-sources.sh: Scan PORTS for translations.
20906 * po/libc.pot: Regenerated.
20907
2174c6dd
AJ
209082012-06-21 Andreas Jaeger <aj@suse.de>
20909
20910 [BZ #12194]
20911 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20912 warning.
20913 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20914 * bits/byteswap-16.h (__bswap_16): Likewise.
20915 * bits/byteswap.h (__bswap_constant_16): Likewise.
20916
3ee947b1
L
209172012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20918
20919 [BZ #14117]
a2f34833
L
20920 * sysdeps/i386/fpu_control.h: Removed.
20921 * sysdeps/x86_64/fpu_control.h: Moved to ...
20922 * sysdeps/x86/fpu_control.h: Here.
20923
3ee947b1
L
20924 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20925 (_FPU_SETCW): Likewise.
20926
ed1825f8
L
209272012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20928
25f1282a
L
20929 [BZ #14117]
20930 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20931 * sysdeps/x86/fpu/bits/mathinline.h: This.
20932 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20933
ed1825f8
L
20934 [BZ #14050]
20935 [BZ #14117]
20936 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20937 functions if __x86_64__ is defined.
20938
36d54b74
CLT
209392012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20940
20941 * string/endian.h: Add !__ASSEMBLER__ condition for including
20942 conversion interfaces.
20943
10285c21
JM
209442012-06-15 Joseph Myers <joseph@codesourcery.com>
20945
20946 [BZ #14241]
20947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20948 of ABS(x) in calculating zero to negative powers other than odd
20949 integers.
20950 * math/libm-test.inc (pow_test): Add more tests.
20951
06c5abbd
AJ
209522012-06-15 Andreas Jaeger <aj@suse.de>
20953
20954 * manual/contrib.texi (Contributors): Update entry of Liubov
20955 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20956 Machado Filho.
20957
a3aeac40
CH
209582012-06-15 Cyril Hrubis <metan@ucw.cz>
20959
20960 * string/string.h: Add __wur to GNU version of strerror_r.
20961
49bdf4c1
L
209622012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20963
20964 [BZ #14229]
20965 * string/Makefile (tests): Add tst-strtok_r.
20966 * string/tst-strtok_r.c: New file.
20967 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20968 RAX_LP/RDX_LP on SAVE_PTR.
20969
834f9b8d
RM
209702012-06-14 Roland McGrath <roland@hack.frob.com>
20971
20972 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20973
75fa1921
JM
209742012-06-14 Joseph Myers <joseph@codesourcery.com>
20975
20976 * libm_test.inc (csqrt_test): Allow more spurious underflow
20977 exceptions.
20978 (j0_test): Likewise.
20979 (j1_test): Likewise.
20980 (y0_test): Likewise.
20981 (y1_test): Likewise.
20982
771766df
CD
209832012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20984
20985 * po/Makefile (libc.pot): Use UTF-8 charset.
20986
ceb9e56b
PP
209872012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20988
20989 [BZ #14210]
20990 Suppress sign-conversion warning from FD_SET.
20991 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20992 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20993 not unsigned long int.
20994 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20995
ddb28975
L
209962012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20997
20998 [BZ #14050]
20999 [BZ #14117]
21000 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21001 __extern_always_inline instead of __extern_inline.
21002 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21003 (__signbit): Likewise.
21004 (__signbitl): Support C++ namespace.
21005 (lrintf): New inline function.
21006 (lrint): Likewise.
21007 (llrintf): Likewise.
21008 (llrint): Likewise.
21009 (fmaxf): Likewise.
21010 (fmax): Likewise.
21011 (fminf): Likewise.
21012 (fmin): Likewise.
21013 (rint): Likewise.
21014 (rintf): Likewise.
21015 (ceil): Likewise.
21016 (ceilf): Likewise.
21017 (floor): Likewise.
21018 (floorf): Likewise.
21019 (nearbyint): Likewise.
21020 (nearbyintf): Likewise.
21021
d7b4fb26
TS
210222012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21023
21024 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21025 non-default versions.
21026
eb55f5c2
RM
210272012-06-11 Roland McGrath <roland@hack.frob.com>
21028
21029 [BZ #14218]
21030 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21031
366af02c
TS
210322012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21033
99ff6e5c
TS
21034 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21035 (FE_UPWARD, FE_DOWNWARD): Don't define.
21036 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21037 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21038
366af02c
TS
21039 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21040 reading it.
21041 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21042 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21043
793ea851
KK
210442012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21045
21046 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21047 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21048 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21049 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21050
a728a38f
L
210512012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21052
21053 [BZ #14117]
c08010c7
L
21054 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21055 * sysdeps/i386/fpu/Implies: New file.
21056 * sysdeps/x86_64/fpu/Implies: Likewise.
21057 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21058 * sysdeps/x86/fpu/bits/fenv.h: This.
21059
a728a38f
L
21060 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21061 __SSE_MATH__.
21062
6e230d11
SP
210632012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21064
21065 [BZ #14134]
21066 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21067 character 0xffff that matches the last element of the
21068 conversion table.
21069
1b671feb
AZ
210702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21071
21072 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21073 fmodl commit.
21074
6043738b
AZ
210752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21076
21077 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21078 values higher than 25.6283.
21079
34ae0b32
AZ
210802012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21081
21082 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21083 subnormal exponent extraction and add some __builtin_expect.
21084 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21085 Fix for subnormal mantissa calculation.
21086
1214ec8f
MF
210872012-06-04 Mike Frysinger <vapier@gentoo.org>
21088
21089 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21090 cpu2 is -1 and errno is not ENOSYS.
21091
f3d1f93c
L
210922012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21093
21094 [BZ #14117]
0e4a3cd7
L
21095 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21096 * sysdeps/x86/bits/string.h: This.
21097 * sysdeps/x86_64/bits/string.h: Removed.
21098
6704c645
L
21099 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21100 if not compiling for x86-64, but compiling for >= i486.
21101
48495318
L
21102 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21103 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21104
14adcbfc
L
21105 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21106 New macro from Linux kernel 3.4.0.
21107 (FP_XSTATE_MAGIC2): Likewise.
21108 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21109 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21110 (struct _fpx_sw_bytes): New struct.
21111 (struct _xsave_hdr): Likewise.
21112 (struct _ymmh_state): Likewise.
21113 (struct _xstate): Likewise.
21114
68e408ab
L
21115 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21116 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21117 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21118 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21119 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21120 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21121
f3d1f93c
L
21122 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21123 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21124 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21125 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21126 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21127 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21128
d9dc34cd
TMQMF
211292012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21130
21131 [BZ #13743]
21132 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21133 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21134 (sysdep_headers): Include sys/platform/ppc.h.
21135 * sysdeps/powerpc/test-gettimebase.c: Test for
21136 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21137 * manual/Makefile (appendices): Include platform.texi.
21138 * manual/contrib.texi (Contributors): Update @node pointers.
21139 * manual/maint.texi (Maintenance): Likewise.
21140 (Platform): New node.
21141 * manual/platform.texi: New file. Document the new features.
21142
4af3879c
SP
211432012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21144 Jakub Jelinek <jakub@redhat.com>
21145
21146 [BZ #14188]
21147 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21148 where __builtin_expect is unavailable.
21149
2fd6ff13
DM
211502012-06-03 David S. Miller <davem@davemloft.net>
21151
21152 * stdlib/longlong.h: Updated from GCC.
21153
173f7220
AS
211542012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21155
21156 [BZ #14042]
21157 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21158 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21159 __mcount_internal.
21160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21161 (GLIBC_2.16): Likewise.
21162
f34a1c6f
L
211632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21164
21165 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21166
88a4576f
JM
211672012-06-01 Joseph Myers <joseph@codesourcery.com>
21168
ea32bcdd
JM
21169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21170 (default-abi): New variable.
21171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21172 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21173 variable.
21174 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21175 Likewise.
21176 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21177 Likewise.
21178 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21179 Likewise.
21180
88a4576f
JM
21181 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21182 definition. Document in comment.
21183
402fe938
DM
211842012-06-01 David S. Miller <davem@davemloft.net>
21185
21186 * stdlib/longlong.h: Updated from GCC.
21187
3553723f
L
211882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21189
21190 [BZ #14117]
3bd872c4
L
21191 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21192 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21193 sys/debugreg.h sys/io.h here.
21194 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21195 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21196 sys/io.h.
21197 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21198 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21199 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21200 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21201 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21202 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21203
3553723f
L
21204 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21205 Define only if __x86_64__ is defined.
21206
4842e4fe
JM
212072012-06-01 Joseph Myers <joseph@codesourcery.com>
21208
c5bfe3d5
JM
21209 [BZ #14048]
21210 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21211 Use int64_t for variable i.
21212 * math/libm-test.inc (fmod_test): Add more tests.
21213
4842e4fe
JM
21214 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21215 z computation is not scheduled after fetestexcept.
21216 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21217 Use math_force_eval instead of asm to ensure calculation scheduled
21218 before exception test.
21219 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21220 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21221
efb73488
AJ
212222012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21223
21224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21225 computation is not scheduled after fetestexcept.
21226
29bcce7c
L
212272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21228
21229 [BZ #14117]
21230 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21231 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21232
73a68f94
AZ
212332012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21234
21235 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21236 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21237
67b6df78
L
212382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21239
edf2933a 21240 [BZ #14117]
ebc64a18
L
21241 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21242 <bits/wordsize.h>.
21243 (__WCHAR_MIN): Support __WORDSIZE == 64.
21244 (__WCHAR_MAX): Likewise.
21245
edf2933a
L
21246 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21248
57c6cf40
L
21249 [BZ #14183]
21250 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21251 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21252
67b6df78 21253 [BZ #14117]
8eb6281e
L
21254 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21255 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21256
aac639f4
L
21257 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21258 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21259
67b6df78
L
21260 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21261 Defined to 1 if __x86_64__ isn't defined.
21262 (_STAT_VER_LINUX_OLD): New.
21263 (st_atime): Remove duplicate.
21264 (st_mtime): Likewise.
21265 (st_ctime): Likewise.
21266
1c2cfe81
DM
212672012-05-31 David S. Miller <davem@davemloft.net>
21268
21269 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21270 entries.
21271
5be8418c
AS
212722012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21273
e7725326
AS
21274 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21275 gen-libm-test.pl.
21276
5be8418c
AS
21277 [BZ #14132]
21278 * elf/dl-reloc.c: Include <_itoa.h>.
21279 (_dl_reloc_bad_type): Remove use of INTUSE.
21280 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21281 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21282 * stdio-common/psiginfo.c (psiginfo): Likewise.
21283 * stdio-common/psignal.c (psignal): Likewise.
21284 * string/strsignal.c (strsignal): Likewise.
21285 * include/signal.h (_sys_siglist): Declare hidden proto.
21286 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21287 INTVARDEF with libc_hidden_data_def.
21288 * stdio-common/itoa-udigits.c: Likewise.
21289 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21290 (_itoa_lower_digits_internal): Remove declaration.
21291 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21292 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21293 (_sys_sigabbrev_internal): Remove aliases.
21294 (_sys_siglist): Define hidden alias.
21295
507352f1
MT
212962012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21297
21298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21299 bits/sysctl.h.
21300
42bbb1c3
L
213012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21302
21303 [BZ #14117]
6bd784b6
L
21304 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21305 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21306
8bca20f0
L
21307 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21308 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21309 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21310 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21311 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21312 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21313
f9e890a9
L
21314 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21315 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21316 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21317
471101a1
L
21318 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21319 with __addr.
21320 (insw): Likewise.
21321 (insl): Likewise.
21322 (outsb): Likewise.
21323 (outsw): Likewise.
21324 (outsl): Likewise.
21325
6451c862
L
21326 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21327 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21328 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21329
a254b8c9
L
21330 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21331 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21332 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21333 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21334 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21335 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21336
b8dfdd92
L
21337 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21338 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21339
578cd270
L
21340 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21341 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21342
de662f5f
L
21343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21345 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21346
25653439
L
21347 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21348 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21349 to ...
21350 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21351
6bad24a0
L
21352 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21353 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21354 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21355
42bbb1c3
L
21356 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21357 for x86-64.
21358 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21359
2d10d547
JM
213602012-05-31 Joseph Myers <joseph@codesourcery.com>
21361
21362 * math/math.h (M_El): Use two more decimal places.
21363 (M_LOG2El): Likewise.
21364 (M_LOG10El): Likewise.
21365 (M_LN2l): Likewise.
21366 (M_LN10l): Likewise.
21367 (M_PIl): Likewise.
21368 (M_PI_2l): Likewise.
21369 (M_PI_4l): Likewise.
21370 (M_1_PIl): Likewise.
21371 (M_2_PIl): Likewise.
21372 (M_2_SQRTPIl): Likewise.
21373 (M_SQRT2l): Likewise.
21374 (M_SQRT1_2l): Likewise.
21375
f230c29b
DM
213762012-05-31 David S. Miller <davem@davemloft.net>
21377
21378 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21379 values between float registers.
21380 * sysdeps/sparc/sparc64/memset.S: Likewise.
21381 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21382
fed806c3
MF
213832012-05-31 Mike Frysinger <vapier@gentoo.org>
21384
21385 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21386 -D_FORTIFY_SOURCE=1.
21387 (CPPFLAGS-tst-longjmp_chk.c): Define.
21388 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21389 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21390 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21391 CFLAGS-tst-wchar-h.c.
21392
30917259
MP
213932012-05-31 Marek Polacek <polacek@redhat.com>
21394
21395 [BZ #14132]
21396 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21397 __endmntent_internal): Remove declaration.
21398 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21399 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21400 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21401
1c58d5dc
DM
214022012-05-30 David S. Miller <davem@davemloft.net>
21403
21404 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21405 (___Q_simulate_exceptions): Use real FP ops rather than writing
21406 into the %fsr.
21407 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21408 Likewise.
21409
7dc00e0d
L
214102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21411
21412 [BZ #14117]
0bd53985
L
21413 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21414 * sysdeps/x86/bits/xtitypes.h: This.
21415
3a257e66
L
21416 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21417 * sysdeps/x86/bits/wordsize.h: This.
21418
62f62904
L
21419 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21420 * sysdeps/x86/bits/huge_vall.h: This.
21421
404fe9d9
L
21422 * sysdeps/i386/bits/select.h: Removed.
21423 * sysdeps/x86_64/bits/select.h: Renamed to ...
21424 * sysdeps/x86/bits/select.h: This.
21425
d48d0446
L
21426 * sysdeps/i386/bits/setjmp.h: Removed.
21427 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21428 * sysdeps/x86/bits/setjmp.h: This.
21429
7dc00e0d
L
21430 * sysdeps/i386/bits/mathdef.h: Removed.
21431 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21432 * sysdeps/x86/bits/mathdef.h: This.
21433
03277f8f
AS
214342012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21435
21436 [BZ #14132]
21437 * include/sys/socket.h (__connect_internal)
21438 (__libc_sa_len_internal): Remove declaration.
21439 (__connect, __libc_sa_len): Declare hidden_proto.
21440 (SA_LEN): Remove use of INTUSE.
21441 * socket/connect.c: Add libc_hidden_def.
21442 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21443 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21444 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21445 alias.
21446 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21447 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21448 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21449 of adding _internal alias.
21450
13764867
L
214512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21452
21453 [BZ #14117]
6bd97696
L
21454 * sysdeps/i386/bits/link.h: Removed.
21455 * sysdeps/i386/bits/linkmap.h: Likewise.
21456 * sysdeps/x86_64/bits/link.h: Renamed to ...
21457 * sysdeps/x86/bits/link.h: This.
21458 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21459 * sysdeps/x86/bits/linkmap.h: This.
21460
f726f0bb
L
21461 * sysdeps/i386/bits/endian.h: Removed.
21462 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21463 * sysdeps/x86/bits/endian.h: This.
21464
13764867
L
21465 * sysdeps/i386/bits/byteswap.h: Removed.
21466 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21467 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21468 * sysdeps/x86/bits/byteswap.h: This.
21469 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21470 * sysdeps/x86/bits/byteswap-16.h: This.
21471 * sysdeps/i386/Implies: Add x86.
21472 * sysdeps/x86_64/Implies: Likewise.
21473
ae251b0b
DM
214742012-05-30 David S. Miller <davem@davemloft.net>
21475
21476 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21477 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21478 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21479 (FP_TRAPPING_EXCEPTIONS): Define.
21480 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21481 (FP_TRAPPING_EXCEPTIONS): Define.
21482 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21483 subnormals only when inexact has been signalled or underflow
21484 exceptions are enabled.
21485 (_FP_PACK_CANONICAL): Likewise.
21486
d5c90867
L
214872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21488
21489 [BZ #14183]
21490 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21491 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21492
63f1549e
RH
214932012-05-30 Richard Henderson <rth@twiddle.net>
21494
8d8f2279
RH
21495 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21496 with #ifndef NOT_IN_libc.
21497
63f1549e
RH
21498 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21499 marked to avoid plt entry.
21500
0ab0291b
L
215012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21502
21503 [BZ #14112]
21504 * Makeconfig (default-abi): New macro.
21505 (abi-includes): Likewise.
21506 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21507 $(abi-$(default-abi)-lib-soname) for soname if defined.
21508 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21509 abi-variants.
21510 * Makefile (installed-stubs): Likewise.
21511 * include/stubs-biarch.h: Removed.
21512 * scripts/lib-names.awk: Only handle one library at a time.
21513 * scripts/soversions.awk: Remove WORDSIZE support.
21514 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21515 entries.
21516 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21517 Removed.
21518 (syscall-list-default-condition): Likewise.
21519 (syscall-list-default-condition): Likewise.
21520 (syscall-list-includes): Likewise.
21521 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21522 syscall-list-* with abi-*. Handle undefined abi-variants.
21523 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21524 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21525 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21526 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21527 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21528 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21529 Removed.
21530 (syscall-list-32-options): Likewise.
21531 (syscall-list-32-condition): Likewise.
21532 (syscall-list-64-options): Likewise.
21533 (syscall-list-64-condition): Likewise.
21534 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21535 macro.
21536 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21537 Renamed to ...
21538 (abi-*): This.
21539 (abi-64-ld-soname): New macro.
21540 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21541 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21542 Renamed to ...
21543 (abi-*): This.
21544 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21545 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21546
4da0431d
JM
215472012-05-30 Joseph Myers <joseph@codesourcery.com>
21548
3a85279c
JM
21549 * sysdeps/unix/sysv/linux/kernel-features.h
21550 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21551 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21552 include <kernel-features.h>.
21553 [!__NR_ftruncate64]: Remove conditional code.
21554 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21555 [__NR_ftruncate64]: Make code unconditional.
21556 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21557 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21558 include <kernel-features.h>.
21559 [!__NR_ftruncate64]: Remove conditional code.
21560 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21561 [__NR_ftruncate64]: Make code unconditional.
21562 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21564 include <kernel-features.h>.
21565 [!__NR_ftruncate64]: Remove conditional code.
21566 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21567 [__NR_ftruncate64]: Make code unconditional.
21568 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21570 include <kernel-features.h>.
21571 [!__NR_ftruncate64]: Remove conditional code.
21572 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21573 [__NR_ftruncate64]: Make code unconditional.
21574 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21575
4da0431d
JM
21576 * configure.in (libc_cv_fpie): Weaken to a compile test using
21577 LIBC_TRY_CC_OPTION.
21578 * configure: Regenerated.
21579
11ef492c
AK
215802012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21581
21582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21586 Refreshed.
21587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21593 Refreshed.
21594
d66ef399
DM
215952012-05-27 David S. Miller <davem@davemloft.net>
21596
21597 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21598 (___Q_zero): New.
21599 (__Q_simulate_exceptions): Return void. Change to simulate
21600 exceptions by writing into the %fsr.
21601 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21602 (__Qp_handle_exceptions): Likewise.
21603 (numbers): Delete.
21604 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21605 __Qp_handle_exceptions.
21606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21607 __Qp_handle_exceptions.
21608 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21609 as unused and give dummy FP_RND_NEAREST initializer.
21610 (FP_INHIBIT_RESULTS): Define.
21611 (___Q_simulate_exceptions): Update declaration.
21612 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21613 formatting.
21614 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21615 as unused and give dummy FP_RND_NEAREST initializer.
21616 (__Qp_handle_exceptions): Update declaration.
21617 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21618 formatting.
21619
04fb54b5
TS
216202012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21621
21622 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21623 the temporary FPU control word.
21624 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21625 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21626 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21627 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21628 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21629 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21630 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21631 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21632 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21633 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21634 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21635
3f99608f
KK
216362012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21637
21638 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21639 fields.
21640
65a4de4e
CLT
216412012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21642
21643 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21644 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21645 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21646 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21647 Likewise.
21648 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21649 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21650 Likewise.
21651
15749d40
UD
216522012-05-27 Ulrich Drepper <drepper@gmail.com>
21653
21654 * po/h.po: Update from translation team.
21655
25dbcb27
AS
216562012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21657
3d3f8e55
AS
21658 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21659
25dbcb27
AS
21660 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21661 handling of denormals.
21662 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21663 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21664 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21665 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21667 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21669 Likewise.
21670
7ad47a80 216712012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21672
21673 [BZ #14152]
21674 * math/libm-test.inc (fma_test): Don't always expect underflow
21675 exception.
21676
9c6ea9fa
SP
216772012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21678
21679 [BZ #12416]
21680 * elf/tst-execstack.c: Include stackinfo.h.
21681 (do_test): Adjust test case to ensure that pthread_getattr_np
21682 behaviour remains the same after marking stack executable.
21683
a8239222
JM
216842012-05-25 Joseph Myers <joseph@codesourcery.com>
21685
21686 * sysdeps/unix/sysv/linux/kernel-features.h
21687 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21688 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21689 kernel-features.h.
21690 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21691 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21692 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21693 kernel-features.h.
21694 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21695 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21696
918b5606
L
216972012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21698
21699 * configure.in: Define the default includes to being none.
21700 * configure: Regenerated.
21701
3a097cc7
RM
217022012-05-25 Roland McGrath <roland@hack.frob.com>
21703
8422c9a5
RM
21704 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21705 * sysdeps/x86_64/setjmp.S: Likewise.
21706 * sysdeps/i386/bsd-setjmp.S: Likewise.
21707 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21708 * sysdeps/i386/setjmp.S: Likewise.
21709 * sysdeps/i386/__longjmp.S: Likewise.
21710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21711 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21712
3a097cc7
RM
21713 * include/stap-probe.h: New file.
21714 * configure.in: Handle --enable-systemtap.
21715 * configure: Regenerated.
21716 * config.h.in (USE_STAP_PROBE): New #undef.
21717 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21718 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21719 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21720
21708942
JM
217212012-05-25 Joseph Myers <joseph@codesourcery.com>
21722
21723 [BZ #13717]
21724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21725 to 2.4.0 where earlier.
21726 * sysdeps/unix/sysv/linux/configure: Regenerated.
21727 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21728 <kernel-features.h>.
21729 [__ASSUME_32BITUIDS]: Make code unconditional.
21730 [!__ASSUME_32BITUIDS]: Remove conditional code.
21731 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21732 <kernel-features.h>.
21733 [__ASSUME_32BITUIDS]: Make code unconditional.
21734 [!__ASSUME_32BITUIDS]: Remove conditional code.
21735 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21736 [__ASSUME_32BITUIDS]: Make code unconditional.
21737 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21738 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21739 <kernel-features.h>.
21740 [__ASSUME_32BITUIDS]: Make code unconditional.
21741 [!__ASSUME_32BITUIDS]: Remove conditional code.
21742 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21743 <kernel-features.h>.
21744 [__ASSUME_32BITUIDS]: Make code unconditional.
21745 [!__ASSUME_32BITUIDS]: Remove conditional code.
21746 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21747 <kernel-features.h>.
21748 [__ASSUME_32BITUIDS]: Make code unconditional.
21749 [!__ASSUME_32BITUIDS]: Remove conditional code.
21750 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21751 <kernel-features.h>.
21752 [__ASSUME_32BITUIDS]: Make code unconditional.
21753 [!__ASSUME_32BITUIDS]: Remove conditional code.
21754 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21755 <kernel-features.h>.
21756 [__ASSUME_32BITUIDS]: Make code unconditional.
21757 [!__ASSUME_32BITUIDS]: Remove conditional code.
21758 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21759 <kernel-features.h>.
21760 [__ASSUME_32BITUIDS]: Make code unconditional.
21761 [!__ASSUME_32BITUIDS]: Remove conditional code.
21762 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21763 <kernel-features.h>.
21764 [__ASSUME_32BITUIDS]: Make code unconditional.
21765 [!__ASSUME_32BITUIDS]: Remove conditional code.
21766 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21767 <kernel-features.h>.
21768 [__ASSUME_32BITUIDS]: Make code unconditional.
21769 [!__ASSUME_32BITUIDS]: Remove conditional code.
21770 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21771 <kernel-features.h>.
21772 [__ASSUME_32BITUIDS]: Make code unconditional.
21773 [!__ASSUME_32BITUIDS]: Remove conditional code.
21774 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21775 <kernel-features.h>.
21776 [__ASSUME_32BITUIDS]: Make code unconditional.
21777 [!__ASSUME_32BITUIDS]: Remove conditional code.
21778 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21779 <kernel-features.h>.
21780 [__NR_setresgid] (__setresgid): Do not declare.
21781 [__ASSUME_32BITUIDS]: Make code unconditional.
21782 [!__ASSUME_32BITUIDS]: Remove conditional code.
21783 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21784 <kernel-features.h>.
21785 [__NR_setresuid] (__setresuid): Do not declare.
21786 [__ASSUME_32BITUIDS]: Make code unconditional.
21787 [!__ASSUME_32BITUIDS]: Remove conditional code.
21788 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21789 <kernel-features.h>.
21790 [__ASSUME_32BITUIDS]: Make code unconditional.
21791 [!__ASSUME_32BITUIDS]: Remove conditional code.
21792 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21793 <kernel-features.h>.
21794 [__ASSUME_32BITUIDS]: Make code unconditional.
21795 [!__ASSUME_32BITUIDS]: Remove conditional code.
21796 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21797 <kernel-features.h>.
21798 [__ASSUME_32BITUIDS]: Make code unconditional.
21799 [!__ASSUME_32BITUIDS]: Remove conditional code.
21800 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21801 <kernel-features.h>.
21802 [__ASSUME_32BITUIDS]: Make code unconditional.
21803 [!__ASSUME_32BITUIDS]: Remove conditional code.
21804 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21805 <kernel-features.h>.
21806 [__ASSUME_32BITUIDS]: Make code unconditional.
21807 [!__ASSUME_32BITUIDS]: Remove conditional code.
21808 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21809 <kernel-features.h>.
21810 [__ASSUME_32BITUIDS]: Make code unconditional.
21811 [!__ASSUME_32BITUIDS]: Remove conditional code.
21812 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21813 <kernel-features.h>.
21814 [__ASSUME_32BITUIDS]: Make code unconditional.
21815 [!__ASSUME_32BITUIDS]: Remove conditional code.
21816 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21817 <kernel-features.h>.
21818 [__ASSUME_32BITUIDS]: Make code unconditional.
21819 [!__ASSUME_32BITUIDS]: Remove conditional code.
21820 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21821 <kernel-features.h>.
21822 [__ASSUME_32BITUIDS]: Make code unconditional.
21823 [!__ASSUME_32BITUIDS]: Remove conditional code.
21824 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21825 <kernel-features.h>.
21826 [__ASSUME_32BITUIDS]: Make code unconditional.
21827 [!__ASSUME_32BITUIDS]: Remove conditional code.
21828 * sysdeps/unix/sysv/linux/kernel-features.h
21829 (__ASSUME_SETRESUID_SYSCALL): Remove.
21830 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21831 (__ASSUME_32BITUIDS): Likewise.
21832 (__ASSUME_LDT_WORKS): Likewise.
21833 (__ASSUME_O_DIRECTORY): Likewise.
21834 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21835 architecture but not kernel version.
21836 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21837 (__ASSUME_MMAP2_SYSCALL): Likewise.
21838 (__ASSUME_STAT64_SYSCALL): Likewise.
21839 (__ASSUME_IPC64): Likewise.
21840 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21841 <kernel-features.h>.
21842 [__ASSUME_32BITUIDS]: Make code unconditional.
21843 [!__ASSUME_32BITUIDS]: Remove conditional code.
21844 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21845 <kernel-features.h>.
21846 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21847 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21848 132096]: Remove conditional code.
21849 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21850 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21851 <kernel-features.h>.
21852 [__ASSUME_32BITUIDS]: Make code unconditional.
21853 [!__ASSUME_32BITUIDS]: Remove conditional code.
21854 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21855 <kernel-features.h>.
21856 [__ASSUME_32BITUIDS]: Make code unconditional.
21857 [!__ASSUME_32BITUIDS]: Remove conditional code.
21858 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21859 <kernel-features.h>.
21860 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21861 unconditional.
21862 (__setresgid): Do not declare.
21863 [__ASSUME_32BITUIDS]: Make code unconditional.
21864 [!__ASSUME_32BITUIDS]: Remove conditional code.
21865 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21866 <kernel-features.h>.
21867 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21868 unconditional.
21869 (__setresuid): Do not declare.
21870 [__ASSUME_32BITUIDS]: Make code unconditional.
21871 [!__ASSUME_32BITUIDS]: Remove conditional code.
21872 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21873 <kernel-features.h>.
21874 [__ASSUME_32BITUIDS]: Make code unconditional.
21875 [!__ASSUME_32BITUIDS]: Remove conditional code.
21876 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21877 <kernel-features.h>.
21878 [__ASSUME_32BITUIDS]: Make code unconditional.
21879 [!__ASSUME_32BITUIDS]: Remove conditional code.
21880
a386f1cc
RH
218812012-05-25 Richard Henderson <rth@twiddle.net>
21882
21883 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21884 dl_hwcap to ifunc resolver.
21885 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21886 elf_ifunc_invoke.
21887 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21888 dl_hwcap to ifunc resolver.
21889 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21890
b6550497
JM
218912012-05-24 Joseph Myers <joseph@codesourcery.com>
21892
21893 [BZ #14153]
21894 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21895 for |x| <= 2**-26, not 2**-57.
21896 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21897 exception.
21898
b0bc23a1
JL
218992012-05-24 Jeff Law <law@redhat.com>
21900
21901 * stdio-common/Makefile (tests): Add bug25.
21902 * stdio-common/bug25.c: New test.
21903
347c92e9
L
219042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21905
21906 [BZ #13576]
21907 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21908 multiple of MALLOC_ALIGNMENT in size.
21909 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21910
6bcc8b3f
JM
219112012-05-24 Joseph Myers <joseph@codesourcery.com>
21912
21913 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21914 Require >= 256.
21915 (FILENAME_MAX): Use macro-int-constant.
21916 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21917 (_IOFBF): Use macro-int-constant.
21918 (_IOLBF): Likewise.
21919 (_IONBF): Likewise.
21920 (SEEK_CUR): Likewise.
21921 (SEEK_END): Likewise.
21922 (SEEK_SET): Likewise.
21923 (TMP_MAX): Likewise.
21924 (EOF): Use macro-int-constant. Require < 0.
21925 (NULL): Use macro-constant. Require == 0.
21926 (stdin): Require type to be FILE *.
21927 (stdout): Likewise.
21928 (stderr): Likewise.
21929 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21930 macro-int-constant.
21931 (EXIT_SUCCESS): Likewise.
21932 (NULL): Use macro-constant. Require == 0.
21933 (RAND_MAX): Use macro-int-constant.
21934 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21935 [C99-based standards] (strtof): Require function.
21936 [C99-based standards] (strtold): Likewise.
21937 [C99-based standards] (strtoll): Likewise.
21938 [C99-based standards] (strtoull): Likewise.
21939 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21940 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21941 [ISO || ISO99 || ISO11] (math.h): Likewise.
21942 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21943 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21945
d18ea0c5
AS
219462012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21947
21948 [BZ #14132]
56d25bb8
AS
21949 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21950 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21951 * intl/dgettext.c (DCGETTEXT): Likewise.
21952 * intl/gettext.c (DCGETTEXT): Likewise.
21953 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21954 * posix/regex_internal.h (gettext): Likewise.
21955 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21956 Remove declaration.
21957 * include/argz.h (__argz_count_internal)
21958 (__argz_stringify_internal): Remove declaration.
21959 (__argz_count, __argz_stringify): Declare hidden proto.
21960 * intl/dcgettext.c: Remove use of INTDEF.
21961 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21962 * string/argz-stringify.c: Likewise.
21963 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21964 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21965 Declare hidden proto.
d18ea0c5
AS
21966 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21967 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21968 Declare hidden proto.
21969 * include/stdio.h (__asprintf_internal): Don't declare.
21970 (__asprintf): Don't define as macro. Declare hidden proto.
21971 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21972 (__fsetlocking): Declare hidden proto.
21973 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21974 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21975 hidden proto.
21976 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21977 (_IO_setlinebuf): Remove use of INTUSE.
21978 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21979 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21980 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21981 Remove declaration.
21982 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21983 (_IO_do_flush): Remove use of INTUSE.
21984 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21985 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21986 (_IO_adjust_column, _IO_least_wmarker)
21987 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21988 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21989 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21990 (_IO_default_doallocate, _IO_wdefault_doallocate)
21991 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21992 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21993 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21994 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21995 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21996 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21997 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21998 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21999 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22000 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22001 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22002 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22003 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22004 proto.
22005 (_IO_flush_all_internal, _IO_adjust_column_internal)
22006 (_IO_default_uflow_internal, _IO_default_finish_internal)
22007 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22008 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22009 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22010 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22011 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22012 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22013 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22014 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22015 (_IO_file_close_internal, _IO_file_close_it_internal)
22016 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22017 (_IO_file_init_internal, _IO_file_attach_internal)
22018 (_IO_file_fopen_internal, _IO_file_read_internal)
22019 (_IO_file_sync_internal, _IO_file_seek_internal)
22020 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22021 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22022 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22023 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22024 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22025 (_IO_list_all_internal, _IO_link_in_internal)
22026 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22027 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22028 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22029 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22030 (_IO_do_write_internal, _IO_padn_internal)
22031 (_IO_getline_info_internal, _IO_getline_internal)
22032 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22033 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22034 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22035 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22036 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22037 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22038 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22039 with libc_hidden_ver, remove use of INTUSE.
22040 * libio/genops.c: Likewise.
22041 * libio/freopen.c: Likewise.
22042 * libio/freopen64.c: Likewise.
22043 * libio/iofclose.c: Likewise.
22044 * libio/iofdopen.c: Likewise.
22045 * libio/iofflush.c: Likewise.
22046 * libio/iofflush_u.c: Likewise.
22047 * libio/iofgets.c: Likewise.
22048 * libio/iofgets_u.c: Likewise.
22049 * libio/iofopen.c: Likewise.
22050 * libio/iofopncook.c: Likewise.
22051 * libio/iofread.c: Likewise.
22052 * libio/iofread_u.c: Likewise.
22053 * libio/ioftell.c: Likewise.
22054 * libio/iofwrite.c: Likewise.
22055 * libio/iogetline.c: Likewise.
22056 * libio/iogets.c: Likewise.
22057 * libio/iogetwline.c: Likewise.
22058 * libio/iopadn.c: Likewise.
22059 * libio/iopopen.c: Likewise.
22060 * libio/ioseekoff.c: Likewise.
22061 * libio/ioseekpos.c: Likewise.
22062 * libio/iosetbuffer.c: Likewise.
22063 * libio/iosetvbuf.c: Likewise.
22064 * libio/ioungetc.c: Likewise.
22065 * libio/ioungetwc.c: Likewise.
22066 * libio/iovdprintf.c: Likewise.
22067 * libio/iovsprintf.c: Likewise.
22068 * libio/iovsscanf.c: Likewise.
22069 * libio/memstream.c: Likewise.
22070 * libio/obprintf.c: Likewise.
22071 * libio/oldfileops.c: Likewise.
22072 * libio/oldiofclose.c: Likewise.
22073 * libio/oldiofdopen.c: Likewise.
22074 * libio/oldiofopen.c: Likewise.
22075 * libio/oldiopopen.c: Likewise.
22076 * libio/oldstdfiles.c: Likewise.
22077 * libio/putc.c: Likewise.
22078 * libio/setbuf.c: Likewise.
22079 * libio/setlinebuf.c: Likewise.
22080 * libio/stdfiles.c: Likewise.
22081 * libio/strops.c: Likewise.
22082 * libio/vasprintf.c: Likewise.
22083 * libio/vscanf.c: Likewise.
22084 * libio/vsnprintf.c: Likewise.
22085 * libio/vswprintf.c: Likewise.
22086 * libio/wfiledoalloc.c: Likewise.
22087 * libio/wfileops.c: Likewise.
22088 * libio/wgenops.c: Likewise.
22089 * libio/wmemstream.c: Likewise.
22090 * libio/wstrops.c: Likewise.
22091 * libio/__fpurge.c: Likewise.
22092 * libio/__fsetlocking.c: Likewise.
22093 * assert/assert.c: Likewise.
22094 * debug/fgets_chk.c: Likewise.
22095 * debug/fgets_u_chk.c: Likewise.
22096 * debug/fread_chk.c: Likewise.
22097 * debug/fread_u_chk.c: Likewise.
22098 * debug/gets_chk.c: Likewise.
22099 * debug/obprintf_chk.c: Likewise.
22100 * debug/vasprintf_chk.c: Likewise.
22101 * debug/vdprintf_chk.c: Likewise.
22102 * debug/vsnprintf_chk.c: Likewise.
22103 * debug/vsprintf_chk.c: Likewise.
22104 * malloc/mtrace.c: Likewise.
22105 * misc/error.c: Likewise.
22106 * misc/syslog.c: Likewise.
22107 * stdio-common/asprintf.c: Likewise.
22108 * stdio-common/fxprintf.c: Likewise.
22109 * stdio-common/getw.c: Likewise.
22110 * stdio-common/isoc99_fscanf.c: Likewise.
22111 * stdio-common/isoc99_scanf.c: Likewise.
22112 * stdio-common/isoc99_vfscanf.c: Likewise.
22113 * stdio-common/isoc99_vscanf.c: Likewise.
22114 * stdio-common/isoc99_vsscanf.c: Likewise.
22115 * stdio-common/printf-prs.c: Likewise.
22116 * stdio-common/printf_fp.c: Likewise.
22117 * stdio-common/printf_fphex.c: Likewise.
22118 * stdio-common/printf_size.c: Likewise.
22119 * stdio-common/putw.c: Likewise.
22120 * stdio-common/scanf.c: Likewise.
22121 * stdio-common/sprintf.c: Likewise.
22122 * stdio-common/tmpfile.c: Likewise.
22123 * stdio-common/vfprintf.c: Likewise.
22124 * stdio-common/vfscanf.c: Likewise.
22125 * stdlib/strfmon_l.c: Likewise.
22126 * sunrpc/openchild.c: Likewise.
22127 * sunrpc/xdr_stdio.c: Likewise.
22128 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22129 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22130
d6c33fda
RM
221312012-05-24 Roland McGrath <roland@hack.frob.com>
22132
c1487492
RM
22133 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22134
22135 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22136 in the third column, to generate for the shared library an IFUNC
22137 that uses _dl_vdso_vsym.
22138 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22139 * Makeconfig (object-suffixes-noshared): New variable.
22140
22141 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22142 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22143 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22144 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22145
d6c33fda
RM
22146 [BZ #14132]
22147 * include/sys/time.h (__gettimeofday): Remove macro.
22148 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22149 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22150 Remove INTDEF.
22151 (__gettimeofday): Add libc_hidden_def.
22152 (gettimeofday): Add libc_hidden_weak.
22153 * sysdeps/mach/gettimeofday.c: Likewise.
22154 * sysdeps/posix/gettimeofday.c: Likewise.
22155 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22156 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22157 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22158 (__gettimeofday_internal): Remove strong_alias.
22159 (__gettimeofday): Add libc_hidden_def.
22160 (gettimeofday): Add libc_hidden_weak.
22161 * sysdeps/unix/syscalls.list (gettimeofday):
22162 Remove __gettimeofday_internal alias.
22163
b5a2bbe6
L
221642012-05-24 Daniel Jacobowitz <drow@false.org>
22165 H.J. Lu <hongjiu.lu@intel.com>
22166
22167 [BZ #12495]
22168 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22169 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22170 (largebin_index_32_big): New.
22171 (largebin_index): Use it for 16-byte alignment.
22172 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22173 correction with front_misalign.
22174
cfba4fda
L
221752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22176
7f907421
L
22177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22179 Likewise.
22180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22181 Likewise.
22182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22183 Likewise.
22184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22185 Likewise.
22186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22187 Likewise.
22188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22189 Likewise.
22190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22191 Likewise.
22192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22193 Likewise.
22194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22195 Likewise.
22196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22197 Likewise.
22198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22199 Likewise.
22200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22201 Likewise.
22202
cfba4fda
L
22203 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22204 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22205
80bad0cc
JM
222062012-05-24 Joseph Myers <joseph@codesourcery.com>
22207
7a25eb06
JM
22208 [BZ #10846]
22209 [BZ #14036]
22210 * math/libm-test.inc (exp_test): Add test from bug 14036.
22211 (pow_test): Add test from bug 10846.
22212
795405f9
JM
22213 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22214 and other flags.
22215 (special_function): Do not include flags in test name.
22216 (parse_args): Likewise.
22217 * sysdeps/i386/fpu/libm-test-ulps: Update.
22218 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22219 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22220 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22222
80bad0cc
JM
22223 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22224 exceptions.
22225 * math/libm-test.inc ("Philosophy"): Update comment about
22226 exception testing.
22227 (UNDERFLOW_EXCEPTION): New macro.
22228 (UNDERFLOW_EXCEPTION_OK): Likewise.
22229 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22230 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22231 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22232 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22233 (INVALID_EXCEPTION_OK): Update value.
22234 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22235 (OVERFLOW_EXCEPTION_OK): Likewise.
22236 (IGNORE_ZERO_INF_SIGN): Likewise.
22237 (test_exceptions): Handle underflow exceptions.
22238 (acos_test): Update for underflow exception expectations.
22239 (cexp_test): Likewise.
22240 (clog_test): Likewise.
22241 (clog10_test): Likewise.
22242 (csqrt_test): Likewise.
22243 (ctan_test): Likewise.
22244 (ctanh_test): Likewise.
22245 (exp_test): Likewise.
22246 (exp10_test): Likewise.
22247 (exp2_test): Likewise.
22248 (expm1_test): Likewise.
22249 (fma_test): Likewise.
22250 (j0_test): Likewise.
22251 (jn_test): Likewise.
22252 (nexttoward_test): Likewise.
22253 (pow_test): Likewise.
22254 (scalbn_test): Likewise.
22255 (scalbln_test): Likewise.
22256 (tan_test): Likewise.
22257 (y1_test): Likewise.
22258 * sysdeps/i386/fpu/libm-test-ulps: Update.
22259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22260
9e0e3d0b
DM
222612012-05-23 David S. Miller <davem@davemloft.net>
22262
22263 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22264 (__libc_sigaction): Remove unused local variables.
22265
ccd0a08f
L
222662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22267
22268 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22269
62bdf9a6
PE
222702012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22271
f8591f80
PE
22272 mktime: avoid signed integer overflow
22273 * time/mktime.c (__mktime_internal): Do not mishandle the case
22274 where diff == INT_MIN.
22275
94c7d826
PE
22276 mktime: simplify computation of average
22277 * time/mktime.c (ranged_convert): Use new time_t_avg function
22278 instead of rolling our own (probably-slower) code.
22279
ce73d683
PE
22280 mktime: do not assume signed right shift propagates sign bit
22281 * time/mktime.c (isdst_differ): New static function.
22282 (__mktime_internal): No need to normalize tm_isdst now.
22283 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22284 tm_isdst values.
22285
72a22e59
PE
22286 mktime: merge another wrapv change from gnulib
22287 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22288 from some compilers.
22289
68605433
PE
22290 mktime: remove incorrect attempt at unusual arithmetics
22291 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22292 The code didn't really work on such machines anyway.
22293 (TYPE_MINIMUM): Assume two's complement.
22294 (twos_complement_arithmetic): Verify that long_int and time_t
22295 are two's complement (or unsigned, in the latter case).
22296
03cf7fe3
PE
22297 mktime: check signed shifts on long_int and time_t, too
22298 * time/mktime.c (SHR): Check that shifts work as desired
22299 on the types long_int and time_t too, as SHR is used on
22300 such types.
22301
f04dfbc2
PE
22302 mktime: do not assume 'long' is wide enough
22303 * time/mktime.c (verify): Move decl up.
22304 (long_int): New type.
22305 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22306 to remove assumption in the code that 'long' is wide enough to
22307 store year values. This assumption is not true on x32 and on
22308 some non-glibc platforms.
22309
62bdf9a6
PE
22310 mktime: merge wrapv change from gnulib
22311 * time/mktime.c (WRAPV): New macro.
22312 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22313 (guess_time_tm, __mktime_internal): Do not assume that signed
22314 integer overflow wraps around; modern compilers generate code
22315 where this assumption is no longer valid.
22316
5e292e4f
L
223172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22318
22319 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22320 Replace "jmp L(pseudo_end)" with "ret".
22321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22322 Likewise.
22323
8caf8c87
AJ
223242012-05-23 Andreas Jaeger <aj@suse.de>
22325
22326 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22327 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22328
1a09dc56
AJ
223292012-05-23 Andreas Jaeger <aj@suse.de>
22330 Maximilian Attems <max@stro.at>
22331
22332 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22333 New macros.
22334
1c87aba0
L
223352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22336
22337 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22338 code so that pseudo_end is just ret and the stack pointer is
22339 correct also for static library in error case.
22340
40e45bd5
JM
223412012-05-23 Joseph Myers <joseph@codesourcery.com>
22342
c2670533
JM
22343 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22344 move to syscalls.list.
22345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22349
40e45bd5
JM
22350 * manual/install.texi (Running make install): Do not mention Linux
22351 kernel version for which pt_chown is not needed.
22352 (Linux): Do not mention problems with nscd with 2.0 kernels.
22353 * INSTALL: Regenerated.
22354
be08eda5
AJ
223552012-05-23 Andreas Jaeger <aj@suse.de>
22356
22357 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22358 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22359 macro.
22360 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22361 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22362 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22363 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22364 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22365 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22366 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22367 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22368 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22369 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22370 * sysdeps/unix/sysv/linux/bits/in.h
22371 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22372
a6a056bb
RM
223732012-05-22 Roland McGrath <roland@hack.frob.com>
22374
22375 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22376 (PREPARE_VERSION): Just use assert instead, it will be elided
22377 under [NDEBUG] anyway.
22378
c9009328
L
223792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22380
22381 * sysdeps/unix/sysv/linux/Makefile: Include
22382 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 22383 (sysdep_routines): Remove sysctl.
c9009328
L
22384 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22385 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22386 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22387 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22388 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22389
73338355
AJ
223902012-05-22 Andreas Jaeger <aj@suse.de>
22391
22392 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22393 that pseudo_end is just ret and the stack pointer is correct also
22394 for static library in error case.
22395
d44638b0
PP
223962012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22397
22398 [BZ #14122]
22399 * nss/nsswitch.c (defconfig_entries): New variable.
22400 (__nss_database_lookup): Don't leak defconfig entries.
22401 (nss_parse_service_list): Don't leak on error paths.
22402 (free_database_entries): New function.
22403 (free_defconfig): New function.
22404 (free_mem): Move common code to free_database_entries.
22405
31a39bd8
L
224062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22407
da0331a8
L
22408 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22409 Add arch_prctl.
22410 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22411
31a39bd8
L
22412 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22413 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22415 New macro.
22416 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22417 (INTERNAL_SYSCALL_TYPES): Likewise.
22418 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22419 (LOAD_REGS_TYPES_[1-6]): Likewise.
22420 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22421 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22422
45470df3
AZ
224232012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22424
22425 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22426 copysignl for GLIBC_2_0.
22427 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22428 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22430 logbl for GLIBC_2_0.
22431 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22432 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22433
98a61bcb
L
224342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22435
a4f6e481
L
22436 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22437 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22438
f63d5db6
L
22439 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22440 Use "neg %eax".
22441
98a61bcb
L
22442 * time/mktime.c: Update copyright years.
22443
95770f14
PE
224442012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22445
6226efbd
PE
22446 mktime: merge comment-quoting-style change from gnulib
22447 * time/mktime.c: Quote 'like this' in comments.
22448 The GNU coding standards suggest that we no longer quote `like this',
22449 as "`" and "'" are typically rendered asymmetrically nowadays.
22450 The typical gnulib style is to quote 'like this' when quoting
22451 code, and "like this" when quoting English.
22452
b99e4f78
PE
22453 * time/mktime.c (compile-command): Add "-I.".
22454
643e01e6
PE
22455 mktime: merge mktime-internal.h change from gnulib
22456 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22457
2554247d
PE
22458 mktime: merge time_r change from gnulib
22459 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22460
826dd0ab
PE
22461 mktime: merge DEBUG change from gnulib
22462 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22463 case system <time.h> has a #define.
22464
bd83aabe
PE
22465 mktime: merge <sys/types.h> change from gnulib
22466 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22467 since <time.t> is now guaranteed to define time_t.
22468
95770f14
PE
22469 mktime: merge HAVE_CONFIG_H change from gnulib
22470 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22471
5e1a27a9
L
224722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22473
0e44a77e
L
22474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22475 Use "neg %eax".
22476
5e1a27a9
L
22477 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22478 __rlim_t cast.
22479 (struct rusage): Use anonymous union to pad each field to
22480 __syscall_slong_t.
22481
46259bec
DM
224822012-05-21 David S. Miller <davem@davemloft.net>
22483
22484 * Makefules (o-iterator): Remove .s cases.
22485 (compile-command.s): Delete.
22486 (COMPILE.s): Delete.
22487 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22488
59f0c22e
JM
224892012-05-21 Joseph Myers <joseph@codesourcery.com>
22490
22491 * configure.in (libc_cv_predef_stack_protector): Only consider
22492 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22493 * configure: Regenerated.
22494
20c07380
L
224952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22496
bbb3154b
L
22497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22498 New macro. Use R*LP on int and pointer.
22499 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22500 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22501 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22502 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22503
20c07380
L
22504 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22505 [__WORDSIZE_TIME64_COMPAT32] instead of
22506 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22507 (struct utmp): Likewise.
22508 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22509 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22510 Renamed to ...
22511 (__WORDSIZE_TIME64_COMPAT32): This.
22512 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22513 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22514 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22515 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22516 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22517 (__WORDSIZE_TIME64_COMPAT32): New macro.
22518
d8d1017e
AJ
225192012-05-21 Andreas Jaeger <aj@suse.de>
22520
22521 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22522 only if [SHARED]. Add prototype for __wcschr_ia32.
22523
6c7fb145
RM
225242012-05-21 Roland McGrath <roland@hack.frob.com>
22525
22526 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22527 of %rbp unmolested in the jmp_buf while mangling the low bits.
22528 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22529 unmolested high bits of %rbp while demangling the low bits.
22530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22531
66274218
AJ
225322012-05-21 Andreas Jaeger <aj@suse.de>
22533
07c58f8f
AJ
22534 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22535 * sunrpc/svc_simple.c: Use it for registerrpc.
22536 * sunrpc/xcrypt.c: Use it for passwd2des.
22537
66274218
AJ
22538 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22539
61f65140
L
225402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22541
22542 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22543 Don't define if [__SYSCALL_WORDSIZE != 32].
22544 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22545 New macro.
22546
5fefb436
AJ
225472012-05-21 Bruno Haible <bruno@clisp.org>
22548 Andreas Jaeger <aj@suse.de>
22549
22550 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22551 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22552 inptr and inend for must_buffer_ch.
22553 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22554 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22555 * stdio-common/Makefile (tests): Remove bug15.
22556 (bug15-ENV): Remove macro.
22557 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22558 anymore.
22559
d8e272ab
AJ
225602012-05-19 Andreas Jaeger <aj@suse.de>
22561 Roland McGrath <roland@hack.frob.com>
22562
22563 * manual/contrib.texi: Completely rewritten. It contains now an
22564 alphabetical list of contributors and their contributions.
22565
4a56a162
RH
225662012-05-21 Richard Henderson <rth@twiddle.net>
22567
22568 * misc/getauxval.c (__getauxval): Use unsigned long int.
22569 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22570 (getauxval): Use unsigned long int.
22571
d024d23c
L
225722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22573
22574 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22575
cbc00a03
RM
225762012-05-21 Roland McGrath <roland@hack.frob.com>
22577
22578 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22579 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22580 __alignof__ (long double).
22581
478143fa
AZ
225822012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22583
22584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22585
c7683a6d
RH
225862012-05-20 Richard Henderson <rth@twiddle.net>
22587
22588 * misc/getauxval.c: New file.
22589 * misc/sys/auxv.h: New file.
22590 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22591 (routines): Add getauxval.
22592 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22593 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22594 * elf/dl-sysdep.c (_dl_auxv): Remove.
22595 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22596 * elf/dl-support.c (_dl_auxv): New variable.
22597 (_dl_aux_init): Initialize it.
22598 * manual/startup.texi (Auxiliary Vector): New node.
22599 * sysdeps/generic/bits/hwcap.h: New file.
22600 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22601 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22602 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22603 * sysdeps/sparc/sysdep.h: ... here. Include it.
22604 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22605 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22607 Update.
c7683a6d
RH
22608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22616
a6f1845d
AZ
226172012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22618
22619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22620
cbcbe830
DM
226212012-05-19 David S. Miller <davem@davemloft.net>
22622
22623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22624
e0b16cc2
JM
226252012-05-19 Joseph Myers <joseph@codesourcery.com>
22626
22627 [BZ #14123]
22628 * math/s_ccosh.c: Include <float.h>
22629 (__ccosh): Avoid internal overflow calculating sinh and cosh
22630 values before multiplying by sin and cos values.
22631 * math/s_ccoshf.c: Likewise.
22632 * math/s_ccoshl.c: Likewise.
22633 * math/s_csin.c: Likewise.
22634 * math/s_csinf.c: Likewise.
22635 * math/s_csinl.c: Likewise.
22636 * math/s_csinh.c: Likewise.
22637 * math/s_csinhf.c: Likewise.
22638 * math/s_csinhl.c: Likewise.
22639 * math/libm-test.inc (ccos_test): Add more tests.
22640 (ccosh_test): Likewise.
22641 (csin_test): Likewise.
22642 (csinh_test): Likewise.
22643 * sysdeps/i386/fpu/libm-test-ulps: Update.
22644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22645
6ad13e08
L
226462012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22647
f66f0ce8
L
22648 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22649 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22650
6ad13e08
L
22651 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22652
b1d072a7
JM
226532012-05-19 Joseph Myers <joseph@codesourcery.com>
22654
22655 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22656 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22657 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22658 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22659 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22660 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22661 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22662 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22663 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22664 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22665 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22666 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22667 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22668 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22669 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22670 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22671 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22672 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22673 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22674 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22675 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22676 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22677 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22678 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22679 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22680 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22681 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22682 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22683 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22684 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22685 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22686
9eae47cb
AJ
226872012-05-18 Andreas Jaeger <aj@suse.de>
22688
22689 * csu/.gitignore: Delete.
22690
bb07f69f
L
226912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22692
22693 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22694 (timex): Use __syscall_slong_t.
22695
e6bdb741
AJ
226962012-05-18 Andreas Jaeger <aj@suse.de>
22697 Carlos O'Donell <carlos_odonell@mentor.com>
22698
22699 * manual/install.texi (Configuring and compiling): Update
22700 description about files modified in the source directory.
d6c33fda 22701 * INSTALL: Regenerated.
e6bdb741 22702
1b74487e
L
227032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22704
22705 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22706 value. Use "or" to set return value to -1.
22707 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22708 negate return value.
22709
a88b64b9
TMQMF
227102012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22711
22712 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22713 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22714 failure if the compiler has Graphite support disabled.
22715 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22716 Likewise.
22717 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22718 CFLAGS-memmove.c): Likewise.
22719 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22720 Likewise.
22721
3707636e
L
227222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22723
610b8622
L
22724 * sysdeps/x86_64/x32/_itoa.h: New file.
22725
7cd195df
L
22726 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22727 getdents system call only if kernel and user dirents have the
22728 same d_ino and d_off.
22729
94b07d20
L
22730 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22731 LLONG_MAX != LONG_MAX.
22732 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22733 (_fitoa_word): Likewise.
22734
18298070
L
22735 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22736 years.
22737 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22738 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22739 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22740
553c7ea4
L
22741 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22742 include <bits/wordsize.h>. Check __x86_64__ instead of
22743 __WORDSIZE.
22744 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22745 if __x86_64__ is defined. Use anonymous union on fpstate.
22746
3707636e
L
22747 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22748 anonymous union.
22749
b53ef01a
AS
227502012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22751
37fb1dc0
AS
22752 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22753 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22754 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22755 Refer to _rtld_local_ro instead of _rtld_global_ro.
22756 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22757 Likewise.
22758 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22759 Likewise.
22760 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22761 Likewise.
22762 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22763 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22764 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22765
b53ef01a
AS
22766 * sysdeps/powerpc/powerpc32/dl-machine.c
22767 (__elf_machine_runtime_setup) [PROF]: Don't reference
22768 _dl_prof_resolve.
22769
7a185db2
AJ
227702012-05-18 Andreas Jaeger <aj@suse.de>
22771
22772 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22773 function only available for GCCs before 3.4 since GCC 3.4
22774 introduced a builtin.
22775 (lrint): Likewise.
22776 (llrintf): Likewise.
22777 (llrint): Likewise.
22778 (fmaxf): Likewise.
22779 (fmax): Likewise.
22780 (fminf): Likewise.
22781 (fmin): Likewise.
22782 (rint): Likewise.
22783 (rintf): Likewise.
22784 (nearbyint): Likewise.
22785 (nearbyintf): Likewise.
22786 (ceil): Likewise.
22787 (ceilf): Likewise.
22788 (floor): Likewise.
22789 (floorf): Likewise.
22790
3e5aef87
L
227912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22792
428bd707
L
22793 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22794 on both fields and cast pointer to __syscall_ulong_t.
22795
3e5aef87
L
22796 * bits/types.h (__fsword_t): New type.
22797 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22798 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22799 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22800 (__FSWORD_T_TYPE): Likewise.
22801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22802 (__FSWORD_T_TYPE): Likewise.
22803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22804 (__FSWORD_T_TYPE): Likewise.
22805 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22806 (__FSWORD_T_TYPE): Likewise.
22807 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22808 __SWORD_TYPE with __fsword_t.
22809 (statfs64): Likewise.
22810
1ba7c3dc
DM
228112012-05-17 David S. Miller <davem@davemloft.net>
22812
22813 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22814
59910343
AJ
228152012-05-17 Andreas Jaeger <aj@suse.de>
22816
22817 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22818 warning.
22819
2e4c1e9e
L
228202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22821
22822 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22823
de7f5ce7
AJ
228242012-05-17 Andreas Jaeger <aj@suse.de>
22825
22826 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22827 when it is used.
22828
286abc3d
CM
228292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22830
22831 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22832
477cc68e
L
228332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22834
22835 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22836 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22837
1a0994f5
CD
228382012-05-17 Andreas Jaeger <aj@suse.de>
22839 Carlos O'Donell <carlos_odonell@mentor.com>
22840
22841 [BZ #14059]
22842 * sysdeps/x86_64/multiarch/init-arch.h
22843 (bit_YMM_Usable): Rename to...
22844 (bit_AVX_Usable): ... this.
22845 (bit_FMA4_Usable): New macro.
22846 (bit_XMM_state): New macro.
22847 (bit_YMM_state): New macro.
22848 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22849 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22850 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22851 (CPUID_OSXSAVE): New macro.
22852 (CPUID_AVX): New macro.
22853 (CPUID_FMA4): New macro.
22854 (index_YMM_Usable): Rename to...
22855 (index_AVX_Usable): ... this.
22856 (HAS_AVX): Use HAS_ARCH_FEATURE.
22857 (HAS_FMA4): Likewise.
22858 (HAS_YMM_USABLE): Remove.
22859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22860 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22861 are present.
22862 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22863 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22864 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22865 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22866 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22867
0af797de
CM
228682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22869
22870 * math/libm-test.c: Support platforms without multiple rounding modes.
22871 * math/bug-nextafter.c: Support platforms without FP exceptions.
22872 * math/bug-nexttoward.c: Likewise.
22873 * math/test-fenv.c: Likewise.
22874 * math/test-misc.c: Likewise.
22875 * stdlib/bug-getcontext.c: Likewise.
22876
e39745ff
AJ
228772012-05-17 Andreas Jaeger <aj@suse.de>
22878
22879 * manual/examples/search.c (critter_cmp): Change signature to
22880 avoid warnings.
22881 * manual/string.texi (Collation Functions): Likewise.
22882
48970aba
L
228832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22884
22885 * bits/types.h: Fold copyright years.
22886 * bits/typesizes.h: Likewise.
22887 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22891 * time/time.h: Likewise.
22892
bedee953
PP
228932012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22894
22895 [BZ #208]
22896 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22897 in instead of returning them. Return void.
22898 (__libc_mallinfo): Accumulate over all arenas.
22899 (__malloc_stats): Adjust for change in int_mallinfo interface.
22900
61653dfb
RM
229012012-05-16 Roland McGrath <roland@hack.frob.com>
22902
30b99d79
RM
22903 [BZ #10375]
22904 * configure.in (NM): Add AC_CHECK_TOOL for it.
22905 (libc_extra_cflags): New substituted variable.
22906 Check for -fstack-protector being used implicitly.
22907 * configure: Regenerated.
22908 * config.make.in (config-extra-cflags): New variable,
22909 gets @libc_extra_cflags@.
22910 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22911
61653dfb
RM
22912 [BZ #10375]
22913 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22914 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22915 * configure: Regenerated.
22916 * config.make.in (CPPUNDEFS): New substituted variable.
22917 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22918 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22919 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22920
661768bb
L
229212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22922
22923 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22924 (mq_attr): Use __syscall_slong_t.
22925
d4261567
L
229262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22927
22928 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22929 Check __x86_64__ instead of __WORDSIZE.
22930 (_STAT_VER_LINUX): Likewise.
22931 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22932 __syscall_ulong_t and __syscall_slong_t.
22933 (stat64): Likewise.
22934
cf3ff365
L
229352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22936
22937 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22938
76cf3e4d
L
229392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22940
22941 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22942
a637753a
L
229432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22944
22945 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22946 __syscall_ulong_t.
22947
d5e05119
L
22948 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22949 include <bits/wordsize.h>. Check __x86_64__ instead of
22950 __WORDSIZE.
22951 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22952 defined.
22953 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22954
f62ee380
L
22955 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22956 include <bits/wordsize.h>. Check __x86_64__ instead of
22957 __WORDSIZE.
22958 (user_regs_struct): Use "__extension__ unsigned long long"
22959 instead of "unsigned long" if __x86_64__ is defined.
22960 (user): Likewise. Pad after pointer field if __ILP32__ is
22961 defined.
22962
4e124ced
JM
229632012-05-16 Joseph Myers <joseph@codesourcery.com>
22964
6a3951a0
JM
22965 * configure.in (makeinfo): Require version 4.5 or later. Allow
22966 versions 5 to 9.
22967 * configure: Regenerated.
22968 * manual/install.texi (texinfo): Increase version requirement to
22969 4.5 or later.
22970 * INSTALL: Regenerated.
22971
4e124ced
JM
22972 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22973
953ca31a
L
229742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22975
22976 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22977
617aca05
L
22978 * sysdeps/x86_64/x32/ffs.c: New file.
22979
5762f7ae
L
22980 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22981 __syscall_ulong_t.
22982 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22983 defined. Use __syscall_ulong_t.
22984 (shminfo): Use __syscall_ulong_t.
22985 (shm_info): Likewise.
22986
a26b6856
L
22987 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22988 __syscall_ulong_t.
22989
cb2b9ef7
L
22990 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22991 <bits/wordsize.h>.
22992 (msgqnum_t): Use __syscall_ulong_t.
22993 (msglen_t): Likewise.
22994 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22995 __syscall_ulong_t.
22996
34683bb0
L
22997 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22998 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22999
84a68786
L
23000 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23001
48baa5f1
L
23002 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23003 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23004
180be88b
L
23005 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23006 __syscall_slong_t.
23007
5e90c8ad
L
23008 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23009 include <bits/wordsize.h>. Check __x86_64__ instead of
23010 __WORDSIZE.
23011
23dfb58b
L
23012 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23013 "unsigned long long int" if __x86_64__ is defined.
23014 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23015
ce5d54b0
L
23016 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23017 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23018 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23019
13dc9eac
L
23020 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23021 <stdint.h>.
23022 (GET_PC): Cast to uintptr_t first.
23023 (GET_FRAME): Likewise.
23024 (GET_STACK): Likewise.
23025
a7895d15
L
23026 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23027 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23028 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23029 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23030 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23031 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23032 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23033 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23034 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23035 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23036 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23037 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23038 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23039 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23040 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23041 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23042 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23043 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23044 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23045 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23046 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23047 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23048 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23049 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23050 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23051 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23053 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23054 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23055
656416c9
AS
230562012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23057
5bd66283
AS
23058 * Makerules (+depfiles): Also collect depfiles from .oS in
23059 $(extra-objs).
23060 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23061 .oS, $(libnldbl-routines)).
23062
656416c9
AS
23063 * Makerules (native-compile-mkdep-flags): Define.
23064 * sunrpc/Makefile (extra-objs): Add $(addprefix
23065 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23066 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23067 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23068 calling $(make-target-directory).
23069
a46f2169
L
230702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23071
23072 * bits/types.h (__snseconds_t): Removed.
23073 * time/time.h (struct timespec): Replace __snseconds_t with
23074 __syscall_slong_t.
23075 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23076 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23077 Likewise.
23078 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23079 (__SNSECONDS_T_TYPE): Likewise.
23080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23081 (__SNSECONDS_T_TYPE): Likewise.
23082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23083 (__SNSECONDS_T_TYPE): Likewise.
23084
6af6528b
L
230852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23086
23087 * sysdeps/mach/hurd/bits/typesizes.h
23088 (__SYSCALL_SLONG_TYPE): New macro.
23089 (__SYSCALL_ULONG_TYPE): Likewise.
23090
de986b56
L
230912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23092
23093 * bits/types.h (__syscall_slong_t): New type.
23094 (__syscall_ulong_t): Likewise.
23095
23096 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23097 (__SYSCALL_ULONG_TYPE): Likewise.
23098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23099 (__SYSCALL_SLONG_TYPE): Likewise.
23100 (__SYSCALL_ULONG_TYPE): Likewise.
23101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23102 (__SYSCALL_SLONG_TYPE): Likewise.
23103 (__SYSCALL_ULONG_TYPE): Likewise.
23104 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23105 (__SYSCALL_SLONG_TYPE): Likewise.
23106 (__SYSCALL_ULONG_TYPE): Likewise.
23107
85736dc7
L
231082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23109
23110 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23111 Add sigaltstack-offsets.sym.
23112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23113 <sigaltstack-offsets.h>.
23114 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23115 longjmp_msg pointer.
23116 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23117 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23118 signal stack.
23119 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23120
cc03b296
JM
231212012-05-15 Joseph Myers <joseph@codesourcery.com>
23122
a9538892
JM
23123 * elf/stackguard-macros.h: Remove file.
23124 * sysdeps/generic/stackguard-macros.h: New file.
23125 * sysdeps/i386/stackguard-macros.h: Likewise.
23126 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23127 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23128 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23129 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23130 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23131 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23132 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23133 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23134 <elf/stackguard-macros.h>.
23135
cc03b296
JM
23136 [BZ #14109]
23137 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23138 __aligned__ in attribute.
23139 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23140 (gregset_t): Likewise.
23141
93171016
L
231422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23143
23144 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23145 * sysdeps/x86_64/64/Implies-after: Here. New file.
23146 * sysdeps/x86_64/x32/Implies-after: New file.
23147
d86813a0
L
231482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23149
23150 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23151 and access return value for _dl_profile_fixup. Use R10_LP to
23152 load frame size.
23153
2953ec75
L
231542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23155
23156 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23157
3b550e9e
L
231582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23159
23160 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23161 * sysdeps/x86_64/x32/sysdep.h: New file.
23162
eda41706
L
231632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23164
23165 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23166 * sysdeps/x86_64/setjmp.S: Likewise.
23167
9ea01d93
AZ
231682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23169
23170 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23171 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23172 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23173 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23174 remove unused global constant.
23175
02a91938
CM
231762012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23177
23178 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23179 include of <not-cancel.h>.
23180
6540185f
RM
231812012-05-15 Roland McGrath <roland@hack.frob.com>
23182
23183 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23184
509072a0
AJ
231852012-05-15 Jeff Law <law@redhat.com>
23186 Andreas Jaeger <aj@suse.de>
23187
23188 [BZ #13594]
23189 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23190 out from...
23191 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23192 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23193 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23194 code changing __hst_map_handle.map.
23195
ba75122d
RM
231962012-05-15 Roland McGrath <roland@hack.frob.com>
23197
23198 * configure.in (sysnames): Look for Implies-before and Implies-after
23199 files.
23200 * configure: Regenerated.
23201
890d8bd8
L
232022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23203
23204 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23205 8-byte data alignment with LP_SIZE alignment.
23206
f6ee6623
L
232072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23208
23209 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23210 into R10_LP.
23211
ea2626f6
L
232122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23213
23214 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23215
085f715e
L
232162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23217
23218 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23219 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23220 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23221 Likewise.
23222 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23223
be8498fc
L
232242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23225
23226 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23227 (stackinfo_sub_sp): Likewise.
23228
70bc83b9
L
232292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23230
23231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23232 RAX_LP.
23233
9bc0b730
L
232342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23235
23236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23237 into R*_LP.
23238
6d2850e7
L
232392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23240
23241 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23242 sizes into R*_LP.
23243
3cb84561
L
232442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23245
23246 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23247
54e2ed81
L
232482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23249
23250 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23251 into R11_LP and load __x86_64_shared_cache_size_half into
23252 R8_LP.
23253
8a17f349
L
232542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23255
23256 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23257 R8_LP.
23258
777b1eea
AZ
232592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23260
23261 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23262 logb for POWER7.
23263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23264 logbf for POWER7.
23265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23266 logbl for POWER7.
23267 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23268 powerpc32/power7/fpu/s_logb.c via #include.
23269 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23270 powerpc32/power7/fpu/s_logbf.c via #include.
23271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23272 powerpc32/power7/fpu/s_logbl.c via #include.
23273
d20d4ac2
JM
232742012-05-15 Joseph Myers <joseph@codesourcery.com>
23275
23276 * README.libm: Remove file.
23277
6cdef1ab
L
232782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23279
23280 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23281 count for x32. Use R*_LP and omit operand-size suffix.
23282
0b254d8f
L
232832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23284
23285 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23286 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23287 * sysdeps/x86_64/x32/shlib-versions: New file.
23288
ceb809dc
RM
232892012-05-14 Roland McGrath <roland@hack.frob.com>
23290
23291 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23292 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23293 Use _dl_fatal_printf instead.
23294
37f1abd4
JM
232952012-05-14 Joseph Myers <joseph@codesourcery.com>
23296
23297 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23298 set if not set by the user. Do not allow for being unset.
23299 * sysdeps/unix/sysv/linux/configure: Regenerated.
23300
11de3a33
L
233012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23302
23303 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23304 the `q' suffix from lea and replace .quad with ASM_ADDR.
23305
e02f153a
L
233062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23307
23308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23309 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23310 instead of $17.
23311 (PTR_DEMANGLE): Likewise.
23312
520ae0fd
L
233132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23314
23315 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23316 (LP_OP): Likewise.
23317 (ASM_ADDR): Likewise.
23318 (RAX_LP): Likewise.
23319 (RBP_LP): Likewise.
23320 (RBX_LP): Likewise.
23321 (RCX_LP): Likewise.
23322 (RDI_LP): Likewise.
23323 (RSI_LP): Likewise.
23324 (RSP_LP): Likewise.
23325 (R8_LP): Likewise.
23326 (R9_LP): Likewise.
23327 (R10_LP): Likewise.
23328 (R10_LP): Likewise.
23329 (R11_LP): Likewise.
23330 (R12_LP): Likewise.
23331 (R13_LP): Likewise.
23332 (R14_LP): Likewise.
23333 (R15_LP): Likewise.
23334
b985be81
L
233352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23336
23337 * sysdeps/x86_64/x32/dl-machine.h: New file.
23338
6a4888ff
AJ
233392012-05-14 Andreas Jaeger <aj@suse.de>
23340
23341 * manual/Makefile (subdir): Remove export of subdir.
23342 (all): Remove target.
23343 (.PHONY): Remove all from list.
23344 (mkinstalldirs): Remove.
23345 (.PHONY): Remove installdirs from list.
23346 ($(inst_infodir)/libc.info): Use make-target-directory.
23347 (installdirs): Remove.
23348 (subdir_%): Remove.
23349 (glibc-targets): Remove.
23350 (lib): Remove.
23351 (stubs): Remove.
23352 ($(objpfx)stubs ../po/manual.pot): Remove.
23353 ($(objpfx)stamp%): Remove.
23354 (make-target-directory): Remove.
23355 (subdir_install): Remove.
23356 (routines): Remove.
23357 (aux): Remove.
23358 (sources): Remove.
23359 (objects): Remove.
23360 (headers): Remove.
23361
23362 [BZ #13750]
23363 * manual/.gitignore: Remove, it's not needed anymore.
23364 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23365 all files in it.
23366 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23367 directory.
23368 (texis): Renamed to $(objpfx)texis.
23369 (texis-path): New, contains path to generated files.
23370 (chapters.%): Use texis-path for complete path, add extra argument
23371 libc-texinfo.sh.
23372 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23373 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23374 (summary,texi, stamp-summary): Use complete path of
23375 files. Generate files in build dir.
23376 (dir-add.texi): Build in build dir.
23377 (libm-err.texi,stamp-libm-err): Likewise.
23378 (version.texi, stamp-version): Likewise.
23379 (.%c.texi): Likewise.
23380 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23381 (mostlyclean): Remove target.
23382 (realclean): Remove target.
23383 (generated): Add new variable with contents from mostlyclean and
23384 realclean, remove entries duplicated in common-mostlyclean, add
23385 stamp-libm-err and stamp-version.
23386 (generated-dirs): Add libc directory.
23387 ($(inst_infodir)/libc.info): Install files from build dir.
23388
23389 * manual/install.texi (Configuring and compiling): Adjust since
23390 the info files are not part of the tar ball anymore.
23391
7ac77294
AJ
233922012-05-14 Andreas Jaeger <aj@suse.de>
23393
23394 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23395 variable.
23396
ffb7875d
JM
233972012-05-14 Joseph Myers <joseph@codesourcery.com>
23398
23399 [BZ #13717]
23400 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23401 to 2.2.0 where earlier.
23402 * sysdeps/unix/sysv/linux/configure: Regenerated.
23403 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23404 Remove conditional code.
23405 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23406 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23407 Remove conditional code.
23408 [!__NR_lchown]: Likewise.
23409 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23410 [__NR_lchown]: Likewise.
23411 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23412 comment referencing __ASSUME_LCHOWN_SYSCALL.
23413 * sysdeps/unix/sysv/linux/i386/sigaction.c
23414 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23415 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23416 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23417 Remove conditional code.
23418 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23419 (__protocol_available): Remove #if 0 code.
23420 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23421 conditional code.
23422 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23423 * sysdeps/unix/sysv/linux/kernel-features.h
23424 (__ASSUME_GETCWD_SYSCALL): Don't define.
23425 (__ASSUME_REALTIME_SIGNALS): Likewise.
23426 (__ASSUME_PREAD_SYSCALL): Likewise.
23427 (__ASSUME_PWRITE_SYSCALL): Likewise.
23428 (__ASSUME_POLL_SYSCALL): Likewise.
23429 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23430 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23431 non-SPARC.
23432 (__ASSUME_SIOCGIFNAME): Don't define.
23433 (__ASSUME_MSG_NOSIGNAL): Likewise.
23434 (__ASSUME_SENDFILE): Define unconditionally.
23435 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23436 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23437 conditional code.
23438 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23439 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23440 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23441 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23442 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23443 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23444 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23446 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23449 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23452 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23455 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23458 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23461 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23462 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23464 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23467 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23468 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23469 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23470 Remove conditional code.
23471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23472 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23473 Remove conditional code.
23474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23475 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23476 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23477 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23478 Remove conditional code.
23479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23480 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23481 Remove conditional code.
23482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23483 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23484 Remove conditional code.
23485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23486 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23487 Remove conditional code.
23488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23489 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23490 Remove conditional code.
23491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23492 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23493 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23495 * sysdeps/unix/sysv/linux/sigaction.c
23496 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23497 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23498 * sysdeps/unix/sysv/linux/sigpending.c
23499 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23500 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23501 * sysdeps/unix/sysv/linux/sigprocmask.c
23502 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23503 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23504 * sysdeps/unix/sysv/linux/sigsuspend.c
23505 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23506 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23507 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23508 (__libc_missing_rt_sigs): Remove.
23509 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23510 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23511 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23512 Remove conditional code.
23513 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23514 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23515 return 1.
23516 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23517 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23518 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23519 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23520
1bfb7291
AJ
235212012-05-14 Andreas Jaeger <aj@suse.de>
23522
caae5a81
AJ
23523 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23524 it's not used in glibc.
23525 (__coshm1): Likewise.
23526 (__acosh1p): Likewise.
23527 (__sgn): Likewise.
23528
1bfb7291
AJ
23529 * manual/string.texi (Copying and Concatenation): Add missing
23530 variable in concat example.
23531 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23532
c044d724
L
235332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23534
144c5467 23535 [BZ #14103]
c044d724
L
23536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23537 __builtin_clzl with __builtin_clzll.
23538
2523c62b
L
235392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23540
23541 [BZ #14104]
23542 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23543 libc_freeres_ptr.
23544
d7bb4c42
LD
235452012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23546
23547 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23548 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23549 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23550 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23551
9dc4e1fb
MF
235522012-05-14 Mike Frysinger <vapier@gentoo.org>
23553
23554 * NEWS: Update ia64 info.
23555
c7df0112
AS
235562012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23557
23558 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23559 used as bcopy.
23560
dc70356c
TS
235612012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23562
23563 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23564 * sysdeps/unix/syscalls.list (dup3): Likewise.
23565 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23566 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23567
9fb1a21f
L
235682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23569
23570 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23571 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23572
4822a2a5
L
235732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23574
23575 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23576 thread pointer.
23577 (TLS_IE): Use mov/add instead of movq/addq to load thread
23578 pointer.
23579 (TLS_GD_PREFIX): New.
23580 (TLS_GD): Use it.
23581
842b81d6
DM
235822012-05-11 David S. Miller <davem@davemloft.net>
23583
23584 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23585 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23586 (_FPU_SETCW): Likewise.
23587
1cf463cd
L
235882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23589
23590 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23591 is 32-byte aligned.
23592
60cc4a18
AS
235932012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23594
23595 [BZ #11837]
23596 * iconvdata/gb18030.c: Update tables.
23597 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23598 characters specially.
23599 (BODY for TO_LOOP): Add encoding of missing ranges.
23600
febb44a4
TS
236012012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23602
23603 [BZ #13673]
23604 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23605 * sysdeps/mach/hurd/dup3.c: Likewise.
23606 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23607 * sysdeps/powerpc/memmove.c:: Likewise.
23608
0a10fb9e
L
236092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23610
23611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23612 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23613
df8a552f
L
236142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23615
23616 * elf/elf.h (R_X86_64_RELATIVE64): New.
23617 (R_X86_64_NUM): Updated.
23618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23619 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23620 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23621 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23622 tst-quad1pie tst-quad2pie
23623 (modules-names): Add tst-quadmod1 tst-quadmod2.
23624 ($(objpfx)tst-quad1): New dependency.
23625 ($(objpfx)tst-quad2): Likewise.
23626 ($(objpfx)tst-quad1pie): Likewise.
23627 ($(objpfx)tst-quad2pie): Likewise.
23628 * sysdeps/x86_64/tst-quad1.c: New file.
23629 * sysdeps/x86_64/tst-quad1pie.c: New file.
23630 * sysdeps/x86_64/tst-quad2.c: Likewise.
23631 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23632 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23633 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23634 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23635 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23636
f34d6f84
ST
236372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23638
f42d41d1
ST
23639 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23640 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23641 * streams/stropts.h (t_scalar_t): Define type.
23642
3c3571fc
ST
23643 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23644 (_PATH_PRESERVE): Set to "/var/lib".
23645 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23646
61f06bd3
ST
23647 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23648 instead of int.
23649
918d4d71
ST
23650 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23651 if __dir_mkfile succeeded.
23652
f34d6f84
ST
23653 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23654 checking for _hurd_dtablesize. Unlock it right after having
23655 finished _hurd_dtable allocation.
23656
10589b4a
TS
236572012-05-10 Thomas Schwinge <thomas@schwinge.name>
23658
674cdbc7
TS
23659 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23660 * sysdeps/mach/hurd/configure: Regenerated.
23661 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23662 special-casing to...
23663 * sysdeps/gnu/configure.in: ... this new file.
23664 * sysdeps/unix/sysv/linux/configure: Regenerated.
23665 * sysdeps/gnu/configure: New generated file.
23666
8e41b99f
TS
23667 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23668 for Linux: use nsec instead of usec, as well as:
23669 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23670 members of type struct timespec.
23671 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23672 New macros.
23673 (struct stat64): Likewise.
23674 (_STATBUF_ST_NSEC): New macro.
23675 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23676
10589b4a
TS
23677 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23678 __strtoul_internal rather than strtoul.
23679
63643c85
PT
236802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23681
23682 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23683 and reject them.
23684
3faebe6a
ST
236852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23686
23687 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23688 which preserves existing values.
23689 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23690
c6474b07
PT
236912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23692
23693 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23694 TIMEOUT values. Return EINVAL for NFDS values either negative or
23695 greater than FD_SETSIZE.
23696
1043890b
ST
236972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23698
23699 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23700 allocated, call __vm_protect to finish enabling the existing space, and
23701 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23702 allocate the remainder.
23703
37ed8b9b
PT
237042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23705
23706 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23707 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23708
db653660
ST
237092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23710
37ed8b9b
PT
23711 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23712 sysdeps/mach/hurd/readlink.c.
b29d4053 23713
db653660
ST
23714 * posix/tst-sysconf.c (posix_options): Only use
23715 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23716 _POSIX_SYNCHRONIZED_IO when they are defined
23717 * sysdeps/mach/hurd/bits/posix_opt.h:
23718 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23719 (_XOPEN_REALTIME): Undefine macro.
23720 (_XOPEN_REALTIME_THREADS): Undefine macro.
23721 (_XOPEN_SHM): Undefine macro.
23722 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23723 macro to -1.
23724 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23725 macro to -1.
23726 (_POSIX_ASYNC_IO): Undefine macro.
23727 (_POSIX_PRIORITIZED_IO): Undefine macro.
23728 (_POSIX_SPIN_LOCKS): Define macro to -1.
23729
ee16e894
ST
23730 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23731 SA_NODEFER, SA_RESETHAND.
23732 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23733 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23734 F_DUPFD_CLOEXEC.
23735
6103ae3b
TS
237362012-05-10 Thomas Schwinge <thomas@schwinge.name>
23737
23738 * elf/Makefile (pldd-modules): Define unconditionally.
23739
80b4e5f3
TS
237402012-05-10 Thomas Schwinge <thomas@schwinge.name>
23741
23742 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23743
edadcbd6
ST
237442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23745
23746 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23747 Return ENOENT when name is empty.
23748 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23749
80694780
TS
237502012-05-10 Thomas Schwinge <thomas@schwinge.name>
23751
1792c087
TS
23752 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23753
80694780
TS
23754 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23755
6b645f0d
ST
237562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23757
80694780
TS
23758 Fix mlock in all cases except non-readable pages.
23759 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23760 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23761
6b645f0d
ST
23762 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23763 (__mkdir): When path is `/', just fail with EEXIST.
23764 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23765
e468f8a3
TS
237662012-05-10 Thomas Schwinge <thomas@schwinge.name>
23767
23768 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23769 <sys/uio.h> (for writev).
23770 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23771 and <sys/param.h> (for MIN).
23772
a4186cff
PT
237732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23774
23775 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23776 REQUESTED_TIME. Properly set the remaining time and return EINTR
23777 if interrupted.
23778
510bbf14
TS
237792012-05-10 Thomas Schwinge <thomas@schwinge.name>
23780
23781 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23782 Depend on against $(link-rpcuserlibs).
23783
5d5722e8
ST
237842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23785
a4186cff
PT
23786 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23787 (__libc_stack_end): Do not use attribute_relro.
23788 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23789 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23790 to libthread-provided value.
a4186cff
PT
23791 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23792 attribute_relro.
5d5722e8 23793
37233df9
TS
237942012-05-10 Thomas Schwinge <thomas@schwinge.name>
23795
be971a2b
TS
23796 [BZ #3748]
23797 * bits/libc-lock.h (__libc_once_get): New macro.
23798 * sysdeps/mach/bits/libc-lock.h: Likewise.
23799 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23800 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23801 instead of using implementation details.
23802
37233df9
TS
23803 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23804 * libio/freopen.c: Likewise.
23805 * libio/freopen64.c: Likewise.
23806 * misc/syslog.c: Likewise.
23807 * nscd/connections.c: Likewise.
23808 * nscd/netgroupcache.c: Likewise.
23809 * sysdeps/posix/getcwd.c: Likewise.
23810
38de94a5
RM
238112012-05-10 Roland McGrath <roland@hack.frob.com>
23812
23813 * math/w_ilogbf.c: Add #include <limits.h>.
23814
67530489
ST
238152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23816
a4186cff 23817 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23818 path instead of returning without unlocking.
23819
67530489
ST
23820 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23821 immediate-write ioctls.
23822 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23823
5aa3a74a
TS
238242012-05-10 Thomas Schwinge <thomas@schwinge.name>
23825
18bad2ae
TS
23826 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23827 __builtin_frame_address instead of making assumptions about the
23828 location of the return address relative to DATA. Force early load of
23829 the return address.
23830 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23831 __builtin_frame_address.
23832
5aa3a74a
TS
23833 dup3 for GNU Hurd.
23834 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23835 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23836 implement dup3 and do some further code clean-ups.
23837 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23838 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23839
ecd0de9a
ST
238402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23841
cd9fa985
ST
23842 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23843
a4186cff
PT
23844 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23845 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23846 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23847 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23848 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23849 d->port.lock.
802ca5a5 23850
a4186cff
PT
23851 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23852 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23853 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23854
bcf55240
TS
238552012-05-10 Thomas Schwinge <thomas@schwinge.name>
23856
6960eb42
TS
23857 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23858 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23859 definitions.
23860
eb43375f
TS
23861 accept4 for GNU Hurd.
23862 * include/sys/socket.h (__libc_accept4): New prototype.
23863 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23864 to implement __libc_accept4.
23865 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23866 __libc_accept4.
23867 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23868
bcf55240
TS
23869 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23870 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23871 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23872 signal-defines.sym.
23873
6178c55b
ST
238742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23875
a4186cff 23876 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23877
6f080c2f
TS
238782012-05-10 Thomas Schwinge <thomas@schwinge.name>
23879
23880 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23881 assertion on O_CLOEXEC flag.
23882 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23883 * hurd/intern-fd.c: Likewise.
23884 * hurd/port2fd.c: Likewise.
23885
bcfe3a54
ST
238862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23887
23888 [BZ #3906]
23889 * bits/in.h (IPV6_PKTINFO): Define new macro.
23890 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23891
89c9aa49
AZ
238922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23893
23894 [BZ #13954]
23895 [BZ #13955]
23896 [BZ #13956]
23897 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23899 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23900 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23902 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23903 * math/libm-test.inc (logb_test) : Additional logb tests.
23904
021db4be
AJ
239052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23906 Andreas Jaeger <aj@suse.de>
23907
23908 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23909 * configure: Regenerated.
23910 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23911 * config.make.in (link-obsolete-rpc): New substituted variable.
23912 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23913 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23914 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23915 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23916 so that libc.a contains the symbols.
23917 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23918 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23919 * sunrpc/auth_none.c: Likewise.
23920 * sunrpc/auth_unix.c: Likewise.
23921 * sunrpc/authdes_prot.c: Likewise.
23922 * sunrpc/authuxprot.c: Likewise.
23923 * sunrpc/clnt_gen.c: Likewise.
23924 * sunrpc/clnt_perr.c: Likewise.
23925 * sunrpc/clnt_raw.c: Likewise.
23926 * sunrpc/clnt_simp.c: Likewise.
23927 * sunrpc/clnt_tcp.c: Likewise.
23928 * sunrpc/clnt_udp.c: Likewise.
23929 * sunrpc/clnt_unix.c: Likewise.
23930 * sunrpc/des_crypt.c: Likewise.
23931 * sunrpc/des_soft.c: Likewise.
23932 * sunrpc/get_myaddr.c: Likewise.
23933 * sunrpc/key_call.c: Likewise.
23934 * sunrpc/key_prot.c: Likewise.
23935 * sunrpc/netname.c: Likewise.
23936 * sunrpc/pm_getmaps.c: Likewise.
23937 * sunrpc/pm_getport.c: Likewise.
23938 * sunrpc/pmap_clnt.c: Likewise.
23939 * sunrpc/pmap_prot.c: Likewise.
23940 * sunrpc/pmap_prot2.c: Likewise.
23941 * sunrpc/pmap_rmt.c: Likewise.
23942 * sunrpc/publickey.c: Likewise.
23943 * sunrpc/rpc_cmsg.c: Likewise.
23944 * sunrpc/rpc_common.c: Likewise.
23945 * sunrpc/rpc_dtable.c: Likewise.
23946 * sunrpc/rpc_prot.c: Likewise.
23947 * sunrpc/rpc_thread.c: Likewise.
23948 * sunrpc/rtime.c: Likewise.
23949 * sunrpc/svc.c: Likewise.
23950 * sunrpc/svc_auth.c: Likewise.
23951 * sunrpc/svc_raw.c: Likewise.
23952 * sunrpc/svc_run.c: Likewise.
23953 * sunrpc/svc_tcp.c: Likewise.
23954 * sunrpc/svc_udp.c: Likewise.
23955 * sunrpc/svc_unix.c: Likewise.
23956 * sunrpc/svcauth_des.c: Likewise.
23957 * sunrpc/xcrypt.c: Likewise.
23958 * sunrpc/xdr.c: Likewise.
23959 * sunrpc/xdr_array.c: Likewise.
23960 * sunrpc/xdr_float.c: Likewise.
23961 * sunrpc/xdr_intXX_t.c: Likewise.
23962 * sunrpc/xdr_mem.c: Likewise.
23963 * sunrpc/xdr_rec.c: Likewise.
23964 * sunrpc/xdr_ref.c: Likewise.
23965 * sunrpc/xdr_sizeof.c: Likewise.
23966 * sunrpc/xdr_stdio.c: Likewise.
23967
b5c086a2
RM
239682012-05-10 Roland McGrath <roland@hack.frob.com>
23969
23970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23971 change. Update copyright years.
23972
6d74dd09
JM
239732012-05-10 Joseph Myers <joseph@codesourcery.com>
23974
23975 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23976
28e72501
MK
239772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23978 Joseph Myers <joseph@codesourcery.com>
23979 Paul Pluzhnikov <ppluzhnikov@google.com>
23980
23981 [BZ #14012]
23982 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23983 requiring rpcgen.
23984 [cross-compiling] (extra-libs): Likewise.
23985 [cross-compiling] (extra-libs-others): Likewise.
23986 [cross-compiling] (librpcsvc-routines): Likewise.
23987 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23988 [cross-compiling] (omit-deps): Likewise.
23989 (sunrpc-CPPFLAGS): New variable.
23990 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23991 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23992 (cross-rpcgen-objs): New variable.
23993 (extra-objs): Append $(cross-rpcgen-objs).
23994 ($(cross-rpcgen-objs)): New rule.
23995 ($(objpfx)cross-rpcgen): Likewise.
23996 (rpcgen-cmd): Define to use $(built-program-file). Expand
23997 comment.
23998 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23999 ($(objpfx)x%.stmp): Likewise.
24000 * sunrpc/proto.h [IS_IN_build] (_): Define.
24001 [IS_IN_build] (_libc_intl_domainname): Likewise.
24002
c8c59454
L
240032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24004
24005 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24006 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24007 and R_X86_64_TPOFF64.
24008
6f27cd16
JM
240092012-05-10 Joseph Myers <joseph@codesourcery.com>
24010
24011 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24012 sysdeps/unix/sysv/syscalls.list.
24013 (stime): Likewise.
24014 (utime): Likewise.
24015 * sysdeps/unix/sysv/syscalls.list: Remove file.
24016
02467e1c
PE
240172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24018
24019 [BZ #3440]
24020 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24021 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24022 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24023 (__LC_IDENTIFICATION): Make these macros useful in #if
24024 expressions, as required by C99.
24025
da392631
AS
240262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24027
24028 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24029 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24030 after this.
24031
8115f29b
L
240322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24033
24034 * stdlib/longlong.h: Updated from GCC.
24035
bdd74070
AJ
240362012-05-09 Andreas Jaeger <aj@suse.de>
24037
edfe0dbe
AJ
24038 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24039 default is first entry.
24040 (run_mode): Set type.
24041 (main): Remove informal message about syslog.
24042 (options): Fix typo.
24043
bcfe3a54
ST
24044 [BZ #14053]
24045 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24046 to asm.
bcfe3a54
ST
24047 (lrint): Likewise.
24048 (llrintf): Likewise.
24049 (llrint): Likewise.
24050 (rint): Likewise.
24051 (rintf): Likewise.
24052 (nearbyint): Likewise.
24053 (nearbyintf): Likewise.
bdd74070 24054
91d8d69e
AJ
240552012-05-09 Andreas Jaeger <aj@suse.de>
24056 Pedro Alves <palves@redhat.com>
24057
24058 * nscd/nscd.c (run_mode): Use enum.
24059 (main): Cleanup coding style issue.
24060
bb90b80b
AJ
240612012-05-09 Alexandre Oliva <aoliva@redhat.com>
24062 Andreas Jaeger <aj@suse.de>
24063
bcfe3a54
ST
24064 * nscd/nscd.c (go_background): Replaced with...
24065 (run_mode): ... this.
bb90b80b 24066 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24067 (options): Add -F --foreground.
24068 (main): Implement it.
24069 (parse_opt): Parse it.
bb90b80b 24070
1a4b75a1
AJ
240712012-05-09 Andreas Jaeger <aj@suse.de>
24072
24073 [BZ #14083]
24074 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24075 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24076 -Wconversion warning.
24077 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24078 Likewise.
24079
b1cc2472
JM
240802012-05-09 Joseph Myers <joseph@codesourcery.com>
24081
24082 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24083 == 0.
24084 (LC_ALL): Use macro-int-constant.
24085 (LC_COLLATE): Likewise.
24086 (LC_CTYPE): Likewise.
24087 (LC_MESSAGES): Likewise.
24088 (LC_MONETARY): Likewise.
24089 (LC_NUMERIC): Likewise.
24090 (LC_TIME): Likewise.
24091 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24092 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24094 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24095 Specify type.
24096 [C99-based standards] (float_t): Expect type.
24097 [C99-based standards] (double_t): Expect type.
24098 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24099 type.
24100 [C99-based standards] (HUGE_VALL): Likewise.
24101 [C99-based standards] (INFINITY): Likewise.
24102 [C99-based standards] (NAN): Likewise.
24103 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24104 [C99-based standards] (FP_NAN): Likewise.
24105 [C99-based standards] (FP_NORMAL): Likewise.
24106 [C99-based standards] (FP_SUBNORMAL): Likewise.
24107 [C99-based standards] (FP_ZERO): Likewise.
24108 [C99-based standards] (FP_FAST_FMA): Use
24109 optional-macro-int-constant. Specify type. Require == 1.
24110 [C99-based standards] (FP_FAST_FMAF): Likewise.
24111 [C99-based standards] (FP_FAST_FMAL): Likewise.
24112 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24113 [C99-based standards] (FP_ILOGBNAN): Likewise.
24114 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24115 Specify type.
24116 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24117 [C99-based standards] (math_errhandling): Specify type.
24118 [ISO99 || ISO11] (signgam): Do not allow.
24119 [non-C99-based standards] (copysignf): Do not allow.
24120 [non-C99-based standards] (exp2f): Likewise.
24121 [non-C99-based standards] (log2f): Likewise.
24122 [non-C99-based standards] (modff): Allow.
24123 [non-C99-based standards] (erff): Do not allow.
24124 [non-C99-based standards] (erfcf): Likewise.
24125 [non-C99-based standards] (gammaf): Likewise.
24126 [non-C99-based standards] (hypotf): Likewise.
24127 [non-C99-based standards] (j0f): Likewise.
24128 [non-C99-based standards] (j1f): Likewise.
24129 [non-C99-based standards] (jnf): Likewise.
24130 [non-C99-based standards] (lgammaf): Likewise.
24131 [non-C99-based standards] (tgammaf): Likewise.
24132 [non-C99-based standards] (y0f): Likewise.
24133 [non-C99-based standards] (y1f): Likewise.
24134 [non-C99-based standards] (ynf): Likewise.
24135 [non-C99-based standards] (isnanf): Likewise.
24136 [non-C99-based standards] (acoshf): Likewise.
24137 [non-C99-based standards] (asinhf): Likewise.
24138 [non-C99-based standards] (atanhf): Likewise.
24139 [non-C99-based standards] (cbrtf): Likewise.
24140 [non-C99-based standards] (expm1f): Likewise.
24141 [non-C99-based standards] (ilogbf): Likewise.
24142 [non-C99-based standards] (log1pf): Likewise.
24143 [non-C99-based standards] (logbf): Likewise.
24144 [non-C99-based standards] (nextafterf): Likewise.
24145 [non-C99-based standards] (remainderf): Likewise.
24146 [non-C99-based standards] (rintf): Likewise.
24147 [non-C99-based standards] (scalbf): Likewise.
24148 [non-C99-based standards] (copysignl): Likewise.
24149 [non-C99-based standards] (exp2l): Likewise.
24150 [non-C99-based standards] (log2l): Likewise.
24151 [non-C99-based standards] (modfl): Allow.
24152 [non-C99-based standards] (erfl): Do not allow.
24153 [non-C99-based standards] (erfcl): Likewise.
24154 [non-C99-based standards] (gammal): Likewise.
24155 [non-C99-based standards] (hypotl): Likewise.
24156 [non-C99-based standards] (j0l): Likewise.
24157 [non-C99-based standards] (j1l): Likewise.
24158 [non-C99-based standards] (jnl): Likewise.
24159 [non-C99-based standards] (lgammal): Likewise.
24160 [non-C99-based standards] (tgammal): Likewise.
24161 [non-C99-based standards] (y0l): Likewise.
24162 [non-C99-based standards] (y1l): Likewise.
24163 [non-C99-based standards] (ynl): Likewise.
24164 [non-C99-based standards] (isnanl): Likewise.
24165 [non-C99-based standards] (acoshl): Likewise.
24166 [non-C99-based standards] (asinhl): Likewise.
24167 [non-C99-based standards] (atanhl): Likewise.
24168 [non-C99-based standards] (cbrtl): Likewise.
24169 [non-C99-based standards] (expm1l): Likewise.
24170 [non-C99-based standards] (ilogbl): Likewise.
24171 [non-C99-based standards] (log1pl): Likewise.
24172 [non-C99-based standards] (logbl): Likewise.
24173 [non-C99-based standards] (nextafterl): Likewise.
24174 [non-C99-based standards] (remainderl): Likewise.
24175 [non-C99-based standards] (rintl): Likewise.
24176 [non-C99-based standards] (scalbl): Likewise.
24177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24178 [non-C99-based standards] (FP_*): Do not allow.
24179 [C99-based standards] (FP_*): Change to
24180 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24181 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24182 allow.
24183 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24184 (SIG_ERR): Likewise.
24185 [X/Open-based standards] (SIG_HOLD): Likewise.
24186 (SIG_IGN): Likewise.
24187 (SIGABRT): Use macro-int-constant. Specify type. Require
24188 positive value.
24189 (SIGFPE): Likewise.
24190 (SIGILL): Likewise.
24191 (SIGINT): Likewise.
24192 (SIGSEGV): Likewise.
24193 (SIGTER): Likewise.
24194 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24195 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24196 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24197 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24198 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24199 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24200 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24201 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24202 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24203 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24204 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24205 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24206 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24207 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24208 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24209 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24210 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24211 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24212 [X/Open-based standards] (SIGTRAP): Likewise.
24213 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24214 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24215 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24216 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24217 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24218 allow.
24219
b9f1922d
IW
242202012-05-08 Ian Wienand <ianw@vmware.com>
24221
24222 [BZ #14080]
24223 * time/tzset.c (__tzset_parse_tz): Update default rules for
24224 daylight time changes in the Energy Policy Act of 2005.
24225
1db86e88
AJ
242262012-05-09 Andreas Jaeger <aj@suse.de>
24227
24228 [BZ #13983]
24229 * elf/ldconfig.c (parse_conf): Change string to make clear that
24230 ldconfig only issued a warning if ld.so.conf does not exist.
24231
dee4a4e3
DM
242322012-05-08 David S. Miller <davem@davemloft.net>
24233
ee0db190
DM
24234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24235 movxtod instead of popping the value on the stack.
24236
dee4a4e3
DM
24237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24238
6a43ec98
CD
242392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24240
24241 * config.h.in: Add HAVE_ARM_PCS_VFP.
24242
05c2c961
RMG
242432012-05-08 Roland Mc Grath <roland@hack.frob.com>
24244
bcfe3a54
ST
24245 [BZ #13979]
24246 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24247 checking but the checks are disabled for any reason.
05c2c961 24248
4b30f61a
L
242492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24250
24251 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24252 and ELF64_R_TYPE with ELFW(R_TYPE).
24253
eee2bc67
JM
242542012-05-08 Joseph Myers <joseph@codesourcery.com>
24255
7ea5391a
JM
24256 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24257 (ulimit): Likewise.
24258
eee2bc67
JM
24259 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24260 (settimeofday): Likewise.
24261
abb66a67
MF
242622012-05-08 Mike Frysinger <vapier@gentoo.org>
24263
24264 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24265 a struct th_u2 inside the union, and move tu_block/tu_code into
24266 a new th_u3 union of tu_block/tu_code inside of that. Move
24267 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24268 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24269 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24270 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24271 (th_stuff): Change to th_u1.tu_stuff.
24272 (th_data): Define.
24273 (th_msg): Change to th_u1.th_u2.tu_data.
24274
7f18b530
DM
242752012-05-07 David S. Miller <davem@davemloft.net>
24276
05760585
DM
24277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24278
7f18b530
DM
24279 [BZ #14074]
24280 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24281 (SETUP_PIC_REG): Use it.
24282 (SETUP_PIC_REG_LEAF): Use it.
24283
495fd99f
JM
242842012-05-07 Joseph Myers <joseph@codesourcery.com>
24285
24286 [BZ #13885]
24287 [BZ #13923]
24288 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24289 USE_AS_EXPM1L.
24290 (EXPL_FINITE): Likewise.
24291 (FLDLOG): Likewise.
24292 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24293 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24294 e_expl.S.
24295 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24296 USE_AS_EXPM1L.
24297 (EXPL_FINITE): Likewise.
24298 (FLDLOG): Likewise.
24299 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24300 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24301 e_expl.S.
24302 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24303 test of -max_value argument for long double.
24304 * sysdeps/i386/fpu/libm-test-ulps: Update.
24305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24306
6693d694
DM
243072012-05-06 David S. Miller <davem@davemloft.net>
24308
24309 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24310 quad soft-float symbols whose references which are compiler
24311 generated.
24312 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24313
6c23e11c
JM
243142012-05-06 Joseph Myers <joseph@codesourcery.com>
24315
d8b82cad
JM
24316 [BZ #13884]
24317 [BZ #13914]
24318 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24319 USE_AS_EXP10L.
24320 (EXPL_FINITE): Likewise.
24321 (FLDLOG): Likewise.
24322 (c0): Likewise.
24323 (c1): Likewise.
24324 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24325 Adjust comments for base varying.
24326 (__expl_finite): Change alias to EXPL_FINITE.
24327 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24328 e_expl.S.
24329 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24330 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24331 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24332 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24333 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24334 USE_AS_EXP10L.
24335 (EXPL_FINITE): Likewise.
24336 (FLDLOG): Likewise.
24337 (c0): Likewise.
24338 (c1): Likewise.
24339 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24340 Adjust comments for base varying.
24341 (__expl_finite): Change alias to EXPL_FINITE.
24342 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24343 tests for bugs.
24344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24345
6c23e11c
JM
24346 [BZ #14064]
24347 * math/libm-test.inc (check_float_internal): Correct ulp
24348 calculation for subnormal expected results.
24349
29ba805c
AJ
243502012-05-06 Andreas Jaeger <aj@suse.de>
24351
24352 * Makeconfig (+math-flags): New, set to -frounding-math.
24353 (+cflags): Add +math-flags so that all of glibc gets compiled with
24354 it.
24355
24356 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24357
7b17aeda
JM
243582012-05-05 Joseph Myers <joseph@codesourcery.com>
24359
5779f134
JM
24360 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24361 Disable one test.
24362
41498f4d
JM
24363 [BZ #13787]
24364 [BZ #13922]
24365 [BZ #14036]
24366 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24367 (__ieee754_expl): Allow for and saturate large arguments.
24368 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24369 (u_threshold): Likewise.
24370 (__exp): Call __ieee754_exp before checking for overflow and
24371 underflow.
24372 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24373 (u_threshold): Likewise.
24374 (__expf): Call __ieee754_expf before checking for overflow and
24375 underflow.
24376 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24377 (u_threshold): Likewise.
24378 (__expl): Call __ieee754_expl before checking for overflow and
24379 underflow.
24380 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24381 (__ieee754_expl): Allow for and saturate large arguments.
24382 * math/libm-test.inc (exp_test): Add another test. Do not allow
24383 missing overflow exception on overflow.
24384 (expm1_test): Do not allow missing overflow exception on overflow.
24385
6698b8bf
JM
24386 * sysdeps/i386/fpu/e_expl.c: Move to ...
24387 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24388 rather than using inline asm.
24389 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24390 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24391 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24392
7b17aeda
JM
24393 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24394 (nice): Likewise.
24395 (poll): Likewise.
24396 (signal): Likewise.
24397 (time): Likewise.
24398 (times): Likewise.
24399
f7c85819
JM
244002012-05-04 Joseph Myers <joseph@codesourcery.com>
24401
24402 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24403 sysdeps/unix/common/syscalls.list.
24404 (fchmod): Likewise.
24405 (fchown): Likewise.
24406 (ftruncate): Likewise.
24407 (getrusage): Likewise.
24408 (gettimeofday): Likewise.
24409 (setpgid): Likewise.
24410 (setregid): Likewise.
24411 (setreuid): Likewise.
24412 (sigaction): Likewise.
24413 (truncate): Likewise.
24414 (vhangup): Likewise.
24415 * sysdeps/unix/common/syscalls.list: Remove file.
24416 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24417 * sysdeps/unix/sysv/linux/Implies: Likewise.
24418
336270d0
L
244192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24420
24421 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24423 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24424 Moved to ...
24425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24426 Here.
24427 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24428 to ...
24429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24430 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24431 to ...
24432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24433 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24434 to ...
24435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24436 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24437 to ...
24438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24439 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24440 to ...
24441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24442 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24443 to ...
24444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24445 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24446 to ...
24447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24448 Here.
24449 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24450 to ...
24451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24452 Here.
24453 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24454 to ...
24455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24456 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24457 Moved to ...
24458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24459 Here.
24460 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24461 to ...
24462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24463
d128e450
JM
244642012-05-04 Joseph Myers <joseph@codesourcery.com>
24465
fa8ee516
JM
24466 * sysdeps/unix/common/bits/dirent.h: Remove file.
24467 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24468
d128e450
JM
24469 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24470 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24471 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24472 * sysdeps/unix/bsd/isatty.c: Likewise.
24473 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24474 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24475 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24476
ff8faaf0 244772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24478
62881be4 24479 [BZ #13563]
31dc8730
AZ
24480 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24481 long double comparison inaccuracies.
24482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24484
6fef930c
AS
244852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24486
24487 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24488 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24489
8f203e6c
JM
244902012-05-04 Joseph Myers <joseph@codesourcery.com>
24491
24492 [BZ #14049]
24493 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24494 nonzero digits before rounding a hex value.
24495 * stdlib/tst-strtod.c (tests): Add another test.
24496
5197d9c2
AK
244972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24498
24499 * sysdeps/s390/fpu/libm-test-ulps: Update.
24500
f0c1dedf
AJ
245012012-05-03 Andreas Jaeger <aj@suse.de>
24502
24503 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24504 does not get optimized out.
24505 (malloc_opt_barrier): New.
24506
a65ef2ae 245072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24508 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24509
2b942cb7 24510 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24511 intermediate file deletion.
2b942cb7 24512 (generated): Add .symlist files.
a65ef2ae 24513
54b71e02
JM
245142012-05-03 Joseph Myers <joseph@codesourcery.com>
24515
24516 [BZ #13775]
24517 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24518 Redirect under this condition.
24519 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24520 [__USE_GNU] (__dprintf_chk): Not under this condition.
24521 [__USE_GNU] (__vdprintf_chk): Likewise.
24522 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24523 under this condition.
24524 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24525 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24526 [__USE_XOPEN2K8] (vdprintf): Likewise.
24527 [__USE_GNU] (__dprintf_chk): Not under this condition.
24528 [__USE_GNU] (__vdprintf_chk): Likewise.
24529 [__USE_GNU] (dprintf): Likewise.
24530 [__USE_GNU] (vdprintf): Likewise.
24531
d3dfcc41
RM
245322012-05-03 Roland McGrath <roland@hack.frob.com>
24533
24534 * elf/Makefile (common-generated): Set this instead of generated for
24535 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24536 $(all-built-dso)-derived lists.
24537
7ac30cc5
AJ
245382012-05-03 Andreas Jaeger <aj@suse.de>
24539
0c51e550
AJ
24540 * sysdeps/i386/fpu/libm-test-ulps: Update.
24541
7ac30cc5
AJ
24542 * FAQ: Removed.
24543 * FAQ.in: Likewise.
24544 * scripts/gen-FAQ.pl: Likewise.
24545 * manual/install.texi (Installation): Point to online location of
24546 FAQ.
24547 * Makefile (files-for-dist): Remove FAQ.
24548 (FAQ): Remove.
24549
d4c2917f
AM
245502012-05-02 Allan McRae <allan@archlinux.org>
24551
24552 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24553 (LDFLAGS-reldepmod5.so): Likewise.
24554 (LDFLAGS-reldep6mod1.so): Likewise.
24555 (LDFLAGS-reldep6mod4.so): Likewise.
24556 (LDFLAGS-reldep8mod3.so): Likewise.
24557 (LDFLAGS-unload4mod1.so): Likewise.
24558 (LDFLAGS-unload4mod2.so): Likewise.
24559 (LDFLAGS-tst-initorder): Likewise.
24560 (LDFLAGS-tst-initordera2.so): Likewise.
24561 (LDFLAGS-tst-initordera3.so): Likewise.
24562 (LDFLAGS-tst-initordera4.so): Likewise.
24563 (LDFLAGS-tst-initorderb2.so): Likewise.
24564 (LDFLAGS-noload): Likewise.
24565 (LDFLAGS-next): Likewise.
24566 (LDFLAGS-order2mod1.so): Likewise.
24567 (LDFLAGS-order2mod2.so): Likewise.
24568 (LDFLAGS-tst-initorder2): Likewise.
24569 (LDFLAGS-tst-initorder2a.so): Likewise.
24570 (LDFLAGS-tst-initorder2b.so): Likewise.
24571 (LDFLAGS-tst-initorder2c.so): Likewise.
24572 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24573
d77f993f
DM
245742012-05-02 David S. Miller <davem@davemloft.net>
24575
24576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24577
171a70b4
PP
245782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24579
24580 [BZ #14055]
24581 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24582
0be196ad
AJ
245832012-05-02 Andreas Jaeger <aj@suse.de>
24584
24585 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24586 since we manipulate rounding mode.
24587 (CPPFLAGS-test-idouble.c): Likewise.
24588 (CPPFLAGS-test-ifloat.c): Likewise.
24589 (CFLAGS-test-ldouble.c): Likewise.
24590 (CFLAGS-test-double.c): Likewise.
24591 (CFLAGS-test-float.c): Likewise.
24592 (CFLAGS-test-misc.c): Likewise.
24593 (CFLAGS-test-test-fenv.c): Likewise.
24594
4f9d04aa
AZ
245952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24596
2b942cb7
RM
24597 [BZ #2550]
24598 [BZ #2570]
24599 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24600 comparisons to determine direction to adjust input.
4f9d04aa 24601
82a79e7d
RM
246022012-05-01 Roland McGrath <roland@hack.frob.com>
24603
f5a01ca9
RM
24604 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24605 output to the target.
24606
90fe4186
RM
24607 * scripts/localplt.awk: New file.
24608 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24609 (check-localplt-CFLAGS): Variable removed.
24610 ($(all-built-dso:=.jmprel)): New static pattern rule.
24611 (generated): Add those targets.
24612 (localplt-built-dso): New variable.
24613 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24614
24615 * elf/check-localplt.c: File removed.
24616
82397ed6
RM
24617 * scripts/check-execstack.awk: New file.
24618 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24619 (check-execstack-CFLAGS): Variable removed.
24620 ($(objpfx)check-execstack.h): Target removed.
24621 ($(objpfx)execstack-default): New target.
24622 (generated): Add that instead of check-execstack.h.
24623 ($(all-built-dso:=.phdr)): New static pattern rule.
24624 (generated): Add those targets.
24625 * elf/check-execstack.c: File removed.
24626
82a79e7d
RM
24627 * scripts/check-textrel.awk: New file.
24628 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24629 (check-textrel-CFLAGS): Variable removed.
24630 (all-built-dso): Use := to define.o
24631 ($(all-built-dso:=.dyn)): New static pattern rule.
24632 (generated): Add those targets.
24633 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24634 * config.make.in (READELF): New substituted variable.
24635 * elf/check-textrel.c: File removed.
24636
62fde54f 246372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24638
615605c9
JM
24639 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24640 allow.
24641 * conform/data/ctype.h-data [C99-based standards] (isblank):
24642 Expect function.
24643 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24644 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24645 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24646 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24647 Specify type. Require positive value.
24648 (EILSEQ): Likewise.
24649 (ERANGE): Likewise.
24650 [ISO || POSIX] (EILSEQ): Do not expect.
24651 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24652 Specify type. Require positive value.
24653 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24654 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24655 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24656 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24657 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24658 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24659 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24660 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24661 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24662 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24663 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24664 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24665 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24666 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24667 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24668 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24669 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24670 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24671 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24672 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24673 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24674 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24675 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24676 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24677 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24678 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24679 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24680 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24681 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24682 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24683 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24684 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24685 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24686 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24687 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24688 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24689 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24690 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24691 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24692 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24693 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24694 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24695 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24696 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24697 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24698 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24699 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24700 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24701 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24702 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24703 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24704 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24705 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24706 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24707 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24708 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24709 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24710 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24711 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24712 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24713 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24714 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24715 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24716 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24717 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24718 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24719 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24720 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24721 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24722 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24723 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24724 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24725 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24726 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24727 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24728 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24729 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24730 Require >= 2.
24731 (FLT_ROUNDS): Expect as macro, not constant.
24732 (FLT_MANT_DIG): Use macro-int-constant.
24733 (DBL_MANT_DIG): Likewise.
24734 (LDBL_MANT_DIG): Likewise.
24735 (FLT_DIG): Likewise.
24736 (DBL_DIG): Likewise.
24737 (LDBL_DIG): Likewise.
24738 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24739 (DBL_MIN_EXP): Likewise.
24740 (LDBL_MIN_EXP): Likewise.
24741 (FLT_MAX_EXP): Use macro-int-constant.
24742 (DBL_MAX_EXP): Likewise.
24743 (LDBL_MAX_EXP): Likewise.
24744 (FLT_MAX_10_EXP): Likewise.
24745 (DBL_MAX_10_EXP): Likewise.
24746 (LDBL_MAX_10_EXP): Likewise.
24747 (FLT_MAX): Use macro-constant.
24748 (DBL_MAX): Likewise.
24749 (LDBL_MAX): Likewise.
24750 (FLT_EPSILON): Use macro-constant. Give upper bound.
24751 (DBL_EPSILON): Likewise.
24752 (LDBL_EPSILON): Likewise.
24753 (FLT_MIN): Likewise.
24754 (DBL_MIN): Likewise.
24755 (LDBL_MIN): Likewise.
24756 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24757 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24758 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24759 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24760 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24761 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24762 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24763 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24764 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24765 [ISO11] (FLT_TRUE_MIN): Likewise.
24766 [ISO11] (LDBL_TRUE_MIN): Likewise.
24767 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24768 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24769 (SCHAR_MIN): Use macro-int-constant. Specify type.
24770 (SCHAR_MAX): Likewise.
24771 (UCHAR_MAX): Likewise.
24772 (CHAR_MIN): Likewise.
24773 (CHAR_MAX): Likewise.
24774 (MB_LEN_MAX): Use macro-int-constant.
24775 (SHRT_MIN): Use macro-int-constant. Specify type.
24776 (SHRT_MAX): Likewise.
24777 (USHRT_MAX): Likewise.
24778 (INT_MAX): Likewise.
24779 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24780 bound negative.
24781 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24782 bound with "U".
24783 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24784 bound with "L".
24785 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24786 bound negative. Suffix upper bound with "L".
24787 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24788 bound with "UL".
24789 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24790 Specify type.
24791 [C99-based standards] (LLONG_MAX): Likewise.
24792 [C99-based standards] (ULLONG_MAX): Likewise.
24793 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24794 == 0.
24795 [ISO11] (max_align_t): Require type.
24796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24797
c9140a62
JM
24798 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24799 from $CFLAGS, without defining away __attribute__ calls.
24800 (checknamespace): Use $CFLAGS_namespace.
24801
9af0bf29
JM
24802 * conform/conformtest.pl (@keywords): Only include C99 keywords
24803 for standards based on C99 or C11.
24804
343222a2
JM
24805 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24806 Disable tests.
24807 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24808 UNIX98]: Likewise.
24809
661f8cf0
JM
24810 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24811 usability of symbols in #if.
24812
ee74b9cb
JM
24813 * conform/conformtest.pl: If macro or constant types start
24814 "promoted:", expect the symbol to be of the following type
24815 promoted by the integer promotions.
62fde54f 24816
aafc49b3
JM
24817 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24818 in one place. Also handle "macro-constant".
24819
fefdf574
JM
24820 * conform/conformtest.pl: Only accept expected macro values with
24821 "==". Parse all "macro" lines in one place.
24822 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24823
f2d922fe
JM
24824 * conform/conformtest.pl: Handle braced types on "constant" lines
24825 instead of handling "typed-constant".
24826 * conform/data/signal.h-data: Use "constant" instead of
24827 "typed-constant".
24828
d22956c9
JM
24829 * conform/conformtest.pl: Handle "optional-" at start of lines in
24830 one place rather than duplicating several cases. Handle each
24831 format of "macro" line with initial "optional-".
24832
028e2e38
JM
24833 * conform/conformtest.pl: Only accept expected constant or
24834 optional-constant values with "==". Parse all "constant" lines in
24835 one place. Parse all "optional-constant" lines in one place.
24836 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24837 * conform/data/fmtmsg.h-data: Likewise.
24838 * conform/data/netinet/in.h-data: Likewise.
24839 * conform/data/tar.h-data: Likewise.
24840 * conform/data/limits.h-data: Use "==" form on "constant" and
24841 "optional-constant" lines.
24842
1b8f2850
JM
24843 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24844 Use -std=c99 for XOPEN2K.
24845 (@knownproblems): Remove.
24846 (newtoken): Don't check %isknown.
24847
a05a144b
JM
24848 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24849 Do not expect macro.
24850 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24851 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24852 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24853 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24854 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24855 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24856 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24857 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24858 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24859 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24860 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24861 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24862 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24863 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24864 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24865 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24866 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24867 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24868 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24869 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24870 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24871 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24872 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24873 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24874 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24875 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24876 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24877 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24878 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24879 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24880 [XPG3] (acosh): Likewise.
24881 [XPG3] (asinh): Likewise.
24882 [XPG3] (atanh): Likewise.
24883 [XPG3] (cbrt): Likewise.
24884 [XPG3] (expm1): Likewise.
24885 [XPG3] (ilogb): Likewise.
24886 [XPG3] (log1p): Likewise.
24887 [XPG3] (logb): Likewise.
24888 [XPG3] (nextafter): Likewise.
24889 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24890 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24891 [XPG3] (remainder): Likewise.
24892 [XPG3] (rint): Likewise.
24893 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24894 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24895 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24896 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24897 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24898 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24899 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24900 [UNIX98 || XOPEN2K] (scalb): Expect.
24901 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24902 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24903 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24904 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24905 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24906 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24907 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24908 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24909 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24910 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24911 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24912 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24913 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24914 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24915 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24916 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24917 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24918 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24919 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24920 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24921 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24922 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24923 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24924 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24925 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24926 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24927 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24928 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24929 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24930 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24931 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24932 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24933 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24934 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24935 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24936 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24937 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24938 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24939 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24940 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24941 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24942 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24943 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24944 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24945 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24946 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24947 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24948 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24949 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24950 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24951 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24952 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24953 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24954 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24955 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24956 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24957 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24958 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24959 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24960 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24961 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24962 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24963 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24964 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24965 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24966 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24967 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24968 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24969 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24970 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24971 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24972 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24973 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24974 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24975 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24976 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24977 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24978 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24979 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24980 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24981 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24982 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24983 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24984 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24985 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24986 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24987 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24988 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24989 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24990 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24991 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24992 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24993 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24994 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24995 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24996 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24997 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24998 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24999 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25000 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25001 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25002 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25003 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25004 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25005 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25006 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25007 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25008 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25009 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25010 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25011 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25012 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25013 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25014 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25015 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25016 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25017 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25018 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25019 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25020 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25021 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25022 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25023 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25024 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25025 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25026 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25027 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25028 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25029 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25030 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25031 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25032 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25033 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25034 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25035 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25036 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25037 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25038
73c5ebe3
JM
25039 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25040 _XOPEN_SOURCE_EXTENDED for XPG4.
25041
39c33b6c
JM
25042 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25043
62fde54f
JM
25044 * Makeconfig (localtime): Remove variable.
25045 (inst_localtime-file): Likewise.
25046
0741d64c
AS
250472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25048
25049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25050 Update.
25051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25052 Update.
25053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25054 Update.
25055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25056 Update.
25057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25058 Update.
25059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25060 Update.
25061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25062 Update.
25063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25064 Update.
25065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25066 Update.
25067
7cb029ee
JM
250682012-05-01 Joseph Myers <joseph@codesourcery.com>
25069
25070 [BZ #2550]
25071 [BZ #2570]
25072 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25073 comparisons to determine direction to adjust input.
25074 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25075 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25077 Likewise.
25078 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25079 Likewise.
25080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25081 Likewise.
25082 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25083 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25084 Likewise.
25085 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25086 Likewise.
25087 * math/libm-test.inc (nexttoward_test): Add more tests.
25088
412bd966
AS
250892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25090
25091 [BZ #14040]
25092 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25093 in version GLIBC_2.1, not GLIBC_2.0.
25094 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25095 Likewise.
25096
9568c0c2
JM
250972012-04-30 Joseph Myers <joseph@codesourcery.com>
25098
adfbc8ac
JM
25099 [BZ #13942]
25100 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25101 (1 - x) * (1 + x).
25102 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25103 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25104 * math/libm-test.inc (acos_test): Add more tests.
25105 (asin_test): Likewise.
25106 * sysdeps/i386/fpu/libm-test-ulps: Update.
25107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25108
5ba3cc69
JM
25109 [BZ #14034]
25110 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25111 of square root.
25112 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25113 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25114 * math/libm-test.inc (acos_test_tonearest): New function.
25115 (acos_test_towardzero): Likewise.
25116 (acos_test_downward): Likewise.
25117 (acos_test_upward): Likewise.
25118 (asin_test_tonearest): Likewise.
25119 (asin_test_towardzero): Likewise.
25120 (asin_test_downward): Likewise.
25121 (asin_test_upward): Likewise.
25122 (main): Call the new functions.
25123 * sysdeps/i386/fpu/libm-test-ulps: Update.
25124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25125
9568c0c2
JM
25126 [BZ #13884]
25127 [BZ #13924]
25128 * math/e_exp10.c: Include <float.h>.
25129 (__ieee754_exp10): Handle underflow here rather than multiplying
25130 large negative argument by M_LN10.
25131 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25132 of __ieee754_expf.
25133 * math/e_exp10l.c: Include <float.h>.
25134 (__ieee754_exp10l): Handle underflow here rather than multiplying
25135 large negative argument by M_LN10l.
25136 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25137 spurious overflow exception on underflow.
25138
5ac3ea17
MP
251392012-04-29 Marek Polacek <polacek@redhat.com>
25140
25141 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25142 (__fortify_function): New macro.
25143 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25144 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25145 __extern_always_inline.
25146 * libio/bits/stdio2.h: Likewise.
25147 * libio/bits/stdio.h: Likewise.
25148 * string/string.h: Likewise.
25149 * string/bits/string3.h: Likewise.
25150 * include/stdio.h: Likewise.
25151 * stdlib/bits/stdlib.h: Likewise.
25152 * stdlib/stdlib.h: Likewise.
25153 * rt/bits/mqueue2.h: Likewise.
25154 * rt/mqueue.h: Likewise.
25155 * posix/bits/unistd.h: Likewise.
25156 * posix/unistd.h: Likewise.
25157 * io/bits/poll2.h: Likewise.
25158 * io/bits/fcntl2.h: Likewise.
25159 * io/fcntl.h: Likewise.
25160 * io/sys/poll.h: Likewise.
25161 * misc/bits/syslog.h: Likewise.
25162 * misc/bits/syslog-ldbl.h: Likewise.
25163 * misc/sys/syslog.h: Likewise.
25164 * socket/bits/socket2.h: Likewise.
25165 * socket/sys/socket.h: Likewise.
25166 * debug/tst-chk1.c: Likewise.
25167 * wcsmbs/bits/wchar2.h: Likewise.
25168 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25169 * wcsmbs/wchar.h: Likewise.
25170
ecf0ebfb
AJ
251712012-04-29 Andreas Jaeger <aj@suse.de>
25172
25173 * Makerules (tests): Remove enable-check-abi protection.
25174 (check-abi-warn): Remove.
25175 (check-abi-%): Remove check-abi-warn usage.
25176
25177 * configure.in: Remove check-abi configure option.
25178 * configure: Regenerated.
25179 * config.make.in (enable-check-abi): Remove.
25180
6d5c57fa
AS
251812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25182
24c5d07e 25183 [BZ #14033]
ded5180a
AS
25184 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25185 double functions to double *_finite functions.
25186
7e0d315d
AS
25187 [BZ #13941]
25188 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25189 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25190 LDBL_MIN_EXP.
25191 * stdio-common/Makefile (tests): Add tst-sprintf3.
25192 * stdio-common/tst-sprintf3.c: New file.
25193
6d5c57fa
AS
25194 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25195 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25196
0749ff8b
JM
251972012-04-28 Joseph Myers <joseph@codesourcery.com>
25198
25199 * conform/conformtest.pl: Remove duplicate typed-constant
25200 handling.
25201
8dbd5d7b
DM
252022012-04-28 David S. Miller <davem@davemloft.net>
25203
25204 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25205 (check-abi-%): Remove AWK script prerequisite and explicit
25206 abilist directory.
25207 (check-abi): Rewrite to just diff the symlist with the abilist.
25208 (config-tls, config-abi-config): Delete, no longer used.
25209 (update-abi-%): Remove AWK script and explicit abilist directory.
25210 (update-abi): Rewrite to simply compare and conditionally copy the
25211 symlist and the sysdep abilist file. Remove update-abi-config
25212 checks.
25213 * abilist/ld.abilist: Remove.
25214 * abilist/libBrokenLocale.abilist: Remove.
25215 * abilist/libanl.abilist: Remove.
25216 * abilist/libcrypt.abilist: Remove.
25217 * abilist/libdl.abilist: Remove.
25218 * abilist/librt.abilist: Remove.
25219 * abilist/libthread_db.abilist: Remove.
25220 * abilist/libutil.abilist: Remove.
25221 * scripts/extract-abilist.awk: Remove.
25222 * scripts/merge-abilist.awk: Remove.
25223 * sysdeps/generic/libcidn.abilist: New file.
25224 * sysdeps/generic/libnss_compat.abilist: New file.
25225 * sysdeps/generic/libnss_db.abilist: New file.
25226 * sysdeps/generic/libnss_dns.abilist: New file.
25227 * sysdeps/generic/libnss_files.abilist: New file.
25228 * sysdeps/generic/libnss_hesiod.abilist: New file.
25229 * sysdeps/generic/libnss_nis.abilist: New file.
25230 * sysdeps/generic/libnss_nisplus.abilist: New file.
25231 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25232 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25233 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25234 file.
25235 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25236 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25237 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25238 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25239 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25240 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25241 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25242 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25243 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25244 file.
25245 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25246 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25247 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25248 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25249 file.
25250 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25251 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25252 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25253 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25254 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25255 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25256 file.
25257 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25258 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25259 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25260 file.
25261 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25263 New file.
25264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25265 New file.
25266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25267 New file.
25268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25269 New file.
25270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25271 New file.
25272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25273 New file.
25274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25275 New file.
25276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25277 New file.
25278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25279 New file.
25280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25281 New file.
25282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25283 New file.
25284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25285 New file.
25286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25287 New file.
25288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25289 file.
25290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25291 New file.
25292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25293 New file.
25294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25295 file.
25296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25297 New file.
25298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25299 New file.
25300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25301 file.
25302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25303 New file.
25304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25305 New file.
25306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25307 New file.
25308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25309 New file.
25310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25311 New file.
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25313 New file.
25314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25316 file.
25317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25318 New file.
25319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25320 file.
25321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25322 file.
25323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25324 file.
25325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25326 file.
25327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25328 file.
25329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25330 New file.
25331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25332 file.
25333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25334 file.
25335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25336 New file.
25337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25338 file.
25339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25341 file.
25342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25343 New file.
25344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25345 file.
25346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25347 file.
25348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25349 file.
25350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25351 file.
25352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25353 file.
25354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25355 New file.
25356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25357 file.
25358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25359 file.
25360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25361 New file.
25362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25363 file.
25364 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25365 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25366 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25367 file.
25368 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25369 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25370 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25371 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25372 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25373 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25374 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25375 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25376 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25377 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25380 file.
25381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25382 New file.
25383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25384 file.
25385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25386 file.
25387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25388 file.
25389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25390 file.
25391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25392 file.
25393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25394 New file.
25395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25396 New file.
25397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25398 file.
25399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25400 New file.
25401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25402 file.
25403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25405 file.
25406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25407 New file.
25408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25409 file.
25410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25411 file.
25412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25413 file.
25414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25415 file.
25416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25417 file.
25418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25419 New file.
25420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25421 New file.
25422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25423 file.
25424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25425 New file.
25426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25427 file.
25428
41d73a1b
JM
254292012-04-28 Joseph Myers <joseph@codesourcery.com>
25430
25431 * conform/conformtest.pl: Fix typo in handling typed-constant from
25432 allow-header.
25433
28aeeda4
JM
254342012-04-27 Joseph Myers <joseph@codesourcery.com>
25435
adae8f5e
JM
25436 * README: Cut down references to pre-2.6 Linux kernels and
25437 Linuxthreads. Update lists of configurations in libc and ports
25438 and sort alphabetically. Say "or newer" with Linux kernel version
25439 requirements.
25440
28aeeda4
JM
25441 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25442
a462cb63
RA
254432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25444
25445 [BZ #887]
25446 * math/libm-test.inc (logb_test_downward): New test to expose
25447 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25448 rounding mode.
25449
6ad3493e
JM
254502012-04-27 Joseph Myers <joseph@codesourcery.com>
25451
25452 [BZ #14027]
25453 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25454 to be done.
25455 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25456 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25457
2ce4f015
JM
254582012-04-26 Joseph Myers <joseph@codesourcery.com>
25459
5aeb141a
JM
25460 * sysdeps/unix/i386/brk.S: Remove file.
25461 * sysdeps/unix/i386/dl-brk.S: Likewise.
25462 * sysdeps/unix/i386/pipe.S: Likewise.
25463 * sysdeps/unix/i386/sigreturn.S: Likewise.
25464 * sysdeps/unix/i386/syscall.S: Likewise.
25465 * sysdeps/unix/i386/vfork.S: Likewise.
25466 * sysdeps/unix/i386/wait.S: Likewise.
25467
7143acae
JM
25468 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25469 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25470
2ce4f015
JM
25471 * configure.in (arm*-none*): Do not allow without
25472 --enable-hacker-mode.
25473 (netbsd*): Remove case setting base_os.
25474 (386bsd*): Likewise.
25475 (freebsd*): Likewise.
25476 (bsdi*): Likewise.
25477 (osf*): Likewise.
25478 (sunos*): Likewise.
25479 (ultrix*): Likewise.
25480 (newsos*): Likewise.
25481 (dynix*): Likewise.
25482 (*bsd*): Likewise.
25483 (sysv*): Likewise.
25484 (isc*): Likewise.
25485 (esix*): Likewise.
25486 (sco*): Likewise.
25487 (minix*): Likewise.
25488 (irix4*): Likewise.
25489 (irix6*): Likewise.
25490 (solaris[2-9]*): Likewise.
25491 (none): Likewise.
25492 * configure: Regenerated.
25493
0ac229c8
AZ
254942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25495
25496 [BZ #11521]
25497 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25498 overflow or cancellation in calculating denominator.
25499 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25500 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25501 down expression to avoid unexpected rounding in newer GCCs.
25502 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25503
33f244f4
DM
255042012-04-26 David S. Miller <davem@davemloft.net>
25505
25506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25507 long-double compat symbols.
25508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25521
cfa1f3e8
DM
255222012-04-25 David S. Miller <davem@davemloft.net>
25523
25524 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25525 HWCAP_* values only after the memory barriers have been defined.
25526 (atomic_full_barrier): Define.
25527 (atomic_read_barrier): Define.
25528 (atomic_write_barrier): Define.
25529
6e236b92
SP
255302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25531
25532 * shlib-versions: Add libgcc_s version information.
25533 * sysdeps/generic/libgcc_s.h: Remove.
25534 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25535 libgcc_s.h.
25536 * sysdeps/gnu/unwind-resume.c: Likewise.
25537 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25538
aab39a09
DM
255392012-04-25 David S. Miller <davem@davemloft.net>
25540
25541 * sysdeps/unix/sparc/brk.S: Delete.
25542 * sysdeps/unix/sparc/dl-brk.S: Delete.
25543 * sysdeps/unix/sparc/pipe.S: Delete.
25544 * sysdeps/unix/sparc/sysdep.S: Delete.
25545 * sysdeps/unix/sparc/sysdep.h: Delete.
25546 * sysdeps/unix/sparc/vfork.S: Delete.
25547 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25548 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25549 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25550 ret_ERRVAL, r0, r1, MOVE): Define.
25551 (JUMPTARGET): Remove.
25552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25553 sysdeps/unix/sparc/sysdep.h
25554 (ENTRY, END): Remove.
25555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25556
a3cc4f48
JM
255572012-04-25 Joseph Myers <joseph@codesourcery.com>
25558
2ed8cda2
JM
25559 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25560 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25561 -DIS_IN_build.
25562
35d76d59
JM
25563 * timezone/README: Update upstream location and email address for
25564 tzcode and tzdata.
25565 * timezone/zdump.c: Update from tzcode 2012b.
25566 * timezone/zic.c: Likewise.
25567
a3cc4f48
JM
25568 * configure.in (libc_cv_as_needed): Remove test.
25569 * configure: Regenerated.
25570 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25571 conditional definition.
25572 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25573 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25574 * config.make.in (have-as-needed): Remove variable.
25575
ceab42c3
SP
255762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25577 Paul Pluzhnikov <ppluzhnikov@google.com>
25578
25579 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25580 strings correctly.
25581
3ce2865f
CLT
255822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25583
25584 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25585 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25586 * sysdeps/sh/strlen.S: Likewise.
25587
f37e0d68
JM
255882012-04-24 Joseph Myers <joseph@codesourcery.com>
25589
ae186e9a
JM
25590 * sysdeps/unix/fork.S: Remove file.
25591 * sysdeps/unix/i386/fork.S: Likewise.
25592 * sysdeps/unix/sparc/fork.S: Likewise.
25593
b96914af
JM
25594 * sysdeps/unix/system.c: Remove file.
25595 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25596
f37e0d68
JM
25597 * sysdeps/unix/getegid.S: Remove file.
25598 * sysdeps/unix/geteuid.S: Likewise.
25599
87ef29ca
RM
256002012-04-24 Roland McGrath <roland@hack.frob.com>
25601
83bcd236
RM
25602 * scripts/check-localplt.awk: New file.
25603 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25604 of diff.
25605 * scripts/data/localplt-generic.data: Add a comment.
25606
87ef29ca
RM
25607 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25608 NODE when __dir_mkfile failed.
25609 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25610 Reported by Ludovic Courtès <ludo@gnu.org>.
25611
e5a6e567
AJ
256122012-04-24 Andreas Jaeger <aj@suse.de>
25613
25614 * Makerules (common-clean): Also remove gen-as-const-headers
25615 files.
25616
c1820385
JM
256172012-04-24 Joseph Myers <joseph@codesourcery.com>
25618
25619 * Makerules (native-compile): Do not change working directory for
25620 build. Use $(OUTPUT_OPTION) in command.
25621 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25622
94e02fc4
AZ
256232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25624
25625 [BZ #13886]
25626 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25627 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25628 * math/libm-test.inc (floor_test): Add more tests.
25629 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25630
3a533ca3
JM
256312012-04-24 Joseph Myers <joseph@codesourcery.com>
25632
940ab4b3
JM
25633 * sysdeps/unix/getdents.c: Remove file.
25634 * sysdeps/unix/sysv/getdents.c: Likewise.
25635 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25636
90e037bd
JM
25637 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25638 sysdeps/unix/mman/syscalls.list.
25639 (mmap): Likewise.
25640 (mprotect): Likewise.
25641 (msync): Likewise.
25642 (munmap): Likewise.
25643 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25644 * sysdeps/unix/mman/syscalls.list: Remove.
25645 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25646
3a533ca3
JM
25647 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25648 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25649 * configure: Regenerated.
25650 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25651 $(libgcc_s_suffix).
25652 * config.make.in (libgcc_s_suffix): Remove variable.
25653
1ad743de
JM
256542012-04-23 Joseph Myers <joseph@codesourcery.com>
25655
4ad451e2
JM
25656 * sysdeps/unix/sysv/gethostname.c: Move to ...
25657 * sysdeps/posix/gethostname.c: ... here.
25658
5e37ce39
JM
25659 * sysdeps/unix/execve.S: Remove file.
25660
1ad743de
JM
25661 * sysdeps/unix/_exit.S: Remove file.
25662
4e681b5b
AJ
256632012-04-23 Andreas Jaeger <aj@suse.de>
25664
25665 [BZ #13739]
25666 * manual/Makefile: Remove make dist support, there's no
25667 need for a stand-alone documentation tar ball.
25668 (TEXI2DVI): Define always, it's not in Makeconfig.
25669 (dist): Removed.
25670 (tar-it): Removed.
25671 (edition): Removed.
25672 (glibc-doc-$(edition).tar): Removed
25673 (%.Z): Removed.
25674 (%.gz): Removed.
25675 (%.uu): Removed.
25676 (ETAGS): Remove, it's in Makeconfig.
25677 (move-if-change): Remove, it's in Makeconfig.
25678
38686a03 256792012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25680
25681 [BZ #13970]
25682 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25683 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25684 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25685 (strtod_l, strtof_l, strtold_l): Remove __wur.
25686 It is not necessarily an error to ignore strtol's return value.
25687 One can reliably look at the stored endptr to decide whether
25688 the number had valid syntax.
25689
7c0616fa
AJ
256902012-04-21 Andreas Jaeger <aj@suse.de>
25691
803cb6b7 25692 [BZ #13739]
7c0616fa
AJ
25693 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25694
b0fe253f
JM
256952012-04-21 Joseph Myers <joseph@codesourcery.com>
25696
25697 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25698 * sysdeps/unix/sysv/Versions: Remove file.
25699
8280f22d
MT
257002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25701
25702 [BZ #13927]
25703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25704
75ce411f 257052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25706
25707 [BZ #7064]
25708 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25709 version from __vm86.
25710
097d59fa
JM
257112012-04-20 Joseph Myers <joseph@codesourcery.com>
25712
a90f3bcb
JM
25713 * sysdeps/unix/common/lxstat.c: Remove file.
25714 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25715
edc7ea78
JM
25716 * sysdeps/unix/sysv/Makefile: Remove file.
25717
cb78c221
JM
25718 * sysdeps/unix/sysv/direct.h: Remove file.
25719
efa6a45f
JM
25720 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25721 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25722 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25723 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25724 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25725 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25726 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25727
9c9f2d0c
JM
25728 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25729
4541c83b
JM
25730 * sysdeps/unix/xmknod.c: Remove file.
25731 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25732
f5d153a0
JM
25733 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25734
aa746595
JM
25735 * sysdeps/unix/sysv/i386/time.S: Remove file.
25736
cce5905e
JM
25737 * sysdeps/unix/fxstat.c: Remove file.
25738 * sysdeps/unix/xstat.c: Likewise.
25739 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25740
37fa3841
JM
25741 * sysdeps/unix/sysv/sigaction.c: Remove file.
25742
ff1962a3
JM
25743 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25744 (sysdep_headers): Remove variable.
25745 [termio.h not in sysdep_headers] (generated): Likewise.
25746 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25747 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25748 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25749 * sysdeps/unix/sysv/tcflow.c: Likewise.
25750 * sysdeps/unix/sysv/tcflush.c: Likewise.
25751 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25752 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25753 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25754 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25755 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25756
e7740d31
JM
25757 * sysdeps/unix/siglist.c: Remove file.
25758
ee06f18b
JM
25759 * sysdeps/unix/getppid.S: Remove file.
25760
097d59fa
JM
25761 * sysdeps/unix/mkdir.c: Remove file.
25762 * sysdeps/unix/rmdir.c: Likewise.
25763
ff3d51ec
AS
257642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25765
25766 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25767 ERR_MAX value.
25768 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25769 errlist-compat value.
25770
50f81fd7
DM
257712012-04-18 David S. Miller <davem@davemloft.net>
25772
25773 * sysdeps/generic/memcopy.h (reg_char): Delete.
25774 * debug/strcat_chk.c: Use char, not reg_char.
25775 * debug/strcpy_chk.c: Likewise.
25776 * debug/strncat_chk.c: Likewise.
25777 * debug/strncpy_chk.c: Likewise.
25778 * string/memchr.c: Likewise.
25779 * string/memrchr.c: Likewise.
25780 * string/rawmemchr.c: Likewise.
25781 * string/strcat.c: Likewise.
25782 * string/strchr.c: Likewise.
25783 * string/strchrnul.c: Likewise.
25784 * string/strcmp.c: Likewise.
25785 * string/strcpy.c: Likewise.
25786 * string/strncat.c: Likewise.
25787 * string/strncmp.c: Likewise.
25788 * string/strncpy.c: Likewise.
25789
8ff41c46
WS
257902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25791
25792 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25793 __builtin_memcopy is called when src and dest ranges are known to not
25794 overlap.
25795
6b652f46
WS
257962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25797
25798 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25799 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25800 fwd_align_merge macro call.
25801 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25802 bwd_align_merge macro call.
25803 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25804
b282631e
WS
258052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25806
25807 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25808 bwd_align_merge macros.
25809 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25810 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25811 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25812
95aa737c
DM
258132012-04-18 David S. Miller <davem@davemloft.net>
25814
25815 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25816
7a99a614
AJ
258172012-04-18 Andreas Jaeger <aj@suse.de>
25818
25819 [BZ# 6794]
25820 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25821 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25822 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25823
25824 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25825 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25826 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25827
25828 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25829 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25830 Adjust for changed ldbl-128 files.
25831
25832 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25833 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25834 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25835
e5270c23
DM
258362012-04-17 David S. Miller <davem@davemloft.net>
25837
25838 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25839
fb5e92c9
AS
258402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25841
25842 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25843 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25844 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25845 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25846 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25847 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25848
76da7265
AZ
258492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25850
25851 [BZ #6794]
25852 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25853 * math/libm-test.inc: Add ilogb errno and exception tests.
25854 * math/w_ilogb.c: New file: ilogb wrapper.
25855 * math/w_ilogbf.c: New file: ilogbf wrapper.
25856 * math/w_ilogbl.c: New file: ilogbl wrapper.
25857 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25858 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25859 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25860 exception being thrown with 0.0 as argument.
25861 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25862 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25863 exception being thrown with 0.0 as argument.
25864 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25865 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25866 exception being thrown with 0.0 as argument.
25867 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25868 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25869 exception being thrown with 0.0 as argument.
25870 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25871 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25872 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25873 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25874 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25875 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25876 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25877 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25878 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25879
0396e69d
PB
258802012-04-17 Petr Baudis <pasky@ucw.cz>
25881
25882 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25883 with altivec.
25884
750b5926
MP
258852012-04-16 Marek Polacek <polacek@redhat.com>
25886
25887 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25888
751728a1
MP
258892012-04-16 Marek Polacek <polacek@redhat.com>
25890
25891 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25892 operands of fdivp instruction.
25893
34a27407
L
258942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25895
25896 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25897 * elf/tst-auditmod3b.c: Likewise.
25898 * elf/tst-auditmod4b.c: Likewise.
25899 * elf/tst-auditmod5b.c: Likewise.
25900 * elf/tst-auditmod6b.c: Likewise.
25901 * elf/tst-auditmod6c.c: Likewise.
25902 * elf/tst-auditmod7b.c: Likewise.
25903 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25904 * sysdeps/x86_64/preconfigure.in: Likewise.
25905 * sysdeps/x86_64/preconfigure: Regenerated.
25906
7e73e17d
L
259072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25908
25909 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25910 __ILP32__.
25911
c7a6ab72
AB
259122012-04-13 Antoine Balestrat <merkil33@gmail.com>
25913
25914 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25915 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25916
a9e8e0e0
CL
259172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25918
25919 [BZ #13973]
25920 * locale/iso-639.def: Fix gl language name. Spotted by
25921 Yaron Shahrabani.
25922
ec98af7d
RM
259232012-04-12 Roland McGrath <roland@hack.frob.com>
25924
25925 [BZ #2074]
25926 * libio/libio.h (__io_write_fn): Update comment.
25927
247c3ede
PB
259282012-04-12 Petr Baudis <pasky@ucw.cz>
25929
25930 [BZ #2074]
25931 * stdio.texi (Hook Functions): The user provided writer function
25932 is not allowed to return -1.
25933
55939d6d
DM
259342012-04-11 David S. Miller <davem@davemloft.net>
25935
25936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25937
90020f5a
MF
259382012-04-11 Mike Frysinger <vapier@gentoo.org>
25939
25940 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25941 Add a leading slash to rtkaio.
25942
288f9098
JM
259432012-04-11 Jim Meyering <meyering@redhat.com>
25944
90020f5a
MF
25945 [BZ #11959]
25946 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25947 It is not necessarily an error to ignore fwrite's return
25948 value. One can reliably use ferror to test for errors after
25949 the fact.
288f9098 25950
4be2b570
L
259512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25952
25953 * bits/types.h (__snseconds_t): New type.
25954 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25955
25956 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25958 (__SNSECONDS_T_TYPE): Likewise.
25959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25960 (__SNSECONDS_T_TYPE): Likewise.
25961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25962 (__SNSECONDS_T_TYPE): Likewise.
25963
288f9098 259642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25965
25966 [BZ #2636]
25967 * manual/time.texi (Processor Time): Return type of times is
25968 elapsed real time since an arbitrary point in the past.
25969 (CPU Time): Move CLK_TCK from here...
25970 (Processor Time): ...to here. Correct description.
25971 * manual/conf.texi (Constants for Sysconf): Correct description of
25972 _SC_CLK_TCK.
25973
d7dd4413
DM
259742012-04-10 David S. Miller <davem@davemloft.net>
25975
25976 [BZ #13967]
25977 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25978 where the is a gap between DT_REL(A) and DT_JMPREL.
25979
b46068fc
L
259802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25981
25982 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25983 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25984 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25985
73d65cc3
SP
259862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25987
25988 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25989 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25990 (dl_main): Handle --inhibit-cache.
25991 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25992 _dl_inhibit_cache.
25993 * elf/dl-load.c (_dl_map_object): Use it.
25994 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25995
bcc8d661
JM
259962012-04-09 Joseph Myers <joseph@codesourcery.com>
25997
8f9a2fae
JM
25998 [BZ #13872]
25999 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26000 (__ieee754_powl): Saturate large exponents rather than testing for
26001 overflow of y*log2(x).
26002 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26003 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26004 exceptions.
26005
bcc8d661
JM
26006 [BZ #11521]
26007 * math/s_ctan.c: Include <float.h>.
26008 (__ctan): Avoid internal overflow or cancellation in calculating
26009 denominator.
26010 * math/s_ctanf.c: Likewise.
26011 * math/s_ctanl.c: Likewise.
26012 * math/s_ctanh.c: Likewise.
26013 * math/s_ctanhf.c: Likewise.
26014 * math/s_ctanhl.c: Likewise.
26015 * math/libm-test.inc (ctan_test): Add more tests.
26016 (ctanh_test): Likewise.
26017 * sysdeps/i386/fpu/libm-test-ulps: Update.
26018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26019
823fbbb4
AJ
260202012-04-09 Andreas Jaeger <aj@suse.de>
26021
03879793
AJ
26022 [BZ #6894]
26023 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26024 is an optional BSD extension.
26025
823fbbb4
AJ
26026 [BZ #10254]
26027 * manual/stdio.texi (Opening Streams): Document additional fopen
26028 parameters.
26029
8de131cb
RM
260302012-04-09 Roland McGrath <roland@hack.frob.com>
26031
26032 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26033 %eax without telling the compiler.
26034
c0ed9d7d
CD
260352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26036
26037 [BZ # 13963]
26038 * manual/install.texi: Use sourceware.org.
26039
c483f6b4
JM
260402012-04-09 Joseph Myers <joseph@codesourcery.com>
26041
d7dd9453
JM
26042 [BZ #13873]
26043 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26044 (__ieee754_pow): Generate overflow and underflow using huge*huge
26045 and tiny*tiny rather than just returning constant infinity or zero
26046 for large exponents.
26047 * math/libm-test.inc (pow_test): Require overflow exceptions for
26048 applicable cases of large exponents.
26049
c483f6b4
JM
26050 [BZ #706]
26051 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26052 (__ieee754_pow): Use iterative multiplication algorithm only for
26053 integer exponents with absolute value below 1024. Check for odd
26054 integer exponents when using algorithm for real exponents.
26055 * math/libm-test.inc (pow_test): Add more tests.
26056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26057
d2de7579
JM
260582012-04-08 Joseph Myers <joseph@codesourcery.com>
26059
26060 [BZ #13705]
26061 * math/libm-test.inc (exp_test): Do not allow overflow exception
26062 on underflow test.
26063
f77f1232
AJ
260642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26065
26066 [BZ #13705]
26067 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26068 instead of __kernel_standard_f.
26069
3884932b
MF
260702012-04-08 Mike Frysinger <vapier@gentoo.org>
26071
26072 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26073 * sysdeps/x86_64/memset_chk.S: Likewise.
26074
54472e9c
AJ
260752012-04-08 Andreas Jaeger <aj@suse.de>
26076
6ab0fbfc
AJ
26077 [BZ #10153]
26078 * manual/startup.texi (Environment Access): Describe return value
26079 for putenv and setenv.
26080
61efba8c
AJ
26081 [BZ #6895]
26082 * manual/filesys.texi (Directory Entries): Add description for
26083 DT_LNK.
26084
95c3f29a
AJ
26085 [BZ #6890]
26086 * manual/filesys.texi (Directory Entries): Clarify that it's file
26087 system not operating system in the description of DT_UNKNOWN.
26088
54472e9c
AJ
26089 [BZ #6578]
26090 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26091
624254b1
SC
260922012-04-08 Stephen Compall <s11@member.fsf.org>
26093
26094 [BZ #6649]
26095 * manual/llio.texi (Opening and Closing Files): Add cross
26096 reference to explain mode argument.
26097
1e4920e0
MF
260982012-04-07 Mike Frysinger <vapier@gentoo.org>
26099
26100 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26101 * sysdeps/x86_64/memset_chk.S: Likewise.
26102
5ed848f3
DM
261032012-04-07 David S. Miller <davem@davemloft.net>
26104
26105 * elf/elf.h (R_SPARC_WDISP10): Define.
26106 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26107 R_SPARC_SIZE32.
26108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26109 R_SPARC_SIZE64 and R_SPARC_H34.
26110
96154cd8
CD
261112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26112
26113 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26114 conditions and remove no longer applicable assertion.
26115
9904dc47
L
261162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26117
26118 * bits/byteswap.h: Include <features.h>.
26119 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26120 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26121
f8887d0a
L
261222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26123
26124 * bits/byteswap.h (__bswap_16): Removed.
26125 Include <bits/byteswap-16.h> to get __bswap_16.
26126 * sysdeps/i386/bits/byteswap.h: Likewise.
26127 * sysdeps/s390/bits/byteswap.h: Likewise.
26128 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26129 * bits/byteswap-16.h: New file.
26130 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26131 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26132 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26133 * string/Makefile (headers): Add bits/byteswap-16.h.
26134
62470f60
PP
261352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26136
26137 [BZ #13895]
26138 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26139 extra indirection.
26140 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26141 * nss/tst-nss-static.c: New.
26142
4dad7bab
RM
261432012-04-06 Robert Millan <rmh@gnu.org>
26144
26145 [BZ #6486]
26146 * manual/llio.texi (File Position Primitive): lseek
26147 refers to WHENCE when it really means OFFSET.
26148
e9142a17
AJ
261492012-04-06 Andreas Jaeger <aj@suse.de>
26150
2c040eff
AJ
26151 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26152 strncmp declarations.
26153
e9142a17
AJ
26154 * abilist/libc.abilist: Add __poll and __ppoll.
26155
ff9f1c5f
DM
261562012-04-05 David S. Miller <davem@davemloft.net>
26157
dcd2ae90
DM
26158 * scripts/check-local-headers.sh: Accept a host triplet in the
26159 path matched by the exclude regexp.
26160
993eb054
DM
26161 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26162 definition.
26163 * sysdeps/powerpc/powerpc32/dl-machine.h
26164 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26165 * sysdeps/s390/s390-32/dl-machine.h
26166 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26167 * sysdeps/sparc/sparc32/dl-machine.h
26168 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26169 * sysdeps/sparc/sparc64/dl-machine.h
26170 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26171
ff9f1c5f
DM
26172 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26173 lazy binding.
48e2e132 26174 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26175 undefined symbol errors.
26176
48e2e132 26177 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26178 DT_NEEDED entries.
26179
e80d6f94
MM
261802012-04-05 Michael Matz <matz@suse.de>
26181
26182 [BZ #13592]
26183 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26184
349fa79f
AJ
261852012-04-05 Andreas Jaeger <aj@suse.de>
26186
26187 [BZ #13908]
26188 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26189 comment.
26190
f402708f
KK
261912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26192
26193 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26194 which ROUND is no valid rounding mode.
26195
2ecccfc9
KK
261962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26197
26198 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26199 read again.
26200 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26201
8a53f50f
KK
262022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26203
26204 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26205 an exception using FPU order intentionally.
26206
262072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26208
26209 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26210 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26211 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26212 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26213
d653abb7
SJ
262142012-04-05 Simon Josefsson <simon@josefsson.org>
26215
26216 [BZ #12340]
26217 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26218 EINVAL when BUFLEN is too smal.
26219
c3b1bf7d
TS
262202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26221
26222 [BZ #13553]
26223 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26224 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26225
b1aa60f3
AJ
262262012-04-03 Andreas Jaeger <aj@suse.de>
26227
c3b1bf7d 26228 [BZ #13938]
67f60a26
AJ
26229 * manual/setjmp.texi (System V contexts): Fix sentence.
26230
b1aa60f3
AJ
26231 [BZ #13926]
26232 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26233 New macro for this case.
26234 [!__GNUC__] (__bswap_64): New inline function for this case.
26235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26236 * bits/byteswap.h: Likewise.
26237 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26238 ull, guard with __GLIBC_HAVE_LONG_LONG.
26239
26240 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26241 __GLIBC_HAVE_LONG_LONG.
26242
26243 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26244 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26245
39c59c35
TMQMF
262462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26247
26248 [BZ #13691]
26249 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26250 inptr and inend, rather than using last_ch.
26251
135ffda8
DM
262522012-04-02 David S. Miller <davem@davemloft.net>
26253
26254 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26255 * stdio-common/printf-parse.h (read_int): Change return type to
26256 'int', return -1 on INT_MAX overflow.
26257 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26258 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26259 overflows INT_MAX. Check for overflow of in-format-string precision
26260 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26261 SIZE_MAX not INT_MAX for integer overflow test.
26262 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26263 skip the construct in the format string but do not record anything.
26264 * stdio-common/bug22.c: Adjust to test both width/prevision
26265 INT_MAX overflow as well as total length INT_MAX overflow. Check
26266 explicitly for proper errno values.
26267
228c019e
TS
262682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26269
302cadd3
TS
26270 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26271 CHAR_MAX.
26272 * string/test-strcmp.c [! WIDE]: Likewise.
26273 * time/tst-mktime2.c: Likewise for INT_MAX.
26274 * string/test-string.h: #include <sys/param.h> for MIN.
26275
228c019e
TS
26276 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26277 * sysdeps/i386/init-first.c (init): Likewise.
26278 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26279 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26280 * sysdeps/sh/init-first.c (init): Likewise.
26281
cfa633f5
UD
262822012-04-01 Ulrich Drepper <drepper@gmail.com>
26283
26284 * po/ru.po: Update from translation team.
d1635ef8 26285 * po/vi.po: Likewise.
cfa633f5 26286
6cd0a5ea
SP
262872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26288
26289 * resolv/nss_dns/dns-host.c: Merge copyright years.
26290
4b43400f
LD
262912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26292
26293 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26294 Optimize memcpy with prefetch if
26295 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26296 src, dst pointers have unequal 16 byte alignments.
26297
48c41d04
SP
262982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26299
26300 [BZ #13928]
26301 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26302 from a CNAME entry and return the minimum ttl for the query.
26303 (gaih_getanswer_slice): Likewise.
26304
b8dc394d
JL
263052012-03-30 Jeff Law <law@redhat.com>
26306
26307 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26308 due to long keys.
26309 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26310 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26311
2f5a5ed0
JL
26312 * resolv/nss_dns/dns-host.c: Update copyright year.
26313
1d39e359
UD
263142012-03-30 Ulrich Drepper <drepper@gmail.com>
26315
c030f70c 26316 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26317 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26318
1d39e359
UD
26319 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26320 comments for sendmmsg.
26321
263222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26323
26324 [BZ #13691]
26325 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26326 with only 1 character between 0x0041 and 0x01b0.
26327 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26328 * wcsmbs/tst-mbsnrtowcs.c: New file.
26329
20fde227
DM
263302012-03-29 David S. Miller <davem@davemloft.net>
26331
26332 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26333 small copies by hand.
26334
984a4237
JL
263352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26336
26337 [BZ #13761]
26338 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26339 _nss_compat_initgroups_dyn): Fall back to malloc/free
26340 for large group memberships.
26341
18c9d62b
DM
263422012-03-28 David S. Miller <davem@davemloft.net>
26343
88d85d4f
DM
26344 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26345 that branches into memcpy.
26346 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26347 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26349 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26351 bits.
26352 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26353 implementation too.
26354 * sysdeps/sparc/mempcpy.S: New file.
26355
e5aa83e1
DM
26356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26357 the IFUNC routine in the libc case.
26358 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26359
88570753
DM
26360 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26361 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26362 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26363 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26364 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26365 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26366 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26367 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26368
249d7567
DM
26369 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26370 loop to 256 bytes instead of 64 bytes and fix test signedness.
26371
18c9d62b
DM
26372 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26373 * sysdeps/sparc/sparc32/Makefile: rather than here...
26374 * sysdeps/sparc/sparc64/Makefile: and here.
26375
05f3d1f6
UD
263762012-03-28 Ulrich Drepper <drepper@gmail.com>
26377
26378 * malloc/mallocbug.c: Avoid warnings about unused variables.
26379
86ae07a8
JL
263802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26381
26382 [BZ #13760]
26383 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26384 in the right place. Discard and retry query if response is
26385 larger than input buffer size.
26386
41bf21a1
JM
263872012-03-28 Joseph Myers <joseph@codesourcery.com>
26388
d6270972
JM
26389 [BZ #369]
26390 [BZ #2678]
26391 [BZ #3866]
26392 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26393 x for large integer exponent.
26394 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26395 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26396 sign of result as needed afterwards.
26397 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26398 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26399 result for underflowing pow the same as for overflow.
26400 (__kernel_standard_l): Handle powl overflow and underflow here
26401 rather than calling __kernel_standard.
26402 * math/libm-test.inc (pow_test): Add more tests.
26403
414fca03 26404 [BZ #3868]
41bf21a1
JM
26405 [BZ #13879]
26406 [BZ #13910]
26407 [BZ #13911]
26408 [BZ #13912]
26409 [BZ #13913]
26410 [BZ #13915]
26411 [BZ #13916]
26412 [BZ #13917]
26413 [BZ #13918]
26414 [BZ #13919]
26415 [BZ #13920]
26416 [BZ #13921]
26417 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26418 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26419 (__kernel_standard_l): New function.
26420 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26421 __kernel_standard.
26422 * math/w_acosl.c (__acosl): Likewise.
26423 * math/w_asinl.c (__asinl): Likewise.
26424 * math/w_atan2l.c (__atan2l): Likewise.
26425 * math/w_atanhl.c (__atanhl): Likewise.
26426 * math/w_coshl.c (__coshl): Likewise.
26427 * math/w_exp10l.c (__exp10l): Likewise.
26428 * math/w_exp2l.c (__exp2l): Likewise.
26429 * math/w_fmodl.c (__fmodl): Likewise.
26430 * math/w_hypotl.c (__hypotl): Likewise.
26431 * math/w_j0l.c (__j0l, __y0l): Likewise.
26432 * math/w_j1l.c (__j1l, __y1l): Likewise.
26433 * math/w_jnl.c (__jnl, __ynl): Likewise.
26434 * math/w_lgammal.c (__lgammal): Likewise.
26435 * math/w_log10l.c (__log10l): Likewise.
26436 * math/w_log2l.c (__log2l): Likewise.
26437 * math/w_logl.c (__logl): Likewise.
26438 * math/w_powl.c (__powl): Likewise.
26439 * math/w_remainderl.c (__remainderl): Likewise.
26440 * math/w_scalbl.c (sysv_scalbl): Likewise.
26441 * math/w_sinhl.c (__sinhl): Likewise.
26442 * math/w_sqrtl.c (__sqrtl): Likewise.
26443 * math/w_tgammal.c (__tgammal): Likewise.
26444 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26445 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26446 * math/libm-test.inc (acos_test): Add more tests.
26447 (acosh_test): Likewise.
26448 (asin_test): Likewise.
26449 (atanh_test): Likewise.
26450 (exp_test): Likewise.
26451 (exp10_test): Likewise.
26452 (exp2_test): Likewise.
26453 (expm1_test): Likewise.
26454 (lgamma_test): Likewise.
26455 (log_test): Likewise.
26456 (log10_test): Likewise.
26457 (log1p_test): Likewise.
26458 (log2_test): Likewise.
26459 (pow_test): Do not allow some spurious overflow exceptions.
26460 (sqrt_test): Add more tests.
26461 (tgamma_test): Likewise.
26462 (y0_test): Likewise.
26463 (y1_test): Likewise.
26464 (yn_test): Likewise.
26465
dd62fda6
AB
264662012-03-27 Anton Blanchard <anton@samba.org>
26467
26468 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26469 MAP_HUGETLB.
26470 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26471 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26472 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26473
1e3cdfda
AJ
264742012-03-27 David S. Miller <davem@davemloft.net>
26475
b855ab85
DM
26476 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26477
1e3cdfda
AJ
26478 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26479 have-as-vis3 check.
26480
264812012-03-27 Andreas Jaeger <aj@suse.de>
26482
26483 * sysdeps/x86_64/elf/configure.in: Moved to ...
26484 * sysdeps/x86_64/configure.in: ... here.
26485 * sysdeps/x86_64/elf/start.S: Moved to ...
26486 * sysdeps/x86_64/start.S: ... here.
26487 * sysdeps/x86_64/elf/configure: Delete.
26488
26489 * sysdeps/x86_64/configure.in: Merge contents from
26490 sysdeps/i386/configure.in (without i686 check).
26491
26492 * sysdeps/i386/elf/Versions: Merge into ...
26493 * sysdeps/i386/Versions: ... this.
26494 * sysdeps/i386/elf/Versions: Delete file.
26495 * sysdeps/i386/elf/start.S: Moved to ...
26496 * sysdeps/i386/start.S: ...here.
26497 * sysdeps/i386/elf/configure.in: Merge into...
26498 * sysdeps/i386/configure.in: ...here.
26499 * sysdeps/i386/elf/configure.in: Delete file.
26500 * sysdeps/i386/elf/configure: Delete file.
26501
26502 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26503 * debug/backtracesyms.c: ... here.
26504 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26505 * debug/backtracesymsfd.c: ... here.
26506 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26507 * sysdeps/generic/ifunc-sel.h: ... here.
26508
26509 * sysdeps/unix/i386/start.c: Delete file.
26510 * sysdeps/unix/sparc/start.c: Delete file.
26511 * sysdeps/unix/start.c: Delete file.
26512
26513 * sysdeps/sh/elf/configure.in: Moved to ...
26514 * sysdeps/sh/configure.in: ... here.
26515 * sysdeps/sh/elf/start.S: Moved to ...
26516 * sysdeps/sh/start.S: ... here.
26517 * sysdeps/sh/elf/configure: Delete file.
26518
26519 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26520 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26521 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26522 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26523 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26524 * sysdeps/powerpc/powerpc64/start.S: here.
26525 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26526 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26527 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26528 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26529 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26530
26531 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26532 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26533 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26534 * sysdeps/powerpc/powerpc32/start.S: ... here.
26535 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26536 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26537 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26538
26539 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26540 * sysdeps/powerpc/ifunc-sel.h: ... here.
26541 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26542 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26543
26544 * sysdeps/sparc/elf/configure.in: Moved to ...
26545 * sysdeps/sparc/configure.in: ... here.
26546 * sysdeps/sparc/elf/configure: Delete file.
26547 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26548 * sysdeps/sparc/sparc32/start.S: ... here.
26549 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26550 * sysdeps/sparc/sparc64/start.S: ... here.
26551 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26552 * sysdeps/sparc/sparc32/Makefile: ... this.
26553 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26554 * sysdeps/sparc/sparc64/Makefile: ... this.
26555
26556 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26557 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26558 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26559 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26560 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26561 * sysdeps/s390/s390-32/setjmp.S: ... here.
26562 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26563 * sysdeps/s390/s390-32/configure.in: ... here.
26564 * sysdeps/s390/s390-32/elf/configure: Delete file.
26565 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26566 * sysdeps/s390/s390-32/start.S: ... here.
26567
26568 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26569 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26570 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26571 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26572 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26573 * sysdeps/s390/s390-64/setjmp.S: ... here.
26574 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26575 * sysdeps/s390/s390-64/configure.in: ... here
26576 * sysdeps/s390/s390-64/elf/configure: Delete file.
26577 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26578 * sysdeps/s390/s390-64/start.S: ... here.
26579 * sysdeps/s390/s390-64/elf/configure: Delete.
26580
26581 * configure.in: Remove support for elf directories in sysdeps.
26582
26583 * configure: Regenerated.
26584 * sysdeps/i386/configure: Regenerated.
26585 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26586 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26587 * sysdeps/s390/s390-32/configure: Regenerated.
26588 * sysdeps/s390/s390-64/configure: Regenerated.
26589 * sysdeps/sh/configure: Regenerated.
26590 * sysdeps/sparc/configure: Regenerated.
26591 * sysdeps/x86_64/configure: Regenerated.
26592
a3f61311
AS
265932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26594
c876e002
AS
26595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26596
a3f61311
AS
26597 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26598 denormal result into account.
26599
ac4c54f0
RM
266002012-03-25 Roland McGrath <roland@hack.frob.com>
26601
26602 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26603 Reported by Allan McRae <allan@archlinux.org>.
26604
6a9b9c02
JL
266052012-03-23 Jeff Law <law@redhat.com>
26606
26607 * nss/getnssent.c (__nss_getent): Fix typo.
26608
4c42a0c1
DM
266092012-03-23 David S. Miller <davem@davemloft.net>
26610
26611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26612
1532c7ac
L
266132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26614
26615 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26616 to pad to uint64_t for each field.
26617 (dl_tls_index): Replace unsigned long with uint64_t.
26618
3ff42526
PP
266192012-03-23 Daniel Jacobowitz <dmj@google.com>
26620 Paul Pluzhnikov <ppluzhnikov@google.com>
26621
26622 [BZ #6528]
26623 * grp/Makefile (otherlibs): Don't set it.
26624 * inet/Makefile (otherlibs): Likewise.
26625 * login/Makefile (otherlibs): Likewise.
26626 * nscd/Makefile (otherlibs): Likewise.
26627 * posix/Makefile (otherlibs): Likewise.
26628 * pwd/Makefile (otherlibs): Likewise.
26629 * rt/Makefile (otherlibs): Likewise.
26630 * sunrpc/Makefile (otherlibs): Likewise.
26631 * nss/Makefile (otherlibs): Likewise.
26632 Add libnss_files to routines and static-only-routines.
26633 ($(objpfx)getent): Remove rule.
26634 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26635 static-only-routines.
26636
7c69cd14
JM
266372012-03-22 Joseph Myers <joseph@codesourcery.com>
26638
26639 [BZ #13892]
26640 * math/s_cexp.c: Include <float.h>.
26641 (__cexp): Handle exp result overflowing not necessarily
26642 overflowing both real and imaginary parts of result.
26643 * math/s_cexpf.c: Likewise.
26644 * math/s_cexpl.c: Likewise.
26645 * math/libm-test.inc (cexp_test): Add more tests.
26646 * sysdeps/i386/fpu/libm-test-ulps: Update.
26647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26648
81b035fe
L
266492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26650
26651 * include/link.h (ELFW): New macro.
26652 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26653 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26654
1da7940c
L
266552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26656
26657 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26658 with uint64_t.
26659
b749dbb9
L
266602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26661
26662 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26663 declaration.
26664 (struct La_x32_retval): Likewise.
26665
2ff87f3f
L
266662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26667
26668 * sysdeps/x86_64/preconfigure.in: New file.
26669 * sysdeps/x86_64/preconfigure: New generated file.
26670
c0df8e69
JM
266712012-03-22 Joseph Myers <joseph@codesourcery.com>
26672
48e44791
JM
26673 [BZ #13824]
26674 * math/e_exp2l.c: Include <float.h>.
26675 (__ieee754_exp2l): Handle overflow and underflow cases
26676 separately. Only pass fractional part of argument to
26677 __ieee754_expl.
26678 * math/libm-test.inc (exp2_test): Add more tests.
26679
c0df8e69
JM
26680 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26681 negating x to take absolute value.
26682 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26683 Likewise.
26684 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26685 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26686 Likewise.
26687 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26688 computing low part if x was negated.
26689 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26690
c8e43ba7
L
266912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26692
26693 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26694 la_x32_gnu_pltexit.
26695 (pltexit): Cast int_retval to ptrdiff_t.
26696 * elf/tst-auditmod3b.c: Likewise.
26697 * elf/tst-auditmod4b.c: Likewise.
26698 * elf/tst-auditmod5b.c: Likewise.
26699 * elf/tst-auditmod6b.c: Likewise.
26700 * elf/tst-auditmod6c.c: Likewise.
26701 * elf/tst-auditmod7b.c: Likewise.
26702
26703 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26704 and x32_gnu_pltexit.
26705
26706 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26707 __ELF_NATIVE_CLASS.
26708 (La_x32_regs): New macro.
26709 (La_x32_retval): Likewise.
26710 (la_x32_gnu_pltenter): New function prototype.
26711 (la_x32_gnu_pltexit): Likewise.
26712
7998fa78
AS
267132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26714
dcb33988
AS
26715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26716 exponent.
26717
233fc563
AS
26718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26719
7998fa78
AS
26720 * configure.in (libc_cv_cc_nofma): Check for option to disable
26721 generation of FMA instructions.
26722 * configure: Regenerate.
26723 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26724 * sysdeps/ieee754/dbl-64/Makefile: New file.
26725 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26726 Remove brandred-fma4.
26727 (CFLAGS-brandred-fma4.c): Remove.
26728 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26729 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26730 define.
26731 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26732 define.
26733
8e95c99a
L
267342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26735
26736 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26737 LLONG_MAX != LONG_MAX.
26738 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26739 (_fitoa_word): Likewise.
26740 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26741 LLONG_MAX != LONG_MAX.
26742 * stdio-common/_itowa.h: Include <_itoa.h>.
26743 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26744 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26745 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26746 only if not defined.
26747 (_ITOA_WORD_TYPE): Likewise.
26748 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26749 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26750
6f4db457
DM
267512012-03-21 David S. Miller <davem@davemloft.net>
26752
26753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26754
7785fe5a
L
267552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26756
26757 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26758 of x86_64 when setting libc_cv_slibdir, libdir and
26759 libc_cv_localedir.
26760 * sysdeps/unix/sysv/linux/configure: Regenerated.
26761
4535cd55
JM
267622012-03-21 Joseph Myers <joseph@codesourcery.com>
26763
26764 * manual/lang.texi (Old Varargs): Remove section.
26765 (How Variadic): Update menu.
26766 (va_start): Do not mention varargs.h.
26767
17228132
TS
267682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26769 Joseph Myers <joseph@codesourcery.com>
26770
26771 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26772 link test.
26773 * configure: Regenerated.
26774
8149f976
TS
267752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26776
05f3d1f6
UD
26777 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26778 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26779 conformtest.pl
8149f976 26780
1a4ac776
JM
267812012-03-21 Joseph Myers <joseph@codesourcery.com>
26782
be22ce65
JM
26783 * NOTES: Remove.
26784 * Makefile (files-for-dist): Remove NOTES.
26785 (NOTES): Remove rule.
26786 * README: Don't refer to NOTES.
26787 * manual/creature.texi: Don't include macros.texi.
26788 * manual/intro.texi (creature.texi): Remove comment referring to
26789 NOTES.
26790
40b601fb
JM
26791 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26792 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26793 * configure: Regenerated.
26794 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26795 LIBC_TRY_CC_OPTION.
26796 (libc_cv_as_i686): Likewise.
26797 (libc_cv_cc_avx): Likewise.
26798 (libc_cv_cc_sse2avx): Likewise.
26799 (libc_cv_cc_fma4): Likewise.
26800 (libc_cv_cc_novzeroupper): Likewise.
26801 * sysdeps/i386/configure: Regenerated.
26802
1a4ac776
JM
26803 [BZ #13883]
26804 * sysdeps/i386/fpu/s_cexp.S: Remove.
26805 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26806 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26807 * math/libm-test.inc (cexp_test): Add more tests.
26808 * sysdeps/i386/fpu/libm-test-ulps: Update.
26809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26810
a458e7fe
AM
268112012-03-21 Allan McRae <allan@archlinux.org>
26812
26813 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26814
0cb7efc5
JM
268152012-03-21 Joseph Myers <joseph@codesourcery.com>
26816
26817 [BZ #13871]
26818 * math/w_exp2.c: Do not include <float.h>.
26819 (o_threshold, u_threshold): Remove.
26820 (__exp2): Calculate result before checking finiteness and calling
26821 __kernel_standard.
26822 * math/w_exp2f.c: Likewise.
26823 * math/w_exp2l.c: Likewise.
26824 * math/libm-test.inc (exp2_test): Require overflow exception for
26825 1e6 input.
2460d3aa
JM
26826
26827 [BZ #3866]
26828 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26829 range of signed 64-bit integers before using fistpll. Remove
26830 checks for whether integers fit in mantissa bits.
26831 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26832 the range of signed 32-bit integers before using fistpl. Remove
26833 checks for whether integers fit in mantissa bits.
26834 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26835 (__ieee754_powl): Test for y outside the range of signed 64-bit
26836 integers before using fistpll. Reduce 64-bit values to 63-bit
26837 ones as needed.
26838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26839 divide-by-zero is raised for zero to large negative powers.
26840 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26841 (__ieee754_powl): Test for y outside the range of signed 64-bit
26842 integers before using fistpll. Reduce 64-bit values to 63-bit
26843 ones as needed.
26844 * math/libm-test.inc (pow_test): Add more tests.
26845
eb96ffb0
L
268462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26847
26848 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26849 <stdio-common/_itoa.h>.
26850 * debug/segfault.c: Likewise.
26851 * elf/dl-cache.c: Likewise.
26852 * elf/dl-minimal.c: Likewise.
26853 * elf/dl-misc.c: Likewise.
26854 * elf/dl-sysdep.c: Likewise.
26855 * elf/dl-version.c: Likewise.
26856 * elf/rtld.c: Likewise.
26857 * hurd/hurdsock.c: Likewise.
26858 * hurd/lookup-retry.c: Likewise.
26859 * malloc/malloc.c: Likewise.
26860 * malloc/mtrace.c: Likewise.
26861 * nscd/nscd_getgr_r.c: Likewise.
26862 * nscd/nscd_getpw_r.c: Likewise.
26863 * nscd/nscd_getserv_r.c: Likewise.
26864 * posix/getopt_init.c: Likewise.
26865 * posix/wordexp.c: Likewise.
26866 * stdio-common/_itoa.c: Likewise.
26867 * stdio-common/printf_fphex.c: Likewise.
26868 * stdio-common/vfprintf.c: Likewise.
26869 * string/_strerror.c: Likewise.
26870 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26871 * sysdeps/i386/i686/hp-timing.h: Likewise.
26872 * sysdeps/mach/_strerror.c: Likewise.
26873 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26874 * sysdeps/mach/hurd/sethostid.c: Likewise.
26875 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26876 * sysdeps/mach/xpg-strerror.c: Likewise.
26877 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26878 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26879 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26880 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26881 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26882 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26883 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26884 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26885 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26886 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26887 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26888 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26889 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26890 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26891 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26892 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26893 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26894 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26895 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26896 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26897 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26898
26899 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26900
26901 * stdio-common/_itoa.h: Moved to ...
26902 * sysdeps/generic/_itoa.h: Here.
26903
26904 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26905
26906 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26907 instead of "_itoa.h" and "_itowa.h".
26908 * stdio-common/vfprintf.: Likewise.
26909
d1af992d
L
269102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26911
26912 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26913 <bits/wordsize.h>.
26914 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26915 (__signbit): Likwise.
26916 (llrintf): Likwise.
26917 (llrint): Likwise.
26918
114883e0
L
269192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26920
26921 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26922 __WORDSIZE != 64.
26923
c135cc1b
JM
269242012-03-20 Joseph Myers <joseph@codesourcery.com>
26925
26926 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26927 OVERFLOW_EXCEPTION_OK.
26928 * math/libm-test.inc ("Philosophy"): Update comment about
26929 exception testing.
26930 (OVERFLOW_EXCEPTION): Define.
26931 (OVERFLOW_EXCEPTION_OK): Likewise.
26932 (INVALID_EXCEPTION_OK): Renumber.
26933 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26934 (IGNORE_ZERO_INF_SIGN): Likewise.
26935 (test_exceptions): Handle FE_OVERFLOW.
26936 (exp10_test): Expect overflow exceptions.
26937 (exp2_test): Likewise.
26938 (expm1_test): Likewise.
26939 (nextafter_test): Likewise.
26940 (pow_test): Likewise.
26941 (scalbn_test): Likewise.
26942 (scalbln_test): Likewise.
26943
95443d88
L
269442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26945
26946 * sysdeps/x86_64/bits/atomic.h
26947 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26948 64bit integer.
26949 (atomic_exchange_acq): Likewise.
26950 (__arch_exchange_and_add_body): Likewise.
26951 (__arch_add_body): Likewise.
26952 (atomic_add_negative): Likewise.
26953 (atomic_add_zero): Likewise.
26954
490df6c4
L
269552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26956
c2722551 26957 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26958 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26959
5e52b189
L
269602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26961
26962 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26963 Check __x86_64__ instead of __WORDSIZE.
26964
a9879d4c
L
269652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26966
26967 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26968
5df98260
DM
269692012-03-19 David S. Miller <davem@davemloft.net>
26970
e1497744
DM
26971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26972
5df98260
DM
26973 * sysdeps/sparc/fpu/fenv_private.h: New file.
26974 * sysdeps/sparc/fpu/math_private.h: Use it.
26975 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26976 Remove.
26977 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26978 (libc_feholdexcept_setroundl): Remove.
26979 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26980 Remove.
26981 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26982 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26983
b4c35121
L
269842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26985
26986 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26987 int64_t instead of long int.
26988 (INSERT_WORDS64): Likwise.
26989
56965fd7
L
269902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26991
26992 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26993 _Unwind_GetCFA return to _Unwind_Ptr first.
26994
83d1aec8
JM
269952012-03-19 Joseph Myers <joseph@codesourcery.com>
26996
1897ad44
JM
26997 [BZ #13629]
26998 * math/s_clog.c: Include <float.h>.
26999 (__clog): Scale large or subnormal inputs.
27000 * math/s_clogf.c: Likewise.
27001 * math/s_clogl.c: Likewise.
27002 * math/s_clog10.c: Include <float.h>.
27003 (M_LOG10_2): Define.
27004 (__clog10): Scale large or subnormal inputs.
27005 * math/s_clog10f.c: Likewise.
27006 * math/s_clog10l.c: Likewise.
27007 * math/libm-test.inc (clog_test): Add more tests.
27008 (clog10_test): Likewise.
27009 * sysdeps/i386/fpu/libm-test-ulps: Update.
27010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27011
7726d6a9
JM
27012 [BZ #11451]
27013 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27014 x and y.
27015 * math/libm-test.inc (atan2_test): Add another test.
27016
83d1aec8
JM
27017 * Makerules (common-objdir-compile): Remove.
27018 * sysdeps/unix/Makefile (config-generated): Do not add
27019 $(unix-generated) to variable.
27020 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27021 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27022 Remove rule.
27023 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27024 Likewise.
27025 [generic bits/local_lim.h] (before-compile): Do not append to
27026 variable.
27027 [generic bits/local_lim.h] (common-generated): Likewise.
27028 [generic sys/param.h] (before-compile): Do not append to variable.
27029 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27030 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27031 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27032 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27033 include.
27034 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27035 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27036 [generic sys/param.h] ($(addprefix
27037 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27038 [generic sys/param.h] (common-generated): Do not append to
27039 variable.
27040 [generic sys/param.h] (sysdep_headers): Likewise.
27041 [generic bits/errno.h] (before-compile): Do not append to
27042 variable.
27043 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27044 rule.
27045 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27046 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27047 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27048 [generic bits/errno.h] (common-generated): Do not append to
27049 variable.
27050 [generic bits/ioctls.h] (before-compile): Do not append to
27051 variable.
27052 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27053 rule.
27054 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27055 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27056 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27057 rule.
27058 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27059 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27060 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27061 [generic bits/ioctls.h] (common-generated): Do not append to
27062 variable.
27063 [generic sys/syscall.h] (syscall.h): Remove variable.
27064 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27065 rule.
27066 [generic sys/syscall.h] (before-compile): Do not append to
27067 variable.
27068 [generic sys/syscall.h] (common-generated): Likewise.
27069 * sysdeps/unix/errnos-tmpl.c: Remove file.
27070 * sysdeps/unix/errnos.awk: Likewise.
27071 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27072 * sysdeps/unix/ioctls.awk: Likewise.
27073 * sysdeps/unix/mk-local_lim.c: Likewise.
27074 * sysdeps/unix/snarf-ioctls: Likewise.
27075
4851a949
RH
270762012-03-19 Richard Henderson <rth@twiddle.net>
27077
bd37f2ee
RH
27078 * sysdeps/i386/fpu/fenv_private.h: New file.
27079 * sysdeps/i386/fpu/math_private.h: Use it.
27080 (math_opt_barrier, math_force_eval): Remove.
27081 (libc_feholdexcept_setround_53bit): Remove.
27082 (libc_feupdateenv_53bit): Remove.
27083 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27084 (math_opt_barrier, math_force_eval): Remove.
27085 (libc_feholdexcept): Remove.
27086 (libc_feholdexcept_setround): Remove.
27087 (libc_fetestexcept, libc_fesetenv): Remove.
27088 (libc_feupdateenv_test): Remove.
27089 (libc_feupdateenv, libc_feholdsetround): Remove.
27090 (libc_feresetround): Remove.
27091
d0adc922
RH
27092 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27093 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27094
0fe0f1f8
RH
27095 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27096 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27097 (libc_feupdateenv_testl): New.
27098 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27099 (libc_feupdateenv_testf): New.
27100 (libc_feupdateenv): Use libc_feupdateenv_test.
27101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27102 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27103
eb92c487
RH
27104 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27105 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27106 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27107 (libc_feresetround_noex): New.
27108 (libc_feresetround_noexf): New.
27109 (libc_feresetround_noexl): New.
27110 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27111 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27112 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27113 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27114 SET_RESTORE_ROUND.
27115 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27117 (__cos): Likewise.
27118 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27119 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27120 SET_RESTORE_ROUND_NOEX.
27121 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27122 SET_RESTORE_ROUND_NOEXF.
27123 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27124 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27125 (libc_feholdsetroundf): New.
27126 (libc_feresetround, libc_feresetroundf): New.
27127
7d2e8012
RH
27128 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27129 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27130 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27131
b4dabbb4
RH
27132 * sysdeps/generic/math_private.h: Include <fenv.h>.
27133 (default_libc_feholdexcept): New.
27134 (default_libc_feholdexcept_setround): New.
27135 (default_libc_fesetenv, default_libc_feupdateenv): New.
27136 (libc_feholdexcept): Only define if undefined.
27137 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27138 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27139 (libc_feholdexcept_setroundl): Likewise.
27140 (libc_feholdexcept_setround_53bit): Likewise.
27141 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27142 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27143 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27144 (libc_feupdateenv_53bit): Likewise.
27145 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27146 (libc_feholdexcept): Convert from macro to inline function.
27147 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27148 (libc_fesetenv, libc_feupdateenv): Likewise.
27149
4851a949
RH
27150 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27151 not previously defined.
27152 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27153 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27154 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27155 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27156 * sysdeps/ieee754/flt-32/math_private.h: New file.
27157 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27158 math_private.h below SET_FLOAT_WORD.
27159 (__isnan, __isinf_ns, __finite): Remove.
27160 (__isnanf, __isinf_nsf, __finitef): Remove.
27161
e79d442e
AS
271622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27163
27164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27165
90b80344
DM
271662012-03-17 David S. Miller <davem@davemloft.net>
27167
27168 [BZ #6471]
27169 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27170 for 2.16.
27171
edc21804
DM
271722012-03-16 David S. Miller <davem@davemloft.net>
27173
77e927af
DM
27174 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27175 warnings.
27176
374976dd
DM
27177 [BZ #6471]
27178 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27179 properly.
27180 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27181 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27182 sysdep_routines when subdir is sysvipc.
27183 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27184 __getshmlba helper.
27185
edc21804
DM
27186 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27187
473c3ef3
L
271882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27189
27190 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27191 [__LP64__].
27192
eb0f39b6
L
271932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27194
27195 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27196 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27197 (__lround): Renamed to ...
27198 (__llround): This. Replace long int with long long int.
27199 Define lround functions as aliases of llround functions.
27200 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27201
6b6cd74b
L
272022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27203
27204 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27205 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27206 adresses to uintptr_t. Replace "long int" and "unsigned long
27207 int" with "greg_t" on va_arg.
27208
f1a77b01
L
272092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27210
27211 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27212 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27213
27214 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27215 Move e_machine check before EI_CLASS check. Handle x32
27216 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27217 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27218 SKIP_EM_IA_64 and include
27219 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27220
27221 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27222 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27223 (add_system_dir): New macro.
27224
27225 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27226 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27227
11b90b9f
JM
272282012-03-16 Joseph Myers <joseph@codesourcery.com>
27229
c36e1d23
JM
27230 [BZ #2551]
27231 [BZ #2552]
27232 [BZ #2553]
27233 [BZ #2554]
27234 [BZ #2562]
27235 [BZ #2563]
27236 [BZ #2565]
27237 [BZ #2566]
27238 [BZ #2576]
27239 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27240 (y0): Likewise.
27241 * math/w_j0f.c (j0f): Likewise.
27242 (y0f): Likewise.
27243 * math/w_j0l.c (__j0l): Likewise.
27244 (__y0l): Likewise.
27245 * math/w_j1.c (j1): Likewise.
27246 (y1): Likewise.
27247 * math/w_j1f.c (j1f): Likewise.
27248 (y1f): Likewise.
27249 * math/w_j1l.c (__j1l): Likewise.
27250 (__y1l): Likewise.
27251 * math/w_jn.c (jn): Likewise.
27252 (yn): Likewise.
27253 * math/w_jnf.c (jnf): Likewise.
27254 (ynf): Likewise.
27255 * math/w_jnl.c (__jnl): Likewise.
27256 (__ynl): Likewise.
27257 * math/libm-test.inc (j0_test): Add more tests.
27258 (j1_test): Likewise.
27259 (jn_test): Likewise. Add trailing semicolon to existing test.
27260 (y0_test): Likewise.
27261 (y1_test): Likewise.
27262 * sysdeps/i386/fpu/libm-test-ulps: Update.
27263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27264
11b90b9f
JM
27265 [BZ #13851]
27266 [BZ #13854]
27267 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27268 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27269 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27270 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27271 (__tanl): Set errno for infinite argument.
27272 * sysdeps/i386/fpu/mptan.c: Remove.
27273 * sysdeps/i386/fpu/s_tan.S: Likewise.
27274 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27275 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27276 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27277 * math/libm-test.inc (tan_test): Add more tests and enable more
27278 tests for double and long double.
27279 * sysdeps/i386/fpu/libm-test-ulps: Update.
27280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27281
6a1bd2a1
JK
272822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27283
27284 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27285 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27286
10a803e0
RM
272872012-03-16 Roland McGrath <roland@hack.frob.com>
27288
27289 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27290 * configure.in: Use it for both main tree and add-ons.
27291 * configure: Regenerated.
27292
f196c7f7
L
272932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27294
27295 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27296
8848d99d
JM
272972012-03-16 Joseph Myers <joseph@codesourcery.com>
27298
96cbe7f4
JM
27299 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27300 in comment.
27301
8848d99d
JM
27302 [BZ #13851]
27303 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27304 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27305 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27306 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27307 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27308 infinite argument.
27309 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27311 != 0 for prec == 2.
27312 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27313 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27314 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27315 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27316 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27317 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27318 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27319 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27320 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27321 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27322 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27323 * math/libm-test.inc (cos_test): Add more tests and enable more
27324 tests for long double.
27325 (sin_test): Likewise.
27326 (sincos_test): Likewise.
27327 * sysdeps/i386/fpu/libm-test-ulps: Update.
27328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27329
dd7f4703
DM
273302012-03-16 David S. Miller <davem@davemloft.net>
27331
27332 * sysdeps/sparc/fpu/math_private.h: New file.
27333
006f1daa
DM
273342012-03-15 David S. Miller <davem@davemloft.net>
27335
c0c83bc8
DM
27336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27337 file.
e6a62e18 27338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27340 file.
e6a62e18
DM
27341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27347 sysdep routines.
27348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27349
88cb87d9
DM
27350 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27351 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27352
006f1daa 27353 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27355 sparc-ifunc.h
006f1daa 27356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27358 Likewise.
27359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27360 Likewise.
006f1daa
DM
27361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27365 Likewise.
006f1daa
DM
27366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27371 Likewise.
27372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27373 Likewise.
006f1daa
DM
27374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27380 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27381 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27392 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27398
11e0098e
AS
273992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27400
27401 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27402 scaling.
27403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27404
e85b09d0
AJ
274052012-03-15 Andreas Jaeger <aj@suse.de>
27406
27407 [BZ #13852]
27408 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27409 ieee754/flt-32 implementation for sin, cos and sincos.
27410 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27411 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27412 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27413 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27414 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27415 ieee754/flt-32 implementation for tan.
27416
27417 * math/libm-test.inc (cos_test): Enable some large input tests for
27418 float as well
27419 (sin_test): Likewise.
27420 (sincos_test): Likewise.
27421 (tan_test): Add tests for large input.
27422
27423 * sysdeps/i386/fpu/libm-test-ulps: Update.
27424
81c64153
AJ
274252012-03-15 Andreas Jaeger <aj@suse.de>
27426
27427 [BZ #13658]
27428 * math/libm-test.inc (cos_test): Add more test cases.
27429 (sin_test): Likewise.
27430 (sincos_test): Likewise.
27431
7bbfa5c6
AJ
274322012-03-15 Andreas Jaeger <aj@suse.de>
27433
27434 [BZ #13837]
27435 * math/libm-test.inc (cos_test): Add a test case for large input
27436 value.
27437 (sin_test): Likewise.
27438 (sincos_test): Likewise.
27439
274402012-03-15 Andreas Jaeger <aj@suse.de>,
27441 Joseph Myers <joseph@codesourcery.com>
27442
27443 [BZ #13658]
0671f479 27444 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27445 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27446 * sysdeps/i386/fpu/branred.c: Likewise.
27447 * sysdeps/i386/fpu/dosincos.c: Likewise.
27448 * sysdeps/i386/fpu/mpa.c: Likewise.
27449 * sysdeps/i386/fpu/s_cos.S: Likewise.
27450 * sysdeps/i386/fpu/s_sin.S: Likewise.
27451 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27452 * sysdeps/i386/fpu/sincos32.c: Likewise.
27453
27454 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27455 Define.
27456 (libc_feupdateenv_53bit): Define.
27457 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27458 Define.
27459 (libc_feupdateenv_53bit): Define.
27460
27461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27462 53 bit (without extend i386 double precision).
27463
27464 * math/libm-test.inc (sincos_test): Add tests for large input.
27465 (sin): Likewise.
27466 (cos): Likewise.
27467
27468 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27469
9cad04ea
AS
274702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27471
27472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27473
f7062b9a
DM
274742012-03-15 David S. Miller <davem@davemloft.net>
27475
27476 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27477 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27478 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27479 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27492 file.
f7062b9a 27493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27495 file.
f7062b9a 27496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27498 file.
f7062b9a 27499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27501 file.
f7062b9a
DM
27502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27504 fmin/fmax sysdep routines.
27505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27506
7bd951ff
DM
275072012-03-14 David S. Miller <davem@davemloft.net>
27508
559398ab
DM
27509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27513 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27516 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27529 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27531 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27532 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27533 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27534 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27538 routines.
27539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27540 file.
559398ab 27541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27543 file.
559398ab 27544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27546 file.
559398ab 27547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27549 file.
559398ab 27550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27552 file.
559398ab 27553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27555 file.
27556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27557 file.
27558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27559 file.
27560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27561 file.
27562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27563 New file.
27564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27565 file.
27566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27567 file.
559398ab 27568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27570 file.
559398ab 27571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27573 file.
559398ab 27574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27576 file.
559398ab 27577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27579 VIS3 routines.
559398ab
DM
27580
27581 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27582 New file.
27583
5a1c1e32
DM
27584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27585
eae47a36
DM
27586 * sysdeps/sparc/configure.in: New file.
27587 * sysdeps/sparc/configure: Generate.
27588 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27589 * configure: Regenerate.
27590 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27591 * config.make.in (have-as-vis3): New.
27592 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27593 available use -Av9d instead of -Av9a.
27594 * sysdeps/sparc/sparc64/Makefile: Likewise.
27595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27597 New file.
27598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27599 file.
27600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27601 New file.
27602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27603 file.
eae47a36
DM
27604 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27605 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27606 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27609
c0c83bc8
DM
27610 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27611 fzeros/fnegs to load 0x80000000 into a float register instead of
27612 using the stack.
7bd951ff
DM
27613 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27614
bd951ccb
JM
276152012-03-14 Joseph Myers <joseph@codesourcery.com>
27616
27617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27618 bits/syscall.h.
27619 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27620 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27621 ($(inst_includedir)/bits/syscall.h): Remove rule.
27622 ($(objpfx)bits/syscall.d): Include instead of
27623 $(objpfx)syscall-list.d.
27624 (generated): Change syscall-list.h and syscall-list.d to
27625 bits/syscall.h and bits/syscall.d.
27626
bb4e6db2
RM
276272012-03-14 Roland McGrath <roland@hack.frob.com>
27628
27629 [BZ #13846]
27630 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27631
aa4a2ae1
JM
276322012-03-14 Joseph Myers <joseph@codesourcery.com>
27633
e456826d
JM
27634 [BZ #13841]
27635 * math/s_csqrt.c: Include <float.h>.
27636 (__csqrt): Scale large or subnormal inputs.
27637 * math/s_csqrtf.c: Likewise.
27638 * math/s_csqrtl.c: Likewise.
27639 * math/libm-test.inc (csqrt_test): Add more tests.
27640 * sysdeps/i386/fpu/libm-test-ulps: Update.
27641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27642
aa4a2ae1
JM
27643 [BZ #13840]
27644 * math/libm-test.inc (hypot_test): Add more tests.
27645
7c10fd35
DM
276462012-03-13 David S. Miller <davem@davemloft.net>
27647
27648 [BZ #13840]
27649 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27650 double-precision for the calculation instead of scaling.
27651
f453b98b
JM
276522012-03-13 Joseph Myers <joseph@codesourcery.com>
27653
27654 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27655 manipulate bits before adding and subtracting TWO52[sx].
27656 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27658 Likewise.
27659 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27660
09a3453f
DM
276612012-03-13 David S. Miller <davem@davemloft.net>
27662
8e59da90
DM
27663 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27664 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27665 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27666 rtld-global-offsets.h
27667 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27668
2a8ab7f2
DM
27669 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27670 large parameters.
27671
10f62770
DM
27672 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27673
5f0bdb18
DM
27674 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27675 'err' in the ifdef scope in which it is actually used.
27676
09a3453f
DM
27677 * nss/nss_db/db-init.c: Include string.h
27678
b4b2eb5e
DM
276792012-03-12 David S. Miller <davem@davemloft.net>
27680
98bb2f1c
DM
27681 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27682 masking out of the most significant byte of random value used.
27683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27684 Fix coding style in previous change.
27685
b4b2eb5e
DM
27686 * sysdeps/unix/sysv/linux/kernel-features.h
27687 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27688 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27689 expression.
27690 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27691 later.
27692
6e226b09
DM
276932012-03-11 David S. Miller <davem@davemloft.net>
27694
a1bcbd40
DM
27695 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27696 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27697 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27698 for 'resultvar' otherwise things get truncated on 64-bit.
27699
cb9d6174
DM
27700 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27701 Fix masking out of the most significant byte of random value used.
27702
6e226b09
DM
27703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27704
058c132d
AS
277052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27706
27707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27708
2d2cd515
DM
277092012-03-09 David S. Miller <davem@davemloft.net>
27710
27711 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27712 variables with appropriate CPP guards.
27713 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27714 frame pointer, not the stack pointer. Correct layout comments. Fix test
27715 on resulting framesize and the management of the outregs buffer for pltexit.
27716 Preserve floating point return values across _dl_call_pltexit call.
27717 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27718 framesize and the management of the outregs buffer for pltexit.
27719 Preserve floating point return values across _dl_call_pltexit
27720 call.
27721 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27722 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27723 (print_exit): Fix format string for return register value.
27724
9a07f9d0
JM
277252012-03-10 Joseph Myers <joseph@codesourcery.com>
27726
27727 * sunrpc/Makefile (others): Add rpcgen.
27728 ($(objpfx)rpcgen): Remove special build rule and dependency on
27729 libc.
27730 * sunrpc/rpcgen.c: New file.
27731
547b5e30
PE
277322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27733
c524201a
PE
27734 [BZ #13673]
27735 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27736 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27737 * sysdeps/i386/crti.S: Likewise.
27738 * sysdeps/i386/crtn.S: Likewise.
27739 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27740 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27741 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27742 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27743 * sysdeps/sh/crti.S: Likewise.
27744 * sysdeps/sh/crtn.S: Likewise.
27745 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27746
7b6235f2
PE
27747 [BZ #13673]
27748 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27749 with URL.
27750 * locale/programs/locfile-kw.gperf: Likewise.
27751 * locale/programs/charmap-kw.h: Regenerated.
27752 * locale/programs/locfile-kw.h: Likewise.
27753
547b5e30
PE
27754 [BZ #13673]
27755 * intl/plural.y: Replace FSF snail mail address with URL.
27756 * intl/plural.c: Regenerated.
27757
5f0a5dae
RH
277582012-03-09 Richard Henderson <rth@twiddle.net>
27759
27760 * include/math_private.h: Remove file.
27761 * math/math_private.h: Move file ...
27762 * sysdeps/generic/math_private.h: ... here.
27763
b8c03620
RH
27764 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27765 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27766 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27767
4e234f5d 27768 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27769 and <math_private.h>.
27770 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27771 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27772 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27773 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27774 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27775 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27776 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27777 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27778 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27779 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27781 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27782 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27783 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27784 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27785 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27786 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27787 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27788 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27789 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27791 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27792 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27793 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27794 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27795 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27796 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27797 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27799 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27800 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27801 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27802 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27803 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27804 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27805 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27806 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27807 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27808 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27809 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27810 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27811 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27812 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27813 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27814 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27815 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27816 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27817 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27818 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27819 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27820 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27821 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27822 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27823 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27824 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27825 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27826 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27827 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27828 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27829 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27830 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27831 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27832 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27833 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27834 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27835 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27836 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27837 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27838 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27839 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27840 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27841 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27842 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27843 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27844 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27849 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27850 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27851 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27852 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27853 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27854 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27855 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27857 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27858 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27859 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27860 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27861 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27862 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27863 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27864 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27865 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27866 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27867 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27868 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27869 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27870 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27871 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27872 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27873 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27874 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27875 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27876 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27877 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27878 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27879 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27880 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27881 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27882 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27883 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27884 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27885 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27886 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27887 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27888 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27889 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27890 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27891 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27892 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27893 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27894 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27895 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27896 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27897 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27898 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27899 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27900 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27901 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27902 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27903 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27904 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27905 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27906 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27907 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27908 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27909 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27910 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27911 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27912 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27913 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27914 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27915 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27916 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27917 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27918 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27919 * sysdeps/ieee754/k_standard.c: Likewise.
27920 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27921 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27922 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27923 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27924 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27925 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27926 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27927 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27928 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27929 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27932 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27933 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27934 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27935 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27936 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27937 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27938 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27939 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27940 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27941 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27942 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27943 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27944 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27945 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27946 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27947 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27948 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27949 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27950 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27951 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27952 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27953 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27954 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27957 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27958 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27962 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27963 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27964 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27965 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27966 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27967 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27968 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27969 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27970 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27971 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27972 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27973 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27974 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27975 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27976 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27977 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27978 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27979 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27980 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27981 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27982 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27983 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27984 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27985 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27986 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27987 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27988 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27989 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27990 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27991 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27992 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27993 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27994 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27995 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27996 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27997 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27998 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27999 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28000 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28001 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28002 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28003 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28004 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28005 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28006 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28007 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28008 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28009 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28010 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28011 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28012 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28013 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28014 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28015 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28016 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28017 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28018 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28019 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28020 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28021 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28022 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28023 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28024 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28025 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28026 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28027 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28028 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28029 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28030 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28031 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28032 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28033 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28034 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28035 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28036 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28037 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28038 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28039 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28040 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28041 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28042 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28043 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28044 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28045 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28046 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28047 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28048 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28049 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28050 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28051 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28052 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28053 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28054 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28055 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28056 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28057 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28058 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28059 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28060 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28061 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28062 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28063 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28064 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28065 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28066 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28067 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28068 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28069 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28070 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28071 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28072 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28073 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28074 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28075 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28076 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28077 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28078 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28079 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28080 * sysdeps/ieee754/s_lib_version.c: Likewise.
28081 * sysdeps/ieee754/s_matherr.c: Likewise.
28082 * sysdeps/ieee754/s_signgam.c: Likewise.
28083 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28084 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28085 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28086 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28087 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28088 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28089 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28090 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28091 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28092 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28093 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28094 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28095 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28096 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28097 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28098 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28099 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28100 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28101 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28102 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28103 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28104
1991fa03
JM
281052012-03-09 Joseph Myers <joseph@codesourcery.com>
28106
28107 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28108 * sunrpc/rpc_main.c: Likewise.
28109 * sunrpc/rpc_svcout.c: Likewise.
28110
60d6f5a6
DM
281112012-03-09 David S. Miller <davem@davemloft.net>
28112
28113 * include/math_private.h: New file.
28114
4962050e
JM
281152012-03-09 Joseph Myers <joseph@codesourcery.com>
28116
02a6f887
JM
28117 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28118 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28119 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28120 from <bits/socket_type.h>.
28121 (enum __socket_type): Don't define here.
28122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28124 bits/socket_type.h.
28125
c6e013c1
JM
28126 [BZ #13566]
28127 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28128 checking __USE_GNU.
28129
4962050e
JM
28130 * Makerules ($(inst_includedir)/%.h): New rule.
28131 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28132 (install-others): Remove variable setting.
28133 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28134
38842f45
RH
281352012-03-08 Richard Henderson <rth@twiddle.net>
28136
67bb6da6
RH
28137 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28138 from macro to inline function; merge with the
28139 !__LIBC_INTERNAL_MATH_INLINES version.
28140 (__ieee754_sqrtf): Likewise.
28141
15194b4b
RH
28142 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28143 to inline function.
28144 (__rintf, __floor, __floorf): Likewise.
28145
64e21ede
RH
28146 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28147 macro to inline function.
28148 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28149
38842f45
RH
28150 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28151 not <math/math_private.h>.
28152
c64bf5fe
DM
281532012-03-08 David S. Miller <davem@davemloft.net>
28154
28155 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28156 copyright year.
28157 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28158
82d86f28
TS
281592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28160
28161 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28162 normalization.
28163 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28164 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28165
aea5d727
UD
281662012-03-08 Ulrich Drepper <drepper@gmail.com>
28167
28168 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28169 be defined individually, they must be defined as a block. Define
28170 S for printing a string instead of hidint the different by using a
28171 macro for adding the 'l'.
28172 * stdio-common/tst-fphex-wide.c: Adjust.
28173
70bca0a3
MP
281742012-03-07 Marek Polacek <polacek@redhat.com>
28175
28176 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28177
65b81130
MP
281782012-03-08 Marek Polacek <polacek@redhat.com>
28179
28180 [BZ #13806]
28181 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28182 * stdio-common/tst-fphex.c: Define a few macros to make the
28183 test reusable. Use them.
28184 * stdio-common/tst-fphex-wide.c: New file.
28185
07037eeb
JM
281862012-03-08 Joseph Myers <joseph@codesourcery.com>
28187
a7a93d50
JM
28188 [BZ #6911]
28189 * manual/macros.texi (gnusystems): New macro.
28190 (nongnusystems): Likewise.
28191 (gnulinuxhurdsystems): Likewise.
28192 (gnuhurdsystems): Likewise..
28193 (gnulinuxsystems): Likewise.
28194 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28195 variants of the GNU system, not "GNU system".
28196 * manual/conf.texi: Likewise.
28197 * manual/errno.texi: Likewise. Update example of errno macro
28198 expansion.
28199 * manual/filesys.texi: Likewise.
28200 (getumask): Document as specific to GNU/Hurd.
28201 * manual/install.texi: Likewise. Reword some references to
28202 GNU/Linux.
28203 * manual/intro.texi: Likewise.
28204 * manual/io.texi: Likewise.
28205 (File Name Portability): Detail which constraints are inapplicable
28206 to all GNU systems and which are only inapplicable to GNU/Hurd.
28207 * manual/job.texi: Likewise.
28208 * manual/llio.texi: Likewise.
28209 (O_NOCTTY): Document as present on GNU/Linux.
28210 * manual/maint.texi: Likewise.
28211 * manual/memory.texi: Likewise.
28212 * manual/pattern.texi: Likewise.
28213 * manual/pipe.texi: Likewise.
28214 * manual/process.texi: Likewise.
28215 * manual/resource.texi: Likewise.
28216 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28217 child on GNU/Hurd.
28218 * manual/setjmp.texi: Likewise.
28219 * manual/signal.texi: Likewise.
28220 * manual/startup.texi: Likewise.
28221 * manual/stdio.texi: Likewise.
28222 * manual/terminal.texi: Likewise.
28223 (ONLCR): Document as POSIX.
28224 (OXTABS): Document availability on GNU/Linux as XTABS.
28225 (ONOEOT): Document availability separately from other bits.
28226 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28227 * manual/time.texi: Likewise.
28228 * manual/users.texi: Likewise.
28229 * INSTALL: Regenerated.
28230 * sysdeps/gnu/errlist.c: Regenerated.
28231
07037eeb
JM
28232 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28233 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28234 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28235 puts.
28236 * configure: Regenerated.
28237
d1d3431a
JM
282382012-03-07 Joseph Myers <joseph@codesourcery.com>
28239
af6a1e37
JM
28240 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28241 default includes instead of AC_HEADER_CHECK.
28242 * sysdeps/i386/configure: Regenerated.
28243
d1d3431a
JM
28244 [BZ #10716]
28245 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28246 * math/s_cacoshf.c (__cacoshf): Likewise.
28247 * math/s_cacoshl.c (__cacoshl): Likewise.
28248 * math/s_casinh.c (__casinh): Set signs of result from argument.
28249 * math/s_casinhf.c (__casinhf): Likewise.
28250 * math/s_casinhl.c (__casinhl): Likewise.
28251 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28252 (casinh_test): Add more tests.
28253 * sysdeps/i386/fpu/libm-test-ulps: Update.
28254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28255
482ff4da
UD
282562012-03-07 Ulrich Drepper <drepper@gmail.com>
28257
872fda05
UD
28258 * po/zh_TW.po: Update from translation team.
28259
a4300c7a
UD
28260 * login/Makefile (distribute): Remove variable.
28261 * catgets/Makefile: Likewise.
28262 * mach/Makefile: Likewise.
28263 * malloc/Makefile: Likewise.
28264 * misc/Makefile: Likewise.
28265 * iconv/Makefile: Likewise.
28266 * nscd/Makefile: Likewise.
28267 * hurd/Makefile: Likewise.
28268 * manual/Makefile: Likewise.
28269 * locale/Makefile: Likewise.
28270 * intl/Makefile: Likewise.
28271 * conform/Makefile: Likewise.
28272 * nss/Makefile: Likewise.
28273 * time/Makefile: Likewise.
28274 * soft-fp/Makefile: Likewise.
28275 * dirent/Makefile: Likewise.
28276 * gmon/Makefile: Likewise.
28277 * po/Makefile: Likewise.
28278 * rt/Makefile: Likewise.
28279 * socket/Makefile: Likewise.
28280 * math/Makefile: Likewise.
28281 * signal/Makefile: Likewise.
28282 * debug/Makefile: Likewise.
28283 * elf/Makefile: Likewise.
28284 * timezone/Makefile: Likewise.
28285 * stdlib/Makefile: Likewise.
28286 * iconvdata/Makefile: Likewise.
28287 * sunrpc/Makefile: Likewise.
28288 * io/Makefile: Likewise.
28289 * argp/Makefile: Likewise.
28290 * inet/Makefile: Likewise.
28291 * hesiod/Makefile: Likewise.
28292 * grp/Makefile: Likewise.
28293 * csu/Makefile: Likewise.
28294 * wctype/Makefile: Likewise.
28295 * crypt/Makefile: Likewise.
28296 * libio/Makefile: Likewise.
28297 * string/Makefile: Likewise.
28298 * nis/Makefile: Likewise.
28299 * resolv/Makefile: Likewise.
28300 * stdio-common/Makefile: Likewise.
28301 * wcsmbs/Makefile: Likewise.
28302 * dlfcn/Makefile: Likewise.
28303 * posix/Makefile: Likewise.
28304
3b7c4e74 28305 [BZ #6959]
482ff4da
UD
28306 * timezone/Makefile: Don't install timezone files, just the programs
28307 and scripts.
28308
f72ed77d
UD
283092012-03-06 Ulrich Drepper <drepper@gmail.com>
28310
a000466f
UD
28311 * nss/databases.def: Add missing gshadow entry.
28312
f72ed77d
UD
28313 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28314
a53b7a4e
MP
283152012-03-06 Marek Polacek <polacek@redhat.com>
28316
28317 [BZ #13726]
28318 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28319 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28320 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28321 * stdio-common/tst-long-dbl-fphex.c: New file.
28322
e9258400
DM
283232012-03-06 David S. Miller <davem@davemloft.net>
28324
28325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28326 (set_obp_int): New function.
28327 (get_obp_int): New function.
28328 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28329 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28330 Avoid unused variable warnings on 'val' and use builtin_expect.
28331 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28332 __builtin_expect.
e9258400
DM
28333 (INLINE_CLONE_SYSCALL): Likewise.
28334
3bd2c723
DM
283352012-03-05 David S. Miller <davem@davemloft.net>
28336
28337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28338
bbb78d03
AS
283392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28340
884c5db4
AS
28341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28342
bbb78d03
AS
28343 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28344 only for |x| >= 40.
28345 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28346
1c9f702a 283472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28348
28349 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28350 Replace gettimeofday with __vdso_gettimeofday.
28351
7be16f82
RM
28352 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28353 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28354 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28355
28356 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28357 time with __vdso_time.
28358
ed58a00f
JM
283592012-03-05 Joseph Myers <joseph@codesourcery.com>
28360
28361 * manual/lang.texi (size_t): Note types to which size_t may be
28362 equivalent with the GNU C Library, but do not describe when
28363 differences between them are significant.
28364
30ee4ced
AJ
283652012-03-05 Andreas Jaeger <aj@suse.de>
28366
28367 * sysdeps/i386/fpu/libm-test-ulps: Update.
28368
b7cd39e8
JM
283692012-03-05 Joseph Myers <joseph@codesourcery.com>
28370
28371 [BZ #3976]
28372 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28373 (__ieee754_pow): Save and restore rounding mode and use
28374 round-to-nearest for main computations.
28375 * math/libm-test.inc (pow_test_tonearest): New function.
28376 (pow_test_towardzero): Likewise.
28377 (pow_test_downward): Likewise.
28378 (pow_test_upward): Likewise.
28379 (main): Call the new functions.
28380 * sysdeps/i386/fpu/libm-test-ulps: Update.
28381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
28382
28383 [BZ #3976]
28384 * math/libm-test.inc (cosh_test_tonearest): New function.
28385 (cosh_test_towardzero): Likewise.
28386 (cosh_test_downward): Likewise.
28387 (cosh_test_upward): Likewise.
28388 (sinh_test_tonearest): Likewise.
28389 (sinh_test_towardzero): Likewise.
28390 (sinh_test_downward): Likewise.
28391 (sinh_test_upward): Likewise.
28392 (main): Call the new functions.
28393 * sysdeps/i386/fpu/libm-test-ulps: Update.
28394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28395
6c6a98c9
TV
283962012-03-05 Tom de Vries <tom@codesourcery.com>
28397
28398 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28399 default stack guard is set in last bytes.
28400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28401
21bb2d2e 284022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28403
21bb2d2e 28404 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28405
21bb2d2e
AJ
28406 [BZ #13656]
28407 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28408 possibly allocate from heap instead of stack.
28409 * stdio-common/bug-vfprintf-nargs.c: New file.
28410 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28411
c6922934
AS
284122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28413
28414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28415
bc957d53
MP
284162012-03-03 Marek Polacek <polacek@redhat.com>
28417
28418 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28419 * math/math_private.h: Likewise.
28420 * stdlib/tst-strtod.c: Likewise.
28421 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28422 * sysdeps/x86_64/bits/atomic.h: Likewise.
28423
6358490d
DM
284242012-03-02 David S. Miller <davem@davemloft.net>
28425
28426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28430 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28431 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28432 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28433 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28434
01ae168d
RM
284352012-03-02 Roland McGrath <roland@hack.frob.com>
28436
d9a17c07
RM
28437 [BZ #13792]
28438 * manual/examples/README: New file, says the example source files
28439 can be used under GPL>=2.
28440 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28441 line containing just "*/".
28442 * manual/examples/add.c: Add copyright header (GPL>=2).
28443 * manual/examples/argp-ex1.c: Likewise.
28444 * manual/examples/argp-ex2.c: Likewise.
28445 * manual/examples/argp-ex3.c: Likewise.
28446 * manual/examples/argp-ex4.c: Likewise.
28447 * manual/examples/atexit.c: Likewise.
28448 * manual/examples/db.c: Likewise.
28449 * manual/examples/dir.c: Likewise.
28450 * manual/examples/dir2.c: Likewise.
28451 * manual/examples/execinfo.c: Likewise.
28452 * manual/examples/filecli.c: Likewise.
28453 * manual/examples/filesrv.c: Likewise.
28454 * manual/examples/fmtmsgexpl.c: Likewise.
28455 * manual/examples/genpass.c: Likewise.
28456 * manual/examples/inetcli.c: Likewise.
28457 * manual/examples/inetsrv.c: Likewise.
28458 * manual/examples/isockad.c: Likewise.
28459 * manual/examples/longopt.c: Likewise.
28460 * manual/examples/memopen.c: Likewise.
28461 * manual/examples/memstrm.c: Likewise.
28462 * manual/examples/mkfsock.c: Likewise.
28463 * manual/examples/mkisock.c: Likewise.
28464 * manual/examples/mygetpass.c: Likewise.
28465 * manual/examples/pipe.c: Likewise.
28466 * manual/examples/popen.c: Likewise.
28467 * manual/examples/rprintf.c: Likewise.
28468 * manual/examples/search.c: Likewise.
28469 * manual/examples/select.c: Likewise.
28470 * manual/examples/setjmp.c: Likewise.
28471 * manual/examples/sigh1.c: Likewise.
28472 * manual/examples/sigusr.c: Likewise.
28473 * manual/examples/stpcpy.c: Likewise.
28474 * manual/examples/strdupa.c: Likewise.
28475 * manual/examples/strftim.c: Likewise.
28476 * manual/examples/strncat.c: Likewise.
28477 * manual/examples/subopt.c: Likewise.
28478 * manual/examples/swapcontext.c: Likewise.
28479 * manual/examples/termios.c: Likewise.
28480 * manual/examples/testopt.c: Likewise.
28481 * manual/examples/testpass.c: Likewise.
28482 * manual/examples/timeval_subtract.c: Likewise.
28483
01ae168d
RM
28484 [BZ #13792]
28485 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28486 function to ...
28487 * manual/timeval_subtract.c.texi: ... here, new file.
28488
49efa33d
DM
284892012-03-02 David S. Miller <davem@davemloft.net>
28490
28491 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28492
28afd92d
JM
284932012-03-02 Joseph Myers <joseph@codesourcery.com>
28494
804360ed
JM
28495 [BZ #3976]
28496 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28497 (__sin): Save and restore rounding mode and use round-to-nearest
28498 for all computations.
28499 (__cos): Save and restore rounding mode and use round-to-nearest
28500 for all computations.
28501 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28502 <fenv.h>.
28503 (tan): Save and restore rounding mode and use round-to-nearest for
28504 all computations.
28505 * math/libm-test.inc (cos_test_tonearest): New function.
28506 (cos_test_towardzero): Likewise.
28507 (cos_test_downward): Likewise.
28508 (cos_test_upward): Likewise.
28509 (sin_test_tonearest): Likewise.
28510 (sin_test_towardzero): Likewise.
28511 (sin_test_downward): Likewise.
28512 (sin_test_upward): Likewise.
28513 (tan_test_tonearest): Likewise.
28514 (tan_test_towardzero): Likewise.
28515 (tan_test_downward): Likewise.
28516 (tan_test_upward): Likewise.
28517 (main): Call the new functions.
28518 * sysdeps/i386/fpu/libm-test-ulps: Update.
28519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28520
a6d06d7b
JM
28521 [BZ #10135]
28522 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28523 small n, then large n, before computing and testing k+n.
28524 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28526 Likewise.
28527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28528 Likewise.
28529 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28530 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28531 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28532 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28533 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28534 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28535 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28536 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28537 * math/libm-test.inc (scalbn_test): Add more tests.
28538 (scalbln_test): Likewise.
28539
07e12bb3
JM
28540 * manual/filesys.texi (mode_t): Describe constraints on size and
28541 signedness, not exact equivalence to a particular type.
28542 (ino_t): Likewise.
28543 (ino64_t): Likewise.
28544 (dev_t): Likewise.
28545 (nlink_t): Likewise.
28546 (blkcnt_t): Likewise.
28547 (blkcnt64_t): Likewise.
28548 * manual/llio.texi (off_t): Likewise.
28549
28afd92d
JM
28550 [BZ #3976]
28551 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28552 (__ieee754_exp): Save and restore rounding mode and use
28553 round-to-nearest for all computations.
28554 * math/libm-test.inc (exp_test_tonearest): New function.
28555 (exp_test_towardzero): Likewise.
28556 (exp_test_downward): Likewise.
28557 (exp_test_upward): Likewise.
28558 (main): Call the new functions.
28559 * sysdeps/i386/fpu/libm-test-ulps: Update.
28560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28561
b1eeb65d
CD
285622012-03-01 Chris Demetriou <cgd@google.com>
28563
28564 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28565 have predictable order.
28566
53362a4b
DM
285672012-03-01 David S. Miller <davem@davemloft.net>
28568
3c969083
DM
28569 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28570
759707de
DM
28571 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28572 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28573 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28574 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28575
dfdb8ff2
DM
28576 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28577 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28578 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28580 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28581 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28582 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28583 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28584 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28585
ead89f96
DM
28586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28587
7f66bd07
DM
28588 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28589 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28590 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28591
53362a4b
DM
28592 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28593 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28594 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28595 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28596 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28597 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28598 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28599 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28600 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28601 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28602 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28603 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28605 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28606 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28608 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28609 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28610 * sysdeps/sparc/elf/configure: Regenerated.
28611
7b1902cb
JM
286122012-03-01 Joseph Myers <joseph@codesourcery.com>
28613
bec039bc
JM
28614 * configure.in (AS, LD): Require binutils 2.20 or later.
28615 * configure: Regenerated.
28616 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28617 as required minimum version.
28618 * INSTALL: Regenerated.
28619
7b1902cb
JM
28620 [BZ #2541]
28621 [BZ #4108]
28622 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28623 before squaring exponent.
28624 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28625 bottom long double and 27 bits of top long double before squaring
28626 exponent.
28627 * math/libm-test.inc (erfc_test): Add more tests.
28628 * sysdeps/i386/fpu/libm-test-ulps: Update.
28629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28631
f775c276
KT
286322012-03-01 Kai Tietz <ktietz@redhat.com>
28633
28634 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28635 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28636 containing bit-fields.
28637 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28638 * soft-fp/single.h (_FP_UNION_S): Likewise.
28639 * soft-fp/double.h (_FP_UNION_D): Likewise.
28640
5b8a4d4a
JM
286412012-02-29 Joseph Myers <joseph@codesourcery.com>
28642
0bab47b6
JM
28643 [BZ #13786]
28644 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28645 not include ../strcmp.S.
28646 [USE_AS_STRNCASECMP_L]: Likewise.
28647 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28648 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28649 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28650 (__strncasecmp_l_ia32): Define as alias to
28651 __strncasecmp_l_nonascii.
28652
0fcad3e2
JM
28653 [BZ #5794]
28654 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28655 * sysdeps/i386/fpu/libm-test-ulps: Update.
28656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28657
5b8a4d4a
JM
28658 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28660
8fdceb2e
JL
286612012-02-29 Jeff Law <law@redhat.com>
28662
28663 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28664 out of bounds read.
28665
1f393a11
MP
286662012-02-29 Marek Polacek <polacek@redhat.com>
28667
28668 [BZ #13706]
28669 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28670 * elf/Makefile: Add rules to run tst-unused-dep.out.
28671
8847f037
DM
286722012-02-28 David S. Miller <davem@davemloft.net>
28673
28674 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28675 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28676 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28677 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28678 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28679 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28680
169d7f11
JM
286812012-02-29 Joseph Myers <joseph@codesourcery.com>
28682
28683 * math/libm-test.inc (llround_test): Move one test from
28684 lround_test. Use TEST_f_L in moved test.
28685 (lround_test): Move misplaced test to llround_test. Add testcase
28686 from bug 2561.
28687
39adf059
UD
286882012-02-28 Ulrich Drepper <drepper@gmail.com>
28689
28690 * sysdeps/x86_64/fpu/e_expf.S: New file.
28691 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28692
71b5d1c5
SB
286932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28694
28695 [BZ #13637]
28696 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28697 of remain_len that may cause incomplete multi-byte character and
28698 false match.
28699 * posix/bug-regex33.c: New file.
28700 * posix/Makefile (tests): Add bug-regex33.
28701
1f77f049
JM
287022012-02-28 Joseph Myers <joseph@codesourcery.com>
28703
28704 * manual/macros.texi: New file.
28705 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28706 * manual/libc.texinfo: Include macros.texi.
28707 * manual/creatute.texi: Likewise.
28708 * manual/install.texi: Likewise.
28709 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28710 @glibcadj{} in references to the GNU C Library.
28711 * manual/charset.texi: Likewise.
28712 * manual/conf.texi: Likewise.
28713 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28714 when not using those macros.
28715 * manual/creature.texi: Likewise.
28716 * manual/crypt.texi: Likewise.
28717 * manual/errno.texi: Likewise.
28718 * manual/filesys.texi: Likewise.
28719 * manual/header.texi: Likewise.
28720 * manual/install.texi: Likewise.
28721 * manual/intro.texi: Likewise.
28722 * manual/io.texi: Likewise.
28723 * manual/job.texi: Likewise.
28724 * manual/lang.texi: Likewise.
28725 * manual/libc.texiinfo: Likewise.
28726 * manual/llio.texi: Likewise.
28727 * manual/locale.texi: Likewise.
28728 * manual/maint.texi: Likewise.
28729 * manual/math.texi: Likewise.
28730 * manual/memory.texi: Likewise.
28731 * manual/message.texi: Likewise.
28732 * manual/nss.texi: Likewise.
28733 * manual/pattern.texi: Likewise.
28734 * manual/process.texi: Likewise.
28735 * manual/resource.texi: Likewise.
28736 * manual/search.texi: Likewise.
28737 * manual/setjmp.texi: Likewise.
28738 * manual/signal.texi: Likewise.
28739 * manual/socket.texi: Likewise.
28740 * manual/startup.texi: Likewise.
28741 * manual/stdio.texi: Likewise.
28742 * manual/string.texi: Likewise.
28743 * manual/sysinfo.texi: Likewise.
28744 * manual/syslog.texi: Likewise.
28745 * manual/terminal.texi: Likewise.
28746 * manual/time.texi: Likewise.
28747 * manual/users.texi: Likewise.
28748 * INSTALL: Regenerated.
28749 * NOTES: Regenerated.
d40c5d54 28750 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28751
450bf206
AS
287522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28753
28754 * include/dirent.h: Include <dirstream.h> before
28755 <dirent/dirent.h>.
28756
741a235b
DM
287572012-02-28 David S. Miller <davem@davemloft.net>
28758
28759 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28760 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28761 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28762 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28763
d6b5aa58
DM
287642012-02-27 David S. Miller <davem@davemloft.net>
28765
1aff59a3
DM
28766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28768 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28769 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28770
d6b5aa58
DM
28771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28772 frame pointer instead of stack pointer relative arg slot.
28773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28774 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28775 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28776
433f48bf
CD
287772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28778
28779 [BZ #3992]
28780 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28781
d674b76d
DM
287822012-02-27 David S. Miller <davem@davemloft.net>
28783
28784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28788 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28789 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28790 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28791 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28792
0e7727f7
JM
287932012-02-27 Joseph Myers <joseph@codesourcery.com>
28794
28795 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28796 later. Allow versions 5-9.
43be4ca2 28797 * configure: Regenerated.
0e7727f7
JM
28798 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28799 required minimum version and 4.6 as recommended version. Do not
28800 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28801 * INSTALL: Regenerated.
0e7727f7 28802
a78bc654
DM
288032012-02-27 David S. Miller <davem@davemloft.net>
28804
428d5830
DM
28805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28809 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28810 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28811 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28812 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28813
a78bc654
DM
28814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28815 manipulate bits before adding and subtracting TWO112[sx].
28816 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28817
4579f81c
RM
288182012-02-27 Roland McGrath <roland@hack.frob.com>
28819
36c8acb4
RM
28820 [BZ #13775]
28821 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28822 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28823 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28824 being in POSIX, because they are in 1003.1-2008.
28825
84ad622b
RM
28826 * rt/tst-aio.c: Include <fcntl.h>.
28827 * rt/tst-aio7.c: Likewise.
28828 * rt/tst-aio64.c: Likewise.
28829
4579f81c
RM
28830 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28831
abd923db
JM
288322012-02-27 Joseph Myers <joseph@codesourcery.com>
28833
28834 * manual/install.texi (--with-headers): Describe headers as
28835 interface headers, not private headers.
28836 (Specific advice for GNU/Linux systems): Describe use of headers
28837 from "make headers_install", not private headers from older
28838 kernels.
43be4ca2 28839 * INSTALL: Regenerated.
abd923db
JM
28840 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28841 Change to 2.6.19.
28842 * sysdeps/unix/sysv/linux/configure: Regenerated.
28843
6664049b
JM
28844 * manual/llio.texi (fclean): Remove documentation.
28845
bb8b6697
JM
28846 * manual/Makefile (libc-texi-generated): New variable. Include
28847 version.texi.
28848 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28849 $(libc-texi-generated), not duplicated list of files.
28850 (version.texi, stamp-version): New rules.
28851 (realclean): Remove $(libc-texi-generated), not individual files
28852 from that list. Do not remove dir-add.texinfo.
28853 * manual/libc.texinfo: Comment out uses of edition numbers and
28854 references to printed manual. Remove last-updated dates.
28855 (EDITION): Comment out.
28856 (ISBN): Likewise.
28857 (VERSION, UPDATED): Remove.
28858 (version.texi): Include.
28859
12e5c3b9
AS
288602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28861
28862 * sysdeps/posix/spawni.c: Include <signal.h>.
28863 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28864 * sysdeps/pthread/aio_fsync.c: Likewise.
28865
4efeffc1 288662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28867
ba63ba08
UD
28868 * conform/Makefile (tests): Run only when not cross-compiling and
28869 when fast-check is not defined.
28870
d94a4670
UD
28871 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28872 * conform/data/limits.h-data: Fixes for POSIX2008.
28873 * conform/run-conformtest.sh: Run all tests.
28874 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28875 headers.
28876 * include/bits/dlfcn.h: Likewise.
28877 * include/langinfo.h: Likewise.
28878 * include/monetary.h: Likewise.
28879 * include/sys/poll.h: Likewise.
28880
28881 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28882 for __USE_GNU.
28883 * posix/spawn.h: Define __need_sigset_t.
28884 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28885 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28886 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28887 to get sigevent_t only.
28888 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28889 only for __USE_GNU.
28890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28891 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28892 process_vm_writev only for __USE_GNU.
28893 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28894
28895 * conform/Makefile: For now ignore errors from run-conformtest.
28896 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28897 POSIX to avoid namespace pollution. Don't prepend headers.
28898 * conform/data/aio.h-data: Fixes for POSIX testing.
28899 * conform/data/fcntl.h-data: Likewise.
28900 * conform/data/glob.h-data: Likewise.
28901 * conform/data/grp.h-data: Likewise.
28902 * conform/data/pthread.h-data: Likewise.
28903 * conform/data/pwd.h-data: Likewise.
28904 * conform/data/signal.h-data: Likewise.
28905 * conform/data/spawn.h-data: Likewise.
28906 * conform/data/stdio.h-data: Likewise.
28907 * conform/data/stdlib.h-data: Likewise.
28908 * conform/data/stropts.h-data: Likewise.
28909 * conform/data/sys/mman.h-data: Likewise.
28910 * conform/data/sys/stat.h-data: Likewise.
28911 * conform/data/sys/types.h-data: Likewise.
28912 * conform/data/sys/wait.h-data: Likewise.
28913 * conform/data/time.h-data: Likewise.
28914 * conform/data/unistd.h-data: Likewise.
28915 * conform/data/utime.h-data: Likewise.
28916
28917 * io/sys/stat.h: fchmod was always in POSIX.
28918 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28919 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28920 * rt/aio.h: Define __need_timespec before including <time.h>.
28921 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28922 struct. Add forward declaration of pthread_attr_t and use it in
28923 sigevent.
28924 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28925 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28926 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28927 always remove CLK_TCK definition.
28928
c20105c3
AS
289292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28930
28931 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28932
7a270350
UD
289332012-02-25 Ulrich Drepper <drepper@gmail.com>
28934
31341567
UD
28935 * conform/run-conformtest.sh: New file.
28936 * conform/Makefile: Run run-conformtest for tests.
28937 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28938 support.
28939
28940 * conform/data/uchar.h-data: New file.
28941 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28942 * conform/data/arpa/inet.h-data: Likewise.
28943 * conform/data/assert.h-data: Likewise.
28944 * conform/data/complex.h-data: Likewise.
28945 * conform/data/cpio.h-data: Likewise.
28946 * conform/data/ctype.h-data: Likewise.
28947 * conform/data/dirent.h-data: Likewise.
28948 * conform/data/dlfcn.h-data: Likewise.
28949 * conform/data/errno.h-data: Likewise.
28950 * conform/data/fcntl.h-data: Likewise.
28951 * conform/data/float.h-data: Likewise.
28952 * conform/data/fmtmsg.h-data: Likewise.
28953 * conform/data/fnmatch.h-data: Likewise.
28954 * conform/data/ftw.h-data: Likewise.
28955 * conform/data/glob.h-data: Likewise.
28956 * conform/data/grp.h-data: Likewise.
28957 * conform/data/iconv.h-data: Likewise.
28958 * conform/data/inttypes.h-data: Likewise.
28959 * conform/data/langinfo.h-data: Likewise.
28960 * conform/data/libgen.h-data: Likewise.
28961 * conform/data/limits.h-data: Likewise.
28962 * conform/data/locale.h-data: Likewise.
28963 * conform/data/math.h-data: Likewise.
28964 * conform/data/monetary.h-data: Likewise.
28965 * conform/data/mqueue.h-data: Likewise.
28966 * conform/data/ndbm.h-data: Likewise.
28967 * conform/data/net/if.h-data: Likewise.
28968 * conform/data/netdb.h-data: Likewise.
28969 * conform/data/netinet/in.h-data: Likewise.
28970 * conform/data/nl_types.h-data: Likewise.
28971 * conform/data/poll.h-data: Likewise.
28972 * conform/data/pthread.h-data: Likewise.
28973 * conform/data/pwd.h-data: Likewise.
28974 * conform/data/regex.h-data: Likewise.
28975 * conform/data/sched.h-data: Likewise.
28976 * conform/data/search.h-data: Likewise.
28977 * conform/data/semaphore.h-data: Likewise.
28978 * conform/data/setjmp.h-data: Likewise.
28979 * conform/data/signal.h-data: Likewise.
28980 * conform/data/spawn.h-data: Likewise.
28981 * conform/data/stdarg.h-data: Likewise.
28982 * conform/data/stdio.h-data: Likewise.
28983 * conform/data/stdlib.h-data: Likewise.
28984 * conform/data/string.h-data: Likewise.
28985 * conform/data/strings.h-data: Likewise.
28986 * conform/data/stropts.h-data: Likewise.
28987 * conform/data/sys/ipc.h-data: Likewise.
28988 * conform/data/sys/mman.h-data: Likewise.
28989 * conform/data/sys/msg.h-data: Likewise.
28990 * conform/data/sys/resource.h-data: Likewise.
28991 * conform/data/sys/select.h-data: Likewise.
28992 * conform/data/sys/sem.h-data: Likewise.
28993 * conform/data/sys/shm.h-data: Likewise.
28994 * conform/data/sys/socket.h-data: Likewise.
28995 * conform/data/sys/stat.h-data: Likewise.
28996 * conform/data/sys/statvfs.h-data: Likewise.
28997 * conform/data/sys/time.h-data: Likewise.
28998 * conform/data/sys/timeb.h-data: Likewise.
28999 * conform/data/sys/times.h-data: Likewise.
29000 * conform/data/sys/types.h-data: Likewise.
29001 * conform/data/sys/uio.h-data: Likewise.
29002 * conform/data/sys/un.h-data: Likewise.
29003 * conform/data/sys/utsname.h-data: Likewise.
29004 * conform/data/sys/wait.h-data: Likewise.
29005 * conform/data/syslog.h-data: Likewise.
29006 * conform/data/tar.h-data: Likewise.
29007 * conform/data/termios.h-data: Likewise.
29008 * conform/data/utime.h-data: Likewise.
29009 * conform/data/utmpx.h-data: Likewise.
29010 * conform/data/varargs.h-data: Likewise.
29011 * conform/data/wchar.h-data: Likewise.
29012 * conform/data/wctype.h-data: Likewise.
29013 * conform/data/wordexp.h-data: Likewise.
29014
29015 * include/stropts.h: New file.
29016 * include/uchar.h: New file.
29017 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29018 * include/assert.h: Likewise.
29019 * include/ctype.h: Likewise.
29020 * include/dirent.h: Likewise.
29021 * include/dlfcn.h: Likewise.
29022 * include/fcntl.h: Likewise.
29023 * include/fnmatch.h: Likewise.
29024 * include/glob.h: Likewise.
29025 * include/grp.h: Likewise.
29026 * include/libio.h: Likewise.
29027 * include/locale.h: Likewise.
29028 * include/math.h: Likewise.
29029 * include/net/if.h: Likewise.
29030 * include/netdb.h: Likewise.
29031 * include/netinet/in.h: Likewise.
29032 * include/pthread.h: Likewise.
29033 * include/pwd.h: Likewise.
29034 * include/regex.h: Likewise.
29035 * include/sched.h: Likewise.
29036 * include/search.h: Likewise.
29037 * include/setjmp.h: Likewise.
29038 * include/signal.h: Likewise.
29039 * include/stdio.h: Likewise.
29040 * include/stdlib.h: Likewise.
29041 * include/string.h: Likewise.
29042 * include/sys/cdefs.h: Likewise.
29043 * include/sys/mman.h: Likewise.
29044 * include/sys/msg.h: Likewise.
29045 * include/sys/resource.h: Likewise.
29046 * include/sys/select.h: Likewise.
29047 * include/sys/socket.h: Likewise.
29048 * include/sys/stat.h: Likewise.
29049 * include/sys/statvfs.h: Likewise.
29050 * include/sys/time.h: Likewise.
29051 * include/sys/times.h: Likewise.
29052 * include/sys/uio.h: Likewise.
29053 * include/sys/utsname.h: Likewise.
29054 * include/sys/wait.h: Likewise.
29055 * include/termios.h: Likewise.
29056 * include/time.h: Likewise.
29057 * include/ulimit.h: Likewise.
29058 * include/unistd.h: Likewise.
29059 * include/utime.h: Likewise.
29060 * include/wchar.h: Likewise.
29061 * include/wctype.h: Likewise.
29062 * include/wordexp.h: Likewise.
29063
29064 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29065
7a270350
UD
29066 * time/time.h: TIME_UTC must be a macro.
29067 Make timespec_get available for ISO C11 only as well.
29068
7724defc
UD
290692012-02-24 Ulrich Drepper <drepper@gmail.com>
29070
29071 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29072 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29073
6b1d1d46
JM
290742012-02-24 Joseph Myers <joseph@codesourcery.com>
29075
29076 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29077
0f8bbd69
JM
290782012-02-24 Joseph Myers <joseph@codesourcery.com>
29079
29080 * manual/texinfo.tex: Update to version 2012-01-19.16.
29081
66ab80bc
JM
290822012-02-24 Joseph Myers <joseph@codesourcery.com>
29083
29084 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29085
74981cc5
RM
290862012-02-24 Roland McGrath <roland@hack.frob.com>
29087
ee968201
RM
29088 [BZ #13738]
29089 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29090 * manual/fdl-1.3.texi: New file.
29091 * manual/fdl-1.1.texi: File removed.
29092
74981cc5
RM
29093 [BZ #13738]
29094 * manual/libc.texinfo (FDL_VERSION): New @set.
29095 Use it for mention of FDL in cover text.
29096 (Documentation License): Use it in @include file name.
29097
7bb764bc
JM
290982012-02-22 Joseph Myers <joseph@codesourcery.com>
29099 Roland McGrath <roland@hack.frob.com>
29100
29101 [BZ #5461]
29102 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29103 not LONG_LONG_MAX and LONG_LONG_MIN.
29104 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29105 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29106 name.
29107 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29108
6cbeae47
JM
291092012-02-22 Joseph Myers <joseph@codesourcery.com>
29110
29111 [BZ #2547]
29112 [BZ #11365]
29113 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29114 manipulate bits before adding and subtracting TWO23[sx].
29115 * math/libm-test.inc (nearbyint_test): Add more tests.
29116
fe45ce09
JM
291172012-02-22 Joseph Myers <joseph@codesourcery.com>
29118
29119 [BZ #2548]
29120 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29121 bits before adding and subtracting TWO23[sx].
29122 * math/libm-test.inc (rint_test): Add more tests.
29123 (rint_test_tonearest): Likewise.
29124 (rint_test_towardzero): Likewise.
29125 (rint_test_downward): Likewise.
29126 (rint_test_upward: Likewise.
29127
ff3b3d82
JM
291282012-02-22 Joseph Myers <joseph@codesourcery.com>
29129
29130 [BZ #10110]
29131 * include/stdc-predef.h: New file. Extracted from features.h.
29132 * include/features.h: Include stdc-predef.h.
29133 * Makefile (headers): Add stdc-predef.h.
29134 * CONFORMANCE (Compiler limitations): Update.
29135
ef0aab35
JM
291362012-02-22 Joseph Myers <joseph@codesourcery.com>
29137
29138 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29139
58639409
DM
291402012-02-21 David S. Miller <davem@davemloft.net>
29141
29142 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29143 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29144
c0e70b25
DM
291452012-02-20 David S. Miller <davem@davemloft.net>
29146
29147 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29148 using a normal save/restore sequence, rather than allocating a
29149 dummy stack frame just to store a frame pointer and restore.
29150 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29151
fb06851d
JM
291522012-02-21 Joseph Myers <joseph@codesourcery.com>
29153
29154 * manual/install.texi: Fix stray word in line-wrapped comment.
29155
7a8b71c3
DM
291562012-02-20 David S. Miller <davem@davemloft.net>
29157
d510c123
DM
29158 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29159 both binutils and gcc support GOTDATA.
29160
0722d7c2
DM
29161 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29162 "rd %pc" in the PIC register setup sequences.
29163
3d2b3019
DM
29164 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29165 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29166 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29167 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29168 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29170 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29171 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29173 (SYSCALL_ERROR_HANDLER): Likewise.
29174 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29175 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29177 (SYSCALL_ERROR_HANDLER): Likewise.
29178
c80098a9
DM
29179 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29180 (HAVE_GCC_GOTDATA): New.
29181 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29182 relocation support in both binutils and gcc.
29183 * sysdeps/sparc/elf/configure: Regenerate.
29184
3a2545a0
DM
29185 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29186 * sysdeps/sparc/sparc32/elf/configure: Delete.
29187 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29188 * sysdeps/sparc/sparc64/elf/configure: Delete.
29189 * sysdeps/sparc/elf/configure.in: New file.
29190 * sysdeps/sparc/elf/configure: Generate.
29191
7a8b71c3
DM
29192 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29193 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29194 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29195 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29196 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29197
f1e86fca
JM
291982012-02-21 Joseph Myers <joseph@codesourcery.com>
29199
29200 * manual/install.texi: Do not mention specific glibc version
29201 numbers.
29202 * manual/libc.texinfo (VERSION, UPDATED): Update.
29203 (@copying): Use @copyright{} and range of years.
29204
0e7dfaef
JM
292052012-02-21 Joseph Myers <joseph@codesourcery.com>
29206
29207 [BZ #13695]
29208 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29209 [crti.S not in sysdirs] (generated): Do not append.
29210 [crti.S not in sysdirs] (omit-deps): Likewise.
29211 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29212 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29213 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29214 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29215 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29216 Likewise.
29217 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29218 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29219 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29220 * csu/defs.awk: Remove file.
29221 * sysdeps/generic/initfini.c: Likewise.
29222 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29223 variable.
29224 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29225 Likewise.
29226
599af3ca
JM
292272012-02-20 Joseph Myers <joseph@codesourcery.com>
29228
29229 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29230 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29231 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29232 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29233 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29234 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29235 <bits/epoll.h>.
29236 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29237 (__EPOLL_PACKED): Define to empty if not defined by
29238 <bits/epoll.h>.
29239 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29241 bits/epoll.h.
29242
0e499750
JM
292432012-02-20 Joseph Myers <joseph@codesourcery.com>
29244
29245 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29246 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29247 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29248 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29249 <bits/timerfd.h>.
29250 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29252 bits/timerfd.h.
29253
5ad91f6e
JM
292542012-02-20 Joseph Myers <joseph@codesourcery.com>
29255
29256 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29257 in C locale.
29258 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29259 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29260 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29262
06b99b02
AJ
292632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29264
29265 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29266 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29267
7638c0fd
AS
292682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29269
29270 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29271 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29272 defined.
29273 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29274 Likewise.
29275 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29276 entry for 2.16.
29277
92221550
AJ
292782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29279
29280 * math/w_acos.c: Use non-signaling floating-point comparisons.
29281 * math/w_acosf.c: Likewise.
29282 * math/w_acosh.c: Likewise.
29283 * math/w_acoshf.c: Likewise.
29284 * math/w_acoshl.c: Likewise.
29285 * math/w_acosl.c: Likewise.
29286 * math/w_asin.c: Likewise.
29287 * math/w_asinf.c: Likewise.
29288 * math/w_asinl.c: Likewise.
29289 * math/w_atanh.c: Likewise.
29290 * math/w_atanhf.c: Likewise.
29291 * math/w_atanhl.c: Likewise.
29292 * math/w_exp2.c: Likewise.
29293 * math/w_exp2f.c: Likewise.
29294 * math/w_exp2l.c: Likewise.
29295 * math/w_j0.c: Likewise.
29296 * math/w_j0f.c: Likewise.
29297 * math/w_j0l.c: Likewise.
29298 * math/w_j1.c: Likewise.
29299 * math/w_j1f.c: Likewise.
29300 * math/w_j1l.c: Likewise.
29301 * math/w_jn.c: Likewise.
29302 * math/w_jnf.c: Likewise.
29303 * math/w_log.c: Likewise.
29304 * math/w_log10.c: Likewise.
29305 * math/w_log10f.c: Likewise.
29306 * math/w_log10l.c: Likewise.
29307 * math/w_log2.c: Likewise.
29308 * math/w_log2f.c: Likewise.
29309 * math/w_log2l.c: Likewise.
29310 * math/w_logf.c: Likewise.
29311 * math/w_logl.c: Likewise.
29312 * math/w_sqrt.c: Likewise.
29313 * math/w_sqrtf.c: Likewise.
29314 * math/w_sqrtl.c: Likewise.
29315 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29316 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29317 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29318 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29319 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29320
ebaf36eb
JM
293212012-02-19 Joseph Myers <joseph@codesourcery.com>
29322
29323 [BZ #9739]
29324 * manual/string.texi (strnlen): Use correct parameter name in
29325 equivalent expression.
29326
71c254a6
JM
293272012-02-19 Joseph Myers <joseph@codesourcery.com>
29328
29329 [BZ #11174]
29330 * manual/users.texi (seteuid): Consistently use neweuid for
29331 argument name.
29332
16d2c631
JM
293332012-02-19 Joseph Myers <joseph@codesourcery.com>
29334
29335 [BZ #13704]
29336 * manual/nss.texi (Services in the NSS configuration): Correct
29337 list of services in example configuration file.
29338
cd837b09
NB
293392012-02-19 Nick Bowler <nbowler@draconx.ca>
29340
29341 [BZ #11322]
29342 * manual/arith.texi: Remove statements about negative zero
29343 behaving identically to zero.
29344
02c4bbad
JM
293452012-02-18 Joseph Myers <joseph@codesourcery.com>
29346
29347 [BZ #5993]
29348 * manual/install.texi: Do not document upgrading from libc5.
29349
366842e7
JM
293502012-02-18 Joseph Myers <joseph@codesourcery.com>
29351
29352 [BZ #4596]
29353 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29354
dd54084d
DM
293552012-02-18 David S. Miller <davem@davemloft.net>
29356
29357 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29358 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29359 %o7 across the call.
29360 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29361 instead.
29362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29363 SETUP_PIC_REG_LEAF.
29364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29365 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29366 * sysdeps/sparc/crtn.S: Likewise.
29367
2bcc53a3
UD
293682012-02-17 Ulrich Drepper <drepper@gmail.com>
29369
29370 * aout/Makefile: Remove.
29371
09c093b5
RK
293722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29373
29374 [BZ #13058]
29375 * manual/examples/argp-ex1.c (main): Format definition in GNU
29376 style.
29377 * manual/examples/argp-ex2.c (main): Likewise.
29378 * manual/examples/argp-ex3.c (main): Likewise.
29379 * manual/examples/argp-ex4.c (main): Likewise.
29380 * manual/examples/longopt.c (main): Use new-style prototype
29381 definition.
29382 * manual/examples/strncat.c (main): Specify return type and use
29383 (void) for arguments.
29384 * manual/examples/subopt.c (main): Use char **argv argument.
29385
2ee633a2
JM
293862012-02-17 Joseph Myers <joseph@codesourcery.com>
29387
29388 [BZ #5077]
29389 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29390 rounding modes.
29391
0520adde
FB
293922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29393
29394 [BZ #6907]
29395 * manual/string.texi (strchr): Change when strchrnul is
29396 recommended.
29397
3f4081cd
DGM
293982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29399
29400 [BZ #174]
29401 * manual/locale.texi (setlocale): Document LOCPATH.
29402
d1b10e78
JM
294032012-02-17 Joseph Myers <joseph@codesourcery.com>
29404
29405 [BZ #10210]
29406 * manual/process.texi (execle): Move @dots{} before last argument.
29407
79c6869c
PB
294082012-02-17 Paul Bolle <pebolle@tiscali.nl>
29409
29410 [BZ #12047]
29411 * manual/charset.texi (Generic Charset Conversion): Fix typo
29412 (LC_TYPE -> LC_CTYPE).
29413
cc6e48bc
NB
294142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29415
29416 [BZ #5805]
29417 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29418 (scalbnf): Likewise.
29419 (scalbnl): Likewise.
29420 (scalbln): Likewise.
29421 (scalblnf): Likewise.
29422 (scalblnl): Likewise.
29423 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29424 (vwarnx): Likewise.
29425 (verr): Likewise.
29426 (verrx): Likewise.
29427 * manual/filesys.texi (telldir): Use braces around return type.
29428 * manual/llio.texi (mmap): Add space after comma.
29429 (mmap64): Likewise.
29430 * manual/math.texi (jn): Use @var{} on parameter names.
29431 (jnf): Likewise.
29432 (jnl): Likewise.
29433 (yn): Likewise.
29434 (ynf): Likewise.
29435 (ynl): Likewise.
29436 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29437 line.
29438 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29439 "...".
29440 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29441 (sched_get_priority_max): Likewise.
29442 * manual/signal.texi (sigvec): Add space after comma.
29443 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29444 names.
29445 (if_indextoname): Likewise.
29446 (if_freenameindex): Likewise.
29447 (sendto): Use ',' instead of '.' in prototype.
29448 * manual/startup.texi (syscall): Use @dots{} instead of literal
29449 "...".
29450 * manual/stdio.texi (__fpending): Separate initial words of
29451 paragraph from @deftypefun line.
29452 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29453 "...".
29454 (vsyslog): Use @var{} on parameter names.
29455 * manual/terminal.texi (stty): Use @var{} on parameter names.
29456 * manual/users.texi (getutmp): Use @var{} on parameter names.
29457 (getutmpx): Likewise.
29458
5b23062f
JM
294592012-02-17 Joseph Myers <joseph@codesourcery.com>
29460
29461 [BZ #6884]
29462 * manual/stdio.texi (fopen): Fix typos in description of
29463 ",ccs=STRING".
29464
8dee4833
AJ
294652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29466
29467 [BZ #4026]
29468 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29469 get clock_id definition.
29470
9078ce93
TS
294712012-02-17 Thomas Schwinge <thomas@schwinge.name>
29472
29473 [BZ #4822]
29474 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29475 (madvise): Cast every argument to void on its own.
29476
3835c55f
JM
294772012-02-17 Joseph Myers <joseph@codesourcery.com>
29478
29479 [BZ #9902]
29480 * manual/startup.texi (Exit Status): Fix typo.
29481
35c47e37
JM
294822012-02-17 Joseph Myers <joseph@codesourcery.com>
29483
29484 [BZ #10140]
29485 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29486 * manual/examples/argp-ex2.c: Likewise.
29487 * manual/examples/argp-ex3.c: Likewise.
29488
e3b69ca7
RH
294892012-02-16 Richard Henderson <rth@redhat.com>
29490
29491 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29492 * sysdeps/s390/s390-32/initfini.c: Remove.
29493 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29494 * sysdeps/s390/s390-64/initfini.c: Remove.
29495
df83af67
KK
294962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29497
29498 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29499 compiler output for sysdeps/generic/initfini.c.
29500 * sysdeps/sh/elf/initfini.c: Remove file.
29501
f63f3380
DM
295022012-02-16 David S. Miller <davem@davemloft.net>
29503
fb59b3a4
DM
29504 [BZ #11494]
29505 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29506
f63f3380
DM
29507 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29508 * sysdeps/sparc/crti.S: New file.
29509 * sysdeps/sparc/crtn.S: New file.
29510 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29511 * sysdeps/sparc/sparc64/Makefile: Likewise.
29512
df6a4a4a
MF
295132012-02-15 Mike Frysinger <vapier@gentoo.org>
29514
6dd8f3dc 29515 [BZ #3335]
df6a4a4a
MF
29516 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29517
1cac7236
RM
295182012-02-15 Roland McGrath <roland@hack.frob.com>
29519
d2c736f8
RM
29520 [BZ #4822]
29521 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29522
1cac7236
RM
29523 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29524 (write, read, close): Likewise.
29525 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29526
8e475601
JM
295272012-02-15 Joseph Myers <joseph@codesourcery.com>
29528
29529 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29530 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29531 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29532 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29533 <bits/signalfd.h>.
29534 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29536 bits/signalfd.h.
29537
ed656b40
MP
295382012-02-14 Marek Polacek <polacek@redhat.com>
29539
29540 * sysdeps/x86_64/crti.S: New file.
29541 * sysdeps/x86_64/crtn.S: New file.
29542 * sysdeps/x86_64/elf/initfini.c: Remove file.
29543
2a979d3a
JM
295442012-02-13 Joseph Myers <joseph@codesourcery.com>
29545
29546 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29547 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29548 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29549 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29550 <bits/inotify.h>.
29551 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29553 bits/inotify.h.
29554
2a418ac3
JM
295552012-02-13 Joseph Myers <joseph@codesourcery.com>
29556
29557 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29558 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29559 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29560 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29561 <bits/eventfd.h>.
29562 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29564 bits/eventfd.h.
29565
fb779be7
TS
295662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29567
e19e83c5
RM
29568 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29569 __feraiseexcept instead of feraiseexcept.
7c35ffed 29570
fb779be7
TS
29571 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29572 nanosleep invocations.
29573 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29574 strings, and add error checking for a nanosleep invocations.
29575
59ba27a6
PE
295762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29577
29578 Replace FSF snail mail address with URLs, as per GNU coding standards.
29579 Most of the snail mail addresses were wrong anyway, and omitting
29580 them makes the source code easier to maintain. Almost all of the
29581 changes are to license notices and to locale LC_IDENTIFICATION
29582 addresses, except for this one:
29583 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29584 not its snail mail address.
29585
57b957eb
RH
295862012-02-09 Richard Henderson <rth@twiddle.net>
29587
af850b1c
RH
29588 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29589 of kernel-features.h.
29590
57b957eb
RH
29591 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29592
6b73181a
MP
295932012-02-08 Marek Polacek <polacek@redhat.com>
29594
29595 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29596 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29597 * sysdeps/gnu/_G_config.h: Likewise.
29598 * sysdeps/generic/_G_config.h: Likewise.
29599
26ecc33a
AS
296002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29601
6c6dbc63
AS
29602 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29603 tests.
29604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29605
e216c012
AS
29606 * sysdeps/powerpc/powerpc32/crti.S: New file.
29607 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29608 * sysdeps/powerpc/powerpc64/crti.S: New file.
29609 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29610
26ecc33a
AS
29611 * Makeconfig (have-initfini): Don't set.
29612 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29613 * configure.in (nopic_initfini): Don't substitute.
29614 * config.h.in (HAVE_INITFINI): Don't #undef.
29615 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29616 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29617
3add8e13
JM
296182012-02-08 Joseph Myers <joseph@codesourcery.com>
29619
29620 Support crti.S and crtn.S provided directly by architectures.
29621 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29622 [crti.S in sysdirs] (omit-deps): Likewise.
29623 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29624 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29625 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29626 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29627 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29628 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29629 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29630 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29631 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29632 compiler output for sysdeps/generic/initfini.c.
29633 * sysdeps/i386/elf/Makefile: Remove file.
29634 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29635
a22f12b4
MP
296362012-02-07 Marek Polacek <polacek@redhat.com>
29637
29638 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29639 * sysdeps/gnu/_G_config.h: Likewise.
29640 * sysdeps/mach/hurd/_G_config.h: Likewise.
29641
148cf100
MP
296422012-02-07 Marek Polacek <polacek@redhat.com>
29643
29644 * math/Makefile (tests): Add tst-CMPLX2.
29645 * math/tst-CMPLX2.c: New file.
29646
cfdc0dd7
AS
296472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29648
84ba42c4
AS
29649 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29650
cfdc0dd7
AS
29651 * math/libm-test.inc (jn_test): Add missing L suffix.
29652
622c86f4
MP
296532012-02-06 Marek Polacek <polacek@redhat.com>
29654
29655 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29656 * sysdeps/i386/fpu/e_powf.S: Likewise.
29657 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29658 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29659 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29660 * sysdeps/i386/fpu/e_pow.S: Likewise.
29661 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29662 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29663 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29664 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29665 * sysdeps/i386/fpu/e_log2.S: Likewise.
29666 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29667 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29668 * sysdeps/i386/fpu/e_powl.S: Likewise.
29669 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29670 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29671 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29672 * sysdeps/i386/fpu/e_logl.S: Likewise.
29673 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29674 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29675 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29676 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29677 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29678 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29679 * sysdeps/i386/fpu/e_log.S: Likewise.
29680 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29681 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29682 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29683 * sysdeps/i386/fpu/e_logf.S: Likewise.
29684 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29685 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29686 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29687 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29688 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29689 * sysdeps/i386/fpu/e_log10.S: Likewise.
29690 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29691 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29692 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29693 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29694 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29695 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29696 * sysdeps/i386/asm-syntax.h: Likewise.
29697 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29699 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29700 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29701 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29702 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29703 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29704 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29705 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29706 * sysdeps/powerpc/sysdep.h: Likewise.
29707 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29708 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29709
d4a54ac6
JM
297102012-02-06 Joseph Myers <joseph@codesourcery.com>
29711
29712 [BZ #411]
29713 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29714
314054ea
JM
297152012-02-06 Joseph Myers <joseph@codesourcery.com>
29716
29717 * sysdeps/i386/sysdep.h: Include <features.h>.
29718 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29719 version.
29720
d8e0ca50
JM
297212012-02-05 Joseph Myers <joseph@codesourcery.com>
29722
29723 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29724 Define.
29725 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29726 LOAD_PIC_REG_STR.
29727
b1da7dd9
JM
297282012-02-03 Joseph Myers <joseph@codesourcery.com>
29729
29730 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29731 (SETUP_PIC_REG): Use GET_PC_THUNK.
29732 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29733 macro.
29734
9a1d9254
JM
297352012-02-03 Joseph Myers <joseph@codesourcery.com>
29736
29737 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29738 for non-PIC compilation.
29739 (SETUP_PIC_REG): Add .p2align directive.
29740 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29741 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29742 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29743 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29744 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29745 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29746 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29747 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29748 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29749 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29750 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29751 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29752 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29753 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29754 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29755 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29756 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29757 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29758 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29759 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29760 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29761 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29762 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29763 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29764 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29765 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29766 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29767 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29768 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29769 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29770 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29771 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29772 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29773 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29774 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29775 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29776 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29777 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29778 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29779 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29780 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29781
65dc3b75
JM
297822012-02-03 Joseph Myers <joseph@codesourcery.com>
29783
29784 * math/tst-CMPLX.c: Include <stdio.h>.
29785
d55bf177
JM
297862012-01-31 Joseph Myers <joseph@codesourcery.com>
29787
29788 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29789 float.
29790 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29791 * sysdeps/sparc/bits/mathdef.h: Likewise.
29792
69db4f8f
MP
297932012-01-31 Marek Polacek <polacek@redhat.com>
29794
29795 * libio/libio.h: Don't define _PARAMS.
29796 * locale/programs/config.h: Don't define PARAMS.
29797 * stdlib/strtol_l.c: Likewise.
29798 (__strtol_l): Remove PARAMS from the prototype.
29799
41b81892
UD
298002012-01-31 Ulrich Drepper <drepper@gmail.com>
29801
3b49edc0
UD
29802 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29803 names. Just use the correct names. Remove unnecessary wrapper
29804 functions.
29805 * malloc/arena.c: Likewise.
29806 * malloc/hooks.c: Likewise.
29807
41b81892
UD
29808 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29809 ARENA_TEST says not to. Simplify test for creation of a new arena.
29810 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29811
27a25b6e
UD
298122012-01-30 Ulrich Drepper <drepper@gmail.com>
29813
29814 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29815 into tail calls.
29816 (update_get_addr): New function.
29817 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29818 GET_ADDR_MODULE parameter.
29819
c8a89e7d
JM
298202012-01-30 Joseph Myers <joseph@codesourcery.com>
29821
29822 * crypt/cert.c: Remove __STDC__ conditionals.
29823 * crypt/crypt-entry.c: Likewise.
29824 * crypt/crypt_util.c: Likewise.
29825 * libio/filedoalloc.c: Likewise.
29826 * libio/fileops.c: Likewise.
29827 * libio/genops.c: Likewise.
29828 * libio/iofclose.c: Likewise.
29829 * libio/iofdopen.c: Likewise.
29830 * libio/iofopen.c: Likewise.
29831 * libio/iofopen64.c: Likewise.
29832 * libio/iogetdelim.c: Likewise.
29833 * libio/iopopen.c: Likewise.
29834 * libio/obprintf.c: Likewise.
29835 * libio/oldfileops.c: Likewise.
29836 * libio/oldiofclose.c: Likewise.
29837 * libio/oldiofdopen.c: Likewise.
29838 * libio/oldiofopen.c: Likewise.
29839 * libio/oldiopopen.c: Likewise.
29840 * libio/wfiledoalloc.c: Likewise.
29841 * libio/wgenops.c: Likewise.
29842 * locale/programs/xmalloc.c: Likewise.
29843 * misc/syslog.c: Likewise.
29844 * stdio-common/xbug.c: Likewise.
29845 * string/memchr.c: Likewise.
29846 * string/memcmp.c: Likewise.
29847 * string/memrchr.c: Likewise.
29848 * string/rawmemchr.c: Likewise.
29849 * sysdeps/posix/getcwd.c: Likewise.
29850 * time/strftime_l.c: Likewise.
29851
3b100462
JM
298522012-01-30 Joseph Myers <joseph@codesourcery.com>
29853
29854 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29855 * config.make.in (config-cflags-sse2avx): Define.
29856 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29857 Fix typo.
29858
607998af
CM
298592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29860
29861 * scripts/config.guess: Update from upstream config git repository.
29862 * scripts/config.sub: Likewise.
29863
3601428f
CM
298642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29865
3ac8b282
CM
29866 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29867 (EM_NUM): Update.
29868 (R_TILEPRO_*, R_TILEGX_*): New macros.
29869
e034841e
CM
29870 * scripts/firstversions.awk: Fix bug in version range handling.
29871
540d7568
CM
29872 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29873
3601428f
CM
29874 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29875
463de862
CM
29876 * include/sys/epoll.h: New file.
29877 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29878 libc_hidden_def.
29879
73139a76
UD
298802012-01-28 Ulrich Drepper <drepper@gmail.com>
29881
96bc5b45
UD
29882 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29883 Avoid unnecessary __WORDSIZE == 64 test.
29884 (fmaxf): Use VEX format if possible.
29885 (fmax): Likewise.
29886 (fminf): Likewise.
29887 (fmin): Likewise.
29888
56f6f6a2
UD
29889 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29890 * math/math_private.h: Remove libc_fegetround* and
29891 libc_fesetround*.
29892 * sysdeps/i386/configure.in: Check for -msse2avx.
29893 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29894 also if SSE2AVX is defined.
29895 Remove libc_fegetround* and libc_fesetround*.
29896 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29897 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29898 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29899 of HAS_YMM_USABLE.
29900 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29901 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29902 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29903 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29904 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29905
73139a76
UD
29906 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29907
d73f93a4
AZ
299082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29909
29910 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29911 size is not set.
29912 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29913
6ee65ed6
UD
299142012-01-27 Ulrich Drepper <drepper@gmail.com>
29915
29916 [BZ #13618]
29917 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29918 relocation.
29919 * Makeconfig (libm): Define.
29920 * elf/Makefile: Add rules to build and run tst-relsort1.
29921 * elf/tst-relsort1.c: New file.
29922 * elf/tst-relsort1mod1.c: New file.
29923 * elf/tst-relsort1mod2.c: New file.
29924
8db21882
JM
299252012-01-27 Joseph Myers <joseph@codesourcery.com>
29926
29927 * math/s_ldexp.c: Remove __STDC__ conditionals.
29928 * math/s_ldexpf.c: Likewise.
29929 * math/s_ldexpl.c: Likewise.
29930 * math/s_nextafter.c: Likewise.
29931 * math/s_nexttowardf.c: Likewise.
29932 * math/s_significand.c: Likewise.
29933 * math/s_significandf.c: Likewise.
29934 * math/s_significandl.c: Likewise.
29935 * math/w_jnl.c: Likewise.
29936 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29937 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29938 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29939 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29940 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29942 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29943 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29944 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29945 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29946 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29947 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29948 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29949 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29950 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29951 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29952 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29953 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29955 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29956 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29957 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29958 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29959 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29960 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29961 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29962 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29963 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29964 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29965 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29966 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29967 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29968 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29969 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29970 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29971 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29972 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29973 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29974 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29975 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29976 * sysdeps/ieee754/k_standard.c: Likewise.
29977 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29978 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29979 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29980 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29981 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29985 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29986 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29987 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29988 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29990 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29991 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29992 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29993 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29994 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29995 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29996 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29997 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29998 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29999 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30000 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30001 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30002 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30003 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30004 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30006 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30007 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30008 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30009 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30010 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30011 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30012 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30013 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30015 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30016 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30017 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30019 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30020 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30021 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30022 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30023 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30024 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30025 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30026 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30027 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30028 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30029 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30031 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30032 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30033 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30034 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30035 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30036 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30037 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30038 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30039 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30040 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30041 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30042 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30043 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30044 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30045 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30046 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30047 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30048 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30049 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30050 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30051 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30052 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30053 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30054 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30055 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30056 * sysdeps/ieee754/s_matherr.c: Likewise.
30057 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30058 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30059 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30060 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30061
965a54a4
JM
300622012-01-26 Joseph Myers <joseph@codesourcery.com>
30063
30064 * crypt/md5.h: Remove __STDC__ conditionals.
30065 * libio/libioP.h: Likewise.
30066 * locale/programs/config.h: Likewise.
30067 * sysdeps/generic/sysdep.h: Likewise.
30068 * sysdeps/i386/asm-syntax.h: Likewise.
30069 * sysdeps/s390/asm-syntax.h: Likewise.
30070 * sysdeps/unix/sysdep.h: Likewise.
30071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30073
7071ad79
JM
300742012-01-26 Joseph Myers <joseph@codesourcery.com>
30075
30076 * libio/libio.h: Remove __STDC__ conditionals.
30077 * malloc/obstack.h: Likewise.
30078 * math/complex.h: Likewise.
30079 * math/math.h: Likewise.
30080 * sysdeps/generic/_G_config.h: Likewise.
30081 * sysdeps/gnu/_G_config.h: Likewise.
30082 * sysdeps/mach/hurd/_G_config.h: Likewise.
30083 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30084 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30085 * sysdeps/sparc/bits/mathdef.h: Likewise.
30086
afc5ed09
UD
300872012-01-26 Ulrich Drepper <drepper@gmail.com>
30088
30089 [BZ #13583]
30090 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30091 Clean up HAS_* macros.
afc5ed09 30092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30093 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30094 possible.
30095 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30096 HAS_AVX.
30097 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30098 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30099 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30100 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30101 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30102
bdb6de1d
JM
301032012-01-25 Joseph Myers <joseph@codesourcery.com>
30104
30105 * elf/tst-unique3.cc (gets): Remove declaration.
30106 * elf/tst-unique3lib.cc (gets): Likewise.
30107 * elf/tst-unique3lib2.cc (gets): Likewise.
30108 * elf/tst-unique4.cc (gets): Likewise.
30109
b15549e6
UD
301102012-01-24 Ulrich Drepper <drepper@gmail.com>
30111
30112 * include/stdio.h: Add C++ protection. Add gets declarations and
30113 definitions.
30114 * debug/tst-chk1.c: Don't declare gets here.
30115 * stdio-common/tst-gets.c: Likewise.
30116
a037381f
JM
301172012-01-24 Joseph Myers <joseph@codesourcery.com>
30118
30119 * posix/glob: Remove directory.
30120
f1d4aa75
JM
301212012-01-24 Joseph Myers <joseph@codesourcery.com>
30122
30123 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30124
81c0c964
PT
301252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30126
30127 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30128 of the non-standard EPFNOSUPPORT.
30129
0ea698ae
ST
301302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30131
30132 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30133 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30134 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30135
d220b117
UD
301362012-01-21 Ulrich Drepper <drepper@gmail.com>
30137
30138 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30139
3e1aa84e
UD
301402012-01-20 Ulrich Drepper <drepper@gmail.com>
30141
30142 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30143 transient errors.
30144 * nscd/grpcache.c (cache_addgr): Likewise.
30145 * nscd/hstcache.c (cache_addhst): Likewise.
30146 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30147 * nscd/pwdcache.c (cache_addpw): Likewise.
30148 * nscd/servicescache.c (cache_addserv): Likewise.
30149
400aa020
UD
301502012-01-16 Ulrich Drepper <drepper@gmail.com>
30151
d77e7869
UD
30152 * malloc/malloc.c: Various cleanups.
30153 * malloc/hooks.c: Likewise.
30154
400aa020
UD
30155 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30156 * stdlib/bug-fmtmsg1.c: New file.
30157
30158 * stdlib/fmtmsg.c (init): Add missing unlock.
30159 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30160
e0a309cf
MP
301612012-01-12 Marek Polacek <polacek@redhat.com>
30162
30163 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30164 and _GNU_SOURCE.
30165
929d11c7
WS
301662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30167
30168 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30169 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30170 macro to ensure uniqueness of label name.
30171 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30172 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30173
41d0e869
UD
301742012-01-11 Ulrich Drepper <drepper@gmail.com>
30175
0cc5ed3b
UD
30176 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30177
41d0e869
UD
30178 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30179 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30180 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30182
a47a831a
UD
301832012-01-10 Ulrich Drepper <drepper@gmail.com>
30184
daa891c0
UD
30185 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30186
30187 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30188 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30189 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30190
e58ef0f2
UD
30191 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30192
a47a831a 30193 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30194 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30195 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30197
30198 * math/bits/math-finite.h: Add ldexp support.
30199
a0bfc9c7
MP
302002012-01-10 Marek Polacek <polacek@redhat.com>
30201
30202 * locale/programs/localedef.h (show_archive_content): Add noreturn
30203 attribute.
30204
d6e97a1d
UD
302052012-01-09 Ulrich Drepper <drepper@gmail.com>
30206
30207 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30208
d5835c26
UD
302092012-01-08 Ulrich Drepper <drepper@gmail.com>
30210
e5f484c6
UD
30211 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30212
d5835c26
UD
30213 * io/Makefile (headers): Add bits/poll2.h.
30214
d1f741e9
WS
302152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30216
30217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30218 typo #include statement.
30219
ec09c1c4
UD
302202012-01-08 Ulrich Drepper <drepper@gmail.com>
30221
30222 * include/sys/cdefs.h: Define __attribute_alloc_size.
30223 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30224 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30225 * elf/pldd.c: Likewise.
30226 * iconv/iconv_charmap.c: Likewise.
30227 * iconv/iconvconfig.c: Likewise.
30228 * iconv/strtab.c: Likewise.
30229 * locale/programs/locale.c: Likewise.
30230 * locale/programs/localedef.h: Likewise.
30231 * locale/programs/simple-hash.c: Likewise.
30232 * nscd/nscd.h: Likewise.
30233 * nss/makedb.c: Likewise.
30234 * sysdeps/generic/ldconfig.h: Likewise.
30235 * locale/programs/localedef.c: Remove xmalloc prototype.
30236 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30237
20b38e03
PP
302382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30239
30240 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30241 appropriate.
30242
a0da5fe1
UD
302432012-01-08 Ulrich Drepper <drepper@gmail.com>
30244
1d5a644a 30245 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30246 * math/tst-CMPLX.c: New file.
1d5a644a 30247
8784a6db
UD
30248 * math/complex.h (CMPLXL): Fix typo.
30249
d9a216c0
UD
30250 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30251 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30252 GLIBC_2.16.
30253 * debug/tst-chk1.c: Add poll and ppoll tests.
30254 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30255 * include/sys/poll.h: Add hidden proto for ppoll.
30256 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30257 * sysdeps/mach/hurd/ppoll.c: Likewise.
30258 * io/ppoll.c: Likewise.
30259 * debug/poll_chk.c: New file.
30260 * debug/ppoll_chk.c: New file.
30261 * include/bits/poll2.h: New file.
30262 * io/bits/poll2.h: New file.
30263
ac097f5c
UD
30264 [BZ #1350]
30265 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30266
2119dcfa
UD
30267 * configure.in: static is always set to yes. Remove.
30268 * config.make.in: Don't set build-static.
30269 * Makeconfig: Remove use of build-static.
30270 * dlfcn/Makefile: Likewise.
30271 * elf/Makefile: Likewise.
30272 * math/Makefile: Likewise.
30273 * misc/Makefile: Likewise.
30274 * nptl/Makefile: Likewise.
30275 * sysdeps/mach/hurd/Makefile: Likewise.
30276
121766a9
UD
30277 * configure.in: PWD_P is not used anymore.
30278 * config.make.in: Remove PWD_P entry.
30279
51a1d39c 30280 * configure.in: Remove last remnants of RANLIB.
8720d066 30281 No need to check for signed size_t anymore.
215f4bdc
UD
30282 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30283 and IA-64.
3857022a 30284 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30285 * aclocal.m4: Likewise.
30286
d3ed7225
UD
30287 * wcsmbs/mbrtoc16.c: Implement using towc function.
30288 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30289 * wcsmbs/wcsmbsload.c: Likewise.
30290 * iconv/gconv_simple.c: Likewise.
30291 * iconv/gconv_int.h: Likewise.
30292 * iconv/gconv_builtin.h: Likewise.
30293 * iconv/iconv_prog.c: Remove CHAR16 handling.
30294
30295 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30296
30297 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30298
a0da5fe1
UD
30299 * configure.in: Remove --with-elf and --enable-bounded options.
30300 Dont set base_machine for ia64. More non-ELF conditions removed.
30301 Remove testing and setting of leading underscore information.
30302 * config.make.in (build-bounded): Set to no.
30303 * config.h.in: Remove NO_UNDERSCORES entry.
30304 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30305 them.
30306 * csu/start.c: Remove !NO_UNDERSCORE code.
30307 * locale/localeinfo.h: Likewise.
30308 * sysdeps/generic/machine-gmon.h: Likewise.
30309 * sysdeps/generic/sysdep.h: Likewise.
30310 * sysdeps/i386/sysdep.h: Likewise.
30311 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30312 * sysdeps/mach/sysdep.h: Likewise.
30313 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30314 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30315 * sysdeps/sh/sysdep.h: Likewise.
30316 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30317 * sysdeps/unix/i386/sysdep.S: Likewise.
30318 * sysdeps/unix/sparc/start.c: Likewise.
30319 * sysdeps/unix/sparc/sysdep.S: Likewise.
30320 * sysdeps/unix/sparc/sysdep.h: Likewise.
30321 * sysdeps/unix/start.c: Likewise.
30322 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30323 * sysdeps/x86_64/sysdep.h: Likewise.
30324
df78418a
UD
303252012-01-07 Ulrich Drepper <drepper@gmail.com>
30326
a784e502
UD
30327 [BZ #13553]
30328 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30329 for non-gcc.
30330 * argp/argp-fmtstream.h: Use const instead __const.
30331 * argp/argp.h: Likewise.
30332 * assert/assert.h: Likewise.
30333 * bits/fenv.h: Likewise.
30334 * bits/sched.h: Likewise.
30335 * bits/sigset.h: Likewise.
30336 * bits/sigthread.h: Likewise.
30337 * catgets/nl_types.h: Likewise.
30338 * conform/data/pthread.h-data: Likewise.
30339 * crypt/crypt-private.h: Likewise.
30340 * crypt/crypt.h: Likewise.
30341 * crypt/crypt_util.c: Likewise.
30342 * ctype/ctype.h: Likewise.
30343 * debug/execinfo.h: Likewise.
30344 * debug/mbsnrtowcs_chk.c: Likewise.
30345 * debug/mbsrtowcs_chk.c: Likewise.
30346 * debug/wcsnrtombs_chk.c: Likewise.
30347 * debug/wcsrtombs_chk.c: Likewise.
30348 * debug/wcstombs_chk.c: Likewise.
30349 * dirent/dirent.h: Likewise.
30350 * dlfcn/dlfcn.h: Likewise.
30351 * elf/neededtest4.c: Likewise.
30352 * grp/grp.h: Likewise.
30353 * gshadow/gshadow.h: Likewise.
30354 * iconv/gconv.h: Likewise.
30355 * iconv/gconv_int.h: Likewise.
30356 * iconv/gconv_simple.c: Likewise.
30357 * iconv/iconv.h: Likewise.
30358 * iconv/loop.c: Likewise.
30359 * iconv/skeleton.c: Likewise.
30360 * include/aio.h: Likewise.
30361 * include/aliases.h: Likewise.
30362 * include/argz.h: Likewise.
30363 * include/arpa/inet.h: Likewise.
30364 * include/assert.h: Likewise.
30365 * include/dirent.h: Likewise.
30366 * include/dlfcn.h: Likewise.
30367 * include/execinfo.h: Likewise.
30368 * include/fcntl.h: Likewise.
30369 * include/fenv.h: Likewise.
30370 * include/glob.h: Likewise.
30371 * include/grp.h: Likewise.
30372 * include/libintl.h: Likewise.
30373 * include/mntent.h: Likewise.
30374 * include/netdb.h: Likewise.
30375 * include/pwd.h: Likewise.
30376 * include/rpc/netdb.h: Likewise.
30377 * include/sched.h: Likewise.
30378 * include/search.h: Likewise.
30379 * include/shadow.h: Likewise.
30380 * include/signal.h: Likewise.
30381 * include/stdio.h: Likewise.
30382 * include/stdlib.h: Likewise.
30383 * include/string.h: Likewise.
30384 * include/sys/socket.h: Likewise.
30385 * include/sys/stat.h: Likewise.
30386 * include/sys/statfs.h: Likewise.
30387 * include/sys/statvfs.h: Likewise.
30388 * include/sys/syslog.h: Likewise.
30389 * include/sys/time.h: Likewise.
30390 * include/sys/uio.h: Likewise.
30391 * include/time.h: Likewise.
30392 * include/unistd.h: Likewise.
30393 * include/utmp.h: Likewise.
30394 * include/wchar.h: Likewise.
30395 * include/wctype.h: Likewise.
30396 * inet/aliases.h: Likewise.
30397 * inet/arpa/inet.h: Likewise.
30398 * inet/netinet/ether.h: Likewise.
30399 * inet/netinet/in.h: Likewise.
30400 * intl/libintl.h: Likewise.
30401 * io/bits/fcntl2.h: Likewise.
30402 * io/fcntl.h: Likewise.
30403 * io/ftw.h: Likewise.
30404 * io/sys/poll.h: Likewise.
30405 * io/sys/stat.h: Likewise.
30406 * io/sys/statfs.h: Likewise.
30407 * io/sys/statvfs.h: Likewise.
30408 * io/utime.h: Likewise.
30409 * libio/bits/stdio.h: Likewise.
30410 * libio/bits/stdio2.h: Likewise.
30411 * libio/libio.h: Likewise.
30412 * libio/libioP.h: Likewise.
30413 * libio/stdio.h: Likewise.
30414 * locale/lc-ctype.c: Likewise.
30415 * locale/locale.h: Likewise.
30416 * login/utmp.h: Likewise.
30417 * malloc/arena.c: Likewise.
30418 * malloc/malloc.c: Likewise.
30419 * malloc/malloc.h: Likewise.
30420 * malloc/mcheck.c: Likewise.
30421 * malloc/mtrace.c: Likewise.
30422 * math/bits/mathcalls.h: Likewise.
30423 * math/fenv.h: Likewise.
30424 * math/math_private.h: Likewise.
30425 * misc/bits/error.h: Likewise.
30426 * misc/bits/syslog.h: Likewise.
30427 * misc/err.h: Likewise.
30428 * misc/error.h: Likewise.
30429 * misc/fstab.h: Likewise.
30430 * misc/mntent.h: Likewise.
30431 * misc/regexp.h: Likewise.
30432 * misc/search.h: Likewise.
30433 * misc/sgtty.h: Likewise.
30434 * misc/sys/mman.h: Likewise.
30435 * misc/sys/syslog.h: Likewise.
30436 * misc/sys/uio.h: Likewise.
30437 * misc/sys/xattr.h: Likewise.
30438 * misc/ttyent.h: Likewise.
30439 * nis/rpcsvc/ypclnt.h: Likewise.
30440 * nss/nss.h: Likewise.
30441 * posix/bits/unistd.h: Likewise.
30442 * posix/fnmatch.h: Likewise.
30443 * posix/glob.h: Likewise.
30444 * posix/sched.h: Likewise.
30445 * posix/spawn.h: Likewise.
30446 * posix/sys/wait.h: Likewise.
30447 * posix/unistd.h: Likewise.
30448 * posix/wordexp.h: Likewise.
30449 * pwd/pwd.h: Likewise.
30450 * resolv/netdb.h: Likewise.
30451 * resource/sys/resource.h: Likewise.
30452 * rt/aio.h: Likewise.
30453 * rt/bits/mqueue2.h: Likewise.
30454 * rt/mqueue.h: Likewise.
30455 * shadow/shadow.h: Likewise.
30456 * signal/signal.h: Likewise.
30457 * socket/send.c: Likewise.
30458 * socket/sendto.c: Likewise.
30459 * socket/sys/socket.h: Likewise.
30460 * stdio-common/printf.h: Likewise.
30461 * stdlib/bits/stdlib.h: Likewise.
30462 * stdlib/fmtmsg.h: Likewise.
30463 * stdlib/monetary.h: Likewise.
30464 * stdlib/stdlib.h: Likewise.
30465 * stdlib/ucontext.h: Likewise.
30466 * streams/stropts.h: Likewise.
30467 * string/argz.h: Likewise.
30468 * string/bits/string2.h: Likewise.
30469 * string/string.h: Likewise.
30470 * string/strings.h: Likewise.
30471 * sunrpc/rpc/auth.h: Likewise.
30472 * sunrpc/rpc/auth_des.h: Likewise.
30473 * sunrpc/rpc/clnt.h: Likewise.
30474 * sunrpc/rpc/netdb.h: Likewise.
30475 * sunrpc/rpc/pmap_clnt.h: Likewise.
30476 * sunrpc/rpc/xdr.h: Likewise.
30477 * sysdeps/generic/inttypes.h: Likewise.
30478 * sysdeps/generic/net/if.h: Likewise.
30479 * sysdeps/generic/sys/swap.h: Likewise.
30480 * sysdeps/gnu/net/if.h: Likewise.
30481 * sysdeps/gnu/utmpx.h: Likewise.
30482 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30483 * sysdeps/i386/i486/bits/string.h: Likewise.
30484 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30485 * sysdeps/s390/bits/string.h: Likewise.
30486 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30487 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30488 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30489 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30490 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30491 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30492 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30493 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30494 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30495 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30496 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30497 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30498 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30499 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30500 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30501 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30502 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30504 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30505 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30506 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30507 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30508 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30509 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30510 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30511 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30512 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30513 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30514 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30515 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30516 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30517 * sysvipc/sys/ipc.h: Likewise.
30518 * sysvipc/sys/msg.h: Likewise.
30519 * sysvipc/sys/sem.h: Likewise.
30520 * sysvipc/sys/shm.h: Likewise.
30521 * termios/termios.h: Likewise.
30522 * time/sys/time.h: Likewise.
30523 * time/time.h: Likewise.
30524 * wcsmbs/bits/wchar2.h: Likewise.
30525 * wcsmbs/uchar.h: Likewise.
30526 * wcsmbs/wchar.h: Likewise.
30527 * wctype/wctype.h: Likewise.
30528
0269750c
UD
30529 [BZ #13551]
30530 * Makeconfig: Remove all but ELF support including AIX support.
30531 * Makerules: Likewise.
30532 * config.h.in: Likewise.
30533 * config.make.in: Likewise.
30534 * configure: Likewise.
30535 * configure.in: Likewise.
30536 * csu/Makefile: Likewise.
30537 * csu/version.c: Likewise.
30538 * debug/Makefile: Likewise.
30539 * dlfcn/Makefile: Likewise.
30540 * elf/Makefile: Likewise.
30541 * extra-lib.mk: Likewise.
30542 * iconv/Makefile: Likewise.
30543 * include/libc-symbols.h: Likewise.
30544 * include/shlib-compat.h: Likewise.
30545 * resolv/Makefile: Likewise.
30546 * resolv/res_libc.c: Likewise.
30547 * rt/Makefile: Likewise.
30548 * sysdeps/i386/asm-syntax.h: Likewise.
30549 * sysdeps/i386/sysdep.h: Likewise.
30550 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30551 * sysdeps/mach/sysdep.h: Likewise.
30552 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30553 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30554 * sysdeps/s390/asm-syntax.h: Likewise.
30555 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30556 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30557 * sysdeps/sh/sysdep.h: Likewise.
30558 * sysdeps/unix/sparc/sysdep.h: Likewise.
30559 * sysdeps/wordsize-32/divdi3.c: Likewise.
30560 * sysdeps/x86_64/sysdep.h: Likewise.
30561
00bbd29b
UD
30562 * argp/Versions: Remove _argp_unlock_xxx.
30563
30564 [BZ #13559]
30565 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30566 * abilist/libBrokenLocale.abilist: Likewise.
30567 * abilist/libanl.abilist: Likewise.
30568 * abilist/libc.abilist: Likewise.
30569 * abilist/libcrypt.abilist: Likewise.
30570 * abilist/libdl.abilist: Likewise.
30571 * abilist/libm.abilist: Likewise.
30572 * abilist/libnsl.abilist: Likewise.
30573 * abilist/libpthread.abilist: Likewise.
30574 * abilist/libresolv.abilist: Likewise.
30575 * abilist/librt.abilist: Likewise.
30576 * abilist/libthread_db.abilist: Likewise.
30577 * abilist/libutil.abilist: Likewise.
30578 * abilist/libnss_db.abilist: New file.
30579
30580 * scripts/abilist.awk: Add support for indirect functions.
30581
a2693a0e
UD
30582 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30583
3f05895f
UD
30584 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30585
ecb6fb48
UD
30586 * shlib-versions: Remove entries for ports architectures.
30587
664f8cb9
UD
30588 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30589 files in ports.
30590 * elf/stackguard-macros.h: Remove support for IA-64.
30591 * elf/tst-auditmod1.c: Likewise.
30592 * sysdeps/generic/ldsodefs.h: Likewise.
30593
7ae81d88
UD
30594 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30595 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30596 configure files.
30597
bdeba135
UD
30598 [BZ #13552]
30599 * configure.in: Remove --enable-omitfp support.
30600 * FAQ.in: Adjust.
30601 * config.make.in: Likewise.
30602 * Makeconfig: Likewise.
30603 * manual/install.texi: Likewise.
30604
d75a0a62
UD
30605 In case anyone cares, the IA-64 architecture could move to ports.
30606 * sysdeps/ia64/*: Removed.
30607 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30608 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30609
dcc9756b
UD
30610 [BZ #13555]
30611 * configure.in: Remove entries for unsupported architectures.
30612
d3761ebc 30613 [BZ #13533]
9954432e
UD
30614 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30615 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30616 routines.
30617 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30618 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30619 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30620 fall back to using wcrtomb.
30621 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30622 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30623 renaming.
30624 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30625 * wcsmbs/tst-c16c32-1.c: New file.
30626
30627 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30628 local variable.
30629
c3a87236
UD
30630 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30631
28926a1b
UD
30632 * elf/tst-unique3.cc: Add explicit declaration of gets.
30633 * elf/tst-unique3lib.cc: Likewise.
30634 * elf/tst-unique3lib2.cc: Likewise.
30635 * elf/tst-unique4.cc: Likewise.
30636
df78418a
UD
30637 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30638
8ecd6b2a
JM
306392012-01-06 Joseph Myers <joseph@codesourcery.com>
30640
30641 [BZ #13566]
30642 * assert/assert.h (static_assert): Don't define for C++.
30643 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30644 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30645
9f115170
UD
306462012-01-03 Ulrich Drepper <drepper@gmail.com>
30647
5e0d0300
UD
30648 * iconv/loop.c (single loop): Fix assertion in storing of
30649 remaining bytes.
30650
9f115170
UD
30651 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30652
81fb02b0
UD
306532012-01-01 Ulrich Drepper <drepper@gmail.com>
30654
30655 * posix/getconf.c: Update copyright year.
30656 * nss/getent.c: Likewise.
a316c1f6 30657 * nss/makedb.c: Likewise.
81fb02b0
UD
30658 * iconv/iconvconfig.c: Likewise.
30659 * iconv/iconv_prog.c: Likewise.
30660 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30661 * elf/pldd.c: Likewise.
30662 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30663 * catgets/gencat.c: Likewise.
30664 * csu/version.c: Likewise.
30665 * elf/ldd.bash.in: Likewise.
30666 * elf/sprof.c (print_version): Likewise.
30667 * locale/programs/locale.c: Likewise.
30668 * locale/programs/localedef.c: Likewise.
a316c1f6 30669 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30670 * nscd/nscd.c (print_version): Likewise.
30671 * debug/xtrace.sh: Likewise.
30672 * malloc/memusage.sh: Likewise.
30673 * malloc/mtrace.pl: Likewise.
30674 * debug/catchsegv.sh: Likewise.
30675
2ba92745
JJ
306762011-12-30 Jakub Jelinek <jakub@redhat.com>
30677
30678 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30679 pure attribute.
30680
dadebdae
UD
306812011-12-24 Ulrich Drepper <drepper@gmail.com>
30682
d3761ebc 30683 [BZ #13533]
db6af3eb
UD
30684 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30685 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30686 transformations.
30687 * iconv/gconv_int.h: Likewise.
30688 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30689 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30690 from libc for GLIBC_2.16.
30691 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30692 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30693 * wcsmbs/uchar.h: Really define mbstate_t.
30694 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30695 * wcsmbs/c16rtomb.c: New file.
30696 * wcsmbs/mbrtoc16.c: New file.
30697 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30698 for C/POSIX locale.
30699 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30700 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30701
dadebdae
UD
30702 * wcsmbs/wchar.h: Add missing __restrict.
30703
67371b56
UD
307042011-12-23 Ulrich Drepper <drepper@gmail.com>
30705
74033a25
UD
30706 [BZ #13532]
30707 * time/Makefile (routines): Add timespec_get.
30708 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30709 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30710 timespec for ISO C11.
30711 * time/timespec_get.c: New file.
30712 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30713 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30714
380d7e87
UD
30715 [BZ #13531]
30716 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30717 * stdlib/stdlib.h: Declare aligned_alloc.
30718 * Versions.def: Add GLIBC_2.16 for libc.
30719 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30720
4e9e7a35
UD
30721 [BZ 13527]
30722 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30723 ISO C11.
30724
380d7e87 30725 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30726 code.
30727
03a71829
UD
30728 [BZ #13528]
30729 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30730
839e283e
UD
30731 [BZ #13529]
30732 * assert/assert.h (static_assert): Define.
30733
ce5294e2 30734 * version.h: Update for 2.16 development version.
90fa7312 30735
8d44e150 30736 [BZ #13526]
d7809905
UD
30737 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30738 _ISOC11_SOURCE.
30739
c0da14cd
UD
30740 * version.h (RELEASE): Bump for 2.15 release.
30741 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30742
530a3249
MP
30743 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30744 Patch by Marek Polacek <mpolacek@redhat.com>.
30745
67371b56
UD
30746 * bits/byteswap.h: Protect long long constants with __extension__.
30747 * sysdeps/i386/bits/byteswap.h: Likewise.
30748 * sysdeps/ia64/bits/byteswap.h: Likewise.
30749 * sysdeps/s390/bits/byteswap.h: Likewise.
30750 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30751
15db4de1
LD
307522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30753
30754 [BZ #13540]
bbe315ea
LD
30755 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30756 destination buffer.
15db4de1
LD
30757 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30758
2b2596b1
MP
307592011-12-23 Marek Polacek <polacek@redhat.com>
30760
30761 * elf/dl-addr.c (determine_info): Add inline keyword.
30762 * elf/tst-auditmod4b.c (check_avx): Likewise.
30763 * elf/tst-auditmod6b.c (check_avx): Likewise.
30764 * elf/tst-auditmod6c.c (check_avx): Likewise.
30765 * elf/tst-auditmod7b.c (check_avx): Likewise.
30766
70c6c246
UD
307672011-12-23 Ulrich Drepper <drepper@gmail.com>
30768
30769 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30770 !__SSE_MATH__.
30771
c044cf14
LD
307722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30773
15db4de1 30774 [BZ #13540]
c044cf14
LD
30775 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30776 processing for last bytes.
30777
6b13d9d9
BH
307782011-08-06 Bruno Haible <bruno@clisp.org>
30779
d455f537
BH
30780 [BZ #13061]
30781 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30782 U+0385, not to U+1FEE.
30783
6b13d9d9
BH
30784 [BZ #13062]
30785 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30786 entry for U+00A5 U+0301.
30787
db910efd
UD
307882011-12-22 Ulrich Drepper <drepper@gmail.com>
30789
27deeafc
UD
30790 [BZ #13166]
30791 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30792 buffer for the output is too small.
30793
aed9d171
UD
30794 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30795 optimization.
30796
db910efd
UD
30797 [BZ #13185]
30798 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30799 SSE flags if possible.
30800
2bd779ae
LD
308012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30802
e7f9dac3 30803 [BZ #13540]
2bd779ae
LD
30804 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30805 processing for last bytes.
30806
154bfc16
JM
308072011-12-22 Joseph Myers <joseph@codesourcery.com>
30808
30809 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30810 (syscall-list-default-options, syscall-list-default-condition)
30811 (syscall-list-includes): Define.
30812 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30813 list of ABIs and options and #if conditions for each ABI. Do not
30814 handle common syscalls between ABIs specially.
30815 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30816 Remove.
30817 (syscall-list-variants, syscall-list-32bit-options)
30818 (syscall-list-32bit-condition, syscall-list-64bit-options)
30819 (syscall-list-64bit-condition): Define.
30820 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30821 (syscall-list-variants, syscall-list-32bit-options)
30822 (syscall-list-32bit-condition, syscall-list-64bit-options)
30823 (syscall-list-64bit-condition): Define.
30824 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30825 Remove.
30826 (syscall-list-variants, syscall-list-32bit-options)
30827 (syscall-list-32bit-condition, syscall-list-64bit-options)
30828 (syscall-list-64bit-condition): Define.
30829 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30830 Remove.
30831 (syscall-list-variants, syscall-list-32bit-options)
30832 (syscall-list-32bit-condition, syscall-list-64bit-options)
30833 (syscall-list-64bit-condition): Define.
30834
21eaf3a5
UD
308352011-12-22 Ulrich Drepper <drepper@gmail.com>
30836
16c6f992
UD
30837 * locale/iso-639.def: Add brx entry.
30838
41043168
UD
30839 [BZ #13328]
30840 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30841 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30842
21eaf3a5
UD
30843 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30844 __feraiseexcept_renamed.
30845
e3a851a2
UD
308462011-12-21 Ulrich Drepper <drepper@gmail.com>
30847
4920765e
UD
30848 [BZ #13538]
30849 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30850 EPOLLET with unsigned values.
30851 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30852 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30853
e3a851a2
UD
30854 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30855 to large cancellation.
30856 * math/s_cacoshf.c: Likewise.
30857 * math/s_cacoshl.c: Likewise.
30858
b27e24b8
RK
308592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30860
30861 [BZ #13305]
aebefeee 30862 [BZ #12786]
b27e24b8
RK
30863 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30864 * math/s_cacoshf.c: Likewise.
30865 * math/s_cacoshl.c: Likewise.
30866
ee190f67
UD
308672011-12-21 Ulrich Drepper <drepper@gmail.com>
30868
30869 [BZ #13439]
30870 * iconv/gconv.h: Define __GCONV_SWAP.
30871 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30872 * iconvdata/utf-16.c: Likewise.
30873 * iconvdata/utf-32.c: Likewise.
30874
707f25df
AS
308752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30876
30877 [BZ #13524]
30878 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30879 numerator after shifting it by one limb.
30880
d2daaa1e
RÁE
308812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30882
30883 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30884 under [__USE_EXTERN_INLINES].
30885
a4647e72
UD
308862011-12-17 Ulrich Drepper <drepper@gmail.com>
30887
30888 [BZ #13446]
30889 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30890
f0b264f1
AZ
308912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30892
30893 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30894 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30895 optimized code.
30896 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30897 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30898 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30899 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30900 for strncasecmp/strncasecmp_l compilation.
30901 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30902 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30903
8ef4f244
MP
309042011-12-08 Marek Polacek <mpolacek@redhat.com>
30905
30906 [BZ #13484]
30907 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30908 of __asm__.
30909
97ac2654
UD
309102011-12-17 Ulrich Drepper <drepper@gmail.com>
30911
30912 [BZ #13506]
30913 * time/tzfile.c (__tzfile_read): Check values from file header.
30914
91d2a845
WS
309152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30916
30917 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30918 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30919 * powerpc/powerpc32/dl-start.S: Likewise.
30920 * powerpc/powerpc32/elf/start.S: Likewise.
30921 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30922 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30923 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30924 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30925 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30926 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30927 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30928 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30929 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30930 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30931 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30932 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30933 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30934 * powerpc/powerpc32/memset.S: Likewise.
30935 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30936 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30937 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30938 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30939 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30940 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30941 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30942 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30943 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30944 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30945 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30946 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30947 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30948
a1267ba1
AZ
309492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30950
30951 * math/libm-test.inc: Added more nearbyint tests.
30952 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30953 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30954 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30955 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30956
ad8ac1bd
RL
309572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30958
30959 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30960 FD_CLOEXEC.
30961
1d3e4b61
UD
309622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30963
30964 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30965 Add wcscpy-ssse3 wcscpy-c.
30966 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30967 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30968 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30969 * sysdeps/x86_64/wcschr.S: New file.
30970 * sysdeps/x86_64/wcsrchr.S: New file.
30971 * string/test-strcmp.c: Remove checking of wcscmp function for
30972 wrong alignments.
30973 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30974 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30975 wcsrchr-sse2 wcsrchr-c.
30976 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30977 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30978 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30979 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30980 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30981 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30982 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30983 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30984 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30985 * wcsmbc/wcschr.c (WCSCHR): New macro.
30986
5b330a2d
UD
309872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30988
30989 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30990 * wcsmbs/test-wcsrchr.c: New file.
30991 * string/test-strrchr.c: Add wcsrchr support.
30992 (WIDE): New macro.
30993 * wcsmbs/test-wcscpy.c: New file.
30994 * string/test-strcpy.c: Add wcscpy support.
30995 (WIDE): New macro.
26428b7c 30996
f039c043
UD
309972011-12-10 Ulrich Drepper <drepper@gmail.com>
30998
30999 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31000 the inner loop.
31001
850fb039
AS
310022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31003
31004 [BZ #13472]
31005 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31006
4efbd5cb
UD
310072011-12-04 Ulrich Drepper <drepper@gmail.com>
31008
52ff5dd0 31009 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31010 Minor optimizations.
52ff5dd0 31011
4efbd5cb
UD
31012 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31013 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31014 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31015
8a426e12
UD
310162011-12-03 Ulrich Drepper <drepper@gmail.com>
31017
aff2453d
UD
31018 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31019 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31020 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31021 for gcc to avoid warnings.
31022 * inet/Makefile (tests): Add tst-checks.
31023 * inet/tst-checks.c: New file.
31024
31025 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31026 warning.
31027
31028 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31029 __wmemcmp_sse2.
31030
31031 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31032 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31033
8a426e12
UD
31034 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31035
9bea3473
UD
310362011-12-02 Ulrich Drepper <drepper@gmail.com>
31037
3a965496
UD
31038 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31039 problem.
31040
9bea3473
UD
31041 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31042
f101631b
UD
310432011-11-29 Joseph Myers <joseph@codesourcery.com>
31044
31045 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31046 conditional on GCC version.
31047 (__arch_compare_and_exchange_val_8_acq)
31048 (__arch_compare_and_exchange_val_16_acq)
31049 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31050 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31051 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31052
a98275aa
UD
310532011-12-02 Joseph Myers <joseph@codesourcery.com>
31054
31055 * sysdeps/sh/backtrace.c: New file.
31056
d4cc29a2
AS
310572011-12-02 Andreas Schwab <schwab@redhat.com>
31058
31059 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31060 parenthesis.
31061
6257af2d
AS
310622011-12-01 Andreas Schwab <schwab@redhat.com>
31063
31064 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31065 falling back to utime.
31066
b5f44c1a
AS
310672011-11-30 Andreas Schwab <schwab@redhat.com>
31068
31069 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31070 expectations for float.
31071
f3a6cc0a
AS
310722011-11-29 Andreas Schwab <schwab@redhat.com>
31073
31074 * locale/weight.h (findidx): Add parameter len.
31075 * locale/weightwc.h (findidx): Likewise.
31076 * posix/fnmatch_loop.c (FCT): Adjust caller.
31077 * posix/regcomp.c (build_equiv_class): Likewise.
31078 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31079 * posix/regexec.c (check_node_accept_bytes): Likewise.
31080 * string/strcoll_l.c (STRCOLL): Likewise.
31081 * string/strxfrm_l.c (STRXFRM): Likewise.
31082
9d65ea3a
UD
310832011-11-17 Ulrich Drepper <drepper@gmail.com>
31084
31085 * Makefile.in: Remove CVSOPT handling.
31086 * configure.in: Remove use of AC_REVISION.
31087 * iconvdata/Makefile (distribute): No need to filter out CVS.
31088 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31089 handling.
31090
5583a086
AS
310912011-11-16 Andreas Schwab <schwab@redhat.com>
31092
31093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31094 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31095 [USE_AS_STRNCASECMP_L]: Likewise.
31096 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31097 NO_TLS_DIRECT_SEG_REFS.
31098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31099 Fix argument offsets for non-PIC.
31100 [USE_AS_STRNCASECMP_L]: Likewise.
31101 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31102 NO_TLS_DIRECT_SEG_REFS.
31103
d62a8200
UD
311042011-11-15 Ulrich Drepper <drepper@gmail.com>
31105
9d65ea3a 31106 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31107 O_CLOEXEC.
31108 * locale/loadlocale.c (_nl_load_locale): Likewise.
31109
09f93bd3
AS
311102011-11-15 Andreas Schwab <schwab@redhat.com>
31111
446514f9
AS
31112 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31113 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31114 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31115 (SYSCALL_GETTIME): Set errno on error.
31116
09f93bd3
AS
31117 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31118 count references to noai6ai_cached.
31119
312be3f9
UD
311202011-11-15 Ulrich Drepper <drepper@gmail.com>
31121
31122 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31123
31124 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31125 FD_CLOEXEC for /proc/self/maps.
31126
31127 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31128 FD_CLOEXEC for /proc/meminfo.
31129
31130 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31131 gai.conf.
31132
31133 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31134 FD_CLOEXEC for given file.
31135
31136 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31137
31138 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31139 FD_CLOEXEC for /etc/hosts.
31140 (_gethtent): Likewise.
31141
31142 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31143
31144 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31145 cancellation and set FD_CLOEXEC for /etc/netgroup.
31146
31147 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31148 reading /etc/publickey.
31149
31150 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31151 allow cancellation when reading /etc/group.
31152
31153 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31154 cancellation.
31155 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31156
31157 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31158 when using data file.
31159
31160 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31161
31162 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31163 (write_nis_obj): Use "c" and "e" in fopen.
31164
31165 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31166
31167 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31168
31169 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31170
31171 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31172
31173 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31174 locale.alias.
31175
31176 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31177
31178 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31179
31180 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31181
31182 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31183 file parsing and set FD_CLOEXEC.
31184
82af0fa8
UD
311852011-11-14 Ulrich Drepper <drepper@gmail.com>
31186
31187 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31188
a5fb313c
AS
311892011-11-14 Andreas Schwab <schwab@redhat.com>
31190
31191 * malloc/arena.c (arena_get2): Don't call reused_arena when
31192 _int_new_arena failed.
31193
6abf3465
UD
311942011-11-14 Ulrich Drepper <drepper@gmail.com>
31195
31196 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31197 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31198 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31199 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31200 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31201 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31202 to compile strcasecmp and strncasecmp.
31203 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31204 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31205
31206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31207
76e3966e
UD
312082011-11-13 Ulrich Drepper <drepper@gmail.com>
31209
31210 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31211 locale-defines.sym to gen-as-const-headers.
31212 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31213 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31215 to compile strcasecmp and strncasecmp.
31216 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31217 strcasecmp_l and strncasecmp_l.
31218 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31219 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31220 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31221 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31222 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31223 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31224 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31225 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31226 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31227 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31228 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31229
ab26144e
UD
312302011-11-12 Ulrich Drepper <drepper@gmail.com>
31231
7edb22ef
UD
31232 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31233 result of SYSDEP_GETTIME_CPU to retval.
31234 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31235 parameter list to macro. Remove trailing semicolon. Adjust users.
31236
9694fc44
UD
31237 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31238 variable.
31239
8ad89ef8
UD
31240 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31241 mantissa words.
31242 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31243
0c822ef9
UD
31244 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31245 from unused variable.
31246
874e0564
UD
31247 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31248 DWARF definitions.
31249 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31250 for assembling.
31251
3a2edc79
UD
31252 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31253 over namespaces.
31254
f3c2577f
UD
31255 * sunrpc/rpc_prot.c (rejected): Fix case value.
31256
294ce126
UD
31257 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31258 unsigned long long int to avoid warnings in shift.
31259
5e2b63c6
UD
31260 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31261 of use of trans.
31262 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31263 variable tmp.
31264
e7f4b08e
UD
31265 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31266 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31267 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31268
ab26144e
UD
31269 * nis/nis_table.c (nis_list): Use variable of correct type for
31270 result of __follow_path call.
31271
8a6d5255
AZ
312722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31273
31274 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31275 of math functions ceil, trunc, floor, round, and sqrt, when
31276 avaliable on the platform.
31277 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31278 name clash.
31279 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31280 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31281 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31282
aaddc98c
MP
312832011-10-30 Marek Polacek <mpolacek@redhat.com>
31284
31285 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31286 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31287
95b7042b
RM
312882011-11-11 Roland McGrath <roland@hack.frob.com>
31289
31290 * include/unistd.h: Fix __readlink return type.
31291 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31292
57769839
UD
312932011-11-11 Ulrich Drepper <drepper@gmail.com>
31294
31295 * stdlib/ucontext.h: Undo last change for makecontext.
31296
edc5984d
AS
312972011-11-11 Andreas Schwab <schwab@redhat.com>
31298
98591e58
AS
31299 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31300
edc5984d
AS
31301 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31302 * setjmp/setjmp.h: Mark functions as non-leaf.
31303 * setjmp/bits/setjmp2.h: Likewise.
31304 * stdlib/ucontext.h: Likewise.
31305
77cdc054
AS
313062011-11-10 Andreas Schwab <schwab@redhat.com>
31307
31308 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31309 (reused_arena): Don't check arena limit.
31310 (arena_get2): Atomically check arena limit.
31311
fe72eebd
UD
313122011-11-08 Ulrich Drepper <drepper@gmail.com>
31313
5f078c32
UD
31314 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31315 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31316
fe72eebd
UD
31317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31318 instructions.
31319
ae1bc2fa
AS
313202011-11-07 Andreas Schwab <schwab@redhat.com>
31321
7583a88d
AS
31322 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31323 handler when locking.
31324
ae1bc2fa
AS
31325 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31326 Fix size of allocated buffer.
31327
10fb0bfa
AS
313282011-11-04 Andreas Schwab <schwab@redhat.com>
31329
998832a4
AS
31330 [BZ #10103]
31331 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31332 declarations for long double functions.
31333 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31334
10fb0bfa
AS
31335 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31336
3d7ba52b
AS
313372011-11-03 Andreas Schwab <schwab@redhat.com>
31338
a9ae54a1
AS
31339 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31340 installed.
31341
3d7ba52b
AS
31342 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31343 is disabled.
31344
bc8db248
ST
313452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31346
31347 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31348
45b96dd6
AS
313492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31350
647776f6
AS
31351 * include/alloca.h (stackinfo_alloca_round): Define.
31352 (extend_alloca): Use it.
31353 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31354 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31355 here.
31356
d91a8b93
AS
31357 * scripts/check-local-headers.sh: Ignore libaudit.h.
31358
45b96dd6
AS
31359 * nscd/Makefile (extra-objs): Make recursively expanded.
31360
432d41ce
UD
313612011-11-01 Ulrich Drepper <drepper@gmail.com>
31362
34372fc6
UD
31363 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31364 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31365
fadb59f8
UD
31366 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31367 * posix/tst-rfc3484-2.c: Likewise.
31368 * posix/tst-rfc3484-3.c: Likewise.
31369
78239589
UD
31370 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31371 process_vm_writev.
31372 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31373 process_vm_writev.
31374 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31375 process_vm_writev from libc using GLIBC_2.15 version.
31376
432d41ce
UD
31377 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31378
02f9c6cf
PP
313792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31380
31381 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31382 stack usage.
31383
3a2c0242
UD
313842011-10-31 Ulrich Drepper <drepper@gmail.com>
31385
f4ec4833
UD
31386 [BZ #13367]
31387 * nss/getent.c (initgroups_keys): Show error message in case no group
31388 names are given.
31389
3a2c0242
UD
31390 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31391 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31392 __bump_nl_timestamp.
31393 * nscd/connections (nscd_init): When host database is served open
31394 netlink socket and request notification about configuration changes.
31395 (main_loop_poll): Track netlink file descriptor and bump timestamp
31396 in case data becomes available.
31397 (main_loop_epoll): Likewise.
31398 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31399 (database_pers_head): Add extra_data fileds.
31400 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31401 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31402 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31403 Adjust caller.
31404 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31405 in6ai data, call __free_in6ai.
31406 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31407 Add -DHAVE_NETLINK.
31408 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31409 interface information. Reuse previous data if netlink timestamp
31410 is not changed.
31411 (__bump_nl_timestamp): New function.
31412 (__free_in6ai): New function.
31413
636064eb
UD
314142011-10-30 Ulrich Drepper <drepper@gmail.com>
31415
31416 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31417 close_not_cancel_no_status here.
31418 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31419
9beb2334
UD
314202011-10-29 Ulrich Drepper <drepper@gmail.com>
31421
6ef76f3b
UD
31422 [BZ #13276]
31423 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31424 return value.
31425
0ffc4f3e 31426 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31427 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31428 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31429
cb95113e
UD
314302011-07-03 Andreas Jaeger <aj@suse.de>
31431
31432 [BZ #10709]
31433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31434 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31435 * math/libm-test.inc (sin_test): Add test case.
31436
a1b560ff
UD
314372011-10-29 Ulrich Drepper <drepper@gmail.com>
31438
c9aaface
UD
31439 [BZ #13337]
31440 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31441 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31442
d272e7f1
UD
31443 * elf/chroot_canon.c (chroot_canon): Cleanups.
31444
1bc33071
UD
31445 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31446
1760874d
TJ
31447 [BZ #13335]
31448 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31449 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31450
51d91b18
UD
31451 * string/test-strchr.c: Make usable for strchrnul testing.
31452 * string/test-strchrnul.c: New file.
31453 * string/Makefile (strop-tests): Add strchrnul.
31454
a1b560ff 31455 * po/it.po: Update from translation team.
b611fb81 31456 * po/es.po: Likewise.
a1b560ff 31457
a5b81e1f
UD
314582011-10-28 Ulrich Drepper <drepper@gmail.com>
31459
fd52bc6d
UD
31460 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31461 the three constants needed as parameters. Drop the others.
31462 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31463 __m128i_strloadu_tolower.
52e4b9eb
UD
31464 Create and initialize variable zero and use it in all the places
31465 where _mm_setzero_si128 was used.
fd52bc6d 31466
a5b81e1f
UD
31467 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31468 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31469 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31470 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31471 anymore.
31472 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31473 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31474 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31475 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31476 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31477 __mpranred, __mptan.
31478 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31479 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31480 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31481 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31482 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31483 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31484 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31485 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31486 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31487
b4343346
AS
314882011-10-28 Andreas Schwab <schwab@redhat.com>
31489
0c92d8a8
AS
31490 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31491 redefine if SHARED.
31492 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31493
b4343346
AS
31494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31495 wide char related routines to wcsmbs subdir.
31496
3871f58f
AS
314972011-10-27 Andreas Schwab <schwab@redhat.com>
31498
31499 [BZ #13344]
31500 * misc/sys/cdefs.h (__THROWNL): Define.
31501 * posix/unistd.h: Use __THREADNL instead of __THREAD
31502 for memory synchronization functions.
31503
94d44d9f
RM
315042011-10-26 Roland McGrath <roland@hack.frob.com>
31505
21b64b15 31506 [BZ #13349]
94d44d9f
RM
31507 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31508 doesn't exist.
31509 * manual/stdio.texi (Obstack Streams): Node removed.
31510
f6ce9294
AS
315112011-10-26 Andreas Schwab <schwab@redhat.com>
31512
80479147
AS
31513 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31514 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31515 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31516
f6ce9294
AS
31517 * math/math_private.h (math_force_eval): Allow non-addressable
31518 arguments.
31519 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31520
618280a1
UD
315212011-10-25 Ulrich Drepper <drepper@gmail.com>
31522
e0016b11
UD
31523 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31524 file is not needed.
31525
31526 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31527 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31528 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31529 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31530 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31531 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31532 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31533 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31534 Add AVX variants.
31535 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31536 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31537 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31538 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31539 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31540 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31541 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31542 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31543 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31544 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31545 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31546 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31547 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31548 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31549 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31550 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31551 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31552 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31553 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31554
31555 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31556 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31557
618280a1
UD
31558 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31559 place. Use VEX encoding when compiling for AVX.
31560
37822576
AS
315612011-10-25 Andreas Schwab <schwab@redhat.com>
31562
1f1e1947
AS
31563 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31564 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31565
37822576
AS
31566 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31567
31ea014d
UD
315682011-10-25 Ulrich Drepper <drepper@gmail.com>
31569
d7826aa1 31570 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31571 useless if() expression.
d7826aa1
UD
31572 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31573 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31574 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31575 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31576 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31577 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31578 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31579 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31580 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31581 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31582 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31583 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31584 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31585 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31586 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31587 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31588 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31589 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31590 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31591
31ea014d
UD
31592 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31593
16437fec
AS
315942011-10-25 Andreas Schwab <schwab@redhat.com>
31595
31596 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31597 condition.
31598 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31599
31d3cc00
UD
316002011-10-25 Ulrich Drepper <drepper@gmail.com>
31601
31602 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31603 .text section. Avoid duplicate constants.
31604 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31605 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31606 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31608 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31611 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31612 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31613 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31614 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31615 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31616 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31617 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31618 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31619 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31620 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31621 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31622 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31624 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31625 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31626 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31627 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31628 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31629 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31630 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31631 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31632 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31633 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31634 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31635 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31636 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31637 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31638 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31639 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31640 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31641 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31642 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31643 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31644 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31645 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31646 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31647 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31648 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31649
58985aa9
UD
316502011-10-24 Ulrich Drepper <drepper@gmail.com>
31651
202c9deb
UD
31652 * sysdeps/x86_64/dla.h: Move to ...
31653 * sysdeps/x86_64/fpu/dla.h: ...here.
31654 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31655 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31656
af968f62
UD
31657 * config.make.in: Add have-mfma4 entry.
31658 * configure.in: Substitute libc_cv_cc_fma4.
31659 * math/Makefile (dbl-only-routines): Add sincostab.
31660 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31661 Use __sincostab not sincos.
31662 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31663 name is a macro.
31664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31667 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31668 using __copysign.
31669 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31670 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31671 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31672 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31673 and __inv.
31674 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31675 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31676 __copysign.
31677 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31678 define aliases when function name is a macro.
31679 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31680 sysdeps/ieee754/dbl-64/sincos.tbl.
31681 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31682 fma4-enabled routines.
31683 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31684 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31685 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31686 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31687 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31689 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31690 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31691 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31692 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31693 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31694 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31695 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31696 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31697 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31698 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31699 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31700 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31701 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31702 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31703 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31704 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31705 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31706 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31707 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31708 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31710 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31711 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31712 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31713
58985aa9
UD
31714 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31715 rename.
31716 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31720 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31722 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31723 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31724
a201fbcf
AS
317252011-10-24 Andreas Schwab <schwab@redhat.com>
31726
31727 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31728
fc2ee42a
LD
317292011-10-23 Ulrich Drepper <drepper@gmail.com>
31730
bb3129bd
UD
31731 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31732
0275fff8
UD
31733 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31734 prediction.
31735 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31736
2fa2ae85
UD
31737 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31738 Remove unused variable magic_bits.
31739 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31740
fc2ee42a
LD
31741 * string/strnlen.c: Define and use STRNLEN macro.
31742 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31743 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31744 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31745 * wcsmbs/wcslen.c: Define and use WCSLEN.
31746 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31747 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31748 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31749 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31750 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31751 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31752 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31753
ce7dd29f
LD
317542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31755
31756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31757 strnlen-sse2-no-bsf.
31758 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31759 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31760 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31761 Add strnlen support.
31762 (USE_AS_STRNLEN): New macro.
31763 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31764 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31765 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31766 * sysdeps/x86_64/wcslen.S: New file.
31767
979c70a3
MZ
317682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31769
31770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31771 XMM-moves are used for copying on small sizes.
31772
2d09f82f
LD
317732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31774
31775 * wcsmbs/Makefile (strop-tests): Add wcschr.
31776 * wcsmbs/test-wcschr.c: New file.
31777 * string/test-strchr.c: Update.
31778 Add wcschr support.
31779 (WIDE): New macro.
31780
619fccca
LD
317812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31782
2d09f82f 31783 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31784 * wcsmbs/test-wcslen.c: New file.
31785 * string/test-strlen.c: Update.
31786 Add wcslen support.
31787 (WIDE): New macro.
31788
09f699ea
UD
317892011-10-23 Ulrich Drepper <drepper@gmail.com>
31790
31791 * po/it.po: Update from translation team.
31792
95584d3b
LD
317932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31794
31795 * sysdeps/x86_64/wcscmp.S: Update.
31796 Fix wrong comparison semantics.
31797 wcscmp shall use signed comparison not unsigned.
31798 Don't use substraction to avoid overflow bug.
31799 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31800 * wcsmbc/wcscmp.c: Likewise.
31801 * string/test-strcmp.c: Likewise.
31802 Add new tests to check cases with negative values.
31803
c8b3296b
UD
318042011-10-23 Ulrich Drepper <drepper@gmail.com>
31805
31806 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31807 * sysdeps/x86_64/dla.h: ...here. New file.
31808 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31809 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31810 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31811 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31812 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31813 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31814 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31815 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31816 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31817
246ad57a
AS
318182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31819
31820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31821 __ynl_finite aliases.
31822
a1a87169
UD
318232011-10-22 Ulrich Drepper <drepper@gmail.com>
31824
0d355eb7
UD
31825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31826
a1a87169
UD
31827 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31828 define DLA_FMA.
31829 [DLA_FMA] (EMULV): Use DLA_FMA.
31830 [DLA_FMA] (MUL12): Use EMULV.
31831 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31832 that are not needed.
31833 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31837 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31838 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31840
ee2aafe0
AS
318412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31842
31843 * math/s_nan.c: Undef __nan.
31844 * math/s_nanf.c: Undef __nanf.
31845 * math/s_nanl.c: Undef __nanl.
31846 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31847 "math_private.h".
31848
bc62c2fb
UD
318492011-10-22 Ulrich Drepper <drepper@gmail.com>
31850
77425c63
UD
31851 * math/s_catan.c: Add branch predictions.
31852 * math/s_catanf.c: Likewise.
31853 * math/s_catanh.c: Likewise.
31854 * math/s_catanhf.c: Likewise.
31855 * math/s_catanhl.c: Likewise.
31856 * math/s_catanl.c: Likewise.
31857 * math/s_cexp.c: Likewise.
31858 * math/s_cexpf.c: Likewise.
31859 * math/s_cexpl.c: Likewise.
31860 * math/s_clog.c: Likewise.
31861 * math/s_clog10.c: Likewise.
31862 * math/s_clog10f.c: Likewise.
31863 * math/s_clog10l.c: Likewise.
31864 * math/s_clogf.c: Likewise.
31865 * math/s_clogl.c: Likewise.
31866 * math/s_csqrt.c: Likewise.
31867 * math/s_csqrtf.c: Likewise.
31868 * math/s_csqrtl.c: Likewise.
31869 * math/s_ctanf.c: Likewise.
31870 * math/s_ctanh.c: Likewise.
31871 * math/s_ctanhf.c: Likewise.
31872 * math/s_ctanhl.c: Likewise.
31873 * math/s_ctanl.c: Likewise.
31874
bc62c2fb
UD
31875 * math/math_private.h: Define __nan, __nanf, __nanl.
31876 * math/s_cacosh.c: Include <math_private.h>.
31877 * math/s_cacoshl.c: Likewise.
31878 * math/s_casinh.c: Likewise.
31879 * math/s_casinhf.c: Likewise.
31880 * math/s_casinhl.c: Likewise.
31881 * math/s_ccos.c: Rely entire on ccosh.
31882 * math/s_ccosf.c: Rely entire on ccoshf.
31883 * math/s_ccosl.c: Rely entirely on ccoshl.
31884 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31885 Remove tests for FE_INVALID.
31886 * math/s_ccoshf.c: Likewise.
31887 * math/s_ccoshl.c: Likewise.
31888 * math/s_csin.c: Likewise.
31889 * math/s_csinf.c: Likewise.
31890 * math/s_csinh.c Likewise.
31891 * math/s_csinhf.c: Likewise.
31892 * math/s_csinhl.c: Likewise.
31893 * math/s_csinl.c: Likewise.
31894 * math/s_ctan.c: Likewise.
31895 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31896 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31897 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31898
8ec250a4
UD
318992011-10-21 Ulrich Drepper <drepper@gmail.com>
31900
c196fed8
UD
31901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31902 compilation problems.
31903
8ec250a4
UD
31904 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31905 __builtin_expect.
31906
8d4f46c6
UD
319072011-10-20 Ulrich Drepper <drepper@gmail.com>
31908
ed72b654
UD
31909 * sysdeps/i386/configure.in: Test for -mfma4 option.
31910 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31911 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31912 COMMON_CPUID_INDEX_80000001.
31913 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31914 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31915 use it if FMA3 is not supported.
31916 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31917
8d4f46c6
UD
31918 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31919 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31920
d45c60c2
AS
319212011-10-20 Andreas Schwab <schwab@redhat.com>
31922
31923 [BZ #12892]
31924 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31925 it would create a cycle with a link time dependency.
31926
d9a4d2ab
UD
319272011-10-19 Ulrich Drepper <drepper@gmail.com>
31928
855d1560
UD
31929 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31930 instruction.
31931 * string/Makefile (strop-tests): Add rawmemchr.
31932 * string/test-rawmemchr.c: New file.
31933
d9a4d2ab
UD
31934 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31935 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31936 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31937 when compiling str{,n}casecmp and when AVX is available. Hook up
31938 new optimized code in initializers.
31939
8f3b1ffe
AS
319402011-10-19 Andreas Schwab <schwab@redhat.com>
31941
31942 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31943 __feraiseexcept instead of feraiseexcept.
31944
d38f1dba
UD
319452011-10-18 Ulrich Drepper <drepper@gmail.com>
31946
d9a8d0ab
UD
31947 * math/math_private.h: Define defaults for libc_fetestexcept and
31948 libc_feupdateenv.
31949 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31950 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31951 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31952 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31953 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31954 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31955 libc_fetestexcept and libc_feupdateenv.
31956
4855e3dd
UD
31957 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31958 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31959 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31960 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31961 libc_feholdexcept_setround.
31962
581d30e3
UD
31963 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31964 Add s_nearbyint-c and s_nearbyintf-c.
31965 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31966 nearbyintf inlines.
31967 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31968 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31969 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31970 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31971
d38f1dba
UD
31972 * math/math_private.h: Define defaults for libc_fegetround,
31973 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31974 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31975 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31976 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31977 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31978 standard functions.
31979 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31980 Remove comments and hacks for old compiler versions.
31981 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31982 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31983 libc_feholdexceptl.
31984
caa6c9d8
AS
319852011-10-18 Andreas Schwab <schwab@redhat.com>
31986
31987 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31988 (__feraiseexcept_renamed): Add __NTH.
31989 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31990 namespace violations.
31991
97c066e6
UD
319922011-10-17 Ulrich Drepper <drepper@gmail.com>
31993
99ce7b04
UD
31994 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31995
1004d182
UD
31996 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31997
228a984d
UD
31998 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31999 recently added interfaces.
32000 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32001
c8553a6a
UD
32002 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32003 about macro parameter expansion.
32004
ed22dcf6
UD
32005 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32006 __NO_MATH_INLINES is defined. Cleanups.
32007
32008 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32009 and __floorf is target has SSE4.1.
32010 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32011 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32012 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32013 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32014
b171c137
UD
32015 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32016 name.
32017 (floorf): Likewise.
32018
97c066e6
UD
32019 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32020
629f62ef
AS
320212011-10-17 Andreas Schwab <schwab@redhat.com>
32022
49a43d80
AS
32023 * misc/sys/cdefs.h: Fix last change.
32024
629f62ef
AS
32025 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32026 database lookup.
32027
e453f6cd
UD
320282011-10-16 Ulrich Drepper <drepper@gmail.com>
32029
aa78043a
UD
32030 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32031
ad0f5cad
UD
32032 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32033 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32034 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32035 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32036 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32037 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32038 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32039 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32040 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32041 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32042 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32043 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32044 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32045 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32046 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32047 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32048 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32049 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32050 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32051 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32052 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32053 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32054
32055 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32056 ceil, ceilf, floor, floorf.
32057
32058 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32059 Perform IRELATIVE relocations last.
32060
e453f6cd
UD
32061 * elf/do-rel.h: Add another parameter nrelative, replacing the
32062 local variable with the same name. Change name of the function
32063 to end in Rel or Rela (uppercase).
32064 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32065 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32066 elf_dynamic_do_##reloc function.
32067
fd5bdc09
UD
320682011-10-15 Ulrich Drepper <drepper@gmail.com>
32069
79b195b5
UD
32070 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32071 is sufficient, at least on modern CPUs.
32072
d4a28569
UD
32073 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32074
b61099b5
UD
32075 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32076 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32077
bcf01e6d
UD
32078 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32079 __expl_finite.
32080 * math/bits/math-finite.h: Add entries for exp.
32081 * math/e_expl.c: Add __*_finite alias.
32082 * sysdeps/i386/fpu/e_exp.S: Likewise.
32083 * sysdeps/i386/fpu/e_expf.S: Likewise.
32084 * sysdeps/i386/fpu/e_expl.c: Likewise.
32085 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32086 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32087 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32088 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32089 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32090 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32091 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32092
ba1a0d59
UD
32093 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32094 is sufficient, at least on modern CPUs.
32095
fd5bdc09
UD
32096 * ctype/ctype-info.c (__ctype_init): Define.
32097 * include/ctype.h (__ctype_init): Declare.
32098 (__ctype_b_loc): The variable is always initialized.
32099 (__ctype_toupper_loc): Likewise.
32100 (__ctype_tolower_loc): Likewise.
32101 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32102 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32103
7872cfb0
AS
321042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32105
b468825a
AS
32106 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32107
7872cfb0
AS
32108 * configure.in: Also look in $cxxmachine/include for C++ system
32109 headers.
32110
be13f7bf
LD
321112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32112
32113 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32114 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32115 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32116 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32117 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32118 (USE_AS_WMEMCMP): New macro.
32119 Fixing indents.
32120 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32121 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32122 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32123 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32125 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32126 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32127 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32128 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32129 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32130 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32131 (USE_AS_WMEMCMP): New macro.
32132 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32133 * sysdeps/string/test-memcmp.c: Update.
32134 Fix simple_wmemcmp.
32135 Add new tests.
32136 * wcsmbs/wmemcmp.c: Update.
32137 (WMEMCMP): New macro.
32138 Fix overflow bug.
32139
556a2007
AJ
321402011-10-12 Andreas Jaeger <aj@suse.de>
32141
32142 [BZ #13268]
32143 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32144
538faaa7
UD
321452011-10-15 Ulrich Drepper <drepper@gmail.com>
32146
ab6737ff
UD
32147 * libio/iofwide.c (do_length): Avoid warning.
32148
538faaa7
UD
32149 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32150
396a21b1
UD
321512011-10-14 Ulrich Drepper <drepper@gmail.com>
32152
cdf2901f
UD
32153 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32154
38ad40ce
UD
32155 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32156 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32157 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32158 * sysdeps/i386/i686/fpu/e_log.S: New file.
32159 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32160 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32161
396a21b1
UD
32162 * ctype/ctype.h: Add support for inlined isXXX functions when
32163 compiling C++ code.
32164
6b1f68c9
AS
321652011-10-14 Andreas Schwab <schwab@redhat.com>
32166
349290c0
AS
32167 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32168
6b1f68c9
AS
32169 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32170
f2282d42
RM
321712011-10-13 Roland McGrath <roland@hack.frob.com>
32172
32173 [BZ #13291]
32174 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32175
5298ffa8
AS
321762011-10-13 Andreas Schwab <schwab@redhat.com>
32177
714fad23
AS
32178 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32179 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32180 feraiseexcept.
32181
81dcc7fb
AS
32182 * sysdeps/x86_64/memrchr.S: Check for zero size.
32183
5298ffa8
AS
32184 * string/stratcliff.c: Add memrchr tests.
32185
951fbcec
LD
321862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32187
32188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32189 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32190 rawmemchr-sse2 rawmemchr-sse2-bsf.
32191 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32192 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32193 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32194 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32195 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32196 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32197 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32198 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32199 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32200 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32201 * string/memrchr.c (MEMRCHR): New macro.
32202
0ac5ae23
UD
322032011-10-12 Ulrich Drepper <drepper@gmail.com>
32204
32205 Add integration with gcc's -ffinite-math-only and optimize wrapper
32206 functions in libm.
32207 * Versions.def: Define GLIBC_2.15 version for libm.
32208 * math/Makefile (headers): Add bits/math-finite.h.
32209 * math/bits/math-finite.h: New file.
32210 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32211 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32212 * math/e_acoshl.c: Add __*_finite alias.
32213 * math/e_acosl.c: Likewise.
32214 * math/e_asinl.c: Likewise.
32215 * math/e_atan2l.c: Likewise.
32216 * math/e_atanhl.c: Likewise.
32217 * math/e_coshl.c: Likewise.
32218 * math/e_exp10.c: Likewise.
32219 * math/e_exp10f.c: Likewise.
32220 * math/e_exp10l.c: Likewise.
32221 * math/e_exp2l.c: Likewise.
32222 * math/e_fmodl.c: Likewise.
32223 * math/e_gammal_r.c: Likewise.
32224 * math/e_hypotl.c: Likewise.
32225 * math/e_j0l.c: Likewise.
32226 * math/e_j1l.c: Likewise.
32227 * math/e_jnl.c: Likewise.
32228 * math/e_lgammal_r.c: Likewise.
32229 * math/e_log10l.c: Likewise.
32230 * math/e_log2l.c: Likewise.
32231 * math/e_logl.c: Likewise.
32232 * math/e_powl.c: Likewise.
32233 * math/e_sinhl.c: Likewise.
32234 * math/e_sqrtl.c: Likewise.
32235 * math/e_scalb.c: Completely rewritten and optimized.
32236 * math/e_scalbf.c: Likewise.
32237 * math/e_scalbl.c: Likewise.
32238 * math/w_acos.c: Likewise.
32239 * math/w_acosf.c: Likewise.
32240 * math/w_acosl.c: Likewise.
32241 * math/w_acosh.c: Likewise.
32242 * math/w_acoshf.c: Likewise.
32243 * math/w_acoshl.c: Likewise.
32244 * math/w_asin.c: Likewise.
32245 * math/w_asinf.c: Likewise.
32246 * math/w_asinl.c: Likewise.
32247 * math/w_atan2.c: Likewise.
32248 * math/w_atan2f.c: Likewise.
32249 * math/w_atan2l.c: Likewise.
32250 * math/w_atanh.c: Likewise.
32251 * math/w_atanhf.c: Likewise.
32252 * math/w_atanhl.c: Likewise.
32253 * math/w_exp10.c: Likewise.
32254 * math/w_exp10f.c: Likewise.
32255 * math/w_exp10l.c: Likewise.
32256 * math/w_fmod.c: Likewise.
32257 * math/w_fmodf.c: Likewise.
32258 * math/w_fmodl.c: Likewise.
32259 * math/w_j0.c: Likewise.
32260 * math/w_j0f.c: Likewise.
32261 * math/w_j0l.c: Likewise.
32262 * math/w_j1.c: Likewise.
32263 * math/w_j1f.c: Likewise.
32264 * math/w_j1l.c: Likewise.
32265 * math/w_jn.c: Likewise.
32266 * math/w_jnf.c: Likewise.
32267 * math/w_log.c: Likewise.
32268 * math/w_logf.c: Likewise.
32269 * math/w_logl.c: Likewise.
32270 * math/w_log10.c: Likewise.
32271 * math/w_log10f.c: Likewise.
32272 * math/w_log10l.c: Likewise.
32273 * math/w_log2.c: Likewise.
32274 * math/w_log2f.c: Likewise.
32275 * math/w_log2l.c: Likewise.
32276 * math/w_pow.c: Likewise.
32277 * math/w_powf.c: Likewise.
32278 * math/w_powl.c: Likewise.
32279 * math/w_remainder.c: Likewise.
32280 * math/w_remainderf.c: Likewise.
32281 * math/w_remainderl.c: Likewise.
32282 * math/w_scalb.c: Likewise.
32283 * math/w_scalbf.c: Likewise.
32284 * math/w_scalbl.c: Likewise.
32285 * math/w_sqrt.c: Likewise.
32286 * math/w_sqrtf.c: Likewise.
32287 * math/w_sqrtl.c: Likewise.
32288 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32289 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32290 used.
32291 * math/math_private.h: Declare __kernel_standard_f.
32292 * math/w_cosh.c: Remove cruft and optimize a bit.
32293 * math/w_coshf.c: Likewise.
32294 * math/w_coshl.c: Likewise.
32295 * math/w_exp2.c: Likewise.
32296 * math/w_exp2f.c: Likewise.
32297 * math/w_exp2l.c: Likewise.
32298 * math/w_hypot.c: Likewise.
32299 * math/w_hypotf.c: Likewise.
32300 * math/w_hypotl.c: Likewise.
32301 * math/w_lgamma.c: Likewise.
32302 * math/w_lgamma_r.c: Likewise.
32303 * math/w_lgammaf.c: Likewise.
32304 * math/w_lgammaf_r.c: Likewise.
32305 * math/w_lgammal.c: Likewise.
32306 * math/w_lgammal_r.c: Likewise.
32307 * math/w_sinh.c: Likewise.
32308 * math/w_sinhf.c: Likewise.
32309 * math/w_sinhl.c: Likewise.
32310 * math/w_tgamma.c: Likewise.
32311 * math/w_tgammaf.c: Likewise.
32312 * math/w_tgammal.c: Likewise.
32313 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32314 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32315 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32316 Minor optimizations. Pretty printing. Remove cruft.
32317 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32318 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32319 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32320 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32321 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32322 * sysdeps/i386/fpu/e_asin.S: Likewise.
32323 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32324 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32325 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32326 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32327 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32328 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32329 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32330 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32331 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32332 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32333 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32334 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32335 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32336 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32337 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32338 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32339 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32340 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32341 * sysdeps/i386/fpu/e_log.S: Likewise.
32342 * sysdeps/i386/fpu/e_log10.S: Likewise.
32343 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32344 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32345 * sysdeps/i386/fpu/e_log2.S: Likewise.
32346 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32347 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32348 * sysdeps/i386/fpu/e_logf.S: Likewise.
32349 * sysdeps/i386/fpu/e_logl.S: Likewise.
32350 * sysdeps/i386/fpu/e_pow.S: Likewise.
32351 * sysdeps/i386/fpu/e_powf.S: Likewise.
32352 * sysdeps/i386/fpu/e_powl.S: Likewise.
32353 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32354 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32355 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32356 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32357 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32358 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32359 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32360 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32361 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32362 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32363 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32365 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32366 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32367 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32368 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32369 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32370 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32371 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32372 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32373 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32375 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32376 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32378 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32379 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32380 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32381 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32382 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32383 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32384 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32385 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32386 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32387 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32388 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32389 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32390 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32391 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32392 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32393 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32394 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32395 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32396 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32397 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32398 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32399 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32400 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32401 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32402 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32403 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32404 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32405 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32406 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32407 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32408 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32409 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32410 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32411 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32412 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32413 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32414 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32415 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32416 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32417 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32418 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32419 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32420 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32421 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32422 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32423 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32424 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32425 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32426 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32427 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32428 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32429 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32430 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32431 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32432 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32433 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32434 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32436 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32437 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32438 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32439 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32440 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32441 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32442 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32443 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32444 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32445 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32446 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32447 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32448 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32449 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32450 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32451 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32452 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32453 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32454 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32455 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32456 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32457 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32458 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32459 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32460 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32461 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32462 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32463 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32464 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32465 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32466 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32467 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32468 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32470 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32471 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32472 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32473 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32474 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32475 (__isnanf): Likewise.
32476 (__isinf_ns): Likewise.
32477 (__isinf_nsf): Likewise.
32478 (__finite): Likewise.
32479 (__finitef): Likewise.
32480 (__ieee754_sqrt): Define as macro.
32481 (__ieee754_sqrtf): Define as macro.
32482 (__ieee754_sqrtl): Define as macro.
32483 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32484 inlined copy.
32485 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32486 __FINITE_MATH_ONLY__ consistent.
32487 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32488
12cc2fcd
AS
324892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32490
a843a204
AS
32491 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32492 of rawmemchr.
32493
12cc2fcd
AS
32494 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32495
c853acd5
UD
324962011-10-09 Ulrich Drepper <drepper@gmail.com>
32497
32498 * po/ja.po: Update from translation team.
32499
c658d255
RM
325002011-10-08 Roland McGrath <roland@hack.frob.com>
32501
110946e4
RM
32502 * locale/programs/locarchive.c (prepare_address_space): New function.
32503 (create_archive, enlarge_archive, open_archive): Use it.
32504
50604220
RM
32505 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32506 inside [SHARED], where it is used.
32507
c658d255
RM
32508 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32509
32510 * nss/getent.c (netgroup_keys): Remove unused variable.
32511 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32512
6a621eb7
UD
325132011-10-08 Ulrich Drepper <drepper@gmail.com>
32514
7edb55ce
UD
32515 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32516 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32517 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32518 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32519 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32520 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32521 * math/Makefile (libm-calls): Add s_isinf_ns.
32522 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32523 * math/multc3.c: Likewise.
32524 * math/s_casin.c: Likewise.
32525 * math/s_casinf.c: Likewise.
32526 * math/s_casinl.c: Likewise.
32527 * math/s_ccos.c: Likewise.
32528 * math/s_ccosf.c: Likewise.
32529 * math/s_ccosl.c: Likewise.
32530 * math/s_ctan.c: Likewise.
32531 * math/s_ctanf.c: Likewise.
32532 * math/s_ctanh.c: Likewise.
32533 * math/s_ctanhf.c: Likewise.
32534 * math/s_ctanhl.c: Likewise.
32535 * math/s_ctanl.c: Likewise.
32536 * math/w_fmod.c: Likewise.
32537 * math/w_fmodf.c: Likewise.
32538 * math/w_fmodl.c: Likewise.
32539 * math/w_remainder.c: Likewise.
32540 * math/w_remainderf.c: Likewise.
32541 * math/w_remainderl.c: Likewise.
32542 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32543 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32544 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32546 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32547 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32548 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32549 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32550
187da0ae
UD
32551 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32552 of the number.
32553 * stdio-common/printf_fphex.c: Likewise.
32554 * stdio-common/printf_size.c: Likewise.
32555
9277c064
UD
32556 * math/e_exp10.c: Include math_private.h using <...> not "...".
32557 * math/e_exp10f.c: Likewise.
32558 * math/e_exp10l.c: Likewise.
32559 * math/e_exp2l.c: Likewise.
32560 * math/e_j0l.c: Likewise.
32561 * math/e_j1l.c: Likewise.
32562 * math/e_jnl.c: Likewise.
32563 * math/e_lgammal_r.c: Likewise.
32564 * math/e_rem_pio2l.c: Likewise.
32565 * math/e_scalb.c: Likewise.
32566 * math/e_scalbf.c: Likewise.
32567 * math/e_scalbl.c: Likewise.
32568 * math/k_cosl.c: Likewise.
32569 * math/k_sinl.c: Likewise.
32570 * math/k_tanl.c: Likewise.
32571 * math/s_cacoshf.c: Likewise.
32572 * math/s_catan.c: Likewise.
32573 * math/s_catanf.c: Likewise.
32574 * math/s_catanh.c: Likewise.
32575 * math/s_catanhf.c: Likewise.
32576 * math/s_catanhl.c: Likewise.
32577 * math/s_catanl.c: Likewise.
32578 * math/s_ccosh.c: Likewise.
32579 * math/s_ccoshf.c: Likewise.
32580 * math/s_ccoshl.c: Likewise.
32581 * math/s_cexp.c: Likewise.
32582 * math/s_cexpf.c: Likewise.
32583 * math/s_cexpl.c: Likewise.
32584 * math/s_clog.c: Likewise.
32585 * math/s_clog10.c: Likewise.
32586 * math/s_clog10f.c: Likewise.
32587 * math/s_clog10l.c: Likewise.
32588 * math/s_clogf.c: Likewise.
32589 * math/s_clogl.c: Likewise.
32590 * math/s_csin.c: Likewise.
32591 * math/s_csinf.c: Likewise.
32592 * math/s_csinh.c: Likewise.
32593 * math/s_csinhf.c: Likewise.
32594 * math/s_csinhl.c: Likewise.
32595 * math/s_csinl.c: Likewise.
32596 * math/s_csqrt.c: Likewise.
32597 * math/s_csqrtf.c: Likewise.
32598 * math/s_csqrtl.c: Likewise.
32599 * math/s_ctan.c: Likewise.
32600 * math/s_ctanf.c: Likewise.
32601 * math/s_ctanh.c: Likewise.
32602 * math/s_ctanhf.c: Likewise.
32603 * math/s_ctanhl.c: Likewise.
32604 * math/s_ctanl.c: Likewise.
32605 * math/s_ldexp.c: Likewise.
32606 * math/s_ldexpf.c: Likewise.
32607 * math/s_ldexpl.c: Likewise.
32608 * math/s_significand.c: Likewise.
32609 * math/s_significandf.c: Likewise.
32610 * math/s_significandl.c: Likewise.
32611 * math/w_acos.c: Likewise.
32612 * math/w_acosf.c: Likewise.
32613 * math/w_acosh.c: Likewise.
32614 * math/w_acoshf.c: Likewise.
32615 * math/w_acoshl.c: Likewise.
32616 * math/w_acosl.c: Likewise.
32617 * math/w_asin.c: Likewise.
32618 * math/w_asinf.c: Likewise.
32619 * math/w_asinl.c: Likewise.
32620 * math/w_atan2.c: Likewise.
32621 * math/w_atan2f.c: Likewise.
32622 * math/w_atan2l.c: Likewise.
32623 * math/w_atanh.c: Likewise.
32624 * math/w_atanhf.c: Likewise.
32625 * math/w_atanhl.c: Likewise.
32626 * math/w_cosh.c: Likewise.
32627 * math/w_coshf.c: Likewise.
32628 * math/w_coshl.c: Likewise.
32629 * math/w_dremf.c: Likewise.
32630 * math/w_exp10.c: Likewise.
32631 * math/w_exp10f.c: Likewise.
32632 * math/w_exp10l.c: Likewise.
32633 * math/w_exp2.c: Likewise.
32634 * math/w_exp2f.c: Likewise.
32635 * math/w_fmod.c: Likewise.
32636 * math/w_fmodf.c: Likewise.
32637 * math/w_fmodl.c: Likewise.
32638 * math/w_hypot.c: Likewise.
32639 * math/w_hypotf.c: Likewise.
32640 * math/w_hypotl.c: Likewise.
32641 * math/w_j0.c: Likewise.
32642 * math/w_j0f.c: Likewise.
32643 * math/w_j0l.c: Likewise.
32644 * math/w_j1.c: Likewise.
32645 * math/w_j1f.c: Likewise.
32646 * math/w_j1l.c: Likewise.
32647 * math/w_jn.c: Likewise.
32648 * math/w_jnf.c: Likewise.
32649 * math/w_jnl.c: Likewise.
32650 * math/w_lgamma.c: Likewise.
32651 * math/w_lgamma_r.c: Likewise.
32652 * math/w_lgammaf.c: Likewise.
32653 * math/w_lgammaf_r.c: Likewise.
32654 * math/w_lgammal.c: Likewise.
32655 * math/w_lgammal_r.c: Likewise.
32656 * math/w_log.c: Likewise.
32657 * math/w_log10.c: Likewise.
32658 * math/w_log10f.c: Likewise.
32659 * math/w_log10l.c: Likewise.
32660 * math/w_log2.c: Likewise.
32661 * math/w_log2f.c: Likewise.
32662 * math/w_log2l.c: Likewise.
32663 * math/w_logf.c: Likewise.
32664 * math/w_logl.c: Likewise.
32665 * math/w_pow.c: Likewise.
32666 * math/w_powf.c: Likewise.
32667 * math/w_powl.c: Likewise.
32668 * math/w_remainder.c: Likewise.
32669 * math/w_remainderf.c: Likewise.
32670 * math/w_remainderl.c: Likewise.
32671 * math/w_scalb.c: Likewise.
32672 * math/w_scalbf.c: Likewise.
32673 * math/w_scalbl.c: Likewise.
32674 * math/w_sinh.c: Likewise.
32675 * math/w_sinhf.c: Likewise.
32676 * math/w_sinhl.c: Likewise.
32677 * math/w_sqrt.c: Likewise.
32678 * math/w_sqrtf.c: Likewise.
32679 * math/w_sqrtl.c: Likewise.
32680 * math/w_tgamma.c: Likewise.
32681 * math/w_tgammaf.c: Likewise.
32682 * math/w_tgammal.c: Likewise.
32683
6a621eb7
UD
32684 * po/ja.po: Update from translation team.
32685
bf582445
AJ
326862011-09-29 Andreas Jaeger <aj@suse.de>
32687
f9efbf3a
AJ
32688 [BZ #13179]
32689 * sunrpc/netname.c (netname2host): Fix logic.
32690
bf582445
AJ
32691 [BZ #6779]
32692 [BZ #6783]
32693 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32694 correctly.
32695 * math/w_remainder.c (__remainder): Likewise.
32696 * math/w_remainderf.c (__remainderf): Likewise.
32697 * math/libm-test.inc (remainder_test): Add test cases.
32698
48693bea
AK
326992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32700
32701 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32702 sdiv_qrnnd.
32703
42622229
LD
327042011-10-07 Ulrich Drepper <drepper@gmail.com>
32705
32706 * string/test-memcmp.c: Avoid unncessary #defines.
32707 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32708
093ecf92
LD
327092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32710
32711 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32712 Use new sse2 version for core i3 - i7 as it's faster
32713 than sse42 version.
32714 (bit_Prefer_PMINUB_for_stringop): New.
32715 * sysdeps/x86_64/rawmemchr.S: Update.
32716 Replace with faster SSE2 version.
32717 * sysdeps/x86_64/memrchr.S: New file.
32718 * sysdeps/x86_64/memchr.S: Update.
32719 Replace with faster SSE2 version.
32720
fde56e5c
MP
327212011-09-12 Marek Polacek <mpolacek@redhat.com>
32722
32723 * elf/dl-load.c (lose): Add cast to avoid warning.
32724
21fd49a9
UD
327252011-10-07 Ulrich Drepper <drepper@gmail.com>
32726
5a06e643
UD
32727 * po/ca.po: Update from translation team.
32728
684ae515
UD
32729 * inet/getnetgrent_r.c: Hook up nscd.
32730 * nscd/Makefile (routines): Add nscd_netgroup.
32731 (nscd-modules): Add netgroupcache.
32732 (CFLAGS-netgroupcache.c): Define.
32733 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32734 (cache_search): Add const to second parameter.
32735 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32736 INNETGR.
32737 (dbs): Add netgrdb entry.
32738 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32739 (verify_persistent_db): Handle netgrdb.
32740 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32741 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32742 GETFDNETGR.
32743 (netgroup_response_header): Define.
32744 (innetgroup_response_header): Define.
32745 (datahead): Add netgroup_response_header and innetgroup_response_header
32746 elements.
32747 * nscd/nscd.conf: Add entries for netgroup cache.
32748 * nscd/nscd.h (dbtype): Add netgrdb.
32749 (_PATH_NSCD_NETGROUP_DB): Define.
32750 (netgroup_iov_disabled): Declare.
32751 (xmalloc, xcalloc, xrealloc): Move declarations here.
32752 (cache_search): Adjust prototype.
32753 Add netgroup-related prototypes.
32754 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32755 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32756 (__nscd_innetgr): Declare.
32757 * nscd/selinux.c (perms): Use access_vector_t as element type and
32758 add netgroup-related initializers.
32759 * nscd/netgroupcache.c: New file.
32760 * nscd/nscd_netgroup.c: New file.
32761 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32762 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32763 For four parameters use innetgr.
32764 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32765 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32766 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32767 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32768
21fd49a9
UD
32769 * nscd/connections.c (register_traced_file): Don't register file
32770 for disabled databases.
32771
054c0457
UD
327722011-10-06 Ulrich Drepper <drepper@gmail.com>
32773
32b63198
UD
32774 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32775
054c0457
UD
32776 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32777 from tree and freeing node.
32778
64031225
JO
327792011-09-25 Jiri Olsa <jolsa@redhat.com>
32780
32781 * nss/nsswitch.c (__nss_database_lookup): Handle
32782 nss_parse_service_list out of memory case.
32783
0490345c
JO
327842011-09-15 Jiri Olsa <jolsa@redhat.com>
32785
32786 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32787 out of memory case.
32788
3a62d00d
AS
327892011-10-04 Andreas Schwab <schwab@redhat.com>
32790
32791 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32792 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32793 pass it down.
32794 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32795 elf_machine_rela, elf_machine_lazy_rel.
32796 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32797 (ELF_DYNAMIC_DO_REL): Likewise.
32798 (ELF_DYNAMIC_DO_RELA): Likewise.
32799 (ELF_DYNAMIC_RELOCATE): Likewise.
32800 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32801 to ELF_DYNAMIC_DO_REL.
32802 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32803 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32804 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32805 elf_machine_rela.
32806 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32807 skip_ifunc, don't call ifunc function if non-zero.
32808 (elf_machine_rela): Likewise.
32809 (elf_machine_lazy_rel): Likewise.
32810 (elf_machine_lazy_rela): Likewise.
32811 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32812 (elf_machine_lazy_rel): Likewise.
32813 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32814 Likewise.
32815 (elf_machine_lazy_rel): Likewise.
32816 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32817 Likewise.
32818 (elf_machine_lazy_rel): Likewise.
32819 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32820 (elf_machine_lazy_rel): Likewise.
32821 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32822 (elf_machine_lazy_rel): Likewise.
32823 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32824 (elf_machine_lazy_rel): Likewise.
32825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32826 (elf_machine_lazy_rel): Likewise.
32827 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32828 (elf_machine_lazy_rel): Likewise.
32829 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32830 (elf_machine_lazy_rel): Likewise.
32831
68577918
UD
328322011-09-28 Ulrich Drepper <drepper@gmail.com>
32833
32834 * nss/nss_files/files-init.c (_nss_files_init): Use static
32835 initialization for all the *_traced_file variables.
32836
68822d74
AS
328372011-09-28 Andreas Schwab <schwab@redhat.com>
32838
32839 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32840
2056100b
RM
328412011-09-27 Roland McGrath <roland@hack.frob.com>
32842
32843 [BZ #13226]
32844 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32845
32c76b63
AS
328462011-09-27 Andreas Schwab <schwab@redhat.com>
32847
32848 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32849 Reread the line before reparsing it.
32850
bf972c9d
AS
328512011-09-26 Andreas Schwab <schwab@redhat.com>
32852
32853 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32854
e057a1b5
JM
328552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32856 Maxim Kuvyrkov <maxim@codesourcery.com>
32857 Joseph Myers <joseph@codesourcery.com>
32858
32859 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32860 if needed for __stack_chk_guard.
32861
bc7e1c36
RM
328622011-09-19 Roland McGrath <roland@hack.frob.com>
32863
ecb1482f
RM
32864 * sysdeps/posix/spawni.c (script_execute): Always define it.
32865 It will be optimized away if unused.
32866 (maybe_script_execute): New function.
32867 (__spawni): Call it.
32868
bc7e1c36
RM
32869 * Makerules: Don't include tls.make.
32870 (config-tls): Always set to thread.
32871 * tls.make.c: File removed.
32872
1c3b002b
MF
328732011-09-19 Mike Frysinger <vapier@gentoo.org>
32874
32875 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32876 * config.make.in (CPPFLAGS-config): New substituted variable.
32877
2840865d
UD
328782011-09-15 Ulrich Drepper <drepper@gmail.com>
32879
88738eb6
UD
32880 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32881
cbf645a6 32882 [BZ #13192]
2840865d
UD
32883 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32884 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32885
b402e91a
RM
328862011-09-15 Roland McGrath <roland@hack.frob.com>
32887
32888 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32889 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32890 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32891 (CALL_FAIL): Likewise.
32892 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32893 (CALL_FAIL): Macro removed.
32894 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32895
4c1a1f71
UD
328962011-09-15 Ulrich Drepper <drepper@gmail.com>
32897
32898 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32899 for __FINITE_MATH_ONLY__ == 1.
32900
edc121be
AS
329012011-09-15 Andreas Schwab <schwab@redhat.com>
32902
32903 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32904 __ieee754_sqrt instead of sqrt.
32905 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32906 __ieee754_sqrtf instead of sqrtf.
32907 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32908 __floorf instead of floorf.
32909 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32910 __floorf, __truncf instead of floorf, truncf.
32911
cd205654
UD
329122011-09-14 Ulrich Drepper <drepper@gmail.com>
32913
ee4d0315
UD
32914 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32915
cd205654
UD
32916 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32917 __extern_always_inline.
32918 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32919 32-bit.
32920
48b67d71
AS
329212011-09-14 Andreas Schwab <schwab@redhat.com>
32922
32923 * elf/rtld.c (dl_main): Also relocate in dependency order when
32924 doing symbol dependency testing.
32925
1ae12c75
AS
329262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32927
32928 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32929 Always define `refsym'.
32930
995a80df
AS
329312011-09-13 Andreas Schwab <schwab@redhat.com>
32932
e529793b
AS
32933 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32934 (__FD_ELT): Renamed from __FDELT.
32935 * misc/bits/select2.h (__FD_ELT): Likewise.
32936 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32937 __FD_MASK instead of __FDELT, __FDMASK.
32938 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32939 Likewise.
32940 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32941 Likewise.
32942
52d4fef8
AS
32943 * elf/Makefile (gen-ldd): Fix pattern.
32944
995a80df
AS
32945 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32946 (init_tls): Likewise.
32947
8682f8b0
UD
329482011-09-12 Ulrich Drepper <drepper@gmail.com>
32949
32950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32951
de82006d
AS
329522011-09-12 Andreas Schwab <schwab@redhat.com>
32953
a7c8e6a1
AS
32954 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32955 `struct cmsghdr *' instead of `void *'.
32956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32957 Likewise.
32958
0f31fe77
AS
329592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32960
32961 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32962 if non-absolute.
32963 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32964 ldd_rewrite_script.
0f31fe77 32965
32b4c839
UD
329662011-09-11 Ulrich Drepper <drepper@gmail.com>
32967
83cd1420
UD
32968 * configure.in: Remove --with-tls option.
32969 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32970 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32971 out in case it is missing.
32972 * sysdeps/ia64/elf/configure.in: Likewise.
32973 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32974 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32975 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32976 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32977 * sysdeps/sh/elf/configure.in: Likewise.
32978 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32979 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32980 * sysdeps/x86_64/elf/configure.in: Likewise.
32981 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32982 * sysdeps/mach/hurd/tls.h: Likewise.
32983
633f745d
UD
32984 [BZ #13067]
32985 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32986
f318beb8
UD
32987 [BZ #13090]
32988 * configure.in: Fix use of AC_INIT.
32989
32b4c839
UD
32990 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32991
3ce1f295
UD
329922011-09-10 Ulrich Drepper <drepper@gmail.com>
32993
bb016596
UD
32994 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32995 __set_errno.
8e58439c
UD
32996 * malloc/hooks.c: Likewise.
32997
aebae053 32998 [BZ #11929]
02d46fc4
UD
32999 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33000 variables statically.
33001 (narenas): Initialize.
33002 (list_lock): Initialize.
bb016596
UD
33003 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33004 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33005 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33006 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33007 Add initializers to main_arena and mp_.
33008 (malloc_state): Remove pagesize member. Change all users to use
33009 GLRO(dl_pagesize).
33010
33011 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33012 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33013 is always initialized.
33014
22a89187
UD
33015 * malloc/malloc.c: Removed unused configurations and dead code.
33016 * malloc/arena.c: Likewise.
33017 * malloc/hooks.c: Likewise.
02d46fc4 33018 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33019
d063d164
UD
33020 * include/tls.h: Removed. USE___THREAD must always be defined.
33021 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33022 * elf/dl-libc.c: Likewise.
33023 * elf/dl-tsd.c: Likewise.
33024 * include/errno.h: Likewise.
33025 * include/netdb.h: Likewise.
33026 * include/resolv.h: Likewise.
33027 * inet/herrno-loc.c: Likewise.
33028 * inet/herrno.c: Likewise.
33029 * malloc/arena.c: Likewise.
33030 * malloc/hooks.c: Likewise.
33031 * malloc/malloc.c: Likewise.
33032 * resolv/res-state.c: Likewise.
33033 * resolv/res_libc.c: Likewise.
33034 * sysdeps/i386/dl-machine.h: Likewise.
33035 * sysdeps/ia64/dl-machine.h: Likewise.
33036 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33037 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33038 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33039 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33040 * sysdeps/sh/dl-machine.h: Likewise.
33041 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33042 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33043 * sysdeps/unix/i386/sysdep.S: Likewise.
33044 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33045 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33046 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33047 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33048 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33049 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33050 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33051 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33052 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33053 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33054 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33055 * sysdeps/x86_64/dl-machine.h: Likewise.
33056 * tls.make.c: Likewise.
33057
3ce1f295
UD
33058 * configure.in: Remove --with-__thread option. Make tests for
33059 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33060 tls_model attribute fail if no support is available. Remove
33061 USE_IN_LIBIO.
33062 * Makeconfig: Adjust for dropped configure option. All features are
33063 now mandatory.
33064 * Makerules: Likewise.
33065 * Versions.def: Likewise.
33066 * argp/argp-fmtstream.c: Likewise.
33067 * argp/argp-fmtstream.h: Likewise.
33068 * argp/argp-help.c: Likewise.
33069 * assert/assert.c: Likewise.
33070 * config.h.in: Likewise.
33071 * config.make.in: Likewise.
33072 * configure: Likewise.
33073 * configure.in: Likewise.
33074 * csu/Versions: Likewise.
33075 * csu/init.c: Likewise.
33076 * elf/tst-audit2.c: Likewise.
33077 * elf/tst-tls10.c: Likewise.
33078 * elf/tst-tls10.h: Likewise.
33079 * elf/tst-tls11.c: Likewise.
33080 * elf/tst-tls12.c: Likewise.
33081 * elf/tst-tls14.c: Likewise.
33082 * elf/tst-tlsmod11.c: Likewise.
33083 * elf/tst-tlsmod12.c: Likewise.
33084 * elf/tst-tlsmod13.c: Likewise.
33085 * elf/tst-tlsmod13a.c: Likewise.
33086 * elf/tst-tlsmod14a.c: Likewise.
33087 * elf/tst-tlsmod15b.c: Likewise.
33088 * elf/tst-tlsmod16a.c: Likewise.
33089 * elf/tst-tlsmod16b.c: Likewise.
33090 * elf/tst-tlsmod7.c: Likewise.
33091 * elf/tst-tlsmod8.c: Likewise.
33092 * elf/tst-tlsmod9.c: Likewise.
33093 * gmon/gmon.c: Likewise.
33094 * grp/fgetgrent_r.c: Likewise.
33095 * grp/putgrent.c: Likewise.
33096 * hurd/fopenport.c: Likewise.
33097 * include/libc-symbols.h: Likewise.
33098 * include/tls.h: Likewise.
33099 * intl/gettextP.h: Likewise.
33100 * intl/loadinfo.h: Likewise.
33101 * locale/global-locale.c: Likewise.
33102 * locale/localeinfo.h: Likewise.
33103 * mach/devstream.c: Likewise.
33104 * malloc/arena.c: Likewise.
33105 * malloc/set-freeres.c: Likewise.
33106 * misc/err.c: Likewise.
33107 * misc/getttyent.c: Likewise.
33108 * misc/mntent_r.c: Likewise.
33109 * posix/getopt.c: Likewise.
33110 * posix/wordexp.c: Likewise.
33111 * pwd/fgetpwent_r.c: Likewise.
33112 * resolv/Versions: Likewise.
33113 * resolv/res_hconf.c: Likewise.
33114 * shadow/fgetspent_r.c: Likewise.
33115 * shadow/putspent.c: Likewise.
33116 * stdio-common/printf_fphex.c: Likewise.
33117 * stdio-common/tmpfile.c: Likewise.
33118 * stdlib/abort.c: Likewise.
33119 * stdlib/fmtmsg.c: Likewise.
33120 * sunrpc/auth_unix.c: Likewise.
33121 * sunrpc/clnt_perr.c: Likewise.
33122 * sunrpc/clnt_tcp.c: Likewise.
33123 * sunrpc/clnt_udp.c: Likewise.
33124 * sunrpc/clnt_unix.c: Likewise.
33125 * sunrpc/openchild.c: Likewise.
33126 * sunrpc/svc_simple.c: Likewise.
33127 * sunrpc/svc_tcp.c: Likewise.
33128 * sunrpc/svc_udp.c: Likewise.
33129 * sunrpc/svc_unix.c: Likewise.
33130 * sunrpc/xdr.c: Likewise.
33131 * sunrpc/xdr_array.c: Likewise.
33132 * sunrpc/xdr_rec.c: Likewise.
33133 * sunrpc/xdr_ref.c: Likewise.
33134 * sunrpc/xdr_stdio.c: Likewise.
33135
1248c1c4
PB
331362011-09-09 Ulrich Drepper <drepper@gmail.com>
33137
33138 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33139
331402011-07-03 Andreas Jaeger <aj@suse.de>
33141
33142 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33143 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33144 regenerate with gen-libm-tests.pl.
33145
331462010-05-12 Petr Baudis <pasky@suse.cz>
33147
33148 [BZ #11589]
33149 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33150 around j0() zero points by switching to j1().
33151 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33152 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33154 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33155
f22e1074
UD
331562011-09-09 Ulrich Drepper <drepper@gmail.com>
33157
f19009c1
UD
33158 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33159 instead of 0.
33160 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33161 instead of 0.
f19009c1
UD
33162 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33163 Patch in part by Pavel Roskin <proski@gnu.org>.
33164
3f8cc204
UD
33165 [BZ #13138]
33166 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33167 realloc.
33168 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33169 Free memory block if necessary.
33170
f22e1074
UD
33171 [BZ #12847]
33172 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33173 be NULL. Don't lock in this case.
33174
0a2349f9
RM
331752011-09-09 Roland McGrath <roland@hack.frob.com>
33176
33177 * elf/elf.h (ELFOSABI_GNU): New macro.
33178 (ELFOSABI_LINUX): Define to that.
33179
f3cdd467
DZ
331802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33181
33182 * string/strncat.c (strncat): Undef the symbol in case it has been
33183 defined in bits/string.h.
33184
74718d13
UD
331852011-09-09 Ulrich Drepper <drepper@gmail.com>
33186
633e9e0f
UD
33187 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33188
0a2349f9 33189 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33190 link map.
33191
f9924780
AJ
331922011-08-17 Andreas Jaeger <aj@suse.de>
33193
33194 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33195
7f5517aa
PP
331962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33197 Ian Lance Taylor <iant@google.com>
33198
33199 * math/libm-test.inc (lround_test): New testcase.
33200 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33201
762011fe
UD
332022011-09-08 Ulrich Drepper <drepper@gmail.com>
33203
92963737
UD
33204 * Makefile: Remove support for automatic cvs check-ins.
33205 * Makerules: Likewise.
33206 * config.make.in: Likewise.
33207 * configure.in: Likewise.
33208 * intl/Makefile: Likewise.
33209 * locale/Makefile: Likewise.
33210 * po/Makefile: Likewise.
33211 * posix/Makefile: Likewise.
33212 * sysdeps/gnu/Makefile: Likewise.
33213 * sysdeps/mach/hurd/Makefile: Likewise.
33214 * sysdeps/sparc/sparc32/Makefile: Likewise.
33215
b0727fd8
JS
33216 [BZ #13118]
33217 * posix/Makefile (bug-regex32-ENV): Define.
33218 Patch by John Stanley <jpsinthemix@verizon.net>.
33219
a0f33f99
UD
33220 * misc/Makefile (headers): Add bits/select2.h.
33221 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33222 * misc/bits/select2.h: New file.
33223 * include/bits/select2.h: New file.
33224 * debug/Makefile (routines): Add fdelt_chk.
33225 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33226 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33227 FD_ISSET.
33228 * debug/fdelt_chk.c: New file.
33229
762011fe
UD
33230 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33231 * wcsmbs/test-wmemcmp.c: Likewise.
33232 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33233 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33234
332352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33236
33237 * string/Makefile (strop-tests): Add memcmp.
33238 * string/test-wmemcmp.c: New file.
33239 * string/test-memcmp.c: Add wmemcmp support.
33240
7f513ec8
RM
332412011-09-08 Roland McGrath <roland@hack.frob.com>
33242
0442afb4
RM
33243 [BZ #13153]
33244 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33245 2011-07-19 change.
33246
7f513ec8
RM
33247 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33248 garbage value in a __mach_port_mod_refs call in the cases of the
33249 task-self and thread-self ports.
33250
a12b2239
ST
332512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33252
33253 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33254
610f9ab4
AS
332552011-09-08 Andreas Schwab <schwab@redhat.com>
33256
7f513ec8 33257 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33258
48882a1a
LD
332592011-09-07 Ulrich Drepper <drepper@gmail.com>
33260
b49865be
UD
33261 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33262
fdc86bc9
UD
33263 * elf/dl-libc.c (dlerror_run): Pass back error code from
33264 dl_catch_error.
33265
c966526a
UD
33266 [BZ #13123]
33267 * elf/dl-load.c (lose): Free l_origin if it is valid.
33268
48882a1a
LD
33269 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33270 names.
33271 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33272 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33273 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33274 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33275 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33276 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33277
77a2a8b4
AZ
332782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33279
33280 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33281 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33282 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33283 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33284 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33285 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33286 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33287 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33288 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33289 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33290
24f579d8
AM
332912011-08-15 Alan Modra <amodra@gmail.com>
33292
33293 [BZ #13092]
33294 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33295 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33296 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33297 ppc_mcount to static-only-routines.
33298 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33299 __mcount_internal.
33300 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33301 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33302
3d4837df
UD
333032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33304
33305 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33306 for finite and infinity parameters.
33307
22700377
WS
333082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33309
33310 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33311 and add nop instructions for throughput optimization.
33312 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33313
5025581e
WS
333142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33315
33316 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33317 aligned copy for power7 with vector-scalar instructions.
33318 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33319
08a300c9
L
333202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33321
33322 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33323 AVX check.
33324
59178ef9
AS
333252011-09-07 Andreas Schwab <schwab@redhat.com>
33326
33327 [BZ #13144]
33328 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33329 last change.
33330
e38ba7ab
UD
333312011-09-07 Ulrich Drepper <drepper@gmail.com>
33332
33333 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33334 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33335 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33336 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33337 clock_gettime.
33338
d53a73ac
UD
333392011-09-06 Ulrich Drepper <drepper@gmail.com>
33340
fc8bffcc
UD
33341 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33342 Forgot to demangle the pointer.
33343
ceaa0c5d
UD
33344 * sysdeps/i386/sysdep.h: Define atom_text_section.
33345 * sysdeps/x86_64/sysdep.h: Likewise.
33346 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33347 section with atom_text_section.
33348 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33349 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33350 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33351 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33352 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33353
a77d3c17
UD
33354 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33355 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33356 already be defined. Change to take two parameters and don't assign
33357 result to variable. Adjust all users.
33358 Define INTERNAL_GETTIME if not already defined.
33359 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33360 call.
33361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33362 HAVE_CLOCK_GETTIME_VSYSCALL.
33363 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33364
d53a73ac
UD
33365 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33366 gettimeofday vsyscall, just use time.
33367
a8f84144
AS
333682011-09-06 Andreas Schwab <schwab@redhat.com>
33369
33370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33371 <errno.h>.
33372
ef606249
UD
333732011-09-06 Ulrich Drepper <drepper@gmail.com>
33374
33375 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33376 syscall on x86-64.
33377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33378 syscall.
33379 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33380 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33381 syscall if possible.
33382
6585cb60
UD
333832011-09-05 Ulrich Drepper <drepper@gmail.com>
33384
33385 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33386 e_ident. Don't pass to find_mapsXX.
33387 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33388
a5f524e4
LD
333892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33390
33391 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33392 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33393 * sysdeps/x86_64/multiarch/strchr.S: Update.
33394 Check bit_slow_BSF bit.
33395 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33396 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33397 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33398
554881ef
UD
333992011-09-05 Ulrich Drepper <drepper@gmail.com>
33400
d96de963
UD
33401 [BZ #13134]
33402 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33403 before glibc 2.15.
33404 (tryshell): Define.
33405 (__spawni): Change last parameter to be flag. Test
33406 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33407 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33408 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33409 * posix/spawni.c: Likewise.
33410 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33411 * posix/spawnp.c: Likewise. Change normal version to use
33412 SPAWN_XFLAGS_USE_PATH.
33413 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33414 SPAWN_XFLAGS_TRY_SHELL.
33415
d48e5868
UD
33416 [BZ #13150]
33417 * posix/glob.h: Remove gcc 1.x support.
33418
554881ef
UD
33419 [BZ #13068]
33420 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33421
693fb948
LD
334222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33423
33424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33425 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33426 strrchr-sse2-bsf
33427 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33428 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33429 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33430 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33431 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33432 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33433
1b48c537
UD
334342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33435
49d42c37
UD
33436 * sysdeps/x86_64/wcscmp.S: New file.
33437
1b48c537
UD
33438 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33439 wcscmp-c wcscmp-sse2
33440 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33441 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33442 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33443 * wcsmbs/wcscmp.c: Allow renaming.
33444
15c95c5d
DM
334452011-09-05 David S. Miller <davem@davemloft.net>
33446
33447 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33448 stack slot, rather than the struct return pointer slot.
33449 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33450 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33452 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33453
2f0ad8f3
UD
334542011-09-05 Ulrich Drepper <drepper@gmail.com>
33455
d88ae418
UD
33456 * po/ja.po: Update from translation team.
33457
2f0ad8f3
UD
33458 [BZ #13144]
33459 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33460 kernel in 64-bit binaries.
33461
5f4318d1
DM
334622011-09-01 David S. Miller <davem@davemloft.net>
33463
33464 * elf/elf.h (HWCAP_SPARC_*): Move to..
33465 * sysdeps/sparc/sysdep.h: this new file and add new values.
33466 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33467 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33468 _DL_HWCAP_COUNT to 24.
33469 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33470 entries.
33471 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33472 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33473 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33475 instead of magic constants.
33476 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33477
3ba57516
DM
334782011-08-31 David S. Miller <davem@davemloft.net>
33479
33480 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33481 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33482 Reimplement to do errno handling inline.
33483 (SYSCALL_ERROR_HANDLER): New macro.
33484 (__SYSCALL_STRING): Do not do errno handling in asm.
33485 (__CLONE_SYSCALL_STRING): Delete.
33486 (__INTERNAL_SYSCALL_STRING): Delete.
33487 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33488 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33489 (PSEUDO): Reimplement to do errno handling inline.
33490 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33491 (SYSCALL_ERROR_HANDLER): New macro.
33492 (__SYSCALL_STRING): Do not do errno handling in asm.
33493 (__CLONE_SYSCALL_STRING): Delete.
33494 (__INTERNAL_SYSCALL_STRING): Delete.
33495 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33496 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33497 i386.
33498 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33499 (inline_syscall*): Add 'err' argument.
33500 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33501 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33502 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33503 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33504
33505 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33506 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33507
2bc17433
AS
335082011-08-30 Andreas Schwab <schwab@redhat.com>
33509
33510 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33511
fbeb5f4d
JO
335122011-08-29 Jiri Olsa <jolsa@redhat.com>
33513
33514 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33515 directive.
33516
ad69cc26
DM
335172011-08-24 David S. Miller <davem@davemloft.net>
33518
33519 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33520
39dd69df
AS
335212011-08-24 Andreas Schwab <schwab@redhat.com>
33522
33523 * elf/Makefile: Add rules to build and run unload8 test.
33524 * elf/unload8.c: New file.
33525 * elf/unload8mod1.c: New file.
33526 * elf/unload8mod1x.c: New file.
33527 * elf/unload8mod2.c: New file.
33528 * elf/unload8mod3.c: New file.
33529
33530 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33531 it wasn't used.
33532
2c0b250a
DM
335332011-08-23 David S. Miller <davem@davemloft.net>
33534
33535 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33536 subtract stack bias.
33537 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33538 %sp not %fp in calculations.
33539 (_JMPBUF_UNWINDS_ADJ): Likewise.
33540
22044b48
DM
33541 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33542 (aio_suspend): Call it to force an exception region around the
33543 AIO_MISC_WAIT() invocation.
33544
2cae4995
AS
335452011-08-23 Andreas Schwab <schwab@redhat.com>
33546
33547 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33548 backslash.
33549
873a772e
AJ
335502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33551
33552 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33553 protection macro.
33554 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33555 and <dl-machine.h>.
33556 (Elf64_FuncDesc): Remove.
33557
25ad0df1
DM
335582011-08-22 David S. Miller <davem@davemloft.net>
33559
33560 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33561 sigaltstack check, add missing cfi directives.
33562 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33563 missing cfi directives, and sigaltstack handling.
33564
e888bcbe
AS
335652011-08-16 Andreas Schwab <schwab@redhat.com>
33566
33567 [BZ #11724]
33568 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33569 object is seen twice.
33570 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33571
33572 * elf/Makefile (distribute): Add tst-initorder2.c.
33573 (tests): Add tst-initorder2.
33574 (modules-names): Add tst-initorder2a tst-initorder2b
33575 tst-initorder2c tst-initorder2d. Add rules to build them.
33576 ($(objpfx)tst-initorder2.out): New rule.
33577 * elf/tst-initorder2.c: New file.
33578 * elf/tst-initorder2.exp: New file.
33579
87162f46
AS
335802011-08-22 Andreas Schwab <schwab@redhat.com>
33581
70538b7f
AS
33582 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33583
f55ffe58
AS
33584 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33585 dependencies back to end of function.
33586
87162f46
AS
33587 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33588 $(elfobjdir)/ld.so.
33589
91b392a4
UD
335902011-08-21 Ulrich Drepper <drepper@gmail.com>
33591
33592 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33593 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33595 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33596 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33597 of __vdso_gettimeofday.
33598 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33599 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33600 attribute_hidden.
33601 (_libc_vdso_platform_setup): Remove initialization of
33602 __vdso_gettimeofday and __vdso_time.
33603
5c43483f
UD
336042011-08-20 Ulrich Drepper <drepper@gmail.com>
33605
775a77e7
UD
33606 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33607 and fgetc_unlocked.
33608 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33609 getc_unlocked.
89f447ed 33610
49c74ba9
UD
33611 * elf/dl-open.c (add_to_global): Report additions to the global scope
33612 for LD_DEBUG=scopes.
33613 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33614 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33615
5c43483f
UD
33616 [BZ #13114]
33617 * stdio-common/Makefile (tests): Add bug24.
33618 * stdio-common/bug24.c: New file.
33619
a101b025
AJ
336202011-08-19 Andreas Jaeger <aj@suse.de>
33621
33622 [BZ #13114]
33623 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33624 non-existant file when using close-on-exec mode.
33625
c88f1766
UD
336262011-08-20 Ulrich Drepper <drepper@gmail.com>
33627
0276a718
UD
33628 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33629 the very first instruction.
33630
c88f1766
UD
33631 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33632 the CFI state in the end.
33633 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33634 inclusion of dl-trampoline.h.
33635 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33636
51ccffa0
AS
336372011-08-19 Andreas Schwab <schwab@redhat.com>
33638
94d7165f
AS
33639 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33640 expectations for long double.
33641
51ccffa0
AS
33642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33643 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33644
fd708658 336452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33646
33647 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33648 artificual limit depends upon the system page size.
33649
44f0a71e
UD
336502011-08-17 Ulrich Drepper <drepper@gmail.com>
33651
33652 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33653 * resolv/Makefile: Define CFLAGS-libresolv.
33654
8de79a24
AS
336552011-08-17 Andreas Schwab <schwab@redhat.com>
33656
33657 * nss/makedb.c (compute_tables): Make variables used in nested
33658 function static.
33659
27724598
UD
336602011-08-17 Ulrich Drepper <drepper@gmail.com>
33661
c5305d88
UD
33662 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33663 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33664 if buffer was too small.
33665
27724598
UD
33666 * elf/pldd.c (main): Attach to all threads in the process.
33667 Rewrite /proc handling to use *at functions.
33668
076fe015
UD
336692011-08-16 Ulrich Drepper <drepper@gmail.com>
33670
174baab3
UD
33671 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33672 specifies first scope to show.
33673 (dl_open_worker): Update callers. Move printing scope of new
33674 object to before the relocation.
44f0a71e 33675 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33676 * sysdeps/generic/ldsodefs.h: Update declaration.
33677
076fe015
UD
33678 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33679 string for the scope number.
33680
a60df2c3
UD
336812011-08-14 Ulrich Drepper <drepper@gmail.com>
33682
33683 * nscd/servicescache.c (cache_addserv): Make sure written is always
33684 initialized.
33685
5e4287d1
RM
336862011-08-14 Roland McGrath <roland@hack.frob.com>
33687
85ae0589
RM
33688 * sysdeps/i386/i486/bits/atomic.h
33689 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33690 statement expression, so as to suppress "set but not used" warning.
33691 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33692
69f63097
RM
33693 * string/strncat.c (STRNCAT): Use prototype definition.
33694
675456ef
RM
33695 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33696 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33697 -Iprograms here.
33698 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33699 (localedef-modules): Add localedef.
33700 (locale-modules): Add locale.
33701
5e4287d1
RM
33702 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33703 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33704 to avoid a warning.
33705
9c96ff23
DM
337062011-08-14 David S. Miller <davem@davemloft.net>
33707
33708 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33709 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33710
f9ddf089
UD
337112011-08-13 Ulrich Drepper <drepper@gmail.com>
33712
44f0a71e 33713 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33714 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33715 * elf/rtld.c (dl_main): Set l_name of vDSO.
33716 Call _dl_show_scope when DL_DEBUG_SCOPES.
33717 (process_dl_debug): Recognize scopes flag and also set it for all.
33718 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33719 Declare _dl_show_scope.
33720
1dc27704
UD
33721 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33722 (do_dlopen): Pass caller_dlopen to dl_open.
33723 (__libc_dlopen_mode): Initialize caller_dlopen.
33724
f9ddf089
UD
33725 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33726 of libc. Make tolower call locale-independent. Optimize a bit by
33727 using isdigit instead of isalnum.
33728 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33729
9ac533d3
UD
337302011-08-12 Ulrich Drepper <drepper@gmail.com>
33731
33732 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33733 was a dependency or dynamically loaded.
33734
89edf2e9
UD
337352011-08-11 Ulrich Drepper <drepper@gmail.com>
33736
8e999d29
UD
33737 * intl/l10nflist.c: Allow architecture-specific pop function.
33738 * sysdeps/x86_64/l10nflist.c: New file.
33739
89edf2e9
UD
33740 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33741 classification.
33742
14d96785
AS
337432011-08-10 Andreas Schwab <schwab@redhat.com>
33744
33745 * include/dirent.h: Add libc_hidden_proto for scandirat and
33746 scandirat64. Don't declare __scandirat64.
33747 * dirent/scandirat.c: Add libc_hidden_def.
33748 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33749 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33750
6761ac04
DM
337512011-08-10 David S. Miller <davem@davemloft.net>
33752
33753 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33754 enum.
33755 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33756 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33757 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33758
c55fbd1e
UD
337592011-08-09 Ulrich Drepper <drepper@gmail.com>
33760
33761 * Versions.def [libc]: Add GLIBC_2.15.
33762 * dirent/Makefile (routines): Add scandirat and scandirat64.
33763 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33764 GLIBC_2.15.
33765 * dirent/dirent.h: Declare scandirat and scandirat64.
33766 * dirent/scandirat.c: New file.
33767 * dirent/scandirat64.c: New file.
33768 * sysdeps/wordsize-64/scandirat.c: New file.
33769 * sysdeps/wordsize-64/scandirat64.c: New file.
33770 * dirent/opendir.c: Define opendirat.
33771 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33772 using scandirat.
33773 * dirent/scandir64.c: Adjust for scandir.c change.
33774 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33775 __scandirat64, and __scandir_cancel_handler.
33776 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33777 additional parameter and use openat instead of open (outside of ld.so).
33778 Add new __opendir as wrapper around __opendirat.
33779 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33780 here without requiring old scandirat implementation.
33781
879165f2
UD
337822011-08-08 Ulrich Drepper <drepper@gmail.com>
33783
33784 * dirent/scandir.c (cancel_handler): Renamed to
33785 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33786 defined. Adjust users.
33787 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33788 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33789
cb7e923b
UD
337902011-08-04 Ulrich Drepper <drepper@gmail.com>
33791
16292edd
UD
33792 * string/test-string.h (IMPL): Use __STRING to expand name and then
33793 stringify it.
33794
cb7e923b
UD
33795 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33796 of cleanups.
33797
cff82933
LD
337982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33799
33800 * string/Makefile: Update.
33801 (strop-tests): Append strncat.
33802 * string/test-wcscmp.c: New file.
33803 New comprehensive test for wcscmp.
33804 * string/test-strcmp.c: Update.
33805 (WIDE): New define.
33806
9be9bfcc
AS
338072011-07-22 Andreas Schwab <schwab@redhat.com>
33808
33809 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33810 line.
33811
2e96f1c7
AS
338122011-07-26 Andreas Schwab <schwab@redhat.com>
33813
33814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33815 encoding to ACE if AI_IDN.
33816
85188888
JJ
338172011-08-01 Jakub Jelinek <jakub@redhat.com>
33818
33819 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33820 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33821
5fa16e9b
LD
338222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33823
33824 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33825 Fix overflow bug in strncat.
33826 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33827
33828 * string/test-strncat.c: Update.
33829 Add new tests for checking overflow bugs.
33830
338312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33832
33833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33834 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33835 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33836 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33837 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33838 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33839 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33840 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33841 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33842
33843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33844 (USE_AS_STRCAT): Define.
33845 Add strcat and strncat support.
33846 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33847
8c1a459f
AS
338482011-07-25 Andreas Schwab <schwab@redhat.com>
33849
33850 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33851 __n bigger than INT_MAX+1.
33852 (__strncmp_g): Likewise.
33853
bba33c28
UD
338542011-07-23 Ulrich Drepper <drepper@gmail.com>
33855
798be72d
UD
33856 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33857 * libio/stido.h: Likewise.
33858
8accd4dc
UD
33859 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33860 (AF_NFC): Define.
33861 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33862 (AF_NFC): Define.
33863
cbff0d96
UD
33864 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33865 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33866 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33867 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33868 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33869
9191c04a
UD
33870 [BZ #13021]
33871 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33872 installed.
33873
bba33c28
UD
33874 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33875 typo.
33876 (_dl_x86_64_save_sse): Likewise.
33877
90f139dd
UD
338782011-07-22 Ulrich Drepper <drepper@gmail.com>
33879
1aae088a
UD
33880 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33881 OSXSAVE.
33882 (_dl_x86_64_save_sse): Likewise.
33883
8e2045f5
UD
33884 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33885
90f139dd
UD
33886 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33887
1d002f25
AS
338882011-07-21 Andreas Schwab <schwab@redhat.com>
33889
33890 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33891 change.
33892 (_dl_x86_64_save_sse): Use correct AVX check.
33893
21137f89
UD
338942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33895
33896 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33897 bug in strncpy/strncat.
33898 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33899
a65c0b7a
UD
339002011-07-21 Ulrich Drepper <drepper@gmail.com>
33901
33902 * string/tester.c (test_strcat): Add tests for different alignments
33903 of source and destination.
33904 (test_strncat): Likewise.
33905
6986b98a
UD
339062011-07-20 Ulrich Drepper <drepper@gmail.com>
33907
90bb2039
UD
33908 [BZ #12852]
33909 * posix/glob.c (glob): Check passed in values before using them in
33910 expressions to avoid some overflows.
33911 (glob_in_dir): Likewise.
33912
5644ef54
UD
33913 [BZ #13007]
33914 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33915 check for AVX enablement so that we don't crash with old kernels and
33916 new hardware.
33917 * elf/tst-audit4.c: Add same checks here.
33918 * elf/tst-audit6.c: Likewise.
33919
33920 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33921
bfc9dc9b
AS
339222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33923
33924 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33925
702e64bb
UD
339262011-07-20 Ulrich Drepper <drepper@gmail.com>
33927
33928 * po/cs.po: Update from translation team.
33929 * po/bg.po: Likewise.
33930
295e904f
MP
339312011-07-12 Marek Polacek <mpolacek@redhat.com>
33932
33933 * misc/sys/cdefs.h: Add support for const attribute.
33934 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33935 to gnu_dev_{major,minor,makedev} functions.
33936
3ff94596
MP
339372011-07-20 Marek Polacek <mpolacek@redhat.com>
33938
33939 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33940
28b59fca
AS
339412011-07-20 Andreas Schwab <schwab@redhat.com>
33942
33943 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33944 strlen results.
33945
19df733e
AK
339462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33947
33948 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33949 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33950 register in order to avoid conflicts with the soft frame pointer
33951 being held in r11 when necessary.
33952 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33953 (INTERNAL_VSYSCALL_NCS): Likewise.
33954
c8835729
MP
339552011-07-14 Marek Polacek <mpolacek@redhat.com>
33956
33957 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33958 * elf/dl-fini.c (_dl_fini): Adjust caller.
33959 * elf/dl-close.c (_dl_close_worker): Likewise.
33960 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33961
b902330c
MP
339622011-07-15 Marek Polacek <mpolacek@redhat.com>
33963
8991e135
MP
33964 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33965 "aux_cache->nlibs < 0".
33966
b902330c
MP
33967 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33968 in the reload-count case.
33969
99710781
LD
339702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33971
33972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33973 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33974 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33975 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33976 * sysdeps/x86_64/multiarch/strcat.S: New file.
33977 * sysdeps/x86_64/multiarch/strncat.S: New file.
33978 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33979 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33980 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33981 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33982 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33983 (USE_AS_STRCAT): Define.
33984 Add strcat and strncat support.
33985 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33986 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33987 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33988 * string/strncat.c: Update.
33989 (USE_AS_STRNCAT): Define.
33990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33991 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33992 and i7.
33993 * sysdeps/x86_64/multiarch/init-arch.h
33994 (bit_Prefer_PMINUB_for_stringop): New.
33995 (index_Prefer_PMINUB_for_stringop): Likewise.
33996 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33997 bit_Prefer_PMINUB_for_stringop.
33998
7dc6bd90
UD
339992011-07-19 Ulrich Drepper <drepper@gmail.com>
34000
34001 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34002 buffer64.
34003 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34004 of casting of buffer.
34005 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34006 buffer32 and buffer64.
34007 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34008 writes instead of casting of buffer.
34009 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34010 buffer32.
34011 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34012 casting of buffer.
34013
e0e72284
AS
340142011-07-19 Andreas Schwab <schwab@redhat.com>
34015
34016 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34017
feb1eb0b
UD
340182011-07-19 Ulrich Drepper <drepper@gmail.com>
34019
34020 * nscd/nscd.c (termination_handler): Don't do anything for a database
34021 if it has not yet been initialized.
34022
298711ff
UD
340232011-07-18 Ulrich Drepper <drepper@gmail.com>
34024
34025 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34026
340272011-07-15 Marek Polacek <mpolacek@redhat.com>
34028
34029 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34030
f9d68389
UD
340312011-07-18 Ulrich Drepper <drepper@gmail.com>
34032
34033 * po/nl.po: Update from translation team.
34034 * po/sv.po: Likewise.
34035
db290cf5
RM
340362011-07-16 Roland McGrath <roland@hack.frob.com>
34037
34038 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34039 now disallowed by GCC.
5c550700 34040
fd5e21c7
RM
34041 * configure.in (use-default-link): Default to yes if a test -shared
34042 link meets our qualifications.
34043 * configure: Regenerated.
34044
5c550700
RM
34045 * config.make.in (output-format): New variable.
34046 * configure.in: Check for ld --print-output-format support.
34047 * configure: Regenerated.
34048 * Makerules ($(common-objpfx)format.lds)
34049 [$(output-format) != unknown]: Just use $(output-format),
34050 instead of the linker-script munging.
34051
9fa2c032
RM
340522011-07-14 Roland McGrath <roland@hack.frob.com>
34053
a6928d51
RM
34054 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34055 of $(common-objpfx)shlib.lds.
34056 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34057
661607b3
RM
34058 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34059 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34060
9fa2c032
RM
34061 * configure.in (-z relro check): Adjust test code to add a large
34062 writable data section after it.
34063 * configure: Regenerated.
34064
defe9061
RM
340652011-07-11 Roland McGrath <roland@hack.frob.com>
34066
34067 * configure.in (-z relro check): Fix test code to make the variable
34068 truly const.
34069 * configure: Regenerated.
34070
319b9ad4
UD
340712011-07-11 Ulrich Drepper <drepper@gmail.com>
34072
34073 * nscd/nscd.h (struct traced_file): Define.
34074 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34075 elements. Add traced_files.
34076 (inotify_fd): Declare.
34077 (register_traced_file): Declare.
34078 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34079 (inotify_fd): Export.
34080 (resolv_conf_descr): Remove.
34081 (nscd_init): Move inotify descriptor creation to main.
34082 Don't register files for notification here.
34083 (register_traced_file): New function.
34084 (invalidate_cache): Don't use reset_res to determine whether to call
34085 res_init, go through the list of registered files.
34086 (main_loop_poll): The inotify descriptors are now stored in the
34087 structures for the traced files.
34088 (main_loop_epoll): Likewise
34089 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34090 to __nss_disable_nscd.
34091 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34092 for a database anymore. Check the records for all the registered
34093 files instead.
34094 * nss/Makefile (libnss_files-routines): Add files-init.
34095 (libnss_db-routines): Add db-init.
34096 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34097 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34098 * nss/nss_db/db-init.c: New file.
34099 * nss/nss_files/files-init.c: New file.
34100 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34101 __nss_lookup_function.
34102 (__nss_lookup_function): Call nss_load_library.
34103 (nss_load_all_libraries): New function.
34104 (__nss_disable_nscd): Take parameter with callback function for files
34105 to register. Set is_nscd. Load all the DSOs for the NSS modules
34106 used for the cached services.
34107 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34108 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34109 options for features to all the files in nscd.
34110
34111 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34112
23bee3e8
RM
341132011-07-10 Roland McGrath <roland@hack.frob.com>
34114
34115 * csu/elf-init.c (__libc_csu_init): Comment typo.
34116
46a5b7f0
UD
341172011-07-09 Ulrich Drepper <drepper@gmail.com>
34118
34119 * po/pl.po: Update from translation team.
34120 * po/ja.po: Likewise.
34121 * po/ru.po: Likewise.
34122 * po/ko.po: Likewise.
34123 * po/fr.po: Likewise.
34124
d30cf5bb
RM
341252011-07-09 Roland McGrath <roland@hack.frob.com>
34126
113ddea4
RM
34127 * configure.in (.ctors/.dtors header and trailer check):
34128 Use an empirical test on a built program.
34129 * configure: Regenerated.
34130
574920b4
RM
34131 * configure.in (-z relro check): Use an empirical test on a built DSO.
34132 Detect, but do not require, on ia64.
34133 * configure: Regenerated.
34134
d30cf5bb
RM
34135 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34136 Update tests that use readelf to use $READELF instead.
34137 * configure: Regenerated.
34138
8538fdb3
UD
341392011-07-08 Ulrich Drepper <drepper@gmail.com>
34140
34141 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34142 if the result is not used.
34143
04d08991
AJ
341442011-07-05 Andreas Jaeger <aj@suse.de>
34145
34146 [BZ#9696]
34147 * stdlib/tst-strtod.c: Add testcase.
34148
de283087
AD
341492011-07-07 Ulrich Drepper <drepper@gmail.com>
34150
4e5f31c8 34151 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34152 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34153 The latter has a higher limit. Take additional parameter to pass to
34154 the new function.
34155 (__pathconf): Pass file to __statfs_link_max.
34156 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34157 __statfs_link_max.
34158 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34159 __statfs_link_max.
34160
de283087
AD
34161 [BZ #12868]
34162 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34163 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34164 Handle Lustre.
34165 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34166 (__statfs_filesize_max): Likewise.
34167 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34168
c75fa153
AJ
341692011-07-05 Andreas Jaeger <aj@suse.de>
34170
34171 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34172
1a544854
UD
341732011-07-06 Marek Polacek <mpolacek@redhat.com>
34174
34175 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34176 `status' variable.
34177 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34178 Likewise.
34179
6f0eec67
UD
341802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34181
34182 * Makefile (strop-tests): Add strncat.
34183 * string/test-strncat.c: New file.
34184
aae30307
UD
341852011-06-30 Marek Polacek <mpolacek@redhat.com>
34186
34187 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34188
c0cfb5eb
UD
341892011-06-21 Andreas Jaeger <aj@suse.de>
34190
34191 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34192 Copy rule from iconvdata/Makefile.
34193
01636b21
UD
341942011-07-06 Ulrich Drepper <drepper@gmail.com>
34195
34196 [BZ #12922]
34197 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34198 but no long options are defined, just return 'W'.
34199
9895c8bc
UD
342002011-06-22 Marek Polacek <mpolacek@redhat.com>
34201
34202 [BZ #9696]
34203 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34204
5d4cf042
UD
342052011-07-06 Ulrich Drepper <drepper@gmail.com>
34206
34207 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34208 netgroups to read.
960e5535 34209 (innetgr): Likewise.
5d4cf042 34210
751eb97e
RM
342112011-07-05 Roland McGrath <roland@hack.frob.com>
34212
34213 * config.make.in (install_root): Default to $(DESTDIR).
34214
f15f1e45
UD
342152011-07-05 Ulrich Drepper <drepper@gmail.com>
34216
34217 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34218
4e34ac6a
RM
342192011-07-02 Roland McGrath <roland@hack.frob.com>
34220
5e9b6af4
RM
34221 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34222
84f9ea0f
RM
34223 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34224 containing directory rather than embedding absolute directory names.
34225
ea5ee9f7
RM
34226 * scripts/check-local-headers.sh: Rewritten using awk.
34227 Match by word, not by line. Print error messages for matches.
34228 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34229
1b74661a
RM
34230 * Makerules [shlib-lds-flags empty]:
34231 ($(common-objpfx)libc_pic.opts): New target.
34232 ($(common-objpfx)libc_pic.os.clean): New target.
34233 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34234
34235 * config.make.in (OBJCOPY): New variable.
34236 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34237 * configure: Regenerated.
34238
f781ef40
RM
34239 * config.make.in (use-default-link): New variable.
34240 * configure.in (use_default_link): Grok --with-default-link to set it.
34241 * configure: Regenerated.
34242 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34243 (shlib-lds, shlib-lds-flags): Define to empty.
34244
2d4fa81e
RM
34245 * Makerules (shlib-lds): New variable.
34246 (shlib-lds-flags): New variable.
34247 (build-shlib, build-moduile, build-module-asneeded): Use it.
34248 ($(common-objpfx)libc.so): Use $(shlib-lds).
34249 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34250 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34251
31fffa6b
RM
34252 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34253 DT_FLAGS/DT_FLAGS_1 with zero flags.
34254
4e34ac6a
RM
34255 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34256 linker script munging.
34257
fcfc776b
UD
342582011-07-02 Ulrich Drepper <drepper@gmail.com>
34259
34260 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34261 as 128-bit value.
34262 * crypt/sha512.c (sha512_process_block): Perform total addition using
34263 128-bit if possible.
34264 (__sha512_finish_ctx): Likewise.
34265 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34266 as 64-bit value.
34267 * crypt/sha256.c (SWAP64): Define.
34268 (sha256_process_block): Perform total addition using 64-bit if
34269 possible.
34270 (__sha256_finish_ctx): Likewise.
34271
99231d9a
UD
342722011-07-01 Ulrich Drepper <drepper@gmail.com>
34273
34274 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34275 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34276 * nscd/hstcache.c (cache_addhst): Likewise.
34277 * nscd/grpcache.c (cache_addgr): Likewise.
34278 * nscd/aicache.c (addhstaiX): Likewise
34279 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34280
445b4a53
TK
342812011-07-01 Thorsten Kukuk <kukuk@suse.de>
34282
34283 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34284 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34285 * nscd/hstcache.c (cache_addhst): Likewise.
34286 * nscd/grpcache.c (cache_addgr): Likewise.
34287 * nscd/aicache.c (addhstaiX): Likewise
34288
6d4d8e8e
AS
342892011-07-01 Andreas Schwab <schwab@redhat.com>
34290
34291 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34292 domain only when needed.
34293
89f654c5
AS
342942011-06-30 Andreas Schwab <schwab@redhat.com>
34295
34296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34297 is always restored.
34298
cf3b23ff
UD
342992011-06-29 Ulrich Drepper <drepper@gmail.com>
34300
34301 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34302 are re-adding the entry.
34303 * nscd/servicescache.c (cache_addserv): Likewise.
34304
751626f9
AJ
343052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34306
34307 * sysdeps/generic/dl-irel.h: fix protection against multiple
34308 inclusions.
34309 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34310
9113ea1f
UD
343112011-06-28 Ulrich Drepper <drepper@gmail.com>
34312
5c0b8d90
UD
34313 [BZ #12935]
34314 * malloc/memusage.sh: Fix quoting in message.
34315 * debug/xtrace.sh: Likewise.
34316
9113ea1f
UD
34317 * configure.in: Remove support for --experimental-malloc option, make
34318 it the default.
34319 * config.make.in: Likewise.
34320 * malloc/Makefile: Likewise.
34321
a4172181
AS
343222011-06-27 Andreas Schwab <schwab@redhat.com>
34323
34324 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34325 two-byte characters.
34326
78a7eee7
RM
343272011-06-27 Roland McGrath <roland@hack.frob.com>
34328
62bede13
RM
34329 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34330 AC_CACHE_CHECK invocation.
34331 * configure: Regenerated.
34332
78a7eee7
RM
34333 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34334
5ce33a62
UD
343352011-06-27 Ulrich Drepper <drepper@gmail.com>
34336
034807a9
UD
34337 [BZ #12350]
34338 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34339 bit from old_res_options.
34340
4902da17
UD
34341 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34342
5ce33a62
UD
34343 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34344 value type for setfct.
34345
c2344f56
L
343462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34347
34348 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34349 __gettimeofday instead of gettimeofday.
34350
68468076
UD
343512011-06-26 Ulrich Drepper <drepper@gmail.com>
34352
34353 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34354
acb0d739
L
343552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34356
34357 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34358
34359 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34360 info.
34361
8912479f
L
343622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34363
34364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34365 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34366 strcpy-sse2-unaligned strncpy-sse2-unaligned
34367 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34368 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34369 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34370 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34371 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34372 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34373 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34374 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34375 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34376 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34377 (STRCPY): Support SSE2 and SSSE3 versions.
34378
d5495a11
UD
343792011-06-24 Ulrich Drepper <drepper@gmail.com>
34380
34381 [BZ #12874]
34382 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34383 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34384 kernels which artificially limit size of requests.
34385
0b1cbaae
L
343862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34387
34388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34389 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34390 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34391 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34392 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34393 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34394 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34395 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34396 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34397 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34398 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34399 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34400 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34401 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34402 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34404 Enable unaligned load optimization for Intel Core i3, i5 and i7
34405 processors.
34406 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34407 Define.
34408 (index_Fast_Unaligned_Load): Define.
34409 (HAS_FAST_UNALIGNED_LOAD): Define.
34410
07f494a0
MP
344112011-06-23 Marek Polacek <mpolacek@redhat.com>
34412
34413 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34414
fa3fc0fe
UD
344152011-06-22 Ulrich Drepper <drepper@gmail.com>
34416
34417 [BZ #12907]
34418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34419 until it is clear that the information is realy needed.
34420 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34421
e12df166
AS
344222011-06-22 Andreas Schwab <schwab@redhat.com>
34423
34424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34425
852eb34d
UD
344262011-06-22 Ulrich Drepper <drepper@gmail.com>
34427
84e2a551
UD
34428 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34429 /sys/devices/system/cpu/online if it is usable.
34430
852eb34d
UD
34431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34432 reading the information from the /proc filesystem to once a second.
34433
6e502e19
UD
344342011-06-21 Andreas Jaeger <aj@suse.de>
34435
34436 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34437 NULL after inclusion of kernel headers.
34438
75d39ff2
UD
344392011-06-21 Ulrich Drepper <drepper@gmail.com>
34440
51f9aa6a
UD
34441 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34442 calls to internal_setent.
34443
c0244a9d
UD
34444 [BZ #12885]
34445 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34446 addresses using gethostbyname4_r ignore IPv4 addresses.
34447
c5e3c2ae
UD
34448 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34449 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34450
75d39ff2
UD
34451 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34452
42675c6f
DM
344532011-06-20 David S. Miller <davem@davemloft.net>
34454
34455 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34456 inclusions.
34457 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34458
34459 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34460 (elf_irel): Use it.
34461 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34462 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34463 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34464 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34465 * sysdeps/x86_64/dl-irel.h: Likewise.
34466
34467 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34468 * elf/dl-sym.c: Likewise.
34469
57912a71
UD
344702011-06-15 Ulrich Drepper <drepper@gmail.com>
34471
34472 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34473 need to dereference resplen2.
34474
ee22793d
AS
344752011-06-14 Andreas Schwab <schwab@redhat.com>
34476
34477 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34478
a9e836b0
UD
344792011-06-15 Ulrich Drepper <drepper@gmail.com>
34480
77fb9117
UD
34481 * Makeconfig: Define vardbdir and inst_vardbdir.
34482 * nss/Makefile: Add rules to install db-Makefile.
34483
40c1b22c
UD
34484 * nss/nss_db/db-XXX.c: Cleanup.
34485
9f2da732
UD
34486 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34487 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34488 GLIBC_PRIVATE.
34489 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34490 * nss/makedb.c: Implement -g option to specify that value strings
34491 are generated and should not be added to table iterated over for
34492 get*ent calls.
34493 * nss/nss_db/db-initgroups.c: New file.
34494
82e9a1f7
UD
34495 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34496 interface.
34497
c41af17e
UD
34498 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34499 (internal_getgrouplist): Adjust to name change.
34500 Update use_initgroups_entry if this is not the first call.
34501 * nss/databases.def: Add initgroups entry.
34502
a9e836b0
UD
34503 * nss/makedb.c (compute_tables): Check result of multiple hash table
34504 sizes to minimize maximum chain length.
34505
2666d441
UD
345062011-06-14 Ulrich Drepper <drepper@gmail.com>
34507
34508 * Versions.def: Add entry for libnss_db.
34509 * shlib-versions: Likewise.
34510 * nss/Makefile: Add rules to build libnss_db.
34511 * nss/Versions: Add libnss_db information. Organize libnss_files
34512 entries better.
34513 * nss/db-Makefile: Add gshadow support. Change rules for the new
34514 makedb progra. Some minor improvements to generate smaller files.
34515 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34516 here from...
34517 * nss/makedb.c: ...here.
34518 Improve database format to be smaller and require less memory at
34519 runtime.
34520 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34521 db anymore.
34522 * nss/nss_db/db-netgrp.c: Likewise.
34523 * nss/nss_db/db-open.c: Likewise.
34524 * nss/nss_files/flies-XXX.x: Adjust comments.
34525 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34526 * nss/nss_files/files-grp.c: Likewise.
34527 * nss/nss_files/files-hosts.c: Likewise.
34528 * nss/nss_files/files-network.c: Likewise.
34529 * nss/nss_files/files-proto.c: Likewise.
34530 * nss/nss_files/files-pwd.c: Likewise.
34531 * nss/nss_files/files-rpc.c: Likewise.
34532 * nss/nss_files/files-service.c: Likewise.
34533 * nss/nss_files/files-sgrp.c: Likewise.
34534 * nss/nss_files/files-spwd.c: Likewise.
34535 * nss/nss_db/db-alias.c: Removed.
34536 * nss/nss_db/dummy-db.h: Removed.
34537
9ee76b5a
UD
345382011-06-02 Ulrich Drepper <drepper@gmail.com>
34539
34540 * nss/makedb.c: Rewritten to not use database library.
34541 * nss/Makefile: Update to build new makedb program.
34542
c71ca1f8
AJ
345432011-06-14 Andreas Jaeger <aj@suse.de>
34544
34545 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34546 memset declaration.
34547
3154bfb8
UD
345482011-06-10 Andreas Schwab <schwab@redhat.com>
34549
34550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34551 tmpbuf.
34552
b350afab
RM
345532011-06-10 Roland McGrath <roland@hack.frob.com>
34554
decd4e50
RM
34555 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34556 * elf/Makefile ($(objpfx)ld.so): Likewise.
34557
5615eaf2
RM
34558 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34559 Don't list ld.so twice in dependencies.
34560
34561 * posix/bug-regex31.c: Include <stdlib.h>.
34562
34563 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34564
34565 * nis/nss_compat/compat-spwd.c
34566 (getspent_next_nss_netgr): Remove unused variable.
34567 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34568
34569 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34570 nonmembers" output to use the right array.
34571
34572 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34573
34574 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34575
34576 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34577 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34578 * catgets/gencat.c (read_input_file): Likewise.
34579 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34580
34581 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34582 variable definition inside #if's controlling its use.
34583
34584 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34585
34586 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34587
34588 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34589
34590 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34591 unreachable code.
34592
34593 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34594
b68e08db
RM
34595 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34596 * configure: Regenerated.
34597
b350afab
RM
34598 * Makerules: Revert last change.
34599 * elf/Makefile: Likewise.
34600
28368601
RM
346012011-06-09 Roland McGrath <roland@hack.frob.com>
34602
34603 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34604 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34605 (reloc-link): Likewise.
34606
11988f8f
UD
346072011-06-09 Ulrich Drepper <drepper@gmail.com>
34608
34609 * elf/Makefile: Add rules to build pldd.
34610 * elf/pldd.c: New file.
34611 * elf/pldd-xx.c: New file.
34612
e80fab37
UD
346132011-06-07 Ulrich Drepper <drepper@gmail.com>
34614
34615 * version.h: Update for 2.15 development version.
34616
9b849836
DM
346172011-06-07 David S. Miller <davem@davemloft.net>
34618
34619 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34620 ifuncs.
34621 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34622 elf_machine_lazy_rel): Likewise.
34623 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34624 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34625 elf_machine_lazy_rel): Likewise.
34626 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34627 dl_hwcap via passed in argument.
34628 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34629 Likewise.
34630
5a31b283
AK
346312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34632
34633 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34634
069e52f8
RM
346352011-06-06 Roland McGrath <roland@hack.frob.com>
34636
34637 [BZ #12849]
34638 * manual/fdl-1.1.texi: New file, verbatim from:
34639 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34640 * manual/lgpl-2.1.texi: New file, verbatim from:
34641 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34642 * manual/Makefile (licenses): New variable, list those new file names.
34643 (texis): Use it.
34644 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34645
34646 * manual/fdl.texi: File removed.
34647 * manual/lesser.texi: File removed.
34648 * manual/libc.texinfo (Copying, Documentation License):
34649 Use new @include file names, put @appendix directive before @include.
34650
f16846a5
JJ
346512011-06-04 Jakub Jelinek <jakub@redhat.com>
34652
34653 [BZ #12841]
34654 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34655 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34656 (mq_open): Add __NTH.
34657
3d29045b
L
346582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34659
34660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34661 Assume Intel Core i3/i5/i7 processor if AVX is available.
34662
8c297311
UD
346632011-05-31 Ulrich Drepper <drepper@gmail.com>
34664
34665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34666 typo.
34667
c8fc0c91
UD
346682011-05-31 Andreas Schwab <schwab@redhat.com>
34669
34670 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34671 memory. Use alloca_account. Fix memory leak when retrying.
34672
5b27a807
UD
346732011-05-31 Ulrich Drepper <drepper@gmail.com>
34674
356f8bc6
UD
34675 * version.h (RELEASE): Bump for 2.14 release.
34676 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34677
5b27a807
UD
34678 * config.make.in (RANLIB): Remove entry.
34679
01f16ab0
UD
346802011-05-30 Ulrich Drepper <drepper@gmail.com>
34681
41fce8bd
UD
34682 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34683 (libc.pot): Work around missing support for .ksh extension in xgettext.
34684
4769ae77
UD
34685 [BZ #12684]
34686 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34687 if both request failed.
34688 (send_dg): In case of server errors clear resplen or *resplen2.
34689
6b1e7d19
UD
34690 [BZ #12454]
34691 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34692 when there are multiple maps.
34693 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34694 (_dl_fini): Remove test here.
34695
01f16ab0
UD
34696 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34697
b1ebd700
UD
346982011-05-29 Ulrich Drepper <drepper@gmail.com>
34699
7ae22829
UD
34700 [BZ #12350]
34701 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34702 bit from old_res_options.
34703 (gaih_inet): Likewise.
34704
553149f6 34705 [BZ #11099]
18a84741 34706 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34707 as signed.
34708
652ffab1
UD
34709 * resolv/res_init.c (res_setoptions): Make the code more compact.
34710
16985fd0
UD
34711 [BZ #11558]
34712 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34713 set RES_USEVC.
34714
0464f746
UD
34715 [BZ #11634]
34716 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34717
7d17596c
UD
34718 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34719
cf6bbbd7
UD
34720 [BZ #11781]
34721 * malloc/malloc.h: Declare malloc hook variables as volatile.
34722
13f1ab36
UD
34723 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34724 in last patch.
34725
b1ebd700
UD
34726 [BZ #11799]
34727 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34728 raise in the comment.
80e2212d
UD
34729 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34730 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34731 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34732
ce67228d
UD
347332011-05-28 Ulrich Drepper <drepper@gmail.com>
34734
8887a920
UD
34735 [BZ #12811]
34736 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34737 grow the buffers more if it already has to be sufficient.
34738 (build_wcs_upper_buffer): Likewise.
34739 * posix/regexec.c (check_matching): Likewise.
34740 (clean_state_log_if_needed): Likewise.
34741 (extend_buffers): Don't enlarge buffers beyond size of the input
34742 buffer.
34743 Patches mostly by Emil Wojak <emil@wojak.eu>.
34744 * posix/bug-regex32.c: New file.
34745 * posix/Makefile (tests): Add bug-regex32.
34746
4f031072
UD
34747 * locale/findlocale.c (_nl_find_locale): Return right away if
34748 _nl_explode_name failed.
34749 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34750
d0478f0c
UD
34751 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34752
de81b246
UD
34753 * debug/xtrace.sh: Unify messages.
34754 * malloc/memusage.sh: Likewise.
34755
c738465a
UD
34756 [BZ #12813]
34757 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34758 time symbol from vDSO. Substitute with vsyscall if not available.
34759 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34760 __vdso_time.
34761
f1f929d7
UD
34762 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34763 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34764 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34765 Add sendmmsg and internal_sendmmsg.
34766 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34767 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34768 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34769
ce67228d
UD
34770 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34771 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34772 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34773
e57420c6
UD
347742011-05-27 Ulrich Drepper <drepper@gmail.com>
34775
a8509ca5
UD
34776 [BZ #12813]
34777 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34778 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34779 available.
34780 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34781 __vdso_getcpu.
34782
e57420c6
UD
34783 [BZ #12814]
34784 * iconvdata/Makefile (tests): Add bug-iconv9.
34785 * iconvdata/bug-iconv9.c: New file.
34786
4d07db15
AS
347872011-05-27 Andreas Schwab <schwab@redhat.com>
34788
34789 [BZ #12814]
34790 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34791
ea486f69
JJ
347922011-05-25 Jakub Jelinek <jakub@redhat.com>
34793
34794 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34795 (struct user_regs_struct): Change intcs field back to cs.
34796
6f038433
UD
347972011-05-25 Ulrich Drepper <drepper@gmail.com>
34798
34799 * po/ja.po: Update from translation team.
34800
67f86a25
UD
348012011-05-23 Ulrich Drepper <drepper@gmail.com>
34802
34803 [BZ #12795]
34804 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34805 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34806
def7fbd6
AS
348072011-05-20 Andreas Schwab <schwab@redhat.com>
34808
34809 * stdlib/longlong.h: Update from GCC.
34810
f50ef8f1
AS
348112011-05-23 Andreas Schwab <schwab@redhat.com>
34812
34813 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34814 parameter name.
34815 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34816 Add parameter name.
34817 (__sysconf): Pass it down.
34818
de7ce8f1
UD
348192011-05-22 Ulrich Drepper <drepper@gmail.com>
34820
f2962a71
UD
34821 [BZ #12671]
34822 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34823 some situations.
34824 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34825 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34826 add in in __libc_use_alloca calls. Adjust callers.
34827 (glob): Use malloc in some situations.
34828
de7ce8f1
UD
34829 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34830 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34831 pltexit.
34832
aec84f53
UD
348332011-05-21 Ulrich Drepper <drepper@gmail.com>
34834
05bb4a68
UD
34835 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34836 and CLOCK_BOOTTIME_ALARM.
34837
7ea72f99
UD
34838 [BZ #12782]
34839 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34840 is returned.
34841
7e4afad5
UD
34842 * string/_strerror.c (__strerror_r): Print negative errors as signed
34843 numbers.
34844
8e211fec
UD
34845 [BZ #12777]
34846 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34847 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34848 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34849
f7d82dc9
UD
34850 * configure.in: Fix typo in redirection and correct removal of test
34851 files in two cases.
34852
cc9e536d
UD
34853 [BZ #12788]
34854 * locale/setlocale.c (new_composite_name): Fix test to check for
34855 identical name of all categories.
34856
aec84f53
UD
34857 [BZ #12792]
34858 * libio/filedoalloc.c (local_isatty): New function.
34859 (_IO_file_doallocate): Use local_isatty.
34860 * stdio-common/perror.c (perror): In case a new stream is used
34861 forward the stream error.
34862 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34863 error flag.
34864
78e64fdc
RT
348652011-05-20 Ulrich Drepper <drepper@gmail.com>
34866
34a9094f
UD
34867 [BZ #11869]
34868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34869 alloca.
34870 * include/alloca.h (extend_alloca_account): Define.
34871
78e64fdc
RT
34872 [BZ #11857]
34873 * posix/regex.h: Fix comments with documentation of user-accessible
34874 fields after compilation and describe correct free'ing of pattern
34875 after re_compile_pattern.
34876 Patch by Reuben Thomas <rrt@sc3d.org>.
34877
457bddfc
RA
348782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34879
34880 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34881 and -mno-altivec to prevent the compiler from using Altivec and/or
34882 VSX instructions when the corresponding registers are not available.
34883
a4527b51
AS
348842011-05-19 Andreas Schwab <schwab@redhat.com>
34885
34886 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34887
ed690b2f
UD
348882011-05-19 Ulrich Drepper <drepper@gmail.com>
34889
34890 * libio/freopen.c (freopen): Use __dup2, not dup2.
34891 * libio/freopen64.c (freopen64): Likewise.
34892
8db73634
L
348932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34894
34895 [BZ #12775]
34896 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34897 * math/Makefile (tests): Add test-powl.
34898 (CFLAGS-test-powl.c): Define.
34899 * math/test-powl.c: New file.
34900
0a197a9d
L
349012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34902
34903 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34904
ee30c380
UD
349052011-05-17 Ulrich Drepper <drepper@gmail.com>
34906
34907 [BZ #11837]
34908 * iconvdata/gb18030.c: Update to GB18020-2005.
34909
6ce75379
UD
349102011-05-16 Ulrich Drepper <drepper@gmail.com>
34911
a4b89fd8
AR
34912 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34913 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34914 Patch by Aharon Robbins <arnold@skeeve.com>.
34915
ea389b12
UD
34916 [BZ #11892]
34917 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34918 on the stack.
34919
68a3f91f
UD
34920 [BZ #11895]
34921 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34922 through underflows.
34923
15cc7dd1
UD
34924 [BZ #12766]
34925 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34926 point to strings before performing equality test for error_one_per_line
34927 mode.
34928
f3799213
UD
34929 [BZ #11697]
34930 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34931
d79a9c94
UD
34932 [BZ #11820]
34933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34934 (struct user_fpregs_struct): Avoid __uint*_t types.
34935
56e5eb46
UD
34936 [BZ #6420]
34937 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34938 symbol info. Use it instead of calling _dl_addr locally.
34939 (lock_and_info): New function.
34940 (tr_freehook): Call lock_and_info and pass symbol info as additional
34941 parameter to tr_where.
34942 (tr_mallochook): Likewise.
34943 (tr_reallochook): Likewise.
34944 (tr_memalignhook): Likewise.
34945
6ce75379
UD
34946 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34947 used and couldn't be at all thread-safe.
34948
f8a3b5bf
UD
349492011-05-15 Ulrich Drepper <drepper@gmail.com>
34950
94b7cc37
UD
34951 * libio/freopen.c (freopen): Don't close old file descriptor
34952 before the new one is opened. Instead dup the new file descriptor
34953 to the old one after the new stream is created.
34954 * libio/freopen64.c (freopen64): Likewise.
34955 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34956 * libio/fileops.c (_IO_new_file_close_it): Handle new
34957 _IO_FLAGS2_NOCLOSE flag.
34958 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34959 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34960 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34961 _IO_FLAGS2_NOCLOSE flag.
34962 * include/unistd.h: Add hidden_proto for dup3.
34963 Define __have_dup3.
34964 * io/dup3.c: Define hidden symbol.
34965 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34966
bd25564e
UD
34967 [BZ #7101]
34968 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34969 when an incomplete long option is used.
34970 * posix/tst-getopt_long1.c: New file.
34971 * posix/Makefile (tests): Add tst-getopt_long1.
34972
c84cfef4
UD
34973 [BZ #10138]
34974 * scripts/config.guess: Update from autoconf-2.68.
34975 * scripts/config.sub: Likewise.
34976
3b85df27
UD
34977 [BZ #10157]
34978 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34979 tests into ...
34980 (has_cpuclock): ...this. New function.
34981 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34982 macro here based on has_cpuclock code.
34983
15a856b1
UD
34984 [BZ #10149]
34985 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34986 First byte (not low byte) is now always NUL.
34987 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34988
05f399e6
UD
34989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34990 Use non-cancelable interfaces.
34991
10a52685 34992 [BZ #9809]
94ecc67d
UD
34993 * locale/iso-639.def: Add entry for Sorani.
34994
f8a3b5bf
UD
34995 [BZ #11901]
34996 * include/stdlib.h: Move include protection to the right place.
34997 Define abort_msg_s. Declare __abort_msg with it.
34998 * stdlib/abort.c (__abort_msg): Adjust type.
34999 * assert/assert.c (__assert_fail_base): New function. Majority
35000 of code from __assert_fail. Allocate memory for __abort_msg with
35001 mmap.
35002 (__assert_fail): Now call __assert_fail_base.
35003 * assert/assert-perr.c: Remove bulk of implementation. Use
35004 __assert_fail_base.
35005 * include/assert.hL Declare __assert_fail_base.
35006 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35007 mmap.
35008 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35009
1af4e298
UD
350102011-05-14 Ulrich Drepper <drepper@gmail.com>
35011
f8a3b5bf 35012 [BZ #11952]
d26dfc60
MG
35013 [BZ #12453]
35014 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35015 until all modules are registered in the DTV.
35016 * elf/Makefile: Add rules to build and run tst-tls19.
35017 * elf/tst-tls19.c: New file.
35018 * elf/tst-tls19mod1.c: New file.
35019 * elf/tst-tls19mod2.c: New file.
35020 * elf/tst-tls19mod3.c: New file.
35021 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35022
2fc54d6f
UD
35023 [BZ #12083]
35024 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35025 correctly.
35026
98d76b46
UD
35027 [BZ #12601]
35028 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35029 two-byte sequence errors.
35030 * iconvdata/Makefile (tests): Add bug-iconv8.
35031 * iconvdata/bug-iconv8.c: New file.
35032
da3c19ef
UD
35033 [BZ #12626]
35034 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35035 buf2 definition.
35036
ca408c15
UD
35037 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35038
d6f67f7d
UD
35039 [BZ #12432]
35040 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35041 (dummy_getcfa): New function.
35042 (init): Get _Unwind_GetCFA address, use dummy if not found.
35043 (backtrace_helper): In recursion check, also check whether CFA changes.
35044 (__backtrace): Completely initialize arg.
35045
1af4e298 35046 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35047 storing incomplete byte sequence in state object. Avoid testing for
35048 guaranteed too small input if we know there is enough data available.
1af4e298 35049
da62f81b
AS
350502011-05-11 Andreas Schwab <schwab@redhat.com>
35051
35052 * Makeconfig (+link-pie): Indent.
35053 * Rules (binaries-pie): Define if $(have-fpie) and
35054 $(build-shared).
35055 (binaries-shared): Also filter out $(binaries-pie).
35056 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35057 * nscd/Makefile (others-pie): Add nscd.
35058 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35059 ($(objpfx)nscd): Remove command override.
35060 * login/Makefile (others-pie): Add pt_chown.
35061 ($(objpfx)pt_chown): Remove command override.
35062 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35063 remove command overrides.
35064
fcabc0f8
UD
350652011-05-13 Ulrich Drepper <drepper@gmail.com>
35066
20030ae6
UD
35067 * libio/tst_putwc.c: Fix error messages.
35068
fcabc0f8
UD
35069 [BZ #12724]
35070 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35071 currently writing and seek to current position when not.
35072 * libio/Makefile (tests): Add bug-fclose1.
35073 * libio/bug-fclose1.c: New file.
35074
320a5dc0
PB
350752011-05-12 Ulrich Drepper <drepper@gmail.com>
35076
35077 [BZ #12511]
35078 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35079 don't set DF_1_NODELETE here.
35080 (do_lookup_x): When entering new entry test for copy relocation
35081 and if necessary set DF_1_NODELETE flag.
35082 * elf/tst-unique4.cc: New file.
35083 * elf/tst-unique4.h: New file.
35084 * elf/tst-unique4lib.cc: New file.
35085 * elf/Makefile: Add rules to build and run tst-unique4.
35086 Patch by Piotr Bury <pbury@goahead.com>.
35087
22836f52
UD
350882011-05-11 Ulrich Drepper <drepper@gmail.com>
35089
f574184a
UD
35090 [BZ #12052]
35091 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35092
e1fb097f
UD
35093 [BZ #12625]
35094 * misc/mntent_r.c (addmntent): Flush the stream after the output
35095
22836f52
UD
35096 [BZ #12393]
35097 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35098 (is_trusted_path_normalize): Skip initial colon. Append slash
35099 to empty buffer. Duplicate is_trusted_path code but allow
35100 constructed patch to be prefix.
35101 (is_dst): Allow $ORIGIN followed by /.
35102 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35103 Correct testing of result of is_trusted_path_normalize
35104 (decompose_rpath): Fix warning.
35105
7b3b0b2a
UD
351062011-05-10 Ulrich Drepper <drepper@gmail.com>
35107
35108 [BZ #11257]
35109 * grp/initgroups.c (internal_getgrouplist): When we found the service
35110 list through the initgroups entry in nsswitch.conf do not always
35111 continue on a successful lookup. Don't always use the
eac80ce2 35112 __nss_group_database value if it is set.
7b3b0b2a
UD
35113 * nss/nsswitch.conf (initgroups): Change action for successful db
35114 lookup to continue for compatibility.
35115
2a81eaa5
UD
351162011-05-09 Ulrich Drepper <drepper@gmail.com>
35117
be97a69e
UD
35118 [BZ #11532]
35119 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35120 and CP774 modules.
35121 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35122 and CP774 modules.
35123 * iconvdata/tst-tables.sh: Likewise.
35124 * iconvdata/cp770.c: New file.
35125 * iconvdata/cp771.c: New file.
35126 * iconvdata/cp772.c: New file.
35127 * iconvdata/cp773.c: New file.
35128 * iconvdata/cp774.c: New file.
35129 * iconvdata/testdata/CP770: New file.
35130 * iconvdata/testdata/CP770..UTF8: New file.
35131 * iconvdata/testdata/CP771: New file.
35132 * iconvdata/testdata/CP771..UTF8: New file.
35133 * iconvdata/testdata/CP772: New file.
35134 * iconvdata/testdata/CP772..UTF8: New file.
35135 * iconvdata/testdata/CP773: New file.
35136 * iconvdata/testdata/CP773..UTF8: New file.
35137 * iconvdata/testdata/CP774: New file.
35138 * iconvdata/testdata/CP774..UTF8: New file.
35139
35140 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35141 END CHARMAP line.
35142 * iconvdata/gen-8bit-gap.sh: Likewise.
35143 * iconvdata/gen-8bit.sh: Likewise.
35144
c1e9e399
UD
35145 * locale/iso-639.def: Add ary entry.
35146
24c55fb3 35147 [BZ #11258]
96b4b1b0
UD
35148 * locale/C-translit.h.in: Add U20A1 transliteration.
35149
bdc2f971
KB
35150 [BZ #12178]
35151 * locale/iso-639.def: Add wae entry.
35152 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35153
2952b117
UD
35154 [BZ #12545]
35155 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35156 for n.
35157
2a81eaa5
UD
35158 [BZ #12711]
35159 * locale/C-translit.h.in: Add entry for U20B9.
35160 Patch by pravin.d.s@gmail.com.
35161
28377d1b
UD
351622011-05-08 Ulrich Drepper <drepper@gmail.com>
35163
7fb90fb8
UD
35164 [BZ #12713]
35165 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35166 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35167 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35168 in rtld. Use *stat64.
7fb90fb8 35169 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35170 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35171 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35172 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35173 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35174 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35175 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35176 __fstatat64 macros.
7fb90fb8
UD
35177 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35178 * dirent/rewinddir.c: Add libc_hidden_def.
35179 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35180 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35181
28377d1b
UD
35182 * include/dirent.h (__alloc_dir): Add flags parameter.
35183 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35184 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35185 __alloc_dir.
35186 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35187 from fdopendir if O_CLOEXEC is already set.
35188
66bdbaa4
AM
351892011-03-15 Alan Modra <amodra@gmail.com>
35190
35191 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35192 l_tls_firstbyte_offset non-zero. Save padding offset in
35193 l_tls_firstbyte_offset for later use.
35194 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35195 freeing static tls block.
35196
95721191
JN
351972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35198
35199 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35200 where #ifdef was intended. The intent is to prevent ARG_MAX from
35201 being defined by the kernel headers.
35202
f87dfb1f
UD
352032011-05-07 Ulrich Drepper <drepper@gmail.com>
35204
35205 [BZ #12734]
35206 * resolv/resolv.h: Define RES_NOTLDQUERY.
35207 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35208 no-tld-query and set RES_NOTLDQUERY.
35209 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35210 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35211 modern BIND to search name as TLD unless forbidden.
35212
47c3cd7a
UD
352132011-05-07 Petr Baudis <pasky@suse.cz>
35214 Ulrich Drepper <drepper@gmail.com>
35215
35216 [BZ #12393]
35217 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35218 (is_trusted_path): ...to here.
c1e9ea35 35219 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35220 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35221 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35222
8a35c912
PP
352232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35224
35225 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35226 __BEGIN/__END_DECLS.
35227
acd41f47
UD
352282011-05-06 Ulrich Drepper <drepper@gmail.com>
35229
35230 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35231 NSS_STATUS_NOTFOUND if no record was found.
35232
597df647
AS
352332011-05-05 Andreas Schwab <schwab@redhat.com>
35234
35235 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35236 (headers-not-in-tirpc): Remove rpc/netdb.h
35237 * resolv/netdb.h: Revert last change.
35238
b9af1301
PP
352392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35240
35241 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35242 circular dependency between libgcc.a and libc.a.
35243
4e34d5f5
AS
352442011-05-05 Andreas Schwab <schwab@redhat.com>
35245
35246 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35247 * nis/Makefile: Don't install rpcsvc/*.
35248 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35249 instead of <rpc/types.h>.
35250 (MAXHOSTNAMELEN): Define.
35251
00ee369c
AS
352522011-05-03 Andreas Schwab <schwab@redhat.com>
35253
35254 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35255
0b592a30
MB
352562011-04-28 Maciej Babinski <mbabinski@google.com>
35257
35258 [BZ #12714]
35259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35260 gethostbyname4_r when IPv6 results are possible.
35261
6e04cbbe
UD
352622011-05-02 Ulrich Drepper <drepper@gmail.com>
35263
35264 [BZ #12723]
35265 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35266 _PC_PIPE_BUF handling.
35267
e4ecafe0
BH
352682011-04-30 Bruno Haible <bruno@clisp.org>
35269
35270 [BZ #12717]
35271 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35272 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35273 to 'int'.
35274 * inet/getnameinfo.c (getnameinfo): Likewise.
35275
125ee683
UD
352762011-04-29 Ulrich Drepper <drepper@gmail.com>
35277
35278 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35279 to groups setting in database lookup.
35280 * nss/nsswitch.conf: Add initgroups entry.
35281
b722481a
EB
352822011-04-22 Ulrich Drepper <drepper@gmail.com>
35283
35284 [BZ #12685]
35285 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35286 mode string.
35287 Patch by Eric Blake <eblake@redhat.com>.
35288
4df46dbd
L
352892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35290
35291 * sunrpc/Makefile (need-export-routines): Add svc_run.
35292 (routines): Remove svc_run.
35293 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35294 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35295 * sunrpc/svc_run.c (svc_run): Likewise.
35296 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35297
e84142d2
UD
352982011-04-21 Ulrich Drepper <drepper@gmail.com>
35299
35300 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35301 problem in reallocation in last patch.
35302
877175d8
UD
353032011-04-20 Ulrich Drepper <drepper@gmail.com>
35304
35305 * sunrpc/Makefile: Move inclusion of Rules.
35306
ab8eed78
UD
353072011-04-19 Ulrich Drepper <drepper@gmail.com>
35308
35309 * nss/nss_files/files-initgroups.c: New file.
35310 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35311 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35312 _nss_files_initgroups_dyn.
35313
e3d8f584
RS
353142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35315
35316 * elf/elf.h (R_ARM_IRELATIVE): Define.
35317
af190f45
UD
353182011-04-19 Ulrich Drepper <drepper@gmail.com>
35319
35320 * po/ru.po: Update from translation team.
35321
53cf59ef
UD
353222011-04-17 Ulrich Drepper <drepper@gmail.com>
35323
35324 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35325 dependencies.
35326
4c559bcd
MF
353272011-02-06 Mike Frysinger <vapier@gentoo.org>
35328
35329 [BZ #12653]
35330 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35331 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35332 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35333 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35334 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35335
4420675c
AS
353362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35337
35338 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35339 differing bytes.
35340 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35341 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35342 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35343
75ea32ab
UD
353442011-04-17 Ulrich Drepper <drepper@gmail.com>
35345
35346 [BZ #12420]
35347 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35348 storing it.
35349 * stdlib/bug-getcontext.c: New file.
35350 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35351
27390476
AK
353522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35353
35354 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35355 instructions into .machine "z9-109".
35356 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35357 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35358
10442705
AK
353592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35360
35361 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35362 between environment variables and auxiliary vector.
35363
7b57bfe5
UD
353642011-04-16 Ulrich Drepper <drepper@gmail.com>
35365
35366 * Makefile: Add rules to build linkobj/libc.so.
35367 * include/libc-symbols.h: Define libc_hidden_nolink.
35368 * include/rpc/auth.h: Mark functions which are to be hidden.
35369 * include/rpc/auth_des.h: Likewise.
35370 * include/rpc/auth_unix.h: Likewise.
35371 * include/rpc/clnt.h: Likewise.
35372 * include/rpc/des_crypt.h: Likewise.
35373 * include/rpc/key_prot.h: Likewise.
35374 * include/rpc/pmap_clnt.h: Likewise.
35375 * include/rpc/pmap_prot.h: Likewise.
35376 * include/rpc/pmap_rmt.h: Likewise.
35377 * include/rpc/rpc_msg.h: Likewise.
35378 * include/rpc/svc.h: Likewise.
35379 * include/rpc/svc_auth.h: Likewise.
35380 * include/rpc/xdr.h: Likewise.
35381 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35382 * nss/Makefile: Likewise.
35383 * sunrpc/Makefile: Don't install headers. Build library with normal
35384 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35385 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35386 for the compat linking library. Remove use of INTDEF/INTUSE.
35387 * sunrpc/auth_none.c: Likewise.
35388 * sunrpc/auth_unix.c: Likewise.
35389 * sunrpc/authdes_prot.c: Likewise.
35390 * sunrpc/authuxprot.c: Likewise.
35391 * sunrpc/clnt_gen.c: Likewise.
35392 * sunrpc/clnt_perr.c: Likewise.
35393 * sunrpc/clnt_raw.c: Likewise.
35394 * sunrpc/clnt_simp.c: Likewise.
35395 * sunrpc/clnt_tcp.c: Likewise.
35396 * sunrpc/clnt_udp.c: Likewise.
35397 * sunrpc/clnt_unix.c: Likewise.
35398 * sunrpc/des_crypt.c: Likewise.
35399 * sunrpc/des_soft.c: Likewise.
35400 * sunrpc/get_myaddr.c: Likewise.
35401 * sunrpc/key_call.c: Likewise.
35402 * sunrpc/key_prot.c: Likewise.
35403 * sunrpc/netname.c: Likewise.
35404 * sunrpc/pm_getmaps.c: Likewise.
35405 * sunrpc/pm_getport.c: Likewise.
35406 * sunrpc/pmap_clnt.c: Likewise.
35407 * sunrpc/pmap_prot.c: Likewise.
35408 * sunrpc/pmap_prot2.c: Likewise.
35409 * sunrpc/pmap_rmt.c: Likewise.
35410 * sunrpc/publickey.c: Likewise.
35411 * sunrpc/rpc_cmsg.c: Likewise.
35412 * sunrpc/rpc_common.c: Likewise.
35413 * sunrpc/rpc_dtable.c: Likewise.
35414 * sunrpc/rpc_prot.c: Likewise.
35415 * sunrpc/rpc_thread.c: Likewise.
35416 * sunrpc/rtime.c: Likewise.
35417 * sunrpc/svc.c: Likewise.
35418 * sunrpc/svc_auth.c: Likewise.
35419 * sunrpc/svc_authux.c: Likewise.
35420 * sunrpc/svc_raw.c: Likewise.
35421 * sunrpc/svc_run.c: Likewise.
35422 * sunrpc/svc_simple.c: Likewise.
35423 * sunrpc/svc_tcp.c: Likewise.
35424 * sunrpc/svc_udp.c: Likewise.
35425 * sunrpc/svc_unix.c: Likewise.
35426 * sunrpc/svcauth_des.c: Likewise.
35427 * sunrpc/xcrypt.c: Likewise.
35428 * sunrpc/xdr.c: Likewise.
35429 * sunrpc/xdr_array.c: Likewise.
35430 * sunrpc/xdr_float.c: Likewise.
35431 * sunrpc/xdr_intXX_t.c: Likewise.
35432 * sunrpc/xdr_mem.c: Likewise.
35433 * sunrpc/xdr_rec.c: Likewise.
35434 * sunrpc/xdr_ref.c: Likewise.
35435 * sunrpc/xdr_sizeof.c: Likewise.
35436 * sunrpc/xdr_stdio.c: Likewise.
35437
e6c61494
UD
354382011-04-10 Ulrich Drepper <drepper@gmail.com>
35439
35440 [BZ #12650]
35441 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35442 * sysdeps/ia64/dl-tls.h: Likewise.
35443 * sysdeps/powerpc/dl-tls.h: Likewise.
35444 * sysdeps/s390/dl-tls.h: Likewise.
35445 * sysdeps/sh/dl-tls.h: Likewise.
35446 * sysdeps/sparc/dl-tls.h: Likewise.
35447 * sysdeps/x86_64/dl-tls.h: Likewise.
35448 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35449
34fe483e
AS
354502011-03-14 Andreas Schwab <schwab@redhat.com>
35451
35452 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35453 rpath element also skip the following colon.
35454 (expand_dynamic_string_token): Add is_path parameter and pass
35455 down to DL_DST_REQUIRED and _dl_dst_substitute.
35456 (decompose_rpath): Call expand_dynamic_string_token with
35457 non-zero is_path. Ignore empty rpaths.
35458 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35459 with zero is_path.
35460
f12a32e6
AS
354612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35462
35463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35464 Make cancelable.
35465
38a7d692
UD
354662011-04-09 Ulrich Drepper <drepper@gmail.com>
35467
35468 [BZ #12655]
35469 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35470 Patch by Filipe David Manana <fdmanana@apache.org>.
35471
e451d22b
AS
354722011-04-07 Andreas Schwab <schwab@redhat.com>
35473
35474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35475 Maintain aligned stack.
35476 (CHECK_RSP): Remove unused macro.
35477
dedc7c7b
UD
354782011-04-03 Ulrich Drepper <drepper@gmail.com>
35479
35480 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35481 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35482
94521213
UD
354832011-04-02 Ulrich Drepper <drepper@gmail.com>
35484
35485 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35486
8cb700c0 35487 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35488
0354e355
L
354892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35490
35491 [BZ #12518]
35492 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35493 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35494 * sysdeps/x86_64/memmove.c: New file.
35495 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35496 (memcpy): Renamed to ...
35497 (__new_memcpy): This.
35498 (memcpy): Provide GLIBC_2_14 memcpy.
35499 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35500 (memcpy): Provide GLIBC_2_2_5 memcpy.
35501
8593482f
UD
355022011-04-01 Ulrich Drepper <drepper@gmail.com>
35503
35504 [BZ #12631]
35505 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35506
81a5726b
AS
355072011-03-30 Andreas Schwab <schwab@redhat.com>
35508
35509 * misc/syncfs.c: New file.
35510 * misc/Makefile (routines): Add syncfs.
35511 * posix/unistd.h: Declare syncfs.
35512 * sysdeps/unix/syscalls.list: Add syncfs.
35513
00e5419f
AS
355142011-04-01 Andreas Schwab <schwab@redhat.com>
35515
35516 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35517 open_by_handle_at.
35518 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35519 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35520 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35521 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35523 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35525
748876bf
UD
355262011-04-01 Ulrich Drepper <drepper@gmail.com>
35527
658e451d
UD
35528 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35529 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35530 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35531 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35534 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35535
748876bf
UD
35536 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35537 sync_file_range.c with -fexceptions.
35538 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35539 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35540 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35541 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35542 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35543 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35544 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35545 sync_file_range as cancellation point
35546 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35547 now a wrapper around __call_sync_file_range with cancellation handling.
35548 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35549 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35550 function name to __call_sync_file_range.
35551 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35552 Add call_sync_file_range.
748876bf 35553
6e63d5e1
AS
355542011-04-01 Andreas Schwab <schwab@redhat.com>
35555
35556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35557 bits/timex.h.
6e63d5e1 35558
46998f74
UD
355592011-04-01 Ulrich Drepper <drepper@gmail.com>
35560
4c1423ed
UD
35561 * iconv/iconv.h: Fix typo in comment.
35562 * io/fcntl.h: Likewise.
35563 * libio/stdio.h: Likewise.
35564 * posix/spawn.h: Likewise.
35565 * posix/unistd.h: Likewise.
35566 * stdlib/stdlib.h: Likewise.
35567 * time/time.h: Likewise.
35568 * wcsmbs/wchar.h: Likewise.
35569
158648c0
UD
35570 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35571 open_by_handle): Add.
35572 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35573 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35574 Augment a few comments.
35575 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35577 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35580 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35581 open_by_handle.
35582
46998f74
UD
35583 * io/fcntl.h (AT_EMPTY_PATH): Define.
35584
83fe108b
UD
355852011-03-30 Ulrich Drepper <drepper@gmail.com>
35586
35587 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35588 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35589 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35590 to...
35591 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35592 * Versions.def: Add GLIBC_2.14.
35593 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35594 Export.
83fe108b 35595
bb242059
UD
355962011-03-22 Ulrich Drepper <drepper@gmail.com>
35597
35598 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35599 round counter.
35600 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35601
c97a1282
L
356022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35603
35604 [BZ #12597]
35605 * string/test-strncmp.c (do_page_test): New function.
35606 (check2): Likewise.
35607 (test_main): Call check2.
35608 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35609
2a115601
UD
356102011-03-20 Ulrich Drepper <drepper@gmail.com>
35611
35612 [BZ #12587]
35613 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35614 Handle cache information in CPU leaf 4.
35615 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35616
8126d904
UD
356172011-03-18 Ulrich Drepper <drepper@gmail.com>
35618
042c49c6 35619 [BZ #12583]
8126d904
UD
35620 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35621 character representation.
35622 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35623
ccfe366e
RA
356242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35625
35626 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35627 END(__isnan) to END(__isnanf) to match function entry point/label
35628 EALIGN(__isnanf,...).
35629
c6e13027
JJ
356302011-03-10 Jakub Jelinek <jakub@redhat.com>
35631
35632 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35633
33f85a3f
UD
356342011-03-10 Ulrich Drepper <drepper@gmail.com>
35635
028478fa
UD
35636 [BZ #12510]
35637 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35638 copy from the symbol referenced in the relocation to initialize the
35639 used variable.
35640 Patch by Piotr Bury <pbury@goahead.com>.
35641 * elf/Makefile: Add rules to build and tst-unique3.
35642 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35643 * elf/tst-unique3.cc: New file.
35644 * elf/tst-unique3.h: New file.
35645 * elf/tst-unique3lib.cc: New file.
35646 * elf/tst-unique3lib2.cc: New file.
35647
33f85a3f
UD
35648 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35649
03592fc7
MF
356502011-03-10 Mike Frysinger <vapier@gentoo.org>
35651
35652 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35653 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35654 to _start.
03592fc7 35655
6a5ee102
UD
356562011-03-06 Ulrich Drepper <drepper@gmail.com>
35657
35658 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35659 to-be-loaded object along a path to loader is ld.so.
35660
7e4ba49c
HJ
356612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35662 Ulrich Drepper <drepper@gmail.com>
35663
35664 * sysdeps/x86_64/memset.S: After aligning destination, code
35665 branches to different locations depending on the value of
35666 misalignment, when multiarch is enabled. Fix this.
35667
356682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35669
35670 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35671 Set _x86_64_preferred_memory_instruction for AMD processsors.
35672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35673 Set bit_Prefer_SSE_for_memop for AMD processors.
35674
13a804de
UD
356752011-03-04 Ulrich Drepper <drepper@gmail.com>
35676
35677 * libio/fmemopen.c (fmemopen): Optimize a bit.
35678
9d25c392
AS
356792011-03-03 Andreas Schwab <schwab@redhat.com>
35680
35681 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35682
a5543c6a
RM
356832011-03-03 Roland McGrath <roland@redhat.com>
35684
35685 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35686
012d35f7
DM
356872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35688
7e4ba49c 35689 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35690 __bzero_ultra1 instead of __memset_ultra1.
35691
4bff6e01
AS
356922011-02-23 Andreas Schwab <schwab@redhat.com>
35693 Ulrich Drepper <drepper@gmail.com>
35694
35695 [BZ #12509]
35696 * include/link.h (struct link_map): Add l_orig_initfini.
35697 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35698 returning unsuccessfully.
35699 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35700 close of a file loaded at startup, restore the original l_initfini
35701 list.
35702 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35703 list, store the pointer.
35704 * elf/Makefile ($(objpfx)noload-mem): New rule.
35705 (noload-ENV): Define.
35706 (tests): Add $(objpfx)noload-mem.
35707 * elf/noload.c: Include <memcheck.h>.
35708 (main): Call mtrace. Close all opened handles.
35709
f2092faf
AS
357102011-02-17 Andreas Schwab <schwab@redhat.com>
35711
35712 [BZ #12454]
35713 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35714 dependencies are missing.
35715
6c8a2e88
ST
357162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35717
f2092faf 35718 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35719 Hurd needs munmap.
35720 * sysdeps/mach/hurd/ifreq.h: New file.
35721
84a42118
PB
357222011-01-27 Petr Baudis <pasky@suse.cz>
35723 Ulrich Drepper <drepper@gmail.com>
35724
071f805e 35725 [BZ 12445]#
84a42118
PB
35726 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35727 to extend_alloca().
35728 * stdio-common/bug23.c: New file.
35729 * stdio-common/Makefile (tests): Add bug23.
35730
e23fe25b
AS
357312010-09-28 Andreas Schwab <schwab@redhat.com>
35732 Ulrich Drepper <drepper@gmail.com>
35733
35734 [BZ #12489]
35735 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35736 before performing relro protection. At old place add assertion
35737 to make sure nothing changed.
35738
d3f02e10
NS
357392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35740 Glauber de Oliveira Costa <glommer@gmail.com>
35741
35742 * elf/elf.h: Add new ARM TLS relocs.
35743
d55fd7a5
RA
357442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35745
35746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35747 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35748 cast from r3.
35749 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35750 'tests' variable.
35751 * sysdeps/wordsize-64/tst-writev.c: New file.
35752
2206397e
RA
357532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35754
35755 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35756 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35757 insns in _dl_start to prevent a TOC reference before relocs are
35758 resolved.
35759
e9433893
UD
357602011-02-15 Ulrich Drepper <drepper@gmail.com>
35761
35762 [BZ #12469]
35763 * Makeconfig: Remove RANLIB definition.
35764 * Makerules: Don't use RANLIB.
35765 * aclocal.m4: Remove ranlib test.
35766 * configure.in: No need to check for ranlib.
35767 * elf/rtld-Rules: Don't use RANLIB.
35768
f75286c6
ST
357692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35770
8e31c82d
ST
35771 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35772 protection macro.
35773 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35774 inclusion protection macro.
35775
f75286c6
ST
35776 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35777 SIGRTMIN and SIGRTMAX and print information in that case only when
35778 SIGRTMIN is defined.
35779
c1d0e639
JJ
357802011-02-11 Jakub Jelinek <jakub@redhat.com>
35781
35782 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35783 arginfo fn returning -1.
35784
35785 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35786 and thousands string is zero terminated.
35787
edf9294e
AS
357882011-02-03 Andreas Schwab <schwab@redhat.com>
35789
35790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35791 sysdeps/unix/sysv/linux/bits/socket.h.
35792
2b7e92df
ST
357932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35794
edf9294e
AS
35795 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35796 (__CPU_COUNT): Remove old macros.
35797 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35798 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35799 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35800 (__sched_cpualloc, __sched_cpufree): Add declarations.
35801
a4c7ea7b
UD
358022011-02-05 Ulrich Drepper <drepper@gmail.com>
35803
35804 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35805 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35806 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35807 (readdhstai): Return value of addhstaiX call.
35808 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35809 (addgrbyX): Return value returned by cache_addgr.
35810 (readdgrbyname): Return value returned by addgrbyX.
35811 (readdgrbygid): Likewise.
35812 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35813 (addpwbyX): Return value returned by cache_addpw.
35814 (readdpwbyname): Return value returned by addhstbyX.
35815 (readdpwbyuid): Likewise.
35816 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35817 (addservbyX): Return value returned by cache_addserv.
35818 (readdservbyname): Return value returned by addservbyX:
35819 (readdservbyport): Likewise.
35820 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35821 (addhstbyX): Return value returned by cache_addhst.
35822 (readdhstbyname): Return value returned by addhstbyX.
35823 (readdhstbyaddr): Likewise.
35824 (readdhstbynamev6): Likewise.
35825 (readdhstbyaddrv6): Likewise.
35826 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35827 (readdinitgroups): Return value returned by addinitgroupsX.
35828 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35829 (prune_cache): Keep track of timeout value of re-added entries.
35830 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35831 * nscd/nscd.h: Adjust prototypes of readd* functions.
35832
a0bf67cc
RM
358332011-02-04 Roland McGrath <roland@redhat.com>
35834
35835 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35836 (nis_stats): Likewise.
35837 * nis/nis_modify.c (nis_modify): Likewise.
35838 * nis/nis_remove.c (nis_remove): Likewise.
35839 * nis/nis_add.c (nis_add): Likewise.
35840
35841 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35842
35843 * posix/fnmatch_loop.c: Add some consts.
35844
35845 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35846
435b95eb
L
358472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35848
35849 [BZ #12460]
35850 * config.make.in (config-cflags-novzeroupper): Define.
35851 * configure.in: Substitute libc_cv_cc_novzeroupper.
35852 * elf/Makefile (AVX-CFLAGS): Define.
35853 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35854 (CFLAGS-tst-auditmod4a.c): Likewise.
35855 (CFLAGS-tst-auditmod4b.c): Likewise.
35856 (CFLAGS-tst-auditmod6b.c): Likewise.
35857 (CFLAGS-tst-auditmod6c.c): Likewise.
35858 (CFLAGS-tst-auditmod7b.c): Likewise.
35859 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35860
8517b15e
UD
358612011-02-02 Ulrich Drepper <drepper@gmail.com>
35862
35863 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35864 function to the callback.
35865 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35866
10a656fe
AS
358672011-02-02 Andreas Schwab <schwab@redhat.com>
35868
35869 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35870 of errno.
35871
968dad0a
UD
358722011-01-19 Ulrich Drepper <drepper@gmail.com>
35873
9f94d2ea 35874 [BZ #11724]
968dad0a
UD
35875 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35876 of constructors.
35877 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35878 of destructors.
35879 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35880
35881 [BZ #11724]
35882 * elf/Makefile: Add rules to build and run new test.
35883 * elf/tst-initorder.c: New file.
35884 * elf/tst-initorder.exp: New file.
35885 * elf/tst-initordera1.c: New file.
35886 * elf/tst-initordera2.c: New file.
35887 * elf/tst-initordera3.c: New file.
35888 * elf/tst-initordera4.c: New file.
35889 * elf/tst-initorderb1.c: New file.
35890 * elf/tst-initorderb2.c: New file.
35891 * elf/tst-order-a1.c: New file.
35892 * elf/tst-order-a2.c: New file.
35893 * elf/tst-order-a3.c: New file.
35894 * elf/tst-order-a4.c: New file.
35895 * elf/tst-order-b1.c: New file.
35896 * elf/tst-order-b2.c: New file.
35897 * elf/tst-order-main.c: New file.
35898 New test case by George Gensure <werkt0@gmail.com>.
35899
86e92359
UD
359002010-10-01 Andreas Schwab <schwab@redhat.com>
35901
35902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35903 decoding ACE if AI_CANONIDN.
35904
5d5732b0
UD
359052011-01-18 Ulrich Drepper <drepper@gmail.com>
35906
35907 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35908
a77e8cbc
UD
359092011-01-17 Ulrich Drepper <drepper@gmail.com>
35910
6392473f
UD
35911 * version.h (RELEASE): Bump for 2.13 release.
35912 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35913
620a0529
UD
35914 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35915
18ba70a5
UD
35916 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35917 MADV_NOHUGEPAGE.
32465c3e
UD
35918 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35919 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35920 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35921 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35922 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35923 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35924
c0dafcf1
UD
35925 * posix/getconf.c: Update copyright year.
35926 * catgets/gencat.c: Likewise.
35927 * csu/version.c: Likewise.
35928 * debug/catchsegv.sh: Likewise.
35929 * debug/xtrace.sh: Likewise.
35930 * elf/ldconfig.c: Likewise.
35931 * elf/ldd.bash.in: Likewise.
35932 * elf/sprof.c (print_version): Likewise.
35933 * iconv/iconv_prog.c: Likewise.
35934 * iconv/iconvconfig.c: Likewise.
35935 * locale/programs/locale.c: Likewise.
35936 * locale/programs/localedef.c: Likewise.
35937 * malloc/memusage.sh: Likewise.
35938 * malloc/mtrace.pl: Likewise.
35939 * nscd/nscd.c (print_version): Likewise.
35940 * nss/getent.c: Likewise.
35941
a77e8cbc
UD
35942 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35943 PF_CAIF, and PF_ALG.
35944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35945
77e8bddf
AS
359462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35947
1f20b93a
AS
35948 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35949 (modules-names): Use them.
35950 (ifunc-test-modules, ifunc-pie-tests): Define.
35951 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35952 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35953 (test-extras): Likewise.
35954 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35955 $(compile-command.c).
35956 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35957 (all-built-dso): Define.
35958 (check-textrel.out, check-execstack.out): Depend on it.
35959
77e8bddf
AS
35960 * configure.in: Don't override --enable-multi-arch.
35961
bc425b33
UD
359622011-01-15 Ulrich Drepper <drepper@gmail.com>
35963
35964 [BZ #6812]
35965 * nscd/hstcache.c (tryagain): Define.
35966 (cache_addhst): Return tryagain not notfound for temporary errors.
35967 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35968 failed.
35969
794c3ad3
UD
359702011-01-14 Ulrich Drepper <drepper@gmail.com>
35971
70181fdd
UD
35972 [BZ #10563]
35973 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35974 to make the syscall.
35975 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35976
794c3ad3
UD
35977 [BZ #12378]
35978 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35979 and fall back to matching as normal character if the string ends before
35980 the matching ']' is found. This is what POSIX requires.
35981 * posix/testfnm.c: Adjust test result.
35982 * posix/globtest.sh: Adjust test result. Add new test.
35983 * posix/tst-fnmatch.input: Likewise.
35984 * posix/tst-fnmatch2.c: Add new test.
35985
68dc9497
AS
359862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35987
35988 * elf/Makefile (check-execstack): Revert last change. Depend on
35989 check-execstack.h.
35990 (check-execstack.h): New target.
35991 (generated): Add check-execstack.h.
35992 * elf/check-execstack.c: Include "check-execstack.h".
35993 (main): Revert last change.
35994 (handle_file): Return zero if GNU_STACK is absent and
35995 DEFAULT_STACK_PERMS doesn't include PF_X.
35996
451f001b
UD
359972011-01-13 Ulrich Drepper <drepper@gmail.com>
35998
cfa28e56
UD
35999 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36000 in child fails because the descriptor is already closed.
8cf8ce17
UD
36001 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36002 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36003 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36004
1086d70d
UD
36005 [BZ #12397]
36006 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36007 syscall.
36008
451f001b
UD
36009 [BZ #10484]
36010 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36011 temporary buffer used to handle multi lookups locally.
a85b5cb4 36012 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36013
08769175
UD
360142011-01-12 Ulrich Drepper <drepper@gmail.com>
36015
36016 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36017 loader is ld.so.
36018
5e49c52e
UD
360192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36020
36021 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36022 alignment for SSE2.
36023
60522a5f
UD
360242011-01-12 Ulrich Drepper <drepper@gmail.com>
36025
36026 [BZ #12394]
36027 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36028 characters. When rounding increased number of integer digits recompute
36029 number of groups.
36030 * stdio-common/tst-grouping.c: New file.
36031 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36032
f257bbd7
UD
360332011-01-09 Ulrich Drepper <drepper@gmail.com>
36034
36035 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36036 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36037
36038 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36039 void.
36040 * bits/select.h: Likewise.
36041
fa9c15cb
UD
360422011-01-08 Ulrich Drepper <drepper@gmail.com>
36043
36044 * po/ja.po: Update from translation team.
36045
16c2895f
DM
360462011-01-04 David S. Miller <davem@sunset.davemloft.net>
36047
36048 [BZ #11155]
36049 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36050 implementation just like for lxstat, fxstatat, et al.
36051
2543fef2
JM
360522010-12-27 Jim Meyering <meyering@redhat.com>
36053
36054 [BZ #12348]
36055 * posix/regexec.c (build_trtable): Return failure indication upon
36056 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36057
98727dbe
UD
360582010-12-25 Ulrich Drepper <drepper@gmail.com>
36059
5bd6dc5c
UD
36060 [BZ #12201]
36061 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36062 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36063 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36064 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36065
97983464
UD
36066 [BZ #12207]
36067 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36068
98727dbe
UD
36069 [BZ #12204]
36070 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36071 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36072
4a531bb0
L
360732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36074
36075 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36076 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36077 script has SORT_BY_INIT_PRIORITY.
36078 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36079 NO_CTORS_DTORS_SECTIONS is defined.
36080 * elf/soinit.c: Likewise.
36081 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36082 NO_CTORS_DTORS_SECTIONS is defined.
36083 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36084 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36085 * sysdeps/sh/init-first.c: Likewise.
36086 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36087
07eb4b71
UD
360882010-12-24 Ulrich Drepper <drepper@gmail.com>
36089
36090 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36091 always use the slow path.
36092
30950a5f
RA
360932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36094
36095 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36096 similar rule which adds the sysdep directories to the header search in
36097 order to pick up the correct platform stackinfo.h.
36098 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36099 perform test if it is, otherwise return successfully without testing.
36100 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36101 DEFAULT_STACK_PERMS define in stackinfo.h.
36102 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36103 defined in stackinfo.h.
36104 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36105 DEFAULT_STACK_PERMS defined in stackinfo.h.
36106 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36107 * sysdeps/ia64/stackinfo.h: Likewise.
36108 * sysdeps/s390/stackinfo.h: Likewise.
36109 * sysdeps/sh/stackinfo.h: Likewise.
36110 * sysdeps/sparc/stackinfo.h: Likewise.
36111 * sysdeps/x86_64/stackinfo.h: Likewise.
36112 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36113 PF_X for powerpc64. Retain PF_X for powerpc32.
36114
db753e2c
UD
361152010-12-19 Ulrich Drepper <drepper@gmail.com>
36116
14b697f7
UD
36117 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36118 accurately.
db753e2c
UD
36119 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36120 GETDENTS_64BIT_ALIGNED.
36121
28300719
UD
361222010-12-14 Ulrich Drepper <dreper@gmail.com>
36123
14b697f7 36124 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36125
4f197237
AS
361262010-12-10 Andreas Schwab <schwab@redhat.com>
36127
dbb0472f
AS
36128 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36129 _GNU_SOURCE.
36130
4f197237
AS
36131 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36132 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36133 Remove __restrict.
36134 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36135 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36136
fb88ac72
UD
361372010-12-09 Ulrich Drepper <drepper@gmail.com>
36138
36139 [BZ #11655]
36140 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36141 are initialized.
36142
42acbb92
JJ
361432010-12-09 Jakub Jelinek <jakub@redhat.com>
36144
36145 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36146
c038d98d
UD
361472010-12-03 Ulrich Drepper <drepper@gmail.com>
36148
36149 * po/it.po: Update from translation team.
36150
3a4a2499
L
361512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36152
36153 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36154 unused codes.
36155
1e24cf6e
UD
361562010-11-30 Ulrich Drepper <drepper@gmail.com>
36157
36158 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36159
a7690819
AS
361602010-11-24 Andreas Schwab <schwab@redhat.com>
36161
36162 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36163 specially.
36164 (gaih_getanswer_slice): Likewise.
36165
3bf8d1b1
JJ
361662010-10-20 Jakub Jelinek <jakub@redhat.com>
36167
36168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36169
6db52fbb
PB
361702010-05-31 Petr Baudis <pasky@suse.cz>
36171
36172 [BZ #11149]
36173 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36174 silently even in the chroot mode.
36175
eaca7569
UD
361762010-11-22 Ulrich Drepper <drepper@gmail.com>
36177
36178 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36179 last patch a bit. Pretty printing
36180
3056dcdb
UD
361812010-05-31 Petr Baudis <pasky@suse.cz>
36182
36183 [BZ #10085]
36184 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36185 initialization of skip_initgroups_dyn.
36186
cf7c9078
UD
361872010-11-19 Ulrich Drepper <drepper@gmail.com>
36188
36189 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36190 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36191
a1fb5e3e
UD
361922010-11-16 Ulrich Drepper <drepper@gmail.com>
36193
36194 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36195
3540d66b
AS
361962010-11-11 Andreas Schwab <schwab@redhat.com>
36197
36198 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36199 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36200 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36201 ($(objpfx)tst-fnmatch-mem): New rule.
36202 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36203 * posix/tst-fnmatch.c (main): Call mtrace.
36204
13b69574
L
362052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36206
36207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36208 Support Intel processor model 6 and model 0x2c.
36209
da93d214
LM
362102010-11-10 Luis Machado <luisgpm@br.ibm.com>
36211
36212 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36213 signed comparison.
36214
8ca52c6e
L
362152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36216
36217 [BZ #12205]
36218 * string/test-strncasecmp.c (check_result): New function.
36219 (do_one_test): Use it.
36220 (check1): New function.
36221 (test_main): Use it.
36222 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36223 Support strcasecmp and strncasecmp.
36224
69da074d
UD
362252010-11-08 Ulrich Drepper <drepper@gmail.com>
36226
36227 [BZ #12194]
36228 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36229 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36230
ff02d528
L
362312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36232
36233 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36234 IFUNC support.
36235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36236 memset-x86-64.
36237 * sysdeps/x86_64/multiarch/bzero.S: New file.
36238 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36239 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36240 * sysdeps/x86_64/multiarch/memset.S: New file.
36241 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36243 Set bit_Prefer_SSE_for_memop for Intel processors.
36244 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36245 Define.
36246 (index_Prefer_SSE_for_memop): Define.
36247 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36248
344d0b54
LM
362492010-11-04 Luis Machado <luisgpm@br.ibm.com>
36250
36251 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36252 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36253
c0dde15b
UD
362542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36255
36256 [BZ #12191]
36257 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36258 (__x86_64_raw_data_cache_size_half): Likewise.
36259 (__x86_64_raw_shared_cache_size): Likewise.
36260 (__x86_64_raw_shared_cache_size_half): Likewise.
36261
36262 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36263 (__x86_64_raw_data_cache_size_half): Likewise.
36264 (__x86_64_raw_shared_cache_size): Likewise.
36265 (__x86_64_raw_shared_cache_size_half): Likewise.
36266 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36267 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36268 and __x86_64_raw_shared_cache_size_half. Round
36269 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36270 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36271 to multiple of 256 bytes.
36272
0e516e0e
MS
362732010-11-03 Ulrich Drepper <drepper@gmail.com>
36274
36275 [BZ #12167]
36276 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36277 of inacessible symlinks. Verify result of symlink before returning it.
36278 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36279 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36280
0e012e87
ER
362812010-10-28 Erich Ritz <erichritz@gmail.com>
36282
36283 * math/math.h (isinf): Fix typo in comment.
36284
de0ff7bc
UD
362852010-11-01 Ulrich Drepper <drepper@gmail.com>
36286
36287 * po/da.po: Update from translation team.
36288
fa41c84d
UD
362892010-10-26 Ulrich Drepper <drepper@gmail.com>
36290
36291 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36292 is added to the list.
36293
f0967738
AK
362942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36295 Ulrich Drepper <drepper@gmail.com>
36296
36297 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36298 the global list here. Move code to...
36299 (_dl_add_to_namespace_list): ...here. New function.
36300 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36301 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36302 * elf/dl-load.c (lose): Don't remove the element from the list.
36303 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36304 (_dl_map_object): Likewise.
36305
363062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36307
36308 [BZ #12159]
36309 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36310 into all bytes of SSE register.
36311 Patch by Richard Li <richardpku@gmail.com>.
36312
f0967738 363132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36314
36315 [BZ #12140]
36316 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36317 perturbing.
36318
d0b9e94f
MB
363192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36320
36321 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36322 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36323 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36324 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36326 submachine.
36327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36328
8e9f92e9
AS
363292010-10-22 Andreas Schwab <schwab@redhat.com>
36330
36331 * include/dlfcn.h (__RTLD_SECURE): Define.
36332 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36333 mode & __RTLD_SECURE instead.
36334 (open_path): Rename preloaded parameter to secure.
36335 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36336 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36337 * elf/dl-deps.c (openaux): Likewise.
36338 * elf/rtld.c (struct map_args): Remove is_preloaded.
36339 (map_doit): Don't use it.
36340 (dl_main): Likewise.
36341 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36342 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36343
bc96fbda
AS
363442010-09-09 Andreas Schwab <schwab@redhat.com>
36345
36346 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36347 (sysd-rules-targets): Remove duplicates.
36348 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36349 rtld-%.$o dependency.
36350
22cd1c9b
AS
363512010-10-18 Andreas Schwab <schwab@redhat.com>
36352
36353 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36354 _dl_map_object do it.
36355
18edac48
UD
363562010-10-19 Ulrich Drepper <drepper@gmail.com>
36357
36358 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36359 fast fma builtins, define the macros in the C99 standard.
36360 (FP_FAST_FMAF): Likewise.
36361 (FP_FAST_FMAL): Likewise.
36362 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36363
36364 * bits/mathdef.h: Update copyright year.
36365 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36366
d2050124
MM
363672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36368
36369 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36370 builtins, define the macros in the C99 standard.
36371 (FP_FAST_FMAF): Likewise.
36372 (FP_FAST_FMAL): Likewise.
36373 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36374 multiply/add.
36375 (FP_FAST_FMAF): Likewise.
36376
475facd1
JJ
363772010-10-15 Jakub Jelinek <jakub@redhat.com>
36378
36379 [BZ #3268]
36380 * math/libm-test.inc (fma_test): Some new testcases.
36381 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36382 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36383 y and infinite z. Do multiplication by C already in long double.
36384 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36386 y and infinite z. Do bitwise or of inexact bit into u.d.
36387 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36388 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36389 * sysdeps/i386/fpu/s_fma.S: Removed.
36390 * sysdeps/i386/fpu/s_fmal.S: Removed.
36391
7c08a05c
JJ
363922010-10-16 Jakub Jelinek <jakub@redhat.com>
36393
36394 [BZ #3268]
36395 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36397 computation is not scheduled after fetestexcept. Fix value
36398 of minimum denormal long double.
36399
f3f7372d
JJ
364002010-10-14 Jakub Jelinek <jakub@redhat.com>
36401
36402 [BZ #3268]
36403 * math/libm-test.inc (fma_test): Add some more tests.
36404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36405 correctly.
36406
14d43591
AS
364072010-10-15 Andreas Schwab <schwab@redhat.com>
36408
36409 * scripts/data/localplt-s390-linux-gnu.data: New file.
36410 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36411
5e908464
JJ
364122010-10-13 Jakub Jelinek <jakub@redhat.com>
36413
36414 [BZ #3268]
36415 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36416 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36417 instead of dbl-64.
36418 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36419 inlines.
36420 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36422 if one of x and y is very large and the other is subnormal.
36423 * sysdeps/s390/fpu/s_fmaf.c: New file.
36424 * sysdeps/s390/fpu/s_fma.c: New file.
36425 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36426 * sysdeps/powerpc/fpu/s_fma.S: New file.
36427 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36428 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36429 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36430
364312010-10-12 Jakub Jelinek <jakub@redhat.com>
36432
36433 [BZ #3268]
36434 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36435 fma tests.
36436 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36437 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36438 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36439 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36440 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36441 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36442 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36443
b833d51f
UD
364442010-10-12 Ulrich Drepper <drepper@redhat.com>
36445
36446 [BZ #12078]
36447 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36448 * posix/bug-regex31.input: Add test case.
36449
1751705d
UD
364502010-10-11 Ulrich Drepper <drepper@gmail.com>
36451
e9b9cbf5
UD
36452 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36453 * posix/bug-regex31.input: New file.
36454
36455 [BZ #12078]
36456 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36457 (parse_sub_exp): Fix last change, use postorder.
36458
ef06edbe
UD
36459 * posix/bug-regex31.c: New file.
36460 * posix/Makefile: Add rules to build and run bug-regex31.
36461
a129c80d
UD
36462 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36463
36464 [BZ #12078]
36465 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36466
b76b818e
UD
36467 [BZ #12108]
36468 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36469 to have entries in sys_siglist.
36470
1751705d
UD
36471 [BZ #12093]
36472 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36473 be NULL.
36474
9ff8d36f
JJ
364752010-10-07 Jakub Jelinek <jakub@redhat.com>
36476
36477 [BZ #3268]
36478 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36479 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36480 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36481 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36482 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36483 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36484 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36485 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36486 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36487 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36488 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36489 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36490 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36491 * math/ftestexcept.c (fetestexcept): Likewise.
36492 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36493 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36494 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36495 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36496 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36497 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36498 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36499
af325969
UD
365002010-10-11 Ulrich Drepper <drepper@gmail.com>
36501
c579b202 36502 [BZ #12107]
af325969
UD
36503 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36504 newline.
36505
67a67b95
UD
365062010-10-06 Ulrich Drepper <drepper@gmail.com>
36507
36508 * string/bug-strstr1.c: New file.
36509 * string/Makefile: Add rules to build and run bug-strstr1.
36510
5fb308bc
EB
365112010-10-05 Eric Blake <eblake@redhat.com>
36512
36513 [BZ #12092]
36514 * string/str-two-way.h (two_way_long_needle): Always clear memory
36515 when skipping input due to the shift table.
36516
45db99c7
UD
365172010-10-03 Ulrich Drepper <drepper@gmail.com>
36518
3b111893
UD
36519 [BZ #12005]
36520 * malloc/mcheck.c: Handle large requests.
36521
45db99c7
UD
36522 [BZ #12077]
36523 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36524 for strncmp and strncasecmp.
36525 * string/stratcliff.c: Add tests for strcmp and strncmp.
36526 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36527
cf7a1eb8
NI
365282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36529
36530 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36531 __set_fpscr.
36532
6484ba5e
AJ
365332010-09-30 Andreas Jaeger <aj@suse.de>
36534
36535 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36536 (CGROUP_SUPER_MAGIC): Define.
36537 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36538 Handle btrfs and cgroup file systems.
36539 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36540 Likewise.
36541
91c42559
LM
365422010-09-27 Luis Machado <luisgpm@br.ibm.com>
36543
36544 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36545 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36546
87a97932
AK
365472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36548
36549 [BZ #12067]
36550 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36551 trying to locate the ELF header.
36552
c21cc9bc
AS
365532010-09-27 Andreas Schwab <schwab@redhat.com>
36554
36555 [BZ #11611]
36556 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36557 Mask out sign-bit copies when constructing f_fsid.
36558
315970f6
PB
365592010-09-24 Petr Baudis <pasky@suse.cz>
36560
36561 * debug/stack_chk_fail_local.c: Add missing licence exception.
36562 * debug/warning-nop.c: Likewise.
36563
1ac7a2c7
JM
365642010-09-15 Joseph Myers <joseph@codesourcery.com>
36565
36566 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36567 implementing getdents64 using getdents syscall, set d_type if
36568 __ASSUME_GETDENTS32_D_TYPE.
36569
56801c50
AS
365702010-09-16 Andreas Schwab <schwab@redhat.com>
36571
36572 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36573 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36574
dda51327
UD
365752010-09-21 Ulrich Drepper <drepper@redhat.com>
36576
36577 [BZ #12037]
36578 * posix/unistd.h: Undo change of feature selection for ftruncate from
36579 2010-01-11.
36580
8ffcee4a
UD
365812010-09-20 Ulrich Drepper <drepper@redhat.com>
36582
a545ecd9 36583 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36584 detection.
36585
e24f0a8b
AS
365862010-09-20 Andreas Schwab <schwab@redhat.com>
36587
36588 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36589 fanotify_mark.
36590 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36591
7291c56f
AS
365922010-09-14 Andreas Schwab <schwab@redhat.com>
36593
36594 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36595 variables after CHECK_SP call.
36596 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36597
bc5fb037
AS
365982010-09-13 Andreas Schwab <schwab@redhat.com>
36599 Ulrich Drepper <drepper@redhat.com>
36600
36601 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36602 re-relocationg ld.so.
36603 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36604 _dl_init_paths call.
36605 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36606 here anymore.
36607
e66e7419
UD
366082010-09-14 Ulrich Drepper <drepper@redhat.com>
36609
36610 * resolv/res_init.c (__res_vinit): Count the default server we added.
36611
c044aa75
CLT
366122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36613 Ulrich Drepper <drepper@redhat.com>
36614
36615 [BZ #11968]
36616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36617 (____longjmp_chk): Use %ebx for saving value across system call.
36618 Add unwind info.
36619
32cf4069
AS
366202010-09-06 Andreas Schwab <schwab@redhat.com>
36621
36622 * manual/Makefile: Don't mix pattern rules with normal rules.
36623
817328ee
AS
366242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36625
36626 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36627 operation.
36628 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36629 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36630 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36631 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36632 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36633 Likewise.
36634
29fddf61
UD
366352010-09-04 Ulrich Drepper <drepper@redhat.com>
36636
36637 [BZ #11979]
36638 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36639 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36640
0959ffc9
UD
366412010-09-02 Ulrich Drepper <drepper@redhat.com>
36642
36643 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36644 * sysdeps/x86_64/addmul_1.S: Likewise.
36645 * sysdeps/x86_64/lshift.S: Likewise.
36646 * sysdeps/x86_64/mul_1.S: Likewise.
36647 * sysdeps/x86_64/rshift.S: Likewise.
36648 * sysdeps/x86_64/sub_n.S: Likewise.
36649 * sysdeps/x86_64/submul_1.S: Likewise.
36650
ece29840
ST
366512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36652
0959ffc9
UD
36653 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36654 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36655 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36656 * bits/sched.h [__need_schedparam]
ece29840 36657 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36658 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36659 (__defined_schedparam): Define to 1.
ece29840
ST
36660 (__sched_param): New structure, identical to sched_param.
36661 (__need_schedparam): Undefine.
36662
e53a31fe
MF
366632010-08-31 Mike Frysinger <vapier@gentoo.org>
36664
fdc0c10d
MF
36665 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36666 (epoll_create1): Declare.
36667
e53a31fe
MF
36668 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36669
a726d796
AS
366702010-08-31 Andreas Schwab <schwab@redhat.com>
36671
36672 [BZ #7066]
36673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36674 shifting retval into place.
36675
2f3e3dc7
UD
366762010-09-01 Ulrich Drepper <drepper@redhat.com>
36677
f2933da9
UD
36678 * nis/rpcsvc/nis.h: Update copyright notice.
36679 * nis/rpcsvc/nis.x: Likewise.
36680 * nis/rpcsvc/nis_callback.h: Likewise.
36681 * nis/rpcsvc/nis_callback.x: Likewise.
36682 * nis/rpcsvc/nis_object.x: Likewise.
36683 * nis/rpcsvc/nis_tags.h: Likewise.
36684 * nis/rpcsvc/yp.h: Likewise.
36685 * nis/rpcsvc/yp.x: Likewise.
36686 * nis/rpcsvc/ypupd.h: Likewise.
36687 * nis/yp_xdr.c: Likewise.
36688 * nis/ypupdate_xdr.c: Likewise.
36689
2f3e3dc7
UD
36690 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36691 mainly the body of pmap_getport. Add parameters to specify timeouts.
36692 (pmap_getport): Use __libc_rpc_getport.
36693 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36694 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36695 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36696
f3dcc2f9
AS
366972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36698
36699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36700 fanotify_mark.
36701
6d34eb5b
RM
367022010-08-27 Roland McGrath <roland@redhat.com>
36703
36704 * sysdeps/i386/i686/multiarch/Makefile
36705 (CFLAGS-varshift.c): New variable.
36706
9ea3de11
UD
367072010-08-27 Ulrich Drepper <drepper@redhat.com>
36708
c96d23fc
UD
36709 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36710 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36711
9ea3de11
UD
36712 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36713
36714 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36715
623aac7f
L
367162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36717
36718 * sysdeps/x86_64/strlen.S: Unroll the loop.
36719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36720 strlen-sse2 strlen-sse2-bsf.
36721 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36722 __strlen_no_bsf if bit_Slow_BSF is set.
36723 (__strlen_sse42): Removed.
36724 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36725 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36726
8b2b7715
RM
367272010-08-25 Roland McGrath <roland@redhat.com>
36728
36729 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36730 * sysdeps/x86_64/multiarch/varshift.c: New file.
36731 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36732 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36733 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36734 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36735
e73015f2
L
367362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36737
36738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36739 strlen-sse2 strlen-sse2-bsf.
36740 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36741 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36742 (__strlen_sse2): Removed.
36743 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36744 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36746 bit_Slow_BSF for Atom.
36747 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36748 (index_Slow_BSF): Define.
36749 (HAS_SLOW_BSF): Define.
36750
df24a73e
UD
367512010-08-25 Ulrich Drepper <drepper@redhat.com>
36752
36753 [BZ #10851]
36754 * resolv/res_init.c (__res_vinit): When no server address at all
36755 is given default to loopback.
36756
f2ac4868
RM
367572010-08-24 Roland McGrath <roland@redhat.com>
36758
09055553
RM
36759 * configure.in: Remove config-name.h generation.
36760 * configure: Regenerated.
36761 * config-name.in: File removed.
36762 * scripts/config-uname.sh: New file.
36763 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36764 ($(objdir)config-name.h): New target.
36765
f2ac4868
RM
36766 * sunrpc/rpc_parse.h: Avoid nested comment.
36767
73f27d5e
RH
367682010-08-24 Richard Henderson <rth@redhat.com>
36769 Ulrich Drepper <drepper@redhat.com>
36770 H.J. Lu <hongjiu.lu@intel.com>
36771
36772 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36774 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36775 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36776 _mm_alignr_epi8 with _mm_loadu_si128.
36777 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36778 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36779 (__m128i_shift_right): Removed.
36780 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36781 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36782 * sysdeps/x86_64/multiarch/varshift.h: New file.
36783 * sysdeps/x86_64/multiarch/varshift.S: New file.
36784
84b9230c
MF
367852010-08-21 Mike Frysinger <vapier@gentoo.org>
36786
36787 * configure.in: Move assembler checks to before sysdep dir checking.
36788
9bbd0ddc
PB
367892010-08-20 Petr Baudis <pasky@suse.cz>
36790
36791 * LICENSES: Sync the sunrpc license.
36792
9da4bb31
UD
367932010-08-19 Ulrich Drepper <drepper@redhat.com>
36794
a7ab6ec8
UD
36795 * sunrpc/auth_des.c: Update copyright notice once again.
36796 * sunrpc/auth_none.c: Likewise.
36797 * sunrpc/auth_unix.c: Likewise.
36798 * sunrpc/authdes_prot.c: Likewise.
36799 * sunrpc/authuxprot.c: Likewise.
36800 * sunrpc/bindrsvprt.c: Likewise.
36801 * sunrpc/clnt_gen.c: Likewise.
36802 * sunrpc/clnt_perr.c: Likewise.
36803 * sunrpc/clnt_raw.c: Likewise.
36804 * sunrpc/clnt_simp.c: Likewise.
36805 * sunrpc/clnt_tcp.c: Likewise.
36806 * sunrpc/clnt_udp.c: Likewise.
36807 * sunrpc/clnt_unix.c: Likewise.
36808 * sunrpc/des_crypt.c: Likewise.
36809 * sunrpc/des_soft.c: Likewise.
36810 * sunrpc/get_myaddr.c: Likewise.
36811 * sunrpc/getrpcport.c: Likewise.
36812 * sunrpc/key_call.c: Likewise.
36813 * sunrpc/key_prot.c: Likewise.
36814 * sunrpc/openchild.c: Likewise.
36815 * sunrpc/pm_getmaps.c: Likewise.
36816 * sunrpc/pm_getport.c: Likewise.
36817 * sunrpc/pmap_clnt.c: Likewise.
36818 * sunrpc/pmap_prot.c: Likewise.
36819 * sunrpc/pmap_prot2.c: Likewise.
36820 * sunrpc/pmap_rmt.c: Likewise.
36821 * sunrpc/rpc/auth.h: Likewise.
36822 * sunrpc/rpc/auth_unix.h: Likewise.
36823 * sunrpc/rpc/clnt.h: Likewise.
36824 * sunrpc/rpc/des_crypt.h: Likewise.
36825 * sunrpc/rpc/key_prot.h: Likewise.
36826 * sunrpc/rpc/netdb.h: Likewise.
36827 * sunrpc/rpc/pmap_clnt.h: Likewise.
36828 * sunrpc/rpc/pmap_prot.h: Likewise.
36829 * sunrpc/rpc/pmap_rmt.h: Likewise.
36830 * sunrpc/rpc/rpc.h: Likewise.
36831 * sunrpc/rpc/rpc_des.h: Likewise.
36832 * sunrpc/rpc/rpc_msg.h: Likewise.
36833 * sunrpc/rpc/svc.h: Likewise.
36834 * sunrpc/rpc/svc_auth.h: Likewise.
36835 * sunrpc/rpc/types.h: Likewise.
36836 * sunrpc/rpc/xdr.h: Likewise.
36837 * sunrpc/rpc_clntout.c: Likewise.
36838 * sunrpc/rpc_cmsg.c: Likewise.
36839 * sunrpc/rpc_common.c: Likewise.
36840 * sunrpc/rpc_cout.c: Likewise.
36841 * sunrpc/rpc_dtable.c: Likewise.
36842 * sunrpc/rpc_hout.c: Likewise.
36843 * sunrpc/rpc_main.c: Likewise.
36844 * sunrpc/rpc_parse.c: Likewise.
36845 * sunrpc/rpc_parse.h: Likewise.
36846 * sunrpc/rpc_prot.c: Likewise.
36847 * sunrpc/rpc_sample.c: Likewise.
36848 * sunrpc/rpc_scan.c: Likewise.
36849 * sunrpc/rpc_scan.h: Likewise.
36850 * sunrpc/rpc_svcout.c: Likewise.
36851 * sunrpc/rpc_tblout.c: Likewise.
36852 * sunrpc/rpc_util.c: Likewise.
36853 * sunrpc/rpc_util.h: Likewise.
36854 * sunrpc/rpcinfo.c: Likewise.
36855 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36856 * sunrpc/rpcsvc/key_prot.x: Likewise.
36857 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36858 * sunrpc/rpcsvc/mount.x: Likewise.
36859 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36860 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36861 * sunrpc/rpcsvc/rex.x: Likewise.
36862 * sunrpc/rpcsvc/rstat.x: Likewise.
36863 * sunrpc/rpcsvc/rusers.x: Likewise.
36864 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36865 * sunrpc/rpcsvc/spray.x: Likewise.
36866 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36867 * sunrpc/rtime.c: Likewise.
36868 * sunrpc/svc.c: Likewise.
36869 * sunrpc/svc_auth.c: Likewise.
36870 * sunrpc/svc_authux.c: Likewise.
36871 * sunrpc/svc_raw.c: Likewise.
36872 * sunrpc/svc_run.c: Likewise.
36873 * sunrpc/svc_simple.c: Likewise.
36874 * sunrpc/svc_tcp.c: Likewise.
36875 * sunrpc/svc_udp.c: Likewise.
36876 * sunrpc/svc_unix.c: Likewise.
36877 * sunrpc/svcauth_des.c: Likewise.
36878 * sunrpc/xcrypt.c: Likewise.
36879 * sunrpc/xdr.c: Likewise.
36880 * sunrpc/xdr_array.c: Likewise.
36881 * sunrpc/xdr_float.c: Likewise.
36882 * sunrpc/xdr_mem.c: Likewise.
36883 * sunrpc/xdr_rec.c: Likewise.
36884 * sunrpc/xdr_ref.c: Likewise.
36885 * sunrpc/xdr_sizeof.c: Likewise.
36886 * sunrpc/xdr_stdio.c: Likewise.
36887
9da4bb31
UD
36888 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36889 handling.
36890
bdaa77bc
AS
368912010-08-19 Andreas Schwab <schwab@redhat.com>
36892
36893 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36894
fe2f79db
LM
368952010-08-19 Luis Machado <luisgpm@br.ibm.com>
36896
36897 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36898 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36899 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36900 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36901 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36902 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36903 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36904 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36905 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36906 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36907 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36908 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36909 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36910 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36911
b9b42ee0
AB
369122010-07-26 Anton Blanchard <anton@samba.org>
36913
36914 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36915 * malloc/arena.c (heap_trim): Likewise.
36916
1c06ba31
UD
369172010-08-16 Ulrich Drepper <drepper@redhat.com>
36918
36919 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36920 here. Not...
36921 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36922 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36923
f8392f40
L
369242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36925
36926 * sysdeps/i386/elf/Makefile: New file.
36927
3162f12e
AS
369282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36929
36930 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36931 from fanotify_init.
36932 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36933 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36934
28c90b2c
UD
369352010-08-15 Ulrich Drepper <drepper@redhat.com>
36936
36937 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36938 of strncasecmp_l.
1feccb6c 36939 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36940
ca6bb004
UD
369412010-08-14 Ulrich Drepper <drepper@redhat.com>
36942
e9f82e0d
UD
36943 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36944 strncase_l-nonascii.
36945 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36946 Add strncase_l-ssse3.
36947 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36948 * sysdeps/x86_64/strcmp.S: Likewise.
36949 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36950 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36951 * sysdeps/x86_64/strncase.S: New file.
36952 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36953 * sysdeps/x86_64/strncase_l.S: New file.
36954 * string/Makefile (strop-tests): Add strncasecmp.
36955 * string/test-strncasecmp.c: New file.
36956
36957 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36958 warning.
36959
ca6bb004
UD
36960 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36961 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36962
052fa7b3
AS
369632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36964
36965 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36966
962dba78
UD
369672010-08-12 Ulrich Drepper <drepper@redhat.com>
36968
36969 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36970 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36971 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36972
bebff237
AM
369732010-05-01 Alan Modra <amodra@gmail.com>
36974
36975 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36976 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36977 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36978 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36979 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36980 tidying. Don't tail-call __sigjmp_save for static lib.
36981 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36982 save location.
36983 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36984 (CALL_MCOUNT): Add eh info, and nop after bl.
36985 (TAIL_CALL_SYSCALL_ERROR): New macro.
36986 (PSEUDO_RET): Use it.
36987 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36988 Correct save location of integer regs and cr.
36989 (_dl_profile_resolve): Correct cr save location. Delete nops
36990 after bl when SHARED. Reduce cfi size a little by better
36991 placement of cfi directives.
36992 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36993 make a stack frame. Instead use parm save area as a temp.
36994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36995 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36997 Don't make a stack frame for parent, use parm save area.
36998 Increase child stack frame to 112 bytes. Don't save unused reg,
36999 and adjust reg usage. Set up cfi on error recovery and
37000 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37002 (__makecontext): Add dummy nop after jump to exit.
37003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37004 Use correct parm save area and cr save, reduce stack frame.
37005 Correct cfi for possible PSEUDO_RET frame setup.
37006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37007 Branch to local label emitted by PSEUDO_RET rather than
37008 __syscall_error.
37009
02637374
AS
370102010-08-12 Andreas Schwab <schwab@redhat.com>
37011
37012 [BZ #11904]
37013 * locale/programs/locale.c (print_assignment): New function.
37014 (show_locale_vars): Use it.
37015
c3e2f19b
UD
370162010-08-11 Ulrich Drepper <drepper@redhat.com>
37017
3cdaa6ad
UD
37018 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37019 field.
37020 (struct statfs64): Likewise.
37021 (_STATFS_F_FLAGS): Define.
37022 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37023 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37024 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37025 (ST_VALID): Define locally.
37026 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37027 __statvfs_getflags, use the provided value.
37028 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37029 __ASSUME_STATFS_F_FLAGS.
37030
754f7da3
UD
37031 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37032
10b3bedc
UD
37033 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37034 Add sys/fanotify.h.
37035 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37036 fanotify_mask for GLIBC_2.13.
37037 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37038 fanotify_init and fanotify_mark.
37039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37040 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37041
c08fb0d7
UD
37042 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37043 Add prlimit.
37044 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37045 prlimit64 for GLIBC_2.13.
37046 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37047 prlimit64.
37048 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37049 syscall.
37050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37051 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37052 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37053 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37054 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37055 add prlimit alias.
37056 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37057
15bac72b
UD
37058 [BZ #11903]
37059 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37060 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37061
c3e2f19b
UD
37062 * nss/Makefile: Add rules to build and run tst-nss-test1.
37063 * shlib-versions: Add entry for libnss_test1.
37064 * nss/nss_test1.c: New file.
37065 * nss/tst-nss-test1.c: New file.
37066
37067 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37068 (__nss_configure_lookup): Set appropriate entry in
37069 __nss_configure_lookup to true.
37070 * nss/nsswitch.h: Define enum with indeces of databases in
37071 databases and __nss_database_custom arrays. Declare
37072 __nss_database_custom.
37073 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37074 to avoid using nscd when custom rules are installed.
37075 * nss/getXXbyYY_r.c: Likewise.
37076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37077
37078 * nss/nss_files/files-parse.c: Whitespace fixes.
37079
f15ce4d8
UD
370802010-08-09 Ulrich Drepper <drepper@redhat.com>
37081
37082 [BZ #11883]
37083 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37084 * posix/fnmatch_loop.c: Likewise.
37085
d22e4cc9
AK
370862010-07-17 Andi Kleen <ak@linux.intel.com>
37087
37088 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37089 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37090 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37091 * Versions.def [GLIBC_2.13]: Add.
37092
805bc17d
UD
370932010-08-06 Ulrich Drepper <drepper@redhat.com>
37094
37095 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37096 Also fail if tpwd after pwuid call is NULL.
37097
5a42321d
ST
370982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37099
37100 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37101 when converting to ms.
37102
fd3ebeda
ST
371032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37104
37105 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37106 EOPNOTSUPP errors with ENOTTY.
37107 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37108 EOPNOTSUPP errors with ENOTTY.
37109
73507d3a
UD
371102010-07-31 Ulrich Drepper <drepper@redhat.com>
37111
37112 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37113 Add strcasecmp_l-ssse3.
37114 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37115 strcasecmp.
37116 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37117 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37118 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37119
fe36dd02
UD
371202010-07-30 Ulrich Drepper <drepper@redhat.com>
37121
66f6765a
UD
37122 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37123
42e08a54
UD
37124 * string/Makefile (strop-tests): Add strcasecmp.
37125 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37126 strcasecmp_l-nonascii.
37127 (gen-as-const-headers): Add locale-defines.sym.
37128 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37129 * sysdeps/x86_64/strcasecmp.S: New file.
37130 * sysdeps/x86_64/strcasecmp_l.S: New file.
37131 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37132 * sysdeps/x86_64/locale-defines.sym: New file.
37133 * string/test-strcasecmp.c: New file.
37134
fe36dd02
UD
37135 * string/test-strcasestr.c: Test both ends of the range of characters.
37136 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37137
48cbc0d6
RM
371382010-07-29 Roland McGrath <roland@redhat.com>
37139
76e6d6bc 37140 [BZ #11856]
48cbc0d6
RM
37141 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37142
880113d9
UD
371432010-07-27 Ulrich Drepper <drepper@redhat.com>
37144
37145 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37146 for ld.so.
37147
deb9cabb
AS
371482010-07-27 Andreas Schwab <schwab@redhat.com>
37149
37150 * manual/memory.texi (Malloc Tunable Parameters): Document
37151 M_PERTURB.
37152
1c7570ff
RM
371532010-07-26 Roland McGrath <roland@redhat.com>
37154
37155 [BZ #11840]
37156 * configure.in (-fgnu89-inline check): Set and substitute
37157 gnu89_inline, not libc_cv_gnu89_inline.
37158 * configure: Regenerated.
37159 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37160
24fb0f88
UD
371612010-07-26 Ulrich Drepper <drepper@redhat.com>
37162
37163 * string/test-strnlen.c: New file.
37164 * string/Makefile (strop-tests): Add strnlen.
37165 * string/tester.c (test_strnlen): Add a few more test cases.
37166 * string/tst-strlen.c: Better error reporting.
37167
37168 * sysdeps/x86_64/strnlen.S: New file.
37169
8e96b93a
UD
371702010-07-24 Ulrich Drepper <drepper@redhat.com>
37171
37172 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37173 lower-latency instructions.
37174
dbc676d4
UD
371752010-07-23 Ulrich Drepper <drepper@redhat.com>
37176
37177 * string/test-strcasestr.c: New file.
37178 * string/test-strstr.c: New file.
37179 * string/Makefile (strop-tests): Add strstr and strcasestr.
37180 * string/str-two-way.h: Don't undefine MAX.
37181 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37182
f6a31e0e
AS
371832010-07-21 Andreas Schwab <schwab@redhat.com>
37184
37185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37186 strcasestr-nonascii.
37187 (CFLAGS-strcasestr-nonascii.c): Define.
37188 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37189 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37190 Remove unused attribute.
37191
5dbc3b6c
RM
371922010-07-20 Roland McGrath <roland@redhat.com>
37193
37194 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37195 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37196 ld.so.cache was broken. With it, there is no way to disable dsocaps
37197 like LD_HWCAP_MASK can disable hwcaps.
37198
23d101d8
EPM
371992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37200
37201 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37202
cc9f2e47
UD
372032010-07-16 Ulrich Drepper <drepper@redhat.com>
37204
37205 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37206 call in strcasestr.
37207 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37208 __strcasestr_sse42_nonascii.
37209 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37210 strcasestr-nonascii.c.
37211 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37212
77c1b069
LM
372132010-06-15 Luis Machado <luisgpm@br.ibm.com>
37214
37215 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37216 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37217 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37218 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37219
440566c3
UD
372202010-07-09 Ulrich Drepper <drepper@redhat.com>
37221
37222 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37223 fcntl.
37224
5be9d05d
AS
372252010-07-06 Andreas Schwab <schwab@redhat.com>
37226
c30b7ee2 37227 [BZ #11577]
5be9d05d
AS
37228 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37229 dl_signal_cerror.
37230
8a492a67
UD
372312010-07-06 Ulrich Drepper <drepper@redhat.com>
37232
37233 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37234 _PC_PIPE_BUF using F_GETPIPE_SZ.
37235
713df3d5
RM
372362010-07-05 Roland McGrath <roland@redhat.com>
37237
37238 * manual/arith.texi (Rounding Functions): Fix rint description
37239 implicit in round description.
37240
702e8f14
UD
372412010-07-02 Ulrich Drepper <drepper@redhat.com>
37242
37243 * elf/Makefile: Fix linking for a few tests to make recent linker
37244 happy.
37245
52ed8be9
AS
372462010-06-30 Andreas Schwab <schwab@redhat.com>
37247
37248 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37249 $(common-objpfx)libc_nonshared.a.
37250
f47c9a11
LM
372512010-06-21 Luis Machado <luisgpm@br.ibm.com>
37252
37253 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37254 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37255 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37256 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37257 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37258 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37259 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37260 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37275 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37276 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37277 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37278 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37279 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37280 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37281 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37282 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37283 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37284 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37285 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37286 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37301
6fb8cbcb
L
373022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37303
37304 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37305 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37306 * string/memmove.c (memmove): Renamed to ...
37307 (MEMMOVE): ...this. Default to memmove.
37308 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37309 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37310 (END_CHK): Define.
37311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37312 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37313 mempcpy-ssse3-back memmove-ssse3-back.
37314 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37315 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37316 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37317 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37318 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37319 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37320 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37321 * sysdeps/x86_64/multiarch/memmove.c: New file.
37322 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37323 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37324 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37325 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37326 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37327 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37328 Define.
37329 (index_Fast_Copy_Backward): Define.
37330 (HAS_ARCH_FEATURE): Define.
37331 (HAS_FAST_REP_STRING): Define.
37332 (HAS_FAST_COPY_BACKWARD): Define.
37333
4e733bac 373342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37335
37336 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37337 Restore proper fallback handling.
37338
63c4ed22
UD
373392010-06-19 Ulrich Drepper <drepper@redhat.com>
37340
ac2b484c
UD
37341 [BZ #11701]
37342 * posix/group_member.c (__group_member): Correct checking loop.
37343
63c4ed22
UD
37344 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37345 OOM in getpwuid_r correctly. Return error number when the caller
37346 should return, otherwise -1.
37347 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37348 call returning > 0 value.
37349 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37350
765ade4b
AS
373512010-06-07 Andreas Schwab <schwab@redhat.com>
37352
37353 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37354 libc_nonshared.a from targets in modules-names.
37355
80da2e09
KS
373562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37357
37358 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37359 requires it.
37360
158db122
LM
373612010-06-10 Luis Machado <luisgpm@br.ibm.com>
37362
37363 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37364 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37366 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37367
caa78cf8
AS
373682010-06-02 Andreas Schwab <schwab@redhat.com>
37369
37370 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37371
b2ef2c01
UD
373722010-06-14 Ulrich Drepper <drepper@redhat.com>
37373
37374 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37375 and F_GETPIPE_SZ.
37376 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37381 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37382
fbd643b6
RM
373832010-06-14 Roland McGrath <roland@redhat.com>
37384
37385 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37386
f32f2869
JJ
373872010-06-07 Jakub Jelinek <jakub@redhat.com>
37388
37389 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37390 __REDIRECT followed by __THROW.
37391 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37392 * posix/getopt.h (getopt): Likewise.
37393
2a50c078
EPM
373942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37395
37396 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37397 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37398 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37399 in AT_FLAGS.
37400 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37401 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37402
eb5ad2eb
LM
374032010-05-28 Luis Machado <luisgpm@br.ibm.com>
37404
37405 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37406
3c88fe1e
L
374072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37408
37409 [BZ #11640]
37410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37411 Properly check family and model.
37412
d2f73151
TY
374132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37414
37415 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37416
ebd2e13d
LM
374172010-05-24 Luis Machado <luisgpm@br.ibm.com>
37418
37419 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37420
b32b8b45
UD
374212010-05-21 Ulrich Drepper <drepper@redhat.com>
37422
37423 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37424 symbol reference.
37425
9acbe24d
AS
374262010-05-19 Andreas Schwab <schwab@redhat.com>
37427
37428 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37429 symbol reference.
37430
f0ccf6ea
AS
374312010-05-21 Andreas Schwab <schwab@redhat.com>
37432
3d04ff3a
AS
37433 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37434 and internal_recvmmsg.
37435 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37436 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37437 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37438 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37439
f0ccf6ea
AS
37440 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37441 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37442 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37443
5b08ac57
AS
374442010-05-20 Andreas Schwab <schwab@redhat.com>
37445
37446 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37447
4828935d
LM
374482010-05-17 Luis Machado <luisgpm@br.ibm.com>
37449
37450 POWER7 optimizations.
37451 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37452 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37453
373d545e
UD
374542010-05-19 Ulrich Drepper <drepper@redhat.com>
37455
37456 * version.h: Update for 2.13 development version.
37457
21a2b1ae
AS
374582010-05-12 Andrew Stubbs <ams@codesourcery.com>
37459
37460 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37461 exceptions. Return 0.
37462
3f7dcb2b
RM
374632010-05-07 Roland McGrath <roland@redhat.com>
37464
37465 * elf/ldconfig.c (main): Add a const.
37466
5f24d53a 374672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37468
a160f8d8
UD
37469 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37470 (args_options): Add no-idn option.
37471 (ahosts_keys_int): Add idn_flags to ai_flags.
37472 (parse_option): Handle 'i' option to clear idn_flags.
37473
5f24d53a
UD
37474 * malloc/malloc.c (_int_free): Possible race in the most recently
37475 added check. Only act on the data if no current modification
37476 happened.
265bb1ce
UD
37477
37478See ChangeLog.17 for earlier changes.