]> sourceware.org Git - glibc.git/blame - ChangeLog
manual/memory.texi: Bring aligned allocation docs up to date.
[glibc.git] / ChangeLog
CommitLineData
0a096e44
WN
12013-12-16 Will Newton <will.newton@linaro.org>
2
3 * manual/memory.texi (Malloc Examples): Clarify default
4 alignment documentation. Suggest posix_memalign rather
5 than memalign or valloc.
6 (Aligned Memory Blocks): Remove suggestion to use memalign
7 or valloc. Remove obsolete comment about BSD.
8 Document memalign errno values and mark the function obsolete.
9 Document posix_memalign returned error codes. Mark valloc
10 as obsolete. (Hooks for Malloc): __memalign_hook is also
11 called for posix_memalign and valloc.
12 (Summary of Malloc): Add posix_memalign to function summary.
13 __memalign_hook is also called for posix_memalign and valloc.
14
8d561986
SP
152013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16
17 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18 TAYLOR_SIN.
19 (__sin): Adjust.
20 (__cos): Likewise.
21 (sloww): Use mynumber union. Expand ternary operator into
22 if-else statements.
23 (cslow): use mynumber union.
24
73616a74
AM
252013-12-16 Allan McRae <allan@archlinux.org>
26
9e8ac24b
AM
27 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28 * configure: Regenerated.
29
6f8e37eb
AM
30 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
31
8894bad3
AM
32 [BZ #14120]
33 * configure.ac: Added --enable-maintainer-mode. Check for
34 autoconf when enabled.
35 * configure: Regenerated.
36
73616a74
AM
37 * nscd/nscd.service: New file.
38 * nscd/nscd.tmpfiles: New file.
39
584b18eb
OB
402013-12-14 Ondřej Bílka <neleai@seznam.cz>
41
42 [BZ #12100]
43 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
44 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
45 * sysdeps/x86_64/multiarch/strstr.c: ... here.
46 (strstr): Add __strstr_sse2_unaligned ifunc.
47 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
49 (strcasestr): Remove __strcasestr_sse42 ifunc.
50 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
51 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53
8a5c7897
KK
542013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55
56 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
57 * sysdeps/sh/bits/fenv.h: ... here.
58 * sysdeps/sh/sh4/fpu/bits: Remove directory.
59
fd712ef3
AZ
602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61
62 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
63
42fcb46c
AZ
642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65
66 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
67 hypotf multiarch implementations.
68 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
69 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
70 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
71 multiarch hypot for PPC64.
72 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
73 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
74 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
75 multiarch hypotf for PPC64.
76
83efded4
AZ
772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78
79 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
80 modff multiarch implementations.
81 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
82 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
83 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
84 multiarch modf for PPC64.
85 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
86 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
87 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
88 multiarch modff for PPC64.
89
43e246d2
AZ
902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91
92 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
93 and logl multiarch implementations.
94 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
95 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
96 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
97 multiarch logb for PPC64.
98 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
99 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
101 multiarch logb for PPC64.
102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
105 multiarch logb for PPC64.
106
8fdad123
AZ
1072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
108
109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
110 isinff multiarch implementation.
111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
112 file.
113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
115 multiarch isinf for PPC64.
116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
117 file.
118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
119 multiarch isinff for PPC64.
120
1481d706
AZ
1212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
122
123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
124 finitef multiarch implementation.
125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
126 file.
127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
129 multiarch finite for PPC64.
130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
131 file.
132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
133 multiarch finitef for PPC64.
134
5ccd5fc8
AZ
1352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
136
137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
138 lrint multiarch implementation.
139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
140 file.
141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
143 multiarch llrint for PPC64.
144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
145 multiarch lrint for PPC64.
146
2568f3fa
AZ
1472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
148
149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
150 copysignf multiarch implementation.
151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
152 file.
153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
154 file.
155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
156 multiarch copysign for PPC64.
157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
158 multiarch copysignf for PPC64.
159
1cb341fd
AZ
1602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
161
162 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
163 multiarch implementation.
164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
165 file.
166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
167 file.
168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
169 file.
170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
171 file.
172 multiarch llround for PPC64.
173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
174 multiarch trunc for PPC64.
175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
176 multiarch truncf for PPC64.
177
59a3e194
AZ
1782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
179
180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
181 multiarch implementation.
182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
183 file.
184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
185 file.
186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
187 file.
188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
189 file.
190 multiarch llround for PPC64.
191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
192 multiarch round for PPC64.
193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
194 multiarch roundf for PPC64.
195
357fd3b4
AZ
1962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
197
198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
199 multiarch implementation.
200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
201 file.
202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
203 file.
204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
205 file.
206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
207 file.
208 multiarch llround for PPC64.
209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
210 multiarch floor for PPC64.
211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
212 multiarch floorf for PPC64.
213
96770f12
AZ
2142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
215
216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
217 multiarch implementation.
218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
219 file.
220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
221 file.
222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
223 file.
224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
225 file.
226 multiarch llround for PPC64.
227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
228 multiarch ceil for PPC64.
229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
230 multiarch ceilf for PPC64.
231
c3627f6e
AZ
2322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
233
234 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
235 multiarch implementation.
236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
237 file.
238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
239 file.
240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
241 file.
242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
243 multiarch llround for PPC64.
244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
245 multiarch lround for PPC64.
246
b2284ad7
AZ
2472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
248
249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
250 multiarch implementation.
251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
254 file.
255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
258 multiarch isnan for PPC64.
259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
260 multiarch isnanf for PPC64.
261
69bbc63d
AZ
2622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
263
264 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
265 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
266 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
267 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
268 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
270
c24517c9
AZ
2712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
272
273 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
274 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
275 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
277
a52374e8
AZ
2782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
279
280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
281 multiarch implementations.
282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
283 (__libc_ifunc_impl_list): Likewise.
284 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
285 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
286 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
287 multiarch stpcpy for PPC64.
288
7f5ec113
AZ
2892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
290
291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
292 multiarch implementations.
293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
294 (__libc_ifunc_impl_list): Likewise.
295 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
296 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
297 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
298 multiarch strcpy for PPC64.
299
e28bcd42
AZ
3002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
301
302 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
303 redefine function name.
304 (_wordcopy_fwd_dest_aligned): Likewise.
305 (_wordcopy_bwd_aligned): Likewise.
306 (_wordcopy_bwd_dest_aligned): Likewise.
307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
308 multiarch implementations.
309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
310 (__libc_ifunc_impl_list): Likewise.
311 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
312 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
313 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
314 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
315 multiarch wcscpy for PPC64.
316
92cacfce
AZ
3172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
318
319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
320 multiarch implementations.
321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
322 (__libc_ifunc_impl_list): Likewise.
323 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
324 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
325 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
326 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
327 multiarch wcscpy for PPC64.
328
7b714620
AZ
3292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330
331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
332 multiarch implementations.
333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
334 (__libc_ifunc_impl_list): Likewise.
335 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
336 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
337 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
338 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
339 multiarch wcsrchr for PPC64.
340
16fd2ae3
AZ
3412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
342
343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
344 multiarch implementations.
345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
346 (__libc_ifunc_impl_list): Likewise.
347 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
348 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
349 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
350 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
351 multiarch wcschr for PPC64.
352
9ee2969b
AZ
3532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
354
355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
356 multiarch implementations.
357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
358 (__libc_ifunc_impl_list): Likewise.
359 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
360 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
361 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
362 multiarch strchrnul for PPC64.
363
372dc060
AZ
3642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
365
366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
367 implementations.
368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
369 (__libc_ifunc_impl_list): Likewise.
370 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
371 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
372 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
373 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
374 strchr for PPC64.
375
24c2c3b9
AZ
3762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
377
378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
379 implementations.
380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
381 (__libc_ifunc_impl_list): Likewise.
382 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
383 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
384 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
385 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
386 strncmp for PPC64.
387
1c92d9a0
AZ
3882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
389
390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
391 multiarch implementations.
392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
393 (__libc_ifunc_impl_list): Likewise.
394 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
395 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
396 strncasecmp for PPC64.
397 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
398 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
399 multiarch strncasecmp_l for PPC64.
400
17de3ee3
AZ
4012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
402
403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
404 multiarch implementations.
405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
406 (__libc_ifunc_impl_list): Likewise.
407 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
408 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
409 multiarch strcasecmp for PPC64.
410 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
411 file.
412 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
413 multiarch strcasecmp_l for PPC64.
414
62982bf9
AZ
4152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
416
417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
418 implementations.
419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
420 (__libc_ifunc_impl_list): Likewise.
421 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
422 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
423 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
424 strnlen for PPC64.
425
a65f4904
AZ
4262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
427
428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
429 implementations.
430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
431 (__libc_ifunc_impl_list): Likewise.
432 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
433 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
434 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
435 strlen for PPC64.
436
1fd005ad
AZ
4372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
438
439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
440 implementations.
441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
442 (__libc_ifunc_impl_list): Likewise.
443 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
444 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
445 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
446 rawmemrchr for PPC64.
447
cd05ba91
AZ
4482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449
450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
451 implementation.
452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
453 (__libc_ifunc_impl_list): Likewise.
454 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
455 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
456 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
457 memrchr for PPC64.
458
870f8676
AZ
4592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
460
461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
462 implementation.
463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
464 (__libc_ifunc_impl_list): Likewise.
465 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
466 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
467 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
468 memchr for PPC64.
469
f00be62b
AZ
4702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
471
472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
473 implementation.
474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
475 (__libc_ifunc_impl_list): Likewise.
476 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
477 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
478 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
479 mempcpy for PPC64.
480
8a29a3d0
AZ
4812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
482
483 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
484 avoid cretion of __bzero symbol.
485 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
486 Likewise.
487 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
488 Likewise.
489 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
490 Likewise.
491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
492 multiarch implementations.
493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
494 (__libc_ifunc_impl_list): Likewise.
495 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
496 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
497 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
498 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
499 bzero for PPC32.
500 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
501 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
502 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
503 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
504 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
505 memset for PPC64.
506 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
507
07253fcf
AZ
5082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
509
510 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
512 implementations.
513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
514 (__libc_ifunc_impl_list): Likewise.
515 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
516 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
517 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
518 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
519 memcmp for PPC64.
520
b5beafbc
AZ
5212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
522
523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
524 multiarch for POWER/PPC64.
525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
526 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
527 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
528 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
529 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
530 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
531 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
532 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
533 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
534 memcpy for PPC64.
535
5e6a4d4b
AZ
5362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
537
538 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
539 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
540 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
541 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
542 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
543 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
544 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
545 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
546 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
547 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
548 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
549 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
550 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
551 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
552 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
560
ddfab6dc
KK
5612013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
562
563 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
564
19b5525e
SP
5652013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
566
567 * benchtests/Makefile (bench): Add exp2 and log2.
568 (LDLIBS-bench-exp2): Add -lm.
569 (LDLIBS-bench-log2): Likewise.
570 * benchtests/exp2-inputs: New inputs file.
571 * benchtests/log2-inputs: New inputs file.
572 * benchtests/log-inputs: Add new inputs.
573 * benchtests/tan-inputs: Likewise.
574
196f7f5d
SP
5752013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
576
7a74607f
SP
577 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
578 definition...
579 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
580 csloww1, csloww2): ... from here.
581
196f7f5d
SP
582 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
583 instead of structures.
584 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
585 (POLYNOMIAL): Likewise.
586 (TAYLOR_SLOW): Likewise.
587 (__sin): Likewise.
588 (__cos): Likewise.
589 (slow1): Likewise.
590 (slow2): Likewise.
591 (sloww): Likewise.
592 (sloww1); Likewise.
593 (sloww2): Likewise.
594 (bsloww1): Likewise.
595 (bsloww2): Likewise.
596 (cslow2): Likewise.
597 (csloww): Likewise.
598 (csloww1): Likewise.
599 (csloww2): Likewise.
600
0dfa665c
OB
6012013-12-10 Ondřej Bílka <neleai@seznam.cz>
602
603 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
604 (__malloc_assert, __libc_realloc, __libc_calloc,
605 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
606 memcpy and memset.
607 * malloc/hooks.c (realloc_check): Likewise.
608
5782a80f
OB
6092013-12-10 Ondřej Bílka <neleai@seznam.cz>
610
611 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
612 * malloc/arena.c: Remove PER_THREAD conditional.
613 [!PER_THREAD]: Remove code.
614 (ptmalloc_unlock_all2): Likewise.
615 (ptmalloc_init): Likewise.
616 (_int_new_arena): Likewise.
617 (arena_get2): Likewise.
618 * malloc/hooks.c (__malloc_get_state): Likewise.
619 (__malloc_set_state): Likewise.
620 * malloc/malloc.c: Likewise.
621 (struct malloc_state): Likewise.
622 (struct malloc_par): Likewise.
623 (__libc_realloc): Likewise.
624 (__libc_mallopt): Likewise.
625
aeb95445
AZ
6262013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
627
628 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
629
e8349efd
OB
6302013-12-09 Ondřej Bílka <neleai@seznam.cz>
631
632 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
633 macro to a function. Check for zero perturb_byte.
634 (_int_malloc, _int_free): Remove zero perturb_byte checks.
635
f3eeb3fc
OB
6362013-12-09 Ondřej Bílka <neleai@seznam.cz>
637
638 * malloc/malloc.c: (force_reg): Remove.
639 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
640 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
641 force_reg by atomic_forced_read.
642 * malloc/arena.c (ptmalloc_init): Likewise.
643 * malloc/hooks.c (top_check): Likewise.
644
be2f9009
AZ
6452013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
646
647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
648
e7b914bd
MT
6492013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
650
651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
652
9f0be4f8
JM
6532013-12-08 Joseph Myers <joseph@codesourcery.com>
654
655 * math/auto-libm-test-in: Add tests of lgamma.
656 * math/auto-libm-test-out: Regenerated.
657 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
658 (M_LOG_2_SQRT_PIl): Likewise.
659 (lgamma_test_data): Use AUTO_TESTS_f_f1.
660 * math/gen-auto-libm-tests.c (func_calc_method): Add value
661 mpfr_f_f1.
662 (func_calc_desc): Add mpfr_f_f1 union field.
663 (ARGS1): New macro.
664 (ARGS2): Likewise.
665 (ARGS3): Likewise.
666 (ARGS4): Likewise.
667 (RET1): Likewise.
668 (RET2): Likewise.
669 (CALC): Likewise.
670 (FUNC): Likewise.
671 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
672 (test_functions): Add lgamma.
673 (calc_generic_results): Handle mpfr_f_f1.
674 * sysdeps/i386/fpu/libm-test-ulps: Update.
675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
676
24eeafdb
AZ
6772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
678
679 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
680 __mpn_add_n for PowerPC64/POWER7.
681 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
682 __mpn_sub_n for PowerPC64/POWER7.
683
4a2c0fd4
AZ
6842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
685
686 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
687 __mpn_addmul_1 for PowerPC64.
688 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
689 __mpn_submul_1 for PowerPC64.
690 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
691 for PowerPC64.
692 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
693 for PowerPC64.
694
4b5b548c
FS
6952013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
696
697 [BZ #15089]
698 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
699
0a3ac0aa
AZ
7002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
701
702 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
703
ccdc8438
AZ
7042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
705
706 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
707 add multiarch folders.
708 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
709 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
710 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
711 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
712 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
713 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
714 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
715 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
716 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
717 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
718 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
725
2e973d99
AZ
7262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
727
728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
729 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
731 New file.
732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
733 New file.
734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
735 multiarch __ieee754_hypot for PowerPC32.
736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
737 New file.
738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
739 New file.
740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
741 multiarch __ieee754_hypotf for PowerPC32.
742
2d9470b2
AZ
7432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
744
745 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
746 long_double_symbol only if __logbl is defined.
747 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
748 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
749 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
750 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
751 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
752 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
753 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
754 path for implementation.
755 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
756 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
758 logb, and logbl multiarch implementations for PowerPC32.
759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
760 file.
761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
762 file.
763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
764 multiarch logb for PowerPC32.
765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
766 file.
767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
768 file.
769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
770 multiarch logbf for PowerPC32.
771 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
773 file.
774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
775 multiarch logbl implementation for PowerPC32.
776
5212ffce
AZ
7772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
778
779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
780 and modff multiarch implementations.
781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
782 New file.
783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
784 New file.
785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
786 multiarch modf for PowerPC32.
787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
788 New file.
789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
790 New file.
791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
792 multiarch modff for PowerPC32.
793
79dccf31
AZ
7942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
795
796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
797 and lrintf multiarch implementations.
798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
799 New file.
800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
801 New file.
802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
803 multiarch lrint for PowerPC32.
804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
805 file: multiarch lrintf for PowerPC32.
806
deb66480
AZ
8072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
808
809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
810 and lroundf multiarch implementations.
811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
812 New file.
813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
814 New file.
815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
816 New file.
817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
818 multiarch lround for PowerPC32.
819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
820 file: multiarch lroundf for PowerPC32.
821
264b036b
AZ
8222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
823
824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
825 copysign and copysignf multiarch implementations.
826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
827 New file.
828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
829 New file.
830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
831 file: multiarch copysign for PowerPC32.
832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
833 file: multiarch copysignf for PowerPC32.
834
d47db6c9
AZ
8352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
836
837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
838 and truncf multiarch implementations.
839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
840 New file.
841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
842 file.
843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
844 multiarch trunc for PowerPC32.
845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
846 New file.
847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
848 New file.
849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
850 multiarch truncf for PowerPC32.
851
ddb60b5a
AZ
8522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
853
854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
855 and roundf multiarch implementations.
856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
857 New file.
858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
859 file.
860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
861 multiarch round for PowerPC32.
862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
863 New file.
864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
865 New file.
866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
867 multiarch roundf for PowerPC32.
868
bedcf49b
AZ
8692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
870
871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
872 and floorf multiarch implementations.
873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
874 New file.
875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
876 file.
877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
878 multiarch floor for PowerPC32.
879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
880 New file.
881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
882 New file.
883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
884 multiarch floorf for PowerPC32.
885
35ae5b40
AZ
8862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887
888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
889 and ceilf multiarch implementations.
890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
891 New file.
892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
893 file.
894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
895 multiarch ceil for PowerPC32.
896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
897 New file.
898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
899 file.
900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
901 multiarch ceilf for PowerPC32.
902
ae1a4cd9
AZ
9032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
904
905 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
906 is defined.
907 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
908 FINITEF is defined.
909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
910 and finitef multiarch implementations.
911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
912 New file.
913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
914 file.
915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
916 multiarch finite for PowerPC32.
917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
918 New file.
919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
920 file: multiarch finitef for PowerPC32.
921
64fffd65
AZ
9222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
923
924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
925 and isinff multiarch implementations.
926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
927 file.
928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
929 file.
930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
931 multiarch isinf for PowerPC32.
932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
933 New file.
934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
935 multiarch isinff for PowerPC32.
936
8e4e7ba2
AZ
9372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
938
939 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
940 alias when __isnan is defined.
941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
942 and isnanf multiarch implementations.
943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
944 file.
945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
946 file.
947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
948 file.
949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
950 file.
951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
952 multiarch isnan for PowerPC32.
953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
954 New file.
955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
956 New file.
957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
958 multiarch isnanf for PowerPC32.
959
ddba588e
AZ
9602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
961
962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
963 and sqrtf multiarch implementations.
964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
965 file.
966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
967 file.
968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
969 multiarch sqrt for PowerPC32.
970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
971 file.
972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
973 file.
974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
975 multiarch sqrtf for PowerPC32.
976
0f96a2f0
AZ
9772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
978
979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
980 and llroundf multiarch implementations.
981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
982 New file.
983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
984 New file.
985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
986 New file.
987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
988 file: multiarch llround for PowerPC32.
989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
990 file: multiarch llroundf for PowerPC32.
991
c9b5d79e
AZ
9922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
993
994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
995 multiarch PowerPC32 fpu implementations.
996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
997 New file.
998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
999 New file.
1000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1001 multiarch llrint for PowerPC32.
1002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1003 New file.
1004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1005 New file.
1006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1007 file.
1008
9cbb3aab
AZ
10092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1010
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1012
ea5a72f8
AZ
10132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1014
1015 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1016 file.
1017 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1018 file.
1019 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1020 file.
1021 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1022 multiarch wordcopy for PPC32.
1023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1024 wordcopy objects.
1025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1026 (__libc_ifunc_impl_list): Likewise.
1027 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1028 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1029 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1030 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1031 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1032 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1033
93be09e7
AZ
10342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1035
1036 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1038 file.
1039 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1040 file.
1041 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1042 file.
1043 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1044 multiarch wcscpy for PPC32.
1045 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1046 multiarch objects.
1047 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1048 (__libc_ifunc_impl_list): Likewise.
1049 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1050 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1051 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1052 sysdeps/powerpc/power6/wcscpy.c.
1053
bb04e529
AZ
10542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1055
1056 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1058 file.
1059 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1060 file.
1061 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1062 file.
1063 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1064 multiarch wcsrchr for PPC32.
1065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1066 multiarch objects.
1067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1068 (__libc_ifunc_impl_list): Likewise.
1069 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1070 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1071 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1072 sysdeps/powerpc/power6/wcsrchr.c.
1073
05b5cd1c
AZ
10742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1075
1076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1077 file.
1078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1079 file.
1080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1082 multiarch wcschr for PPc32.
1083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1084 multiarch objects.
1085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1086 (__libc_ifunc_impl_list): Likewise.
1087 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1088 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1089 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1090 sysdeps/powerpc/power6/wcschr.c.
1091
ba964147
AZ
10922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1093
1094 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1095 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1096 file.
1097 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1098 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1099 file: multiarch strchr for PPC32.
1100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1101 multiarch objects.
1102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1103 (__libc_ifunc_impl_list): Likewise.
1104
31c81aaa
AZ
11052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1106
1107 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1108 name.
1109 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1110 file.
1111 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1112 file.
1113 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1114 multiarch strchrnul for PPC32.
1115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1116 multiarch objects.
1117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1118 (__libc_ifunc_impl_list): Likewise.
1119
0d0607d9
AZ
11202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1121
1122 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1123 file.
1124 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1125 multiarch strncasecmp for PPC32.
1126 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1127 file.
1128 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1129 multiarch strncasecmp_l for PPC32.
1130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1131 strncasecmp multiarch objects.
1132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1133 (__libc_ifunc_impl_list): Likewise.
1134
4dfd5c86
AZ
11352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1136
1137 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1138 file.
1139 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1140 multiarch strncasecmp for PPC32.
1141 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1142 New file.
1143 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1144 multiarch strcasecmp_l for PPC32.
1145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1146 multiarch objects.
1147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1148 (__libc_ifunc_impl_list): Likewise.
1149
a19e01a3
AZ
11502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1151
1152 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1153 file.
1154 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1155 file.
1156 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1157 multiarch strncmp for PPC32.
1158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1159 multiarch objects.
1160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1161 (__libc_ifunc_impl_list): Likewise.
1162
ae9cf7a2
AZ
11632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1164
1165 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1166 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1167 file.
1168 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1169 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1171 multiarch objects.
1172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1173 (__libc_ifunc_impl_list): Likewise.
1174
3148bb7d
AZ
11752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1176
1177 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1178 file.
1179 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1180 file.
1181 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1183 multiarch objects.
1184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1185 (__libc_ifunc_impl_list): Likewise.
1186
7af8b946
AZ
11872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188
1189 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1190 file.
1191 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1192 file.
1193 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1194 multiarch rawmemchr for PPC32.
1195 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1196 multiarch objects.
1197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1198 (__libc_ifunc_impl_list): Likewise.
1199
03a6aa6a
AZ
12002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1201
1202 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1203 file.
1204 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1205 file.
1206 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1207 file: memrchr multiarch for PPC32.
1208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1209 multiarch objects.
1210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1211 (__libc_ifunc_impl_list): Likewise.
1212
1c62e6d9
AZ
12132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1214
1215 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1216 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1217 file.
1218 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1219 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1220 multiarch memchr for PPC32.
1221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1222 multiarch objects.
1223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1224 (__libc_ifunc_impl_list): Likewise.
1225
87da8bdb
AZ
12262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1227
1228 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1229 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1230 file.
1231 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1232 file.
1233 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1234 file: multiarch mempcpy for PPC32.
1235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1236 multiarch objects.
1237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1238 (__libc_ifunc_impl_list): Likewise.
1239
20ed4714
AZ
12402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1241
1242 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1243 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1244 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1245 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1246 multiarch bzero for PPC32.
1247 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1248 file.
1249 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1250 file.
1251 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1252 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1253 file: multiarch memset for PPC32.
1254 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1256 memset multiarch objects.
1257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1258 (__libc_ifunc_impl_list): Likewise.
1259
ab3e3a46
AZ
12602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1261
1262 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1263 file.
1264 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1265 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1266 memcmp for PPC32.
1267 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1269 multiarch objects.
1270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1271 (__libc_ifunc_impl_list): Likewise.
1272
930de6f0
AZ
12732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1274
1275 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1276 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1277 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1278 file.
1279 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1280 file.
1281 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1282 file.
1283 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1284 multiarch memcpy for PPC32.
1285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1286 multiarch objects.
1287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1288 (__libc_ifunc_impl_list): Likewise.
1289
4c628e00
AZ
12902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1291
1292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1293 support multiarch for POWER/PPC32.
1294 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1295 Likewise.
1296 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1298 Implies file to make multiarch folder appers before the fpu and
1299 default folder for power4 configuration.
1300
f4479220
SP
13012013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1302
1303 * scripts/bench.pl: Append volatile keyword to type.
1304
8517800f
KK
13052013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1306
1307 * sysdeps/sh/sotruss-lib.c: New file.
1308 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1309
180138f1
AZ
13102013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311
1312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1313
bbf37bdc
JM
13142013-12-05 Joseph Myers <joseph@codesourcery.com>
1315
e47cc4e0
JM
1316 [BZ #6810]
1317 * math/w_tgamma.c: Include <errno.h>.
1318 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1319 * math/w_tgammaf.c: Include <errno.h>.
1320 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1321 * math/w_tgammal.c: Include <errno.h>.
1322 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1323 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1324 underflow. Add more tgamma tests.
1325 * math/auto-libm-test-out: Regenerated.
1326 * sysdeps/i386/fpu/libm-test-ulps: Update.
1327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1328
bbf37bdc
JM
1329 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1330 sin, sinh, tan, tanh, tgamma, y0 and y1.
1331 * math/auto-libm-test-out: Regenerated.
1332 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1333 (TEST_COND_x86): Likewise.
1334 (M_E2l): Remove macro.
1335 (M_E3l): Likewise.
1336 (M_2_SQRT_PIl): Likewise.
1337 (M_SQRT_PIl): Likewise.
1338 (M_1_DIV_El): Likewise.
1339 (log_test_data): Use AUTO_TESTS_f_f.
1340 (log10_test_data): Likewise.
1341 (log1p_test_data): Likewise.
1342 (log2_test_data): Likewise.
1343 (sin_test_data): Likewise.
1344 (sin_tonearest_test_data): Likewise.
1345 (sin_towardzero_test_data): Likewise.
1346 (sin_downward_test_data): Likewise.
1347 (sin_upward_test_data): Likewise.
1348 (sinh_test_data): Likewise.
1349 (sinh_tonearest_test_data): Likewise.
1350 (sinh_towardzero_test_data): Likewise.
1351 (sinh_downward_test_data): Likewise.
1352 (sinh_upward_test_data): Likewise.
1353 (tan_test_data): Likewise.
1354 (tan_tonearest_test_data): Likewise.
1355 (tan_towardzero_test_data): Likewise.
1356 (tan_downward_test_data): Likewise.
1357 (tan_upward_test_data): Likewise.
1358 (tanh_test_data): Likewise.
1359 (tgamma_test_data): Likewise.
1360 (y0_test_data): Likewise.
1361 (y1_test_data): Likewise.
1362 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1363 (special_real_inputs): Add pi/4.
1364 * sysdeps/i386/fpu/libm-test-ulps: Update.
1365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1366
eb5ad6b9
AZ
13672013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1368
1369 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1370 "longjmp_target" static probes.
1371 (__longjmp): Rename to __longjmp_symbol.
1372 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1373 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1374 on which longjmp to generate.
1375 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1376 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1377 probe.
1378 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1379 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1380 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1381 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1382 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1383 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1385 __longjmp_symbol based on which __longjmp to generate.
1386 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1387 probe.
1388 (setjmp): Rename to setjmp_symbol.
1389 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1390 (_setjmp): Rename to _setjmp_symbol.
1391 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1392 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1393 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1394 which setjmp to generate.
1395 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1396 "longjmp_target" static probes.
1397
d136c6dc
SP
13982013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1399
9298ecba
SP
1400 * benchtests/README: Add note about output arguments.
1401 * benchtests/bench-sincos.c: Remove file.
1402 * benchtests/sincos-inputs: New file.
1403 * scripts/bench.pl: Identify output arguments and define
1404 static variables for them.
1405
232983e9
SP
1406 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1407
d136c6dc
SP
1408 [BZ #15941]
1409 * Makefile (INSTALL): Add install-plain.texi as the primary
1410 dependency.
1411 * manual/install-plain.texi: New file.
1412 * manual/install.texi: Include node directive only for
1413 non-plaintext output.
1414
699ff837
JM
14152013-12-04 Joseph Myers <joseph@codesourcery.com>
1416
ab07cea8
JM
1417 * stdlib/longlong.h: Update from GCC.
1418
699ff837
JM
1419 [BZ #6807]
1420 [BZ #15901]
1421 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1422 * math/w_j0f.c (y0f): Likewise.
1423 * math/w_j0l.c (__y0l): Likewise.
1424 * math/w_j1.c (y1): Likewise.
1425 * math/w_j1f.c (y1f): Likewise.
1426 * math/w_j1l.c (__y1l): Likewise
1427 * math/w_jn.c (yn): Likewise.
1428 * math/w_jnf.c (ynf): Likewise.
1429 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1430 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1431 value for Bessel function domain errors outside _SVID_ mode.
1432 Adjust sign of return value for yn (negative integer, 0).
1433 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1434 by zero in return for negative x and set sign appropriately for
1435 negative n.
1436 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1437 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1438 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1439 expectations in error cases.
1440 (y1_test_data): Likewise.
1441 (yn_test_data): Likewise.
1442 * sysdeps/i386/fpu/libm-test-ulps: Update.
1443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1444
5b118558
UW
14452013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1446
1447 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1448 "64" to "64-v1". Add "64-v2".
1449 (abi-64-options): Rename to ...
1450 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1451 (abi-64-condition): Rename to ...
1452 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1453 (abi-64-ld-soname): Rename to ...
1454 (abi-64-v1-ld-soname): ... this.
1455 (abi-64-v2-options): Define.
1456 (abi-64-v2-condition): Likewise.
1457 (abi-64-v2-ld-soname): Likewise.
1458 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1459 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1463
61cd8fe4
UW
14642013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1465 Alan Modra <amodra@gmail.com>
1466
1467 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1468 New versions for use with the ELFv2 ABI.
1469 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1470 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1471 declaration.
1472 (struct La_ppc64v2_retval): Likewise.
1473 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1474 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1475 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1476 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1477 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1478 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1479 Do not save or restore CR.
1480 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1481 (_dl_profile_resolve): Do no save or restore CR. Support extended
1482 return values for ELFv2 ABI. Fix location of FPR return registers.
1483 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1484 updated values for _CALL_ELF == 2.
1485 (La_regs, La_retval, int_retval): Likewise.
1486
8b8a692c
UW
14872013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1488
1489 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1490 (FRAME_MIN_SIZE_PARM): Likewise.
1491 (FRAME_BACKCHAIN): Likewise.
1492 (FRAME_CR_SAVE): Likewise.
1493 (FRAME_LR_SAVE): Likewise.
1494 (FRAME_TOC_SAVE): Likewise.
1495 (FRAME_PARM_SAVE): Likewise.
1496 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1497 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1498 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1499 (call_mcount_parm_offset): New macro.
1500 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1501 (PROF): Use symbolic stack frame offsets.
1502 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1503 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1504 Redefine in terms of FRAME_MIN_SIZE.
1505 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1506 (_dl_profile_resolve): Likewise. Update comment.
1507 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1508 symbols stack frame offsets.
1509 (__sigsetjmp): Likewise.
1510 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1511 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1512 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1513 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1514
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1516 (FRAME_BACKCHAIN): Remove.
1517 (FRAME_CR_SAVE): Likewise.
1518 (FRAME_LR_SAVE): Likewise.
1519 (FRAME_COMPILER_DW): Likewise.
1520 (FRAME_LINKER_DW): Likewise.
1521 (FRAME_TOC_SAVE): Likewise.
1522 (FRAME_PARM_SAVE): Likewise.
1523 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1524 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1525 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1527 (CHECK_SP): Use symbolic stack frame offsets.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1529 zone" instead of caller's parameter save area for temp storage.
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1531 Likewise. Also, use symbolic stack frame offsets.
1532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1533 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1534 our own stack frame instead of the caller's.
1535 (__socket): Use symbolic stack frame offsets.
1536
122b66de
UW
15372013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1538 Alan Modra <amodra@gmail.com>
1539
1540 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1541 Define.
1542 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1543 PPC64_LOCAL_ENTRY_OFFSET): Define.
1544 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1545 New function.
1546 (elf_machine_fixup_plt): Call it.
1547 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1548 reloc arguments.
1549 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
1550 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1551 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
1552 r2 before calling target.
1553
696caf1d
UW
15542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1555 Alan Modra <amodra@gmail.com>
1556
1557 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1558 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1559 versions of macros to support ELFv2 ABI.
1560 (LOCALENTRY): New macro.
1561 (ENTRY, EALIGN): Use it.
1562 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1563 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1564 fall through into ENTRY entry point.
1565 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1566 Only define if _CALL_ELF != 2.
1567
1568 (elf_machine_matches_host): Verify ABI version matches.
1569 (RTLD_START): Use LOCALENTRY.
1570 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1571 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1572 (PLT_ENTRY_WORDS): New macro.
1573 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1574 (elf_machine_runtime_setup): Support ELFv2 ABI.
1575 (elf_machine_fixup_plt): Likewise.
1576 (elf_machine_plt_conflict): Likewise.
1577 (resolve_ifunc): Likewise.
1578 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1579 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1580 Likewise.
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1582 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1584 (makecontext): Support ELFv2 ABI.
1585 * elf/elf.h (EF_PPC64_ABI): Define.
1586
d31beafa
UW
15872013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1588
1589 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1590 New assembler macro.
1591 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1592 [ASSEMBLER] (ENTRY): ... but instead here ...
1593 [ASSEMBLER] (EALIGN): ... and here.
1594 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1595 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1596 [!ASSEMBLER] (ENTRY_2): Use it.
1597 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1598 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1599 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1600 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1601 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1603 Use PPC64_LOAD_FUNCPTR.
1604
b525166b
UW
16052013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1606
1607 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1608
7ec07d9a
AM
16092013-12-04 Alan Modra <amodra@gmail.com>
1610
1611 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1612 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1613 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1614 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1615
1616 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1617 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1618 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1619 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1620 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1621 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1622
5162e7dd
UW
16232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1624
1625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1626 (__makecontext): Fix incorrect CFI when backtracing out of
1627 context created via makecontext.
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1629 (__setcontext): Fix incorrect CFI during switch to new context.
1630 (__novec_setcontext): Likewise.
1631
19e3372b
OB
16322013-12-04 Ondřej Bílka <neleai@seznam.cz>
1633
1634 [BZ #4772]
1635 * time/strptime_l.c (__strptime_internal): Allow modifiers
1636 in strptime.
1637 * time/tst-strptime.c (day_tests): Add testcase.
1638
1639
ecaf142d
SP
16402013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1641
1642 * scripts/bench.pl: Skip over blank lines.
1643
fbf964ae
PE
16442013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1645
1646 [BZ #926]
1647 * manual/time.texi (Calendar Time): Clarify what timezone functions
1648 use.
1649
fa60a674
AZ
16502013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651
1652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1653
d674f0ef
OB
16542013-12-04 Ondřej Bílka <neleai@seznam.cz>
1655
1656 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1657 implementation.
1658 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1659 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1660 * debug/memset_chk.c (__memset_chk): Likewise.
1661 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1662 * debug/strncpy_chk.c: Likewise.
1663
17dea188
JM
16642013-12-03 Joseph Myers <joseph@codesourcery.com>
1665
749008ff
JM
1666 [BZ #15268]
1667 [BZ #15425]
1668 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1669 (__ieee754_exp): For possibly underflowing results, check size of
1670 result and force underflow exception if required.
1671 * math/auto-libm-test-in: Add more tests of exp.
1672 * math/auto-libm-test-out: Regenerated.
1673 * sysdeps/i386/fpu/libm-test-ulps: Update.
1674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1675
17dea188
JM
1676 [BZ #16283]
1677 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1678 * math/w_exp2f.c (__exp2f): Likewise.
1679 * math/w_exp2l.c (__exp2l): Likewise.
1680 * math/auto-libm-test-in: Do not allow missing errno on exp2
1681 underflow.
1682 * math/auto-libm-test-out: Regenerated.
1683
b20de2c3
OB
16842013-12-03 Ondřej Bílka <neleai@seznam.cz>
1685
1686 [BZ #16274]
1687 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1688 handle filename validation.
1689 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1690 (do_open): Delete.
1691
d8e2dbe3
JM
16922013-12-03 Joseph Myers <joseph@codesourcery.com>
1693
34e16df5
JM
1694 [BZ #6786]
1695 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1696 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1697 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1698 <float.h>.
1699 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1700 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1701 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1702 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1703 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1704 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1705 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1706 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1707 Add more erfc tests.
1708 * math/auto-libm-test-out: Regenerated.
1709 * sysdeps/i386/fpu/libm-test-ulps: Update.
1710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1711
d8e2dbe3
JM
1712 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1713 exp2, expm1, j0 and j1.
1714 * math/auto-libm-test-out: Regenerated.
1715 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1716 (erfc_test_data): Likewise.
1717 (exp_test_data): Likewise.
1718 (exp_tonearest_test_data): Likewise.
1719 (exp_towardzero_test_data): Likewise.
1720 (exp_downward_test_data): Likewise.
1721 (exp_upward_test_data): Likewise.
1722 (exp10_test_data): Likewise.
1723 (exp2_test_data): Likewise.
1724 (expm1_test_data): Likewise.
1725 (j0_test_data): Likewise.
1726 (j1_test_data): Likewise.
1727 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1728 (input_flag_type): Add flag_xfail_rounding.
1729 (input_flags): Add xfail-rounding.
1730 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1731 (output_for_one_input_case): Handle flag_xfail_rounding.
1732 * sysdeps/i386/fpu/libm-test-ulps: Update.
1733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1734
18d14251
AJ
17352013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1736
3d2e6075 1737 [BZ #16289]
18d14251
AJ
1738 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1739 division by 0.
1740
520d437b
SP
17412013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1742
1743 [BZ #16195]
1744 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1745 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1746 (STAP_PROBE0): New macro.
1747 (STAP_PROBE1): Likewise.
1748 (STAP_PROBE2): Likewise.
1749 (STAP_PROBE3): Likewise.
1750 (STAP_PROBE4): Likewise.
1751
416e0145
OB
17522013-12-02 Ondřej Bílka <neleai@seznam.cz>
1753
1754 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1755
9d17796a
SE
17562013-12-02 Steve Ellcey <sellcey@mips.com>
1757
1758 * benchtests/Makefile (bench): Add sqrt.
1759 (LDLIBS-bench-sqrt): New.
1760 * benchtests/sqrt-input: New.
1761
f524d6a8
PS
17622013-12-02 Pavel Simerda <psimerda@redhat.com>
1763
639a0ef8
PS
1764 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1765 (GAIH_EAI): Likewise.
1766 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1767 (gaih_inet): Likewise.
1768 (getaddrinfo): Don't use GAIH_EAI.
1769
f524d6a8
PS
1770 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1771 (struct gaih): Remove definition.
1772
df3aedaf
SP
17732013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1774
1775 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1776 Use HERRNOP directly.
1777
1ab19dec
AZ
17782013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1779
b42ad38d 1780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1781
176b0c79
JM
17822013-11-30 Joseph Myers <joseph@codesourcery.com>
1783
1784 * math/gen-auto-libm-tests.c (test_functions): Add more
1785 single-argument functions.
1786 (special_fill_pi_2): New function.
1787 (special_fill_minus_pi_2): Likewise.
1788 (special_fill_pi_6): Likewise.
1789 (special_fill_minus_pi_6): Likewise.
1790 (special_fill_pi_3): Likewise.
1791 (special_fill_2pi_3): Likewise.
1792 (special_fill_e): Likewise.
1793 (special_fill_1_e): Likewise.
1794 (special_fill_e_minus_1): Likewise.
1795 (special_real_inputs): Add more special inputs.
1796 (output_for_one_input_case): Do not require ERANGE on underflow to
1797 zero if round-to-nearest result does not underflow to zero, unless
1798 exact results required.
1799 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1800 atan, atanh, cbrt, cos and cosh.
1801 * math/auto-libm-test-out: Regenerated.
1802 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1803 (acos_tonearest_test_data): Likewise.
1804 (acos_towardzero_test_data): Likewise.
1805 (acos_downward_test_data): Likewise.
1806 (acos_upward_test_data): Likewise.
1807 (acosh_test_data): Likewise.
1808 (asin_test_data): Likewise.
1809 (asin_tonearest_test_data): Likewise.
1810 (asin_towardzero_test_data): Likewise.
1811 (asin_upward_test_data): Likewise.
1812 (asinh_test_data): Likewise.
1813 (atan_test_data): Likewise.
1814 (atanh_test_data): Likewise.
1815 (cbrt_test_data): Likewise.
1816 (cos_test_data): Likewise.
1817 (cos_tonearest_test_data): Likewise.
1818 (cos_towardzero_test_data): Likewise.
1819 (cos_downward_test_data): Likewise.
1820 (cos_upward_test_data): Likewise.
1821 (cosh_test_data): Likewise.
1822 (cosh_tonearest_test_data): Likewise.
1823 (cosh_towardzero_test_data): Likewise.
1824 (cosh_downward_test_data): Likewise.
1825 (cosh_upward_test_data): Likewise.
1826 * sysdeps/i386/fpu/libm-test-ulps: Update.
1827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1828
ffb536d0
JM
18292013-11-29 Joseph Myers <joseph@codesourcery.com>
1830
2a77a467
JM
1831 [BZ #6787]
1832 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1833 * math/w_exp10f.c (__exp10f): Likewise.
1834 * math/w_exp10l.c (__exp10l): Likewise.
1835 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1836 errno settings in existing tests.
1837
ea3bc4e8
JM
1838 [BZ #14032]
1839 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1840 precision control set to double precision.
1841 * sysdeps/i386/fpu/w_sqrt.c: New file.
1842 * math/auto-libm-test-in: Add more tests.
1843 * math/auto-libm-test-out: Update.
1844
0712c9d8
JM
1845 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1846 (sqrt_test_tonearest): New function.
1847 (sqrt_towardzero_test_data): New variable.
1848 (sqrt_test_towardzero): New function.
1849 (sqrt_downward_test_data): New variable.
1850 (sqrt_test_downward): New function.
1851 (sqrt_upward_test_data): New variable.
1852 (sqrt_test_upward): New function.
1853 (main): Call the new functions.
1854
ffb536d0
JM
1855 * math/gen-auto-libm-tests.c: New file.
1856 * math/auto-libm-test-in: Likewise.
1857 * math/auto-libm-test-out: New generated file.
1858 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1859 variables.
1860 (%beautify): Add generated representations of zero.
1861 (top level): Set $auto_input and call parse_auto_input.
1862 (beautify): Remove trailing "f" from hex float constants.
1863 (parse_args): Handle XFAIL_TEST.
1864 (convert_condition): New function.
1865 (or_value): Likewise.
1866 (or_cond_value): Likewise.
1867 (generate_testfile): Handle AUTO_TESTS_* lines.
1868 (parse_auto_input): New function.
1869 * math/libm-test.inc (XFAIL_TEST): New macro.
1870 (ERRNO_UNCHANGED): Update value.
1871 (ERRNO_EDOM): Likewise.
1872 (ERRNO_ERANGE): Likewise.
1873 (IGNORE_RESULT): Likewise.
1874 (TEST_COND_flt_32): New macro.
1875 (TEST_COND_dbl_64): Likewise.
1876 (TEST_COND_ldbl_96_intel): Likewise.
1877 (TEST_COND_ldbl_96_m68k): Likewise.
1878 (TEST_COND_ldbl_128): Likewise.
1879 (TEST_COND_ldbl_128ibm): Likewise.
1880 (TEST_COND_long32): Likewise.
1881 (TEST_COND_long64): Likewise.
1882 (TEST_COND_before_rounding): Likewise.
1883 (TEST_COND_after_rounding): Likewise.
1884 (enable_test): Handle XFAIL_TEST flag.
1885 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1886 with finite results.
1887 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1888 auto-libm-test-out.
1889
acd98a8e
AK
18902013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1891 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1892
1893 [BZ #16214]
1894 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1895 __tls_get_addr_internal instead of __tls_get_offset in order to
1896 avoid GOT pointer dependency. Make rtld export
1897 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1898 __tls_get_addr since we are a __tls_get_offset platform.
1899 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1900 GOT pointer being set up before.
1901 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1902
3c1c46a6
JM
19032013-11-28 Joseph Myers <joseph@codesourcery.com>
1904
7475aef5
JM
1905 * manual/math.texi (Errors in Math Functions): Document accuracy
1906 goals.
1907
8bca7cd8
JM
1908 [BZ #15004]
1909 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1910 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1912 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1913 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1914 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1915 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1916 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1917 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1918 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1919 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1920 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1921 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1922 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1923 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1925
91a1f3fe
JM
1926 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1927 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1928 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1929 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1930 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1931 Likewise.
1932 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1933 Likewise.
1934 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1935 Likewise.
1936 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1937 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1938 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1939 atomic-feupdateenv and flt-rounds.
1940 * sysdeps/powerpc/nofpu/Versions (libc): Add
1941 __atomic_feholdexcept, __atomic_feclearexcept,
1942 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1943 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1944 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1945 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1946 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1947 here.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1949 Update.
1950
c5df7609
JM
1951 * manual/arith.texi (FP Exceptions): Document that exceptions may
1952 not be raised when matherr is used.
1953 (Math Error Reporting): Document overflow in directed rounding
1954 modes. Document that errno may not be set when finite values are
1955 returned on overflow. Document intent to set errno on underflow
1956 only for underflow to zero.
1957
3c1c46a6
JM
1958 [BZ #16271]
1959 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1960 round-to-nearest then adjust result for other rounding modes.
1961 * include/fenv.h (fegetround): Use libm_hidden_proto.
1962 * math/fegetround.c (fegetround): Use libm_hidden_def.
1963 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1964 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1965 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1966 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1967 Likewise.
1968 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1969 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1970 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1971 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1972
5a4c6d53
SP
19732013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1974
1975 [BZ #16077]
1976 * nss/Versions (libnss_files): Add
1977 _nss_files_gethostbyname3_r.
1978 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1979 New function.
1980 (HOST_DB_LOOKUP): Remove macro.
1981 (_nss_files_gethostbyname_r): Implement function without the
1982 HOST_DB_LOOKUP macro.
1983 (_nss_files_gethostbyname2_r): Likewise.
1984
897b98ba
OB
19852013-11-28 Ondřej Bílka <neleai@seznam.cz>
1986
1987 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1988
6f476861
UB
19892013-11-26 Uros Bizjak <ubizjak@gmail.com>
1990
1991 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1992 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1993 warning.
1994
bd12ab55
AZ
19952013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1996
1997 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1998 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1999 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2000 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2001 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2002 __fe_nomask_env_priv and attribute_hidden.
2003 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2004 (libc_feupdateenv_test_ppc): Likewise.
2005 (libc_feresetround_ppc): Likewise.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2007 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2008 compat_symbol macro.
2009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2010 (__fe_nomask_env): Likewise.
2011 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2012
52bb6543
OB
20132013-11-26 Ondřej Bílka <neleai@seznam.cz>
2014
2015 * string/Makefile: Remove ifunc tests.
2016 * string/test-string.h: Define TEST_IFUNC.
2017 * string/test-bcopy-ifunc.c: Remove.
2018 * string/test-bzero-ifunc.c: Likewise.
2019 * string/test-memccpy-ifunc.c: Likewise.
2020 * string/test-memchr-ifunc.c: Likewise.
2021 * string/test-memcmp-ifunc.c: Likewise.
2022 * string/test-memcpy-ifunc.c: Likewise.
2023 * string/test-memmem-ifunc.c: Likewise.
2024 * string/test-memmove-ifunc.c: Likewise.
2025 * string/test-mempcpy-ifunc.c: Likewise.
2026 * string/test-memrchr-ifunc.c: Likewise.
2027 * string/test-memset-ifunc.c: Likewise.
2028 * string/test-rawmemchr-ifunc.c: Likewise.
2029 * string/test-stpcpy-ifunc.c: Likewise.
2030 * string/test-stpncpy-ifunc.c: Likewise.
2031 * string/test-strcasecmp-ifunc.c: Likewise.
2032 * string/test-strcasestr-ifunc.c: Likewise.
2033 * string/test-strcat-ifunc.c: Likewise.
2034 * string/test-strchr-ifunc.c: Likewise.
2035 * string/test-strchrnul-ifunc.c: Likewise.
2036 * string/test-strcmp-ifunc.c: Likewise.
2037 * string/test-strcpy-ifunc.c: Likewise.
2038 * string/test-strcspn-ifunc.c: Likewise.
2039 * string/test-strlen-ifunc.c: Likewise.
2040 * string/test-strncasecmp-ifunc.c: Likewise.
2041 * string/test-strncat-ifunc.c: Likewise.
2042 * string/test-strncmp-ifunc.c: Likewise.
2043 * string/test-strncpy-ifunc.c: Likewise.
2044 * string/test-strnlen-ifunc.c: Likewise.
2045 * string/test-strpbrk-ifunc.c: Likewise.
2046 * string/test-strrchr-ifunc.c: Likewise.
2047 * string/test-strspn-ifunc.c: Likewise.
2048 * string/test-strstr-ifunc.c: Likewise.
2049
ab260039 20502013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2051
2052 * benchtests/Makefile: Remove ifunc tests.
2053 * benchtests/bench-string.h: Define TEST_IFUNC.
2054 * benchtests/bench-bcopy-ifunc.c: Remove.
2055 * benchtests/bench-bzero-ifunc.c: Likewise.
2056 * benchtests/bench-memccpy-ifunc.c: Likewise.
2057 * benchtests/bench-memchr-ifunc.c: Likewise.
2058 * benchtests/bench-memcmp-ifunc.c: Likewise.
2059 * benchtests/bench-memcpy-ifunc.c: Likewise.
2060 * benchtests/bench-memmem-ifunc.c: Likewise.
2061 * benchtests/bench-memmove-ifunc.c: Likewise.
2062 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2063 * benchtests/bench-memrchr-ifunc.c: Likewise.
2064 * benchtests/bench-memset-ifunc.c: Likewise.
2065 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2066 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2067 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2068 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2069 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2070 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2071 * benchtests/bench-strcat-ifunc.c: Likewise.
2072 * benchtests/bench-strchr-ifunc.c: Likewise.
2073 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2074 * benchtests/bench-strcmp-ifunc.c: Likewise.
2075 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2076 * benchtests/bench-strcpy-ifunc.c: Likewise.
2077 * benchtests/bench-strcspn-ifunc.c: Likewise.
2078 * benchtests/bench-strlen-ifunc.c: Likewise.
2079 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2080 * benchtests/bench-strncat-ifunc.c: Likewise.
2081 * benchtests/bench-strncmp-ifunc.c: Likewise.
2082 * benchtests/bench-strncpy-ifunc.c: Likewise.
2083 * benchtests/bench-strnlen-ifunc.c: Likewise.
2084 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2085 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2086 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2087 * benchtests/bench-strspn-ifunc.c: Likewise.
2088 * benchtests/bench-strstr-ifunc.c: Likewise.
2089
20902013-11-26 Ondřej Bílka <neleai@seznam.cz>
2091
ab260039
OB
2092 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2093
d1d9eaf4 20942013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2095
d1d9eaf4
OB
2096 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2097 * rt/aio.h: Likewise.
2098 * sysdeps/gnu/bits/utmp.h: Likewise.
2099 * sysdeps/gnu/bits/utmpx.h: Likewise.
2100 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2101 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2102 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2103 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2104 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2105 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2106 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2107 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2108 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2109 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2110 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2111 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2112 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2114 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2115 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2116 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2117 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2118 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2119 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2120 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2121 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2122 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2123 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2124 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2126 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2127 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2128 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2129 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2130 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2131 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2132 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2133 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2134 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2135 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2136 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2137 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2138 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2139 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2140 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2141 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2142
a7624ed9
CD
21432013-11-25 Carlos O'Donell <carlos@redhat.com>
2144
2145 [BZ #16245]
2146 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2147 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2148
63cfe52b
JM
21492013-11-25 Joseph Myers <joseph@codesourcery.com>
2150
2151 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2152 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2153 Likewise.
2154
41e8926a
AZ
21552013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2156
2157 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2158 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2159 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2160 (__fesetround): Remove define.
2161 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2162 rounding and exceptions handling.
2163 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2164 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2165 (__fe_nomask_env): Likewise.
2166 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2167 __fegetround instead of fegetround.
2168 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2169 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2170
6851bd4d
RM
21712013-11-21 Roland McGrath <roland@hack.frob.com>
2172
070906ff
RM
2173 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2174 it's there.
2175
6851bd4d
RM
2176 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2177
84ae135d
MI
21782013-11-21 Meador Inge <meadori@codesourcery.com>
2179
2180 [BZ #11157]
2181 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2182 (encrypt_r): Likewise.
2183 * malloc/obstack.h (obstack_free): Likewise.
2184 * posix/unistd.h (encrypt): Likewise.
2185
daf75146
GM
21862013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2187
2188 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2189 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2190 DL_CALL_DT_FINI() that call the functions directly.
2191 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2192 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2193 * elf/dl-fini.c: Likewise.
2194
10ad46bc
OB
21952013-11-20 Ondřej Bílka <neleai@seznam.cz>
2196
2197 * malloc/hooks.c (memalign_check): Add alignment rounding.
2198 * malloc/malloc.c (_mid_memalign): New function.
2199 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2200 Implement by calling _mid_memalign.
2201 * manual/probes.texi (Memory Allocation Probes): Remove
2202 memory_valloc_retry and memory_pvalloc_retry.
2203
f3fd2628
SP
22042013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2205
4712799f
SP
2206 * locale/programs/locarchive.c (open_archive): Add const
2207 qualifier to ARCHIVEFNAME and copy default fname to
2208 DEFAULT_FNAME.
2209
0417b20f
SP
2210 [BZ #15601]
2211 * libio/tst-widetext.input: Rename Oriya to Odia.
2212 * locale/iso-639.def: Likewise.
2213
f3fd2628
SP
2214 * manual/probes.texi (Mathematical Function Probes): Add
2215 documentation for sin, cos, asin and acos probes.
2216 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2217 (__sin32): Add slowasin probe.
2218 (__cos32): Add slowacos probe.
2219 (__mpsin): Add slowsin probe.
2220 (__mpcos): Add slowcos probe.
2221
73c1ce4f
JM
22222013-11-19 Joseph Myers <joseph@codesourcery.com>
2223
2224 [BZ #15483]
2225 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2226 thread-local __sim_exceptions_thread and global
2227 __sim_exceptions_global.
2228 (__sim_disabled_exceptions): Change to thread-local
2229 __sim_disabled_exceptions_thread and global
2230 __sim_disabled_exceptions_global.
2231 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2232 and global __sim_round_mode_global.
2233 (__simulate_exceptions): Use thread-local floating-point state and
2234 set global state from it as needed.
2235 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2236 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2237 __sim_round_mode_thread.
2238 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2239 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2240 and global __sim_exceptions_global.
2241 (__sim_disabled_exceptions): Change to thread-local
2242 __sim_disabled_exceptions_thread and global
2243 __sim_disabled_exceptions_global.
2244 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2245 and global __sim_round_mode_global.
2246 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2247 (SIM_SET_GLOBAL): Likewise.
2248 * sysdeps/powerpc/soft-fp/sfp-machine.h
2249 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2250 __sim_round_mode_thread.
2251 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2252 __sim_disabled_exceptions_thread.
2253 (__sim_exceptions): Change to __sim_exceptions_thread.
2254 (__sim_disabled_exceptions): Change to
2255 __sim_disabled_exceptions_thread.
2256 (__sim_round_mode): Change to __sim_round_mode_thread.
2257 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2258 thread-local floating-point state and set global state from it as
2259 needed.
2260 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2261 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2262 (__sim_disabled_exceptions): Remove extern declaration.
2263 (feenableexcept): Use thread-local floating-point state and set
2264 global state from it as needed.
2265 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2266 extern declaration.
2267 (__sim_disabled_exceptions): Likewise.
2268 (__sim_round_mode): Likewise.
2269 (__fegetenv): Use thread-local floating-point state.
2270 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2271 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2272 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2273 floating-point state and set global state from it as needed.
2274 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2275 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2276 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2277 Likewise.
2278 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2279 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2280 Likewise.
2281 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2282 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2283 Use __sim_round_mode_thread.
2284 * math/test-fenv-tls.c: New file.
2285 * math/Makefile (tests): Add test-fenv-tls.
2286 ($(objpfx)test-fenv-tls): Depend on
2287 $(common-objpfx)nptl/libpthread.so.
2288
b5449b12
AS
22892013-11-19 Andreas Schwab <schwab@suse.de>
2290
2291 * locale/programs/locale.c (show_info): Decode wordarray elements.
2292 * locale/categories.def (LC_MONETARY): Add element for
2293 _NL_MONETARY_CRNCYSTR.
2294 * locale/C-monetary.c (conversion_rate): New variable.
2295 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2296 element.
2297
e186536b
CM
22982013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2299
2300 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2301 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2302
5c349950
PP
23032013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2304
2305 * elf/Makefile (tst-auxv): New test.
2306 * elf/tst-auxv.c: New
2307 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2308
699df45b
JM
23092013-11-18 Joseph Myers <joseph@codesourcery.com>
2310
2311 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2312 (hidden_proto): Caller changed.
2313 (hidden_tls_proto): New macro.
2314 (libc_hidden_tls_proto): Likewise.
2315 (rtld_hidden_tls_proto): Likewise.
2316 (libm_hidden_tls_proto): Likewise.
2317 (libresolv_hidden_tls_proto): Likewise.
2318 (librt_hidden_tls_proto): Likewise.
2319 (libdl_hidden_tls_proto): Likewise.
2320 (libnss_files_hidden_tls_proto): Likewise.
2321 (libnsl_hidden_tls_proto): Likewise.
2322 (libnss_nisplus_hidden_tls_proto): Likewise.
2323 (libutil_hidden_tls_proto): Likewise.
2324
b7589107
OB
23252013-11-18 Ondřej Bílka <neleai@seznam.cz>
2326
2327 [BZ #10253]
2328 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2329 (decompose_rpath): Defer expansion to fillin_rpath.
2330 (_dl_init_paths): Pass linkmap to fillin_rpath.
2331
250c23bd
RS
23322013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2333
2334 * benchtests/Makefile: Add strsep.
2335 * benchtests/bench-strsep.c: New file: strsep benchtest.
2336 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2337
a7931fcf
AS
23382013-11-18 Andreas Schwab <schwab@suse.de>
2339
2340 * locale/programs/locale.c (show_info) [case byte]: Check for
2341 '\377' instead of '\177'.
2342 * locale/C-monetary.c (not_available): Always use "\377".
2343 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2344 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2345 detect unavailable sign_posn locale elements.
2346 * locale/localeconv.c (__localeconv): For grouping and
2347 mon_grouping handle "\177" and "\377" like no grouping.
2348 (INT_ELEM): New macro. Use it to set all numeric members.
2349 * locale/programs/ld-monetary.c (monetary_read)
2350 <tok_mon_grouping>: Normalize single -1 to the empty string.
2351 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2352 Likewise.
2353
728dab0e
OB
23542013-11-07 Ondřej Bílka <neleai@seznam.cz>
2355
2356 [BZ #16055]
2357 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2358 when we match (nil).
2359 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2360
66294491
JM
23612013-11-16 Joseph Myers <joseph@codesourcery.com>
2362
ce665817
JM
2363 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2364 (NO_TEST_INLINE): Update value.
2365 (ERRNO_UNCHANGED): Likewise.
2366 (ERRNO_EDOM): Likewise.
2367 (ERRNO_ERANGE): Likewise.
2368 (IGNORE_RESULT): Likewise.
2369 (check_float_internal): Check signs of NaN results if
2370 TEST_NAN_SIGN used.
2371 (check_complex): Pass TEST_NAN_SIGN flag through to second
2372 check_float_internal call.
2373 (copysign_test_data): Add tests with quiet NaNs as second
2374 argument. Use TEST_NAN_SIGN.
2375 (fabs_test_data): Add test of negative quiet NaN argument. Use
2376 TEST_NAN_SIGN.
2377 (signbit_test_data): Add tests of quiet NaN argument.
2378 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2379
ee1466a9
JM
2380 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2381 $ignore_result.
2382 (parse_args): Handle function results specified as IGNORE.
2383 * math/libm-test.inc (IGNORE_RESULT): New macro.
2384 (check_float_internal): Do not check numerical result if flag
2385 IGNORE_RESULT set.
2386 (check_complex): Pass through IGNORE_RESULT to second
2387 check_float_internal call.
2388 (check_int): Do not check numerical result if flag IGNORE_RESULT
2389 set.
2390 (check_long): Likewise.
2391 (check_bool): Likewise.
2392 (check_longlong): Likewise.
2393 (lrint_test_data): Add tests of infinite and NaN arguments.
2394 (lrint_tonearest_test_data): Likewise.
2395 (lrint_towardzero_test_data): Likewise.
2396 (lrint_downward_test_data): Likewise.
2397 (lrint_upward_test_data): Likewise.
2398 (llrint_test_data): Likewise.
2399 (llrint_tonearest_test_data): Likewise.
2400 (llrint_towardzero_test_data): Likewise.
2401 (llrint_downward_test_data): Likewise.
2402 (llrint_upward_test_data): Likewise.
2403 (lround_test_data): Likewise.
2404 (llround_test_data): Likewise.
2405
14407b7e
JM
2406 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2407 (ERRNO_UNCHANGED): Update value.
2408 (ERRNO_EDOM): Likewise.
2409 (ERRNO_ERANGE): Likewise.
2410 (NO_TEST_INLINE_FLOAT): New macro.
2411 (NO_TEST_INLINE_DOUBLE): Likewise.
2412 (enable_test): New function.
2413 (RUN_TEST_f_f): Check enable_test before running test.
2414 (RUN_TEST_2_f): Likewise.
2415 (RUN_TEST_fff_f): Likewise.
2416 (RUN_TEST_c_f): Likewise.
2417 (RUN_TEST_f_f1): Likewise.
2418 (RUN_TEST_fF_f1): Likewise.
2419 (RUN_TEST_fI_f1): Likewise.
2420 (RUN_TEST_ffI_f1): Likewise.
2421 (RUN_TEST_c_c): Likewise.
2422 (RUN_TEST_cc_c): Likewise.
2423 (RUN_TEST_f_i): Likewise.
2424 (RUN_TEST_f_i_tg): Likewise.
2425 (RUN_TEST_ff_i_tg): Likewise.
2426 (RUN_TEST_f_b): Likewise.
2427 (RUN_TEST_f_b_tg): Likewise.
2428 (RUN_TEST_f_l): Likewise.
2429 (RUN_TEST_f_L): Likewise.
2430 (RUN_TEST_fFF_11): Likewise.
2431 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2432 conditionals.
2433 (cosh_test_data): Likewise.
2434 (exp_test_data): Likewise.
2435 (expm1_test_data): Likewise.
2436 (hypot_test_data): Likewise.
2437 (pow_test_data): Likewise.
2438 (sinh_test_data): Likewise.
2439 (tanh_test_data): Likewise.
2440 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2441 flags argument.
2442
ca07f197
JM
2443 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2444 tests with quiet NaN input and output.
2445 (acosh_test_data): Likewise.
2446 (asin_test_data): Likewise.
2447 (asinh_test_data): Likewise.
2448 (atan_test_data): Likewise.
2449 (atanh_test_data): Likewise.
2450 (atan2_test_data): Likewise.
2451 (cbrt_test_data): Likewise.
2452 (cos_test_data): Likewise.
2453 (cosh_test_data): Likewise.
2454 (erf_test_data): Likewise.
2455 (erfc_test_data): Likewise.
2456 (exp_test_data): Likewise.
2457 (exp10_test_data): Likewise.
2458 (exp2_test_data): Likewise.
2459 (expm1_test_data): Likewise.
2460 (hypot_test_data): Likewise.
2461 (j0_test_data): Likewise.
2462 (j1_test_data): Likewise.
2463 (jn_test_data): Likewise.
2464 (lgamma_test_data): Likewise.
2465 (log_test_data): Likewise.
2466 (log10_test_data): Likewise.
2467 (log1p_test_data): Likewise.
2468 (log2_test_data): Likewise.
2469 (pow_test_data): Likewise.
2470 (scalb_test_data): Likewise.
2471 (sin_test_data): Likewise.
2472 (sincos_test_data): Likewise.
2473 (sinh_test_data): Likewise.
2474 (tan_test_data): Likewise.
2475 (tanh_test_data): Likewise.
2476 (tgamma_test_data): Likewise.
2477 (y0_test_data): Likewise.
2478 (y1_test_data): Likewise.
2479 (yn_test_data): Likewise.
2480
66294491
JM
2481 [BZ #16167]
2482 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2483 argument being NaN and avoid computations with second argument in
2484 that case.
2485 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2486 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2487 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2488
1820b143
CL
24892013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2490
2491 * locale/iso-639.def: Add Chitwani Tharu (the).
2492
714bd261
AS
24932013-11-14 Andreas Schwab <schwab@suse.de>
2494
2495 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2496 word instead of empty string.
2497
7ab44563
AZ
24982013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2499
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2501 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2503 (__fe_nomask_env): Likewise.
2504
e8470ea2
SE
25052013-11-13 Steve Ellcey <sellcey@mips.com>
2506
2507 * benchtests/bench-timing.h: Include time.h.
2508
17c1d9f0
L
25092013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2510
2511 [BZ #15997]
2512 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2513 to 3.4.0 for x32.
2514 * sysdeps/unix/sysv/linux/configure: Regenerated.
2515
9310c284
JM
25162013-11-13 Joseph Myers <joseph@codesourcery.com>
2517
2518 [BZ #16151]
2519 * stdlib/strtod_l.c (round_and_return): Do not consider
2520 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2521 exponent one less than half the least subnormal exponent.
2522 * stdlib/test-strtod-round-data: Add more tests.
2523 * stdlib/tst-strtod-round.c (tests): Regenerated.
2524
7a2ad8cf
AZ
25252013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2526
2527 [BZ #14143]
2528 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2529 (__fe_mask_env): Likewise.
2530 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2531 libm_hidden_proto and add function prototype.
2532 (__fe_mask_env): Add function prototype.
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2534 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2536 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2538 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2539
50727aa7
MS
25402013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2541
b2f386c1 2542 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
2543 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2544
a615be46
MS
25452013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2546
2547 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2548 of htab_find_slot().
2549
7ddace62
DM
25502013-11-11 David S. Miller <davem@davemloft.net>
2551
2552 [BZ #16150]
2553 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2554 symbol in the non-vis3 case in static builds.
2555 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2556 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2557 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2558 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2559
9182aa67
JK
25602013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2561
2562 [BZ #387]
2563 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2564 it is empty.
2565
450a2e2d
AZ
25662013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2567
b2f386c1
SP
2568 * benchtests/Makefile: Add bench-strtod.
2569 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2570
8ec3f656
AS
25712013-11-11 Andreas Schwab <schwab@suse.de>
2572
2573 [BZ #16153]
2574 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2575 terminating NUL in key length.
2576
76a9b998
AZ
25772013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2578
2579 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2580 Add artificial ODP entry for vDSO symbol for PPC64.
2581 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2582 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2583
e4368156
OB
25842013-11-07 Ondřej Bílka <neleai@seznam.cz>
2585
2586 [BZ #15374]
2587 * nss/getent.c (services_keys): Recognize services starting with digit.
2588
8d6bb57c
DM
25892013-11-06 David S. Miller <davem@davemloft.net>
2590
2591 [BZ #15985]
2592 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2593 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2594
e256c421
WN
25952013-11-06 Will Newton <will.newton@linaro.org>
2596
2597 * manual/memory.texi (Malloc Examples): Remove register
2598 keyword from examples.
2599
f6e12daa 26002013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2601
f6e12daa 2602 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2603
9d880655
AS
26042013-11-04 Joseph Myers <joseph@codesourcery.com>
2605
2606 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2607 depending on [__GCC_IEC_559 > 0].
2608 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2609 depending on [__GCC_IEC_559_COMPLEX > 0].
2610
ae129d3c
CL
26112013-11-03 Chris Leonard <cjl@sugarlabs.org>
2612
2613 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2614 to iso-639.def.
2615
4a15c2a4 26162013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2617
2618 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2619
8b35e35d
OB
26202013-11-01 Ondřej Bílka <neleai@seznam.cz>
2621
2622 [BZ #16112]
2623 * malloc/malloc (malloc_info): Do not handle first bin as
2624 special case.
2625
1d70fd6c
CL
26262013-11-01 Chris Leonard <cjl@sugarlabs.org>
2627
2628 * locale/iso-639.def: Add Central Nahuatl (nhn).
2629
8c5c2600
BH
26302013-11-01 Bruno Haible <bruno@clisp.org>
2631
2632 [BZ #7003]
2633 * manual/math.texi (BSD Random): Specify range upper bound as
2634 in POSIX.
2635
da5579c2
CL
26362013-10-31 Chris Leonard <cjl@sugarlabs.org>
2637
2638 * locale/iso-639.def: Add Meadow Mari (mhr).
2639
5d30d853
OB
26402013-10-31 Ondřej Bílka <neleai@seznam.cz>
2641
2642 [BZ #14752], [BZ #15763]
2643 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2644 Validate name.
2645 * rt/tst_shm.c: Add test for escaping directory.
2646
a4966c61
AS
26472013-10-31 Andreas Schwab <schwab@suse.de>
2648
8a43e768 2649 [BZ #15917]
a4966c61
AS
2650 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2651 followed by 'x' as part of digit sequence.
2652 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2653
28d708c4
MAP
26542013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2655
2656 [BZ #16037]
2657 * configure.ac: allow GNU Make 4.0 and greater.
2658 * configure: Regenerated.
2659
a56ee40b
WN
26602013-10-30 Will Newton <will.newton@linaro.org>
2661
2662 [BZ #16038]
2663 * malloc/hooks.c (memalign_check): Limit alignment to the
2664 maximum representable power of two.
2665 * malloc/malloc.c (__libc_memalign): Likewise.
2666 * malloc/tst-memalign.c (do_test): Add test for very
2667 large alignment values.
2668 * malloc/tst-posix_memalign.c (do_test): Likewise.
2669
c6e4925d
OB
26702013-10-30 Ondřej Bílka <neleai@seznam.cz>
2671
2672 [BZ #11087]
2673 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2674 (munmap_chunk): Likewise.
2675 (mremap_chunk): Likewise.
2676
26772013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2678
8a43e768 2679 [BZ #15799]
bbea82f7
OB
2680 * stdlib/div.c (div): Remove obsolete code.
2681 * stdlib/ldiv.c (ldiv): Likewise.
2682 * stdlib/lldiv.c (lldiv): Likewise.
2683
977f4b31
SP
26842013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2685
2686 [BZ #16071]
2687 * nss/nss_files/files-XXX.c (get_contents_ret): New
2688 enumerator.
2689 (get_contents): New function.
2690 (internal_getent): Use it. Expand size of LINEBUFLEN.
2691
cb8a6dbd
MF
26922013-10-30 Mike Frysinger <vapier@gentoo.org>
2693
2694 * configure.in: Moved to ...
2695 * configure.ac: ... here. Change reference to configure.in
2696 to configure.ac.
2697 * sysdeps/arm/preconfigure.ac: ... here.
2698 configure.in to configure.ac.
2699 * sysdeps/gnu/configure.in: Moved to ...
2700 * sysdeps/gnu/configure.ac: ... here.
2701 * sysdeps/i386/configure.in: Moved to ...
2702 * sysdeps/i386/configure.ac: ... here.
2703 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2704 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2705 * sysdeps/mach/configure.in: Moved to ...
2706 * sysdeps/mach/configure.ac: ... here.
2707 * sysdeps/mach/hurd/configure.in: Moved to ...
2708 * sysdeps/mach/hurd/configure.ac: ... here.
2709 * sysdeps/powerpc/configure.in: Moved to ...
2710 * sysdeps/powerpc/configure.ac: ... here.
2711 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2712 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2713 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2714 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2715 * sysdeps/s390/s390-32/configure.in: Moved to ...
2716 * sysdeps/s390/s390-32/configure.ac: ... here.
2717 * sysdeps/s390/s390-64/configure.in: Moved to ...
2718 * sysdeps/s390/s390-64/configure.ac: ... here.
2719 * sysdeps/sh/configure.in: Moved to ...
2720 * sysdeps/sh/configure.ac: ... here.
2721 * sysdeps/sparc/configure.in: Moved to ...
2722 * sysdeps/sparc/configure.ac: ... here.
2723 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2724 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2725 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2726 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2727 * sysdeps/x86_64/configure.in: Moved to ...
2728 * sysdeps/x86_64/configure.ac: ... here.
2729 * sysdeps/x86_64/preconfigure.in: Moved to ...
2730 * sysdeps/x86_64/preconfigure.ac: ... here.
2731 * aclocal.m4: Change reference to configure.in to configure.ac.
2732 * config.h.in: Likewise.
2733 * manual/install.texi: Likewise.
2734 * manual/maint.texi: Likewise.
2735 * Makefile: Likewise.
2736 * malloc/Makefile: Likewise.
2737 * nscd/Makefile: Likewise.
2738 * Makeconfig: Change reference to configure.in and
2739 preconfigure.in to configure.ac and preconfigure.ac
2740 respectively.
2741 * INSTALL: Regenerated.
2742 * configure: Likewise.
2743 * sysdeps/gnu/configure: Likewise.
2744 * sysdeps/i386/configure: Likewise.
2745 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2746 * sysdeps/mach/configure: Likewise.
2747 * sysdeps/mach/hurd/configure: Likewise.
2748 * sysdeps/powerpc/configure: Likewise.
2749 * sysdeps/powerpc/powerpc32/configure: Likewise.
2750 * sysdeps/powerpc/powerpc64/configure: Likewise.
2751 * sysdeps/s390/s390-32/configure: Likewise.
2752 * sysdeps/s390/s390-64/configure: Likewise.
2753 * sysdeps/sh/configure: Likewise.
2754 * sysdeps/sparc/configure: Likewise.
2755 * sysdeps/unix/sysv/linux/configure: Likewise.
2756 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2757 * sysdeps/x86_64/configure: Likewise.
2758 * sysdeps/x86_64/preconfigure: Likewise.
2759
36a4953a
AS
27602013-10-29 Andreas Schwab <schwab@suse.de>
2761
2762 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2763
c79a1204
SP
27642013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2765
dfa1b402
SP
2766 * benchtests/pow-inputs: Add new inputs.
2767
54f73d9c
SP
2768 * benchtests/exp-inputs: Add new inputs.
2769
c79a1204
SP
2770 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2771 conditional check for return value.
2772 (__cos32): Likewise.
2773
67beb545 27742013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2775
2776 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2777 to provide a boost for large inputs with word alignment.
2778 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2779 implementation based on optimized PPC64 strcpy.
2780 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2781 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2782 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2783 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2784
151659f6
OB
27852013-10-25 Ondřej Bílka <neleai@seznam.cz>
2786
482a077e 2787 [BZ #2801]
151659f6
OB
2788 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2789
10b0f26b
OB
27902013-10-25 Ondřej Bílka <neleai@seznam.cz>
2791
2792 [BZ #14876]
2793 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2794 * time/tst-strptime.c (day_tests): Add testcase.
2795
ca42d35e
OB
27962013-10-25 Ondřej Bílka <neleai@seznam.cz>
2797
482a077e 2798 [BZ #14029]
ca42d35e
OB
2799 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2800
52e6d801
FB
28012013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2802
2803 [BZ #16074]
2804 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2805 MAP_FAILED on error.
2806
7cbcdb36
SP
28072013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2808
2809 [BZ #16072]
2810 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2811 heap for large requests.
2812
894f3f10
AM
28132013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2814
2815 [BZ #9954]
2816 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2817 result if the result has no associated interface.
2818 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2819 interface for all 127.X.Y.Z addresses.
2820
b85545a6
CL
28212013-10-24 Chris Leonard <cjl@sugarlabs.org>
2822
2823 * locale/iso-639.def: Add Ligurian (lij)
2824
d1f23d46
OB
28252013-10-21 Ondřej Bílka <neleai@seznam.cz>
2826
2827 [BZ #15825]
2828 * sunrpc/rpc_main.c: Document rpcgen -5.
2829
4db5b08f
MS
28302013-10-19 Michael Stahl <mstahl@redhat.com>
2831
2832 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2833
a471e96a
OB
28342013-10-19 Ondřej Bílka <neleai@seznam.cz>
2835
d1f23d46 2836 [BZ #10278]
a471e96a
OB
2837 * posix/glob.c: Match only directories when trailing slash is present.
2838 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2839 (main): Add testcase.
2840
45c30c61
OB
28412013-10-19 Ondřej Bílka <neleai@seznam.cz>
2842
2843 [BZ #15670]
2844 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2845
484c12fb
CD
28462013-10-18 Carlos O'Donell <carlos@redhat.com>
2847
3d7dc513
CD
2848 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2849 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2850 AUTH_DES and cindex for FIPS 140-2.
2851 (DES Encryption): Add cindex FIPS 46-3.
2852
484c12fb
CD
2853 * locale/locarchive.h (struct locarhandle): Add fname.
2854 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2855 if an optional argument was specified to --list-archive,
2856 otherwise NULL.
2857 * locale/programs/locarchive.c (show_archive_content): Take new
2858 argument fname and pass it via ah.fname to open_archive.
2859 * locale/programs/localedef.h: Update decl.
2860 (open_archive): If AH->fname is non-null, open that file
2861 rather than the default file name, and don't ignore ENOENT.
2862 (create_archive): Set AH.fname to NULL.
2863 (delete_locales_from_archive): Likewise.
2864 (add_locales_to_archive): Likewise.
2865 * locale/programs/locfile.c (write_all_categories): Likewise.
2866
3c8325fb
JM
28672013-10-18 Joseph Myers <joseph@codesourcery.com>
2868 Aldy Hernandez <aldyh@redhat.com>
2869
2870 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2871 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2872 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2873 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2874 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2875 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2876 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2877 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2878 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2879 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2880 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2881 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2882 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2883 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2884 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2885 Likewise.
2886 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2887 Likewise.
2888 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2889 Likewise.
2890 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2891 Likewise.
2892 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2893 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2894 Likewise.
2895 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2896 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2897 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2898 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2899 Likewise.
2900 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2901 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2902 * sysdeps/powerpc/preconfigure: Likewise.
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2904 Likewise.
2905 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2906 Replace contents of file by #include of <fenv_libc.h>.
2907 * sysdeps/powerpc/soft-fp/sfp-machine.h
2908 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2909 and <sys/prctl.h>.
2910 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2911 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2912 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2913 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2914 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2915 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2916 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2917 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2918 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2919 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2920 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2921 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2923 Allow copysignl PLT reference to be missing.
2924
5abe0682
RS
29252013-10-18 Richard Sandiford <richard@codesourcery.com>
2926 Joseph Myers <joseph@codesourcery.com
2927
2928 [BZ #15948]
2929 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2930 single character.
2931 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2932
c7738d08
SP
29332013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2934
2935 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2936 * elf/tst-tls1.c: Likewise.
2937 * elf/tst-tls10.h: Likewise.
2938 * elf/tst-tls14.c: Likewise.
2939 * elf/tst-tls2.c: Likewise.
2940 * elf/tst-tls3.c: Likewise.
2941 * elf/tst-tls4.c: Likewise.
2942 * elf/tst-tls5.c: Likewise.
2943 * elf/tst-tls6.c: Likewise.
2944 * elf/tst-tls7.c: Likewise.
2945 * elf/tst-tls8.c: Likewise.
2946 * elf/tst-tls9.c: Likewise.
2947 * elf/tst-tlsmod1.c: Likewise.
2948 * elf/tst-tlsmod13.c: Likewise.
2949 * elf/tst-tlsmod13a.c: Likewise.
2950 * elf/tst-tlsmod14a.c: Likewise.
2951 * elf/tst-tlsmod16a.c: Likewise.
2952 * elf/tst-tlsmod16b.c: Likewise.
2953 * elf/tst-tlsmod2.c: Likewise.
2954 * elf/tst-tlsmod3.c: Likewise.
2955 * elf/tst-tlsmod4.c: Likewise.
2956 * elf/tst-tlsmod5.c: Likewise.
2957 * elf/tst-tlsmod6.c: Likewise.
2958
0bfcf2c7
OB
29592013-10-18 Ondřej Bílka <neleai@seznam.cz>
2960
2961 [BZ #12486]
2962 * malloc/malloc.c: remove checks for statistics.
2963
264aad1e
OB
29642013-10-17 Ondřej Bílka <neleai@seznam.cz>
2965
2966 [BZ #15277]
2967 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2968 * inet/tst-network.c: Add testcase.
2969
b957ced8
AS
29702013-10-17 Andreas Schwab <schwab@suse.de>
2971
2972 [BZ #15218]
2973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2974 to determine canonical name.
2975
c5d5d574
OB
29762013-10-17 Ondřej Bílka <neleai@seznam.cz>
2977
2978 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2979 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2980 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2983 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2984 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2985 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2987 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2988 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2989 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2990 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2991 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2992 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2996 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3002 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3003 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3008 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3013 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3020 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3021 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3022 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3023 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3024 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3025 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3026 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3027 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3028 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3029 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3030 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3031 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3032 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3033 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3035 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3036
e5c2c2d0
JM
30372013-10-17 Joseph Myers <joseph@codesourcery.com>
3038
3039 [BZ #16041]
3040 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3041 make result into a quiet NaN.
3042
51ca9e29
JM
30432013-10-16 Joseph Myers <joseph@codesourcery.com>
3044
3045 * soft-fp/adddf3.c: Fix horizontal whitespace.
3046 * soft-fp/addsf3.c: Likewise.
3047 * soft-fp/addtf3.c: Likewise.
3048 * soft-fp/divdf3.c: Likewise.
3049 * soft-fp/divsf3.c: Likewise.
3050 * soft-fp/divtf3.c: Likewise.
3051 * soft-fp/double.h: Likewise.
3052 * soft-fp/eqdf2.c: Likewise.
3053 * soft-fp/eqsf2.c: Likewise.
3054 * soft-fp/eqtf2.c: Likewise.
3055 * soft-fp/extenddftf2.c: Likewise.
3056 * soft-fp/extended.h: Likewise.
3057 * soft-fp/extendsfdf2.c: Likewise.
3058 * soft-fp/extendsftf2.c: Likewise.
3059 * soft-fp/extendxftf2.c: Likewise.
3060 * soft-fp/fixdfdi.c: Likewise.
3061 * soft-fp/fixdfsi.c: Likewise.
3062 * soft-fp/fixdfti.c: Likewise.
3063 * soft-fp/fixsfdi.c: Likewise.
3064 * soft-fp/fixsfsi.c: Likewise.
3065 * soft-fp/fixsfti.c: Likewise.
3066 * soft-fp/fixtfdi.c: Likewise.
3067 * soft-fp/fixtfsi.c: Likewise.
3068 * soft-fp/fixtfti.c: Likewise.
3069 * soft-fp/fixunsdfdi.c: Likewise.
3070 * soft-fp/fixunsdfsi.c: Likewise.
3071 * soft-fp/fixunsdfti.c: Likewise.
3072 * soft-fp/fixunssfdi.c: Likewise.
3073 * soft-fp/fixunssfsi.c: Likewise.
3074 * soft-fp/fixunssfti.c: Likewise.
3075 * soft-fp/fixunstfdi.c: Likewise.
3076 * soft-fp/fixunstfsi.c: Likewise.
3077 * soft-fp/fixunstfti.c: Likewise.
3078 * soft-fp/floatdidf.c: Likewise.
3079 * soft-fp/floatdisf.c: Likewise.
3080 * soft-fp/floatditf.c: Likewise.
3081 * soft-fp/floatsidf.c: Likewise.
3082 * soft-fp/floatsisf.c: Likewise.
3083 * soft-fp/floatsitf.c: Likewise.
3084 * soft-fp/floattidf.c: Likewise.
3085 * soft-fp/floattisf.c: Likewise.
3086 * soft-fp/floattitf.c: Likewise.
3087 * soft-fp/floatundidf.c: Likewise.
3088 * soft-fp/floatundisf.c: Likewise.
3089 * soft-fp/floatunditf.c: Likewise.
3090 * soft-fp/floatunsidf.c: Likewise.
3091 * soft-fp/floatunsisf.c: Likewise.
3092 * soft-fp/floatunsitf.c: Likewise.
3093 * soft-fp/floatuntidf.c: Likewise.
3094 * soft-fp/floatuntisf.c: Likewise.
3095 * soft-fp/floatuntitf.c: Likewise.
3096 * soft-fp/fmadf4.c: Likewise.
3097 * soft-fp/fmasf4.c: Likewise.
3098 * soft-fp/fmatf4.c: Likewise.
3099 * soft-fp/gedf2.c: Likewise.
3100 * soft-fp/gesf2.c: Likewise.
3101 * soft-fp/getf2.c: Likewise.
3102 * soft-fp/ledf2.c: Likewise.
3103 * soft-fp/lesf2.c: Likewise.
3104 * soft-fp/letf2.c: Likewise.
3105 * soft-fp/muldf3.c: Likewise.
3106 * soft-fp/mulsf3.c: Likewise.
3107 * soft-fp/multf3.c: Likewise.
3108 * soft-fp/negdf2.c: Likewise.
3109 * soft-fp/negsf2.c: Likewise.
3110 * soft-fp/negtf2.c: Likewise.
3111 * soft-fp/op-1.h: Likewise.
3112 * soft-fp/op-2.h: Likewise.
3113 * soft-fp/op-4.h: Likewise.
3114 * soft-fp/op-8.h: Likewise.
3115 * soft-fp/op-common.h: Likewise.
3116 * soft-fp/quad.h: Likewise.
3117 * soft-fp/single.h: Likewise.
3118 * soft-fp/soft-fp.h: Likewise.
3119 * soft-fp/sqrtdf2.c: Likewise.
3120 * soft-fp/sqrtsf2.c: Likewise.
3121 * soft-fp/sqrttf2.c: Likewise.
3122 * soft-fp/subdf3.c: Likewise.
3123 * soft-fp/subsf3.c: Likewise.
3124 * soft-fp/subtf3.c: Likewise.
3125 * soft-fp/truncdfsf2.c: Likewise.
3126 * soft-fp/trunctfdf2.c: Likewise.
3127 * soft-fp/trunctfsf2.c: Likewise.
3128 * soft-fp/trunctfxf2.c: Likewise.
3129 * soft-fp/unorddf2.c: Likewise.
3130 * soft-fp/unordsf2.c: Likewise.
3131 * soft-fp/unordtf2.c: Likewise.
3132
9ebb0332
JM
31332013-10-15 Joseph Myers <joseph@codesourcery.com>
3134
3135 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3136 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3137
4b1a6d8b
OB
31382013-10-15 Ondřej Bílka <neleai@seznam.cz>
3139
3140 * elf/dl-libc.c: Clear initfini list after freeing.
3141
1e145589
JM
31422013-10-14 Joseph Myers <joseph@codesourcery.com>
3143
3144 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3145 * soft-fp/addsf3.c: Likewise.
3146 * soft-fp/addtf3.c: Likewise.
3147 * soft-fp/divdf3.c: Likewise.
3148 * soft-fp/divsf3.c: Likewise.
3149 * soft-fp/divtf3.c: Likewise.
3150 * soft-fp/double.h: Likewise.
3151 * soft-fp/eqdf2.c: Likewise.
3152 * soft-fp/eqsf2.c: Likewise.
3153 * soft-fp/eqtf2.c: Likewise.
3154 * soft-fp/extenddftf2.c: Likewise.
3155 * soft-fp/extended.h: Likewise.
3156 * soft-fp/extendsfdf2.c: Likewise.
3157 * soft-fp/extendsftf2.c: Likewise.
3158 * soft-fp/extendxftf2.c: Likewise.
3159 * soft-fp/fixdfdi.c: Likewise.
3160 * soft-fp/fixdfsi.c: Likewise.
3161 * soft-fp/fixdfti.c: Likewise.
3162 * soft-fp/fixsfdi.c: Likewise.
3163 * soft-fp/fixsfsi.c: Likewise.
3164 * soft-fp/fixsfti.c: Likewise.
3165 * soft-fp/fixtfdi.c: Likewise.
3166 * soft-fp/fixtfsi.c: Likewise.
3167 * soft-fp/fixtfti.c: Likewise.
3168 * soft-fp/fixunsdfdi.c: Likewise.
3169 * soft-fp/fixunsdfsi.c: Likewise.
3170 * soft-fp/fixunsdfti.c: Likewise.
3171 * soft-fp/fixunssfdi.c: Likewise.
3172 * soft-fp/fixunssfsi.c: Likewise.
3173 * soft-fp/fixunssfti.c: Likewise.
3174 * soft-fp/fixunstfdi.c: Likewise.
3175 * soft-fp/fixunstfsi.c: Likewise.
3176 * soft-fp/fixunstfti.c: Likewise.
3177 * soft-fp/floatdidf.c: Likewise.
3178 * soft-fp/floatdisf.c: Likewise.
3179 * soft-fp/floatditf.c: Likewise.
3180 * soft-fp/floatsidf.c: Likewise.
3181 * soft-fp/floatsisf.c: Likewise.
3182 * soft-fp/floatsitf.c: Likewise.
3183 * soft-fp/floattidf.c: Likewise.
3184 * soft-fp/floattisf.c: Likewise.
3185 * soft-fp/floattitf.c: Likewise.
3186 * soft-fp/floatundidf.c: Likewise.
3187 * soft-fp/floatundisf.c: Likewise.
3188 * soft-fp/floatunsidf.c: Likewise.
3189 * soft-fp/floatunsisf.c: Likewise.
3190 * soft-fp/floatuntidf.c: Likewise.
3191 * soft-fp/floatuntisf.c: Likewise.
3192 * soft-fp/floatuntitf.c: Likewise.
3193 * soft-fp/fmadf4.c: Likewise.
3194 * soft-fp/fmasf4.c: Likewise.
3195 * soft-fp/fmatf4.c: Likewise.
3196 * soft-fp/gedf2.c: Likewise.
3197 * soft-fp/gesf2.c: Likewise.
3198 * soft-fp/getf2.c: Likewise.
3199 * soft-fp/ledf2.c: Likewise.
3200 * soft-fp/lesf2.c: Likewise.
3201 * soft-fp/letf2.c: Likewise.
3202 * soft-fp/muldf3.c: Likewise.
3203 * soft-fp/mulsf3.c: Likewise.
3204 * soft-fp/multf3.c: Likewise.
3205 * soft-fp/negdf2.c: Likewise.
3206 * soft-fp/negsf2.c: Likewise.
3207 * soft-fp/negtf2.c: Likewise.
3208 * soft-fp/op-1.h: Likewise.
3209 * soft-fp/op-2.h: Likewise.
3210 * soft-fp/op-4.h: Likewise.
3211 * soft-fp/op-8.h: Likewise.
3212 * soft-fp/op-common.h: Likewise.
3213 * soft-fp/quad.h: Likewise.
3214 * soft-fp/single.h: Likewise.
3215 * soft-fp/soft-fp.h: Likewise.
3216 * soft-fp/sqrtdf2.c: Likewise.
3217 * soft-fp/sqrtsf2.c: Likewise.
3218 * soft-fp/sqrttf2.c: Likewise.
3219 * soft-fp/subdf3.c: Likewise.
3220 * soft-fp/subsf3.c: Likewise.
3221 * soft-fp/subtf3.c: Likewise.
3222 * soft-fp/truncdfsf2.c: Likewise.
3223 * soft-fp/trunctfdf2.c: Likewise.
3224 * soft-fp/trunctfsf2.c: Likewise.
3225 * soft-fp/trunctfxf2.c: Likewise.
3226 * soft-fp/unorddf2.c: Likewise.
3227 * soft-fp/unordsf2.c: Likewise.
3228 * soft-fp/unordtf2.c: Likewise.
3229
17c48a60
OB
32302013-10-14 Ondřej Bílka <neleai@seznam.cz>
3231
3232 [BZ #15672]
3233 * misc/error.c (error_tail): Fix possible buffer overflow.
3234
cabba934
OB
32352013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3236
3237 [BZ #13028]
3238 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3239 address.
3240
94bf958a
PM
32412013-10-14 P. J. McDermott <pj@pehjota.net>
3242
3243 [BZ #832]
3244 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3245 testing pipefail option.
3246
71b4dea7
JM
32472013-10-12 Joseph Myers <joseph@codesourcery.com>
3248
3249 * soft-fp/double.h: Indent preprocessor directives inside #if.
3250 * soft-fp/extended.h: Likewise.
3251 * soft-fp/op-2.h: Likewise.
3252 * soft-fp/op-4.h: Likewise.
3253 * soft-fp/op-common.h: Likewise.
3254 * soft-fp/quad.h: Likewise.
3255 * soft-fp/single.h: Likewise.
3256 * soft-fp/soft-fp.h: Likewise.
3257
55602758
YC
32582013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3259
3260 * iconv/iconv_prog.c: Fix typos.
3261 * stdio-common/psiginfo-data.h: Likewise.
3262
9cd83302
RT
32632013-10-12 Reuben Thomas <rrt@sc3d.org>
3264
3265 [BZ #15764]
3266 * locale/setlocale.c: Fix typo.
3267
99fd9f47
JM
32682013-10-12 Joseph Myers <joseph@codesourcery.com>
3269
b7ea74f0
JM
3270 [BZ #16036]
3271 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3272 signaling NaN arguments.
3273 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3274 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3275
8a509447
JM
3276 [BZ #14910]
3277 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3278 unordered operands.
3279 * soft-fp/gesf2.c (__gesf2): Likewise.
3280 * soft-fp/getf2.c (__getf2): Likewise.
3281 * soft-fp/ledf2.c (__ledf2): Likewise.
3282 * soft-fp/lesf2.c (__lesf2): Likewise.
3283 * soft-fp/letf2.c (__letf2): Likewise.
3284
98998e9f
JM
3285 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3286 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3287 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3288 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3289 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3290 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3291 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3292 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3293 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3294 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3295 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3296 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3297 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3298 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3299 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3300 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3301 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3302 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3303 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3304 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3305 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3306 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3307 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3308 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3309 * soft-fp/floattidf.c (__floattidf): Likewise.
3310 * soft-fp/floattisf.c (__floattisf): Likewise.
3311 * soft-fp/floattitf.c (__floattitf): Likewise.
3312 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3313 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3314 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3315 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3316 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3317 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3318 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3319 * soft-fp/gesf2.c (__gesf2): Likewise.
3320 * soft-fp/getf2.c (__getf2): Likewise.
3321 * soft-fp/ledf2.c (__ledf2): Likewise.
3322 * soft-fp/lesf2.c (__lesf2): Likewise.
3323 * soft-fp/letf2.c (__letf2): Likewise.
3324
8edc4a11
JM
3325 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3326 Undefine and redefine.
3327 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3328 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3329 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3330 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3331 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3332 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3333 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3334 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3335 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3336 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3337 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3338 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3339 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3340 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3341 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3342
8399acaf
JM
3343 [BZ #16032]
3344 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3345 without decrementing exponent if mantissa >= that for the
3346 denominator, not >.
3347 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3348 denominator, not >. Decrement exponent in < case instead of
3349 incrementing in >= case.
3350 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3351 without decrementing exponent if mantissa >= that for the
3352 denominator, not >.
3353
99fd9f47
JM
3354 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3355 computing saturated result for unsigned overflow.
3356
10e1cf6b
SP
33572013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3358 Jeff Law <law@redhat.com>
3359
3360 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3361 (atan2Mp): Add systemtap probe marker.
3362 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3363 (__ieee754_log): Add systemtap probe marker.
3364 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3365 (atanMp): Add systemtap probe marker.
3366 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3367 (tanMp): Add systemtap probe marker.
3368 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3369 (__slowexp): Add systemtap probe marker.
3370 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3371 (__slowpow): Add systemtap probe marker.
3372 * manual/probes.texi: Document probes.
3373
3d110c7c
EB
33742013-10-11 Eric Biggers <ebiggers3@gmail.com>
3375
3376 [BZ #15362]
3377 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3378 written.
3379 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3380 written.
3381 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3382 written to buffer but not flushed.
3383 * libio/iofwrite_u.c: Likewise.
3384 * libio/iopadn.c: Return bytes returned even if EOF was
3385 encountered.
3386 * libio/iowpadn.c: Likewise.
3387 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3388 if _IO_padn does not write the whole buffer.
3389 [!COMPILE_WPRINTF] (PAD): Likewise.
3390
75b4202a
DM
33912013-10-10 David S. Miller <davem@davemloft.net>
3392
3393 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3394 directory block.
3395
6c6352e6
JM
33962013-10-10 Joseph Myers <joseph@codesourcery.com>
3397
33b853c3
JM
3398 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3399 instead of FSF address.
3400 * soft-fp/fixdfti.c: Likewise.
3401 * soft-fp/fixsfti.c: Likewise.
3402 * soft-fp/fixtfti.c: Likewise.
3403 * soft-fp/fixunsdfti.c: Likewise.
3404 * soft-fp/fixunssfti.c: Likewise.
3405 * soft-fp/fixunstfti.c: Likewise.
3406 * soft-fp/floattidf.c: Likewise.
3407 * soft-fp/floattisf.c: Likewise.
3408 * soft-fp/floattitf.c: Likewise.
3409 * soft-fp/floatuntidf.c: Likewise.
3410 * soft-fp/floatuntisf.c: Likewise.
3411 * soft-fp/floatuntitf.c: Likewise.
3412 * soft-fp/trunctfxf2.c: Likewise.
3413
6c6352e6
JM
3414 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3415 * soft-fp/fixdfti.c: Likewise.
3416 * soft-fp/fixsfti.c: Likewise.
3417 * soft-fp/fixtfti.c: Likewise.
3418 * soft-fp/fixunsdfti.c: Likewise.
3419 * soft-fp/fixunssfti.c: Likewise.
3420 * soft-fp/fixunstfti.c: Likewise.
3421 * soft-fp/floattidf.c: Likewise.
3422 * soft-fp/floattisf.c: Likewise.
3423 * soft-fp/floattitf.c: Likewise.
3424 * soft-fp/floatuntidf.c: Likewise.
3425 * soft-fp/floatuntisf.c: Likewise.
3426 * soft-fp/floatuntitf.c: Likewise.
3427 * soft-fp/trunctfxf2.c: Likewise.
3428
3bf78b71
DM
34292013-10-10 David S. Miller <davem@davemloft.net>
3430
3431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3432
6f10289e
JM
34332013-10-10 Joseph Myers <joseph@codsourcery.com>
3434
bd878fc0
JM
3435 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3436 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3437 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3438 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3439 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3440 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3441 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3442
6f10289e
JM
3443 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3444 for NaNs before doing comparisons on argument.
3445 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3446 Likewise.
3447
321e2684
WN
34482013-10-10 Will Newton <will.newton@linaro.org>
3449
3450 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3451 passed to _int_memalign does not overflow.
3452
40fefba1
TR
34532013-10-10 Torvald Riegel <triegel@redhat.com>
3454
3455 * scripts/bench.pl: Add include-sources directive.
3456 * benchtests/README: Update documentation.
3457
2ae21ed2
JM
34582013-10-10 Joseph Myers <joseph@codesourcery.com>
3459
dcc2dd3f
JM
3460 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3461 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3462 instead of FP_INIT_ROUNDMODE.
3463 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3464 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3465
2ae21ed2
JM
3466 [BZ #16034]
3467 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3468 copy class of input value.
3469 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3470 not handle exceptions.
3471 * soft-fp/negsf2.c (__negsf2): Likewise.
3472 * soft-fp/negtf2.c (__negtf2): Likewise.
3473 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3474
cb8f9562
JM
34752013-10-09 Joseph Myers <joseph@codesourcery.com>
3476
3477 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3478 semicolon. From Linux kernel.
3479
5b60c59d
AB
34802013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3481
3482 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3483
b86835ca
YC
34842013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3485
3486 [BZ #156]
3487 * manual/socket.texi: Added statement about buffer
3488 for gethostbyname2_r.
3489
e7044ea7
OB
34902013-10-08 Ondřej Bílka <neleai@seznam.cz>
3491
3492 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3493 Use .p2align directive instead, throughout.
3494 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3495 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3496 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3497 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3498 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3499 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3500 * sysdeps/x86_64/strchr.S: Likewise.
3501 * sysdeps/x86_64/strrchr.S: Likewise.
3502
09544cbc
SP
35032013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3504
88576635
SP
3505 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3506
e7b2d1dd
SP
3507 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3508
09544cbc
SP
3509 * sysdeps/generic/math_private.h (__mpsin1): Remove
3510 declaration.
3511 (__mpcos1): Likewise.
3512 (__mpsin): New argument __range_reduce.
3513 (__mpcos): Likewise.
3514 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3515 (slow): Use __mpsin and __mpcos.
3516 (slow1): Likewise.
3517 (slow2): Likewise.
3518 (sloww): Likewise.
3519 (sloww1): Likewise.
3520 (sloww2): Likewise.
3521 (bsloww): Likewise.
3522 (bsloww1): Likewise.
3523 (bsloww2): Likewise.
3524 (cslow2): Likewise.
3525 (csloww): Likewise.
3526 (csloww1): Likewise.
3527 (csloww2): Likewise.
3528 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3529 range_reduce. Merge in __mpsin1.
3530 (__mpcos): Likewise.
3531 (__mpsin1): Remove.
3532 (__mpcos1): Likewise.
3533
7602d070
JM
35342013-10-07 Joseph Myers <joseph@codesourcery.com>
3535
3536 * locale/loadlocale.c (_nl_intern_locale_data): Use
3537 LOCFILE_ALIGNED_P.
3538 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3539 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3540 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3541 obstack data is appropriately aligned.
3542 (obstack_int32_grow_fast): Likewise.
3543 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3544 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3545 (add_locale_uint32_array): Likewise.
3546
a357259b
SP
35472013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3548
3549 * benchtests/Makefile: Remove ARGLIST and RET variables.
3550 ($(objpfx)bench-%.c): Pass only function name to the script.
3551 * benchtests/README: Update documentation.
3552 * benchtests/acos-inputs: Add new directives.
3553 * benchtests/acosh-inputs: Likewise.
3554 * benchtests/asin-inputs: Likewise.
3555 * benchtests/asinh-inputs: Likewise.
3556 * benchtests/atan-inputs: Likewise.
3557 * benchtests/atanh-inputs: Likewise.
3558 * benchtests/cos-inputs: Likewise.
3559 * benchtests/cosh-inputs: Likewise.
3560 * benchtests/exp-inputs: Likewise.
3561 * benchtests/log-inputs: Likewise.
3562 * benchtests/pow-inputs: Likewise.
3563 * benchtests/rint-inputs: Likewise.
3564 * benchtests/sin-inputs: Likewise.
3565 * benchtests/sinh-inputs: Likewise.
3566 * benchtests/tan-inputs: Likewise.
3567 * benchtests/tanh-inputs: Likewise.
3568 * scripts/bench.pl: Add support for new directives.
3569
9ec1b13d
AM
35702013-10-07 Alan Modra <amodra@gmail.com>
3571
3572 * README: Fix careless merge.
3573
8b7d57cd
AM
35742013-10-05 Alan Modra <amodra@gmail.com>
3575
3576 * NEWS: Mention powerpc64le support and bugs fixed.
3577 * README: Both big-endian and little-endian powerpc64 supported.
3578
7b7bab13
ST
35792013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3580
3581 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3582 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3583 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3584 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3585
d39baad1
RA
35862013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3587
3588 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3589 match prototype.
3590
cd78f7e7
JM
35912013-10-04 Joseph Myers <joseph@codesourcery.com>
3592
29d73d86
JM
3593 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3594 Move -mhard-float appending from
3595 ports/sysdeps/powerpc/powerpc32/Makefile.
3596 [$(with-fp) = yes] (ASFLAGS): Likewise.
3597 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3598 * sysdeps/powerpc/nofpu: Move directory from
3599 ports/sysdeps/powerpc/nofpu.
3600 * sysdeps/powerpc/soft-fp: Move directory from
3601 ports/sysdeps/powerpc/soft-fp.
3602 * sysdeps/powerpc/powerpc32/405: Move directory from
3603 ports/sysdeps/powerpc/powerpc32/405.
3604 * sysdeps/powerpc/powerpc32/440: Move directory from
3605 ports/sysdeps/powerpc/powerpc32/440.
3606 * sysdeps/powerpc/powerpc32/464: Move directory from
3607 ports/sysdeps/powerpc/powerpc32/464.
3608 * sysdeps/powerpc/powerpc32/476: Move directory from
3609 ports/sysdeps/powerpc/powerpc32/476.
3610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3611 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3613 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3615 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3617 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3619 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3620 * README: Update for powerpc-*-linux-gnu software floating point
3621 support in libc.
3622
e246b347
JM
3623 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3624 case to powerpc/powerpc32*.
3625 * sysdeps/unix/sysv/linux/configure: Regenerated.
3626
89c2003e
JM
3627 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3628 (_FPU_MASK_OM): Define as 0x04.
3629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3631 0x00c10080.
3632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3633 0x0000003c.
3634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3635
cd78f7e7
JM
3636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3637 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3638 getcontext_e500.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3640 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3641 setcontext_e500.
3642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3643 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3644 and setcontext_e500.
3645
c755294d
CL
36462013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3647
3648 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3649
e16d221c
SP
36502013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3651
3652 * manual/threads.texi (Default Thread Attributes): Fix typo.
3653
215c7d43
WN
36542013-10-04 Will Newton <will.newton@linaro.org>
3655
3656 * malloc/Makefile: Add tst-memalign.
3657 * malloc/tst-memalign.c: New file.
3658
27d0461b
WN
3659 * malloc/tst-posix_memalign.c: Add comments.
3660 (do_test): Add comments and call free on all potentially
3661 allocated pointers. Add space after cast.
3662
1bc92709
WN
3663 * malloc/tst-pvalloc.c: Add comments.
3664 (do_test): Add comments and call free on all potentially
3665 allocated pointers. Remove duplicate check for NULL pointer.
3666 Add space after cast.
3667
66a9be9d
WN
3668 * malloc/tst-valloc.c: Add comments.
3669 (do_test): Add comments and call free on all potentially
3670 allocated pointers. Remove duplicate check for NULL pointer.
3671 Add space after cast.
3672
4cb81307
AM
36732013-10-04 Alan Modra <amodra@gmail.com>
3674
3675 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3676 Use stdint types in rather than __attribute__((mode())).
3677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3678
f8e3e9f3
AM
36792013-10-04 Alan Modra <amodra@gmail.com>
3680
3681 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3682 Correct handling of unaligned relocs for little-endian.
3683 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3684
8f9ebb08
AM
36852013-10-04 Alan Modra <amodra@gmail.com>
3686
3687 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3688 * configure: Regenerate.
3689 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3690 * shlib-versions: Likewise.
3691
0edf96c2
AM
36922013-10-04 Alan Modra <amodra@gmail.com>
3693
3694 * string/tester.c (test_memrchr): Increment reported test cycle.
3695
e0f7a380
AM
36962013-10-04 Alan Modra <amodra@gmail.com>
3697
3698 * string/test-memcpy.c (do_one_test): When reporting errors, print
3699 string address and don't overrun end of string.
3700
466b0393
AM
37012013-10-04 Alan Modra <amodra@gmail.com>
3702
3703 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3704 insrdi. Make better use of reg selection to speed exit slightly.
3705 Schedule entry path a little better. Remove useless "are we done"
3706 checks on entry to main loop. Handle wrapping around zero address.
3707 Correct main loop count. Handle single left-over word from main
3708 loop inline rather than by using loop_small. Remove extra word
3709 case in loop_small caused by wrong loop count. Add little-endian
3710 support.
3711 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3712 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3713 cache hint.
3714 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3715 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3716 support. Avoid rlwimi.
3717 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3718
3be87c77
AM
37192013-10-04 Alan Modra <amodra@gmail.com>
3720
3721 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3722 insrdi. Formatting.
3be87c77
AM
3723 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3724 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3725 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3726 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3727 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3728 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3729
759cfef3
AM
37302013-10-04 Alan Modra <amodra@gmail.com>
3731
3732 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3733 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3734 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3735 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3736 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3737 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3738 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3739 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3740 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3741 use of regs. Use power7 mtocrf. Tidy function tails.
3742
fe6e95d7
AM
37432013-10-04 Alan Modra <amodra@gmail.com>
3744
3745 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3746 Formatting. Consistently use rXXX register defines or rN defines.
3747 Use early exit labels that avoid restoring unused non-volatile regs.
3748 Make cr field use more consistent with rWORDn compares. Rename
3749 regs used as shift registers for unaligned loop, using rN defines
3750 for short lifetime/multiple use regs.
3751 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3752 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3753 addi 1,1,64 to pop stack frame. Simplify return value code.
3754 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3755
664318c3
AM
37562013-10-04 Alan Modra <amodra@gmail.com>
3757
3758 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3759 support. Correct typos, formatting. Optimize tail. Use insrdi
3760 rather than rlwimi.
3761 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3762 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3763 little-endian support. Correct typos.
3764 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3765 rather than rlwimi.
3766 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3767 in loop and entry code to keep "and." results.
3768 (strchr): Add little-endian support. Comment. Move cntlzd
3769 earlier in tail.
3770 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3771
43b84013
AM
37722013-10-04 Alan Modra <amodra@gmail.com>
3773
3774 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3775 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3776 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3777 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3778
8a7413f9
AM
37792013-10-04 Alan Modra <amodra@gmail.com>
3780
3781 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3782 (rTMP): Define as r11.
3783 (strcmp): Add little-endian support. Optimise tail.
3784 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3785 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3786 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3787 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3788 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3789 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3790 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3791
33ee81de
AM
37922013-10-04 Alan Modra <amodra@gmail.com>
3793
3794 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3795 little-endian support. Remove unnecessary "are we done" tests.
3796 Handle "s" wrapping around zero and extremely large "size".
3797 Correct main loop count. Handle single left-over word from main
3798 loop inline rather than by using small_loop. Correct comments.
3799 Delete "zero" tail, use "end_max" instead.
3800 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3801
db9b4570
AM
38022013-10-04 Alan Modra <amodra@gmail.com>
3803
3804 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3805 support. Don't branch over align.
3806 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3807 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3808 support. Rearrange tmp reg use to suit. Comment.
3809 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3810
f7c399cf
AM
38112013-10-04 Alan Modra <amodra@gmail.com>
3812
3813 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3814
0b2c2ace
AM
38152013-10-04 Alan Modra <amodra@gmail.com>
3816
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3818 conditional form of branch and link when obtaining pc.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3820
02f04a6c
AM
38212013-10-04 Alan Modra <amodra@gmail.com>
3822
3823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3824 HIWORD/LOWORD.
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3827
9b874b2f
AM
38282013-10-04 Alan Modra <amodra@gmail.com>
3829
3830 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3831 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3832 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3833 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3834 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3835 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3836 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3837 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3838 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3839 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3840
be1e5d31
AB
38412013-10-04 Anton Blanchard <anton@au1.ibm.com>
3842 Alistair Popple <alistair@ozlabs.au.ibm.com>
3843 Alan Modra <amodra@gmail.com>
3844
3845 [BZ #15723]
3846 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3847 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3848 _dl_hwcap access for little-endian.
3849 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3850 destroy vmx regs when saving unaligned.
3851 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3852 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3853 destroy vmx regs when saving unaligned.
3854
fef13a78
AM
38552013-10-04 Alan Modra <amodra@gmail.com>
3856
3857 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3858 Don't use a union to pack hi/low value.
3859
76a66d51
AB
38602013-10-04 Anton Blanchard <anton@au1.ibm.com>
3861
3862 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3863 for little-endian.
3864 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3866 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3867 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3868 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3869
6a31fe7f
AM
38702013-10-04 Alan Modra <amodra@gmail.com>
3871
3872 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3873 constants to usual value for .cst8 section, and remove redundant
3874 high address load.
3875 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3876 constant for 0x1p52. Load little-endian words of double from
3877 correct stack offsets.
3878
7b88401f
AM
38792013-10-04 Alan Modra <amodra@gmail.com>
3880
3881 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3882 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3883 words of double from correct stack offsets.
3884 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3885 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3886 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3887 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3888 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3889 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3890 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3891 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3892 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3893 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3894 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3895 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3896 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3897 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3898 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3899 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3900 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3901
9c008155
AM
39022013-10-04 Alan Modra <amodra@gmail.com>
3903
3904 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3905 64-bit int/double union.
3906 (_FPU_SETCW): Likewise.
3907 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3908 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3909
da13146d
AM
39102013-10-04 Alan Modra <amodra@gmail.com>
3911
3912 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3913 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3914
603e8410
AM
39152013-10-04 Alan Modra <amodra@gmail.com>
3916
3917 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3918 use vector int constants.
3919 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3920
4a28b3ca
AB
39212013-10-04 Anton Blanchard <anton@au1.ibm.com>
3922
3923 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3924 array with long long.
3925 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3926 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3927 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3928 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3929 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3930 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3931 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3932 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3933 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3934 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3935 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3936 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3937 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3938
2ca85d2b
AB
39392013-10-04 Anton Blanchard <anton@au1.ibm.com>
3940
3941 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3942 (__signbit): Likewise. Correct for little-endian.
3943 (__signbitl): Call __signbit.
3944 (lrint): Correct for little-endian.
3945 (lrintf): Call lrint.
3946
62a728ae
AM
39472013-10-04 Alan Modra <amodra@gmail.com>
3948
3949 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3950 union 32-bit int array member with 64-bit int array.
3951 (t515, tm256): Double rather than long double.
3952 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3953
32c301df
AM
39542013-10-04 Alan Modra <amodra@gmail.com>
3955
3956 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3957 Delete.
3958 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3959 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3960 version of math_ldbl.h.
3961
650ef4bd
AM
39622013-10-04 Alan Modra <amodra@gmail.com>
3963
3964 [BZ #15734], [BZ #15735]
3965 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3966 all uses of ieee875 long double macros and unions. Simplify test
3967 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3968 ldbl_extract_mantissa value for ix,iy exponents. Properly
3969 normalize after ldbl_extract_mantissa, and don't add hidden bit
3970 already handled. Don't treat low word of ieee854 mantissa like
3971 low word of IBM long double and mask off bit when testing for
3972 zero.
3973 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3974 all uses of ieee875 long double macros and unions. Simplify tests
3975 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3976 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3977 two1022, instead use their values. Recognise that tests for large
3978 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3979 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3980 Rewrite all uses of ieee875 long double macros and unions. Simplify
3981 test for 0.0L and nan. Correct negation.
3982 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3983 ieee875 long double macros and unions. Correct output for large
3984 magnitude x. Correct absolute value calculation.
3985 (__erfcl): Likewise.
3986 * math/libm-test.inc: Add tests for errors discovered in IBM long
3987 double versions of fmodl, remainderl, erfl and erfcl.
3988
765714ca
AM
39892013-10-04 Alan Modra <amodra@gmail.com>
3990
3991 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3992 all uses of ieee854 long double macros and unions. Simplify tests
3993 for long doubles that are fully specified by the high double.
3994 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3995 Likewise.
3996 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3997 Remove dead code too.
3998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3999 (__ieee754_ynl): Likewise.
4000 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4001 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4002 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4003 Remove dead code too.
4004 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4005 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4006 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4007 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4008 Simplify.
4009 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4010 Simplify.
4011 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4012 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4013 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4014 Comment on variable precision.
4015 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4016 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4017 Likewise.
4018 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4019 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4020 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4021 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4022 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4023
4ebd120c
AM
40242013-10-04 Alan Modra <amodra@gmail.com>
4025
4026 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4027 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4028 all uses of ieee854 long double macros and unions.
4029 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4030 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4031 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4032 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4033 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4034 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4035 Likewise.
4036 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4037 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4038 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4039 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4040 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4041 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4042 Simplify sign and nan test too.
4043 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4044 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4045 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4046 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4047 Likewise.
4048 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4049 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4050 Likewise.
4051 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4052 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4053 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4054 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4055 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4057
1b6adf88
AM
40582013-10-04 Alan Modra <amodra@gmail.com>
4059
4060 * stdio-common/printf_size.c (__printf_size): Don't use
4061 union ieee854_long_double in fpnum union.
4062 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4063 signbit macro to retrieve sign from long double.
4064 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4065 retrieve sign from long double.
4066 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4067 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4068 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4069 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4070 * math/test-misc.c (main): Don't use union ieee854_long_double.
4071
4cf69995
AM
40722013-10-04 Alan Modra <amodra@gmail.com>
4073
4074 [BZ #15680]
4075 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4076 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4077 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4078 calculation. Remove unnecessary test for denormal exponent.
4079 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4080 Correct handling of denormals. Avoid undefined shift behaviour.
4081 Correct normalisation of low mantissa when low double is denormal.
4082 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4083 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4084 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4085 Correct normalisation of low mantissa. Test for overflow of high
4086 mantissa and normalise.
4087 (ldbl_nearbyint): Use more readable constant for two52.
4088 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4089 (__mpn_construct_long_double): Fix test for overflow of high
4090 mantissa and correct normalisation. Avoid undefined shift.
4091
9605ca6c
AM
40922013-10-04 Alan Modra <amodra@gmail.com>
4093
4094 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4095 (union ibm_extended_long_double): Define as an array of ieee754_double.
4096 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4097 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4098 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4099 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4103 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4107
975569d0
JM
41082013-10-03 Joseph Myers <joseph@codesourcery.com>
4109
d3d23756
JM
4110 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4111 page size instead of calling getpagesize.
4112
975569d0
JM
4113 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4114 (LOCFILE_ALIGN_MASK): Likewise.
4115 (LOCFILE_ALIGN_UP): Likewise.
4116 (LOCFILE_ALIGNED_P): Likewise.
4117 * locale/programs/ld-collate.c (collate_output): Use the new
4118 macros instead of __alignof__ (int32_t).
4119 * locale/weight.h (findidx): Likewise.
4120
b1fe1f2b
OB
41212013-10-03 Ondřej Bílka <neleai@seznam.cz>
4122
4123 [BZ #431]
4124 * manual/string.texi: Fix strncat and wcsncat.
4125
5f855e35
BM
41262013-10-03 Brooks Moses <bmoses@google.com>
4127
4128 [BZ #15915]
4129 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4130 * Makerules: ...here, and adjust associated comments.
4131
3cef6009
WN
41322013-10-02 Will Newton <will.newton@linaro.org>
4133
4134 * malloc/Makefile: Add tst-pvalloc.
4135 * malloc/tst-pvalloc.c: New file.
4136
7815420b
WN
41372013-10-02 Will Newton <will.newton@linaro.org>
4138
4139 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4140 improve test coverage.
4141
4868b204
WN
41422013-10-02 Will Newton <will.newton@linaro.org>
4143
4144 * malloc/Makefile: Add tst-posix_memalign.
4145 * malloc/tst-posix_memalign.c: New file.
4146
29c793b3
EB
41472013-10-01 Eric Blake <eblake@redhat.com>
4148
4149 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4150 Use __THROWNL rather than __THROW on static functions.
4151
fd967522
PM
41522013-09-30 Petr Machata <pmachata@redhat.com>
4153
4154 * elf/elf.h (R_AARCH64_ABS16): New macro.
4155 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4156 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4157 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4158 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4159 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4160 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4161 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4162 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4163 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4164 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4165 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4166 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4167 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4168 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4169 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4170 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4171 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4172 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4173 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4174 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4175 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4176 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4177 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4178 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4179 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4180 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4181 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4182 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4183 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4184 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4185 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4186 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4187 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4188 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4189 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4190 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4191 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4192 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4193 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4194 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4195 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4196 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4197 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4198 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4199 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4200 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4201 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4202 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4203 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4204 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4205 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4206 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4207 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4208 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4209 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4210 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4211 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4212 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4213 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4214 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4215 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4216 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4217 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4218 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4219 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4220 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4221 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4222 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4223 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4224 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4225 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4226 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4227 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4228 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4229 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4230 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4231 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4232 (R_AARCH64_TLSDESC_LDR): Likewise.
4233 (R_AARCH64_TLSDESC_ADD): Likewise.
4234 (R_AARCH64_TLSDESC_CALL): Likewise.
4235
b2179107
AS
42362013-09-30 Andreas Schwab <schwab@suse.de>
4237
4238 [BZ #15048]
4239 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4240 the nss database lookup.
4241 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4243
47f28d0a
MF
42442013-09-28 Mike Frysinger <vapier@gentoo.org>
4245
4246 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4247
42482013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4249
4250 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4251 ${Bash-specific parameter/pattern/string} parameter expansion.
4252 * sysdeps/unix/make-syscalls.sh: Likewise.
4253
f4518a17
KK
42542013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4255
4256 * sysdeps/sh/stackguard-macros.h: New file.
4257
dc1a95c7
OB
42582013-09-26 Ondřej Bílka <neleai@seznam.cz>
4259
4260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4262 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4263 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4264 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4265 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4266
5ebbff8f
AZ
42672013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4268
4269 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4270 Fix thread ID register.
4271
4fd2cf9f
JM
42722013-09-25 Joseph Myers <joseph@codesourcery.com>
4273
4274 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4275 [POSIX || UNIX98]: Require rather than permitting all symbols from
4276 <time.h>.
4277 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4278 element of struct sched_param.
4279 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4280 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4281 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4282 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4283 constant.
4284
12c22bc4
OL
42852013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4286
4287 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4288 argument calculation.
4289
a03d8ea7
JM
42902013-09-24 Joseph Myers <joseph@codesourcery.com>
4291
4292 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4293 Expect macro.
4294 [POSIX] (pthread_attr_t): Do not require type.
4295 [POSIX] (pthread_cond_t): Likewise.
4296 [POSIX] (pthread_condattr_t): Likewise.
4297 [POSIX] (pthread_key_t): Likewise.
4298 [POSIX] (pthread_mutex_t): Likewise.
4299 [POSIX] (pthread_mutexattr_t): Likewise.
4300 [POSIX] (pthread_once_t): Likewise.
4301 [POSIX] (pthread_t): Likewise.
4302 [POSIX-based standards] (pthread_atfork): Expect function.
4303
6055173a
JM
43042013-09-24 Joseph Myers <joseph@codesourcery.com>
4305 Richard Sandiford <richard@codesourcery.com>
4306
4307 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4308 (swap_endianness_p): New extern variable.
4309 (set_big_endian): New inline function.
4310 (maybe_swap_uint32): Likewise.
4311 (maybe_swap_uint32_array): Likewise.
4312 (maybe_swap_uint32_obstack): Likewise.
4313 * locale/programs/locfile.c: Include <stdbool.h>.
4314 (swap_endianness_p): New variable.
4315 (add_locale_uint32): Call maybe_swap_uint32.
4316 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4317 (write_locale_data): Call maybe_swap_uint32_array.
4318 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4319 maybe_swap_uint32.
4320 (obstack_int32_grow_fast): Likewise.
4321 (output_weightwc): Call maybe_swap_uint32_obstack.
4322 (collate_output): Likewise.
4323 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4324 (OPT_LITTLE_ENDIAN): Likewise.
4325 (options): Add --little-endian and --big-endian options.
4326 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4327 * locale/programs/locarchive.c: Include "locfile.h".
4328 (GET): New macro.
4329 (SET): Likewise.
4330 (INC): Likewise.
4331 (create_archive): Use the new macros to access fields of
4332 structures directly mapped from or written to locale archives.
4333 (oldlocrecentcmp): Likewise.
4334 (enlarge_archive): Likewise.
4335 (insert_name): Likewise.
4336 (add_alias): Likewise.
4337 (add_locale): Likewise.
4338 (delete_locales_from_archive): Likewise.
4339 (show_archive_content): Likewise.
4340 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4341 locale data.
4342
39bf0bb4
RM
43432013-09-24 Roland McGrath <roland@hack.frob.com>
4344
4345 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4346 http://www.gnu.org/doc/freemanuals.texi.
4347 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4348
f02eed10
WN
43492013-09-24 Will Newton <will.newton@linaro.org>
4350
4351 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4352 macro.
4353
a3a6c312
JM
43542013-09-23 Joseph Myers <joseph@codesourcery.com>
4355
4356 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4357 unsigned char.
4358
107375ac
MR
43592013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4360
4361 * manual/threads.texi (POSIX Threads): Fix a typo.
4362
141f3a77
SP
43632013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4364
303e567a
SP
4365 [BZ #14547]
4366 * string/tst-strcoll-overflow.c: New test case.
4367 * string/Makefile (xtests): Add tst-strcoll-overflow.
4368 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4369 cache if string sizes may cause integer overflow.
4370
141f3a77
SP
4371 [BZ #14547]
4372 * string/strcoll_l.c (coll_seq): New members rule, idx,
4373 save_idx and back_us.
4374 (get_next_seq_nocache): New function.
4375 (do_compare_nocache): New function.
4376 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4377 when malloc fails.
4378
c61b4d41
CD
43792013-09-23 Carlos O'Donell <carlos@redhat.com>
4380
0b1f8e35
CD
4381 [BZ #15754]
4382 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4383 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4384 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4385
c61b4d41
CD
4386 [BZ #15754]
4387 * elf/Makefile (tests): Add tst-ptrguard1.
4388 (tests-static): Add tst-ptrguard1-static.
4389 (tst-ptrguard1-ARGS): Define.
4390 (tst-ptrguard1-static-ARGS): Define.
4391 * elf/tst-ptrguard1.c: New file.
4392 * elf/tst-ptrguard1-static.c: New file.
4393 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4394 * sysdeps/i386/stackguard-macros.h: Likewise.
4395 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4396 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4397 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4398 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4399 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4400 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4401
44022013-09-23 Hector Marco <hecmargi@upv.es>
4403 Ismael Ripoll <iripoll@disca.upv.es>
4404 Carlos O'Donell <carlos@redhat.com>
4405
4406 [BZ #15754]
4407 * sysdeps/generic/stackguard-macros.h: Define
4408 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4409 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4410 Define __pointer_chk_guard_local.
4411 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4412 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4413
f5f4e7b4
VV
44142013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4415
4416 [BZ #15859]
4417 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4418
5bb43a43
AS
44192013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4420
4421 * include/string.h (__ffs): Declare as hidden.
4422 * string/ffs.c (__ffs): Define as hidden.
4423 * sysdeps/i386/ffs.c (__ffs): Likewise.
4424 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4425 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4426 * sysdeps/s390/ffs.c (__ffs): Likewise.
4427 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4428
3ea5be54
AO
44292013-09-20 Alexandre Oliva <aoliva@redhat.com>
4430
ffb89e53
AO
4431 * NEWS: Mention malloc probes.
4432
322dea08
AO
4433 * malloc/arena.c (new_heap): New memory_heap_new probe.
4434 (grow_heap): New memory_heap_more probe.
4435 (shrink_heap): New memory_heap_less probe.
4436 (heap_trim): New memory_heap_free probe.
4437 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4438 (systrim): New memory_sbrk_less probe.
4439 * manual/probes.texi: Document them.
4440
655673f3
AO
4441 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4442 * manual/probes.texi: Document it.
4443
35fed6f1
AO
4444 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4445 (__libc_realloc): Add memory_realloc_retry probe.
4446 (__libc_memalign): Add memory_memalign_retry probe.
4447 (__libc_valloc): Add memory_valloc_retry probe.
4448 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4449 (__libc_calloc): Add memory_calloc_retry probe.
4450 * manual/probes.texi: Document them.
4451
6999d38c
AO
4452 * malloc/arena.c (get_free_list): Add probe
4453 memory_arena_reuse_free_list.
4454 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4455 and memory_arena_reuse.
4456 (arena_get2) [!PER_THREAD]: Likewise.
4457 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4458 memory_arena_reuse_realloc.
4459 * manual/probes.texi: Document them.
4460
0653427f
AO
4461 * malloc/malloc.c (__libc_free): Add
4462 memory_mallopt_free_dyn_thresholds probe.
4463 (__libc_mallopt): Add multiple memory_mallopt probes.
4464 * manual/probes.texi: Document them.
4465
3ea5be54
AO
4466 * malloc/malloc.c: Include stap-probe.h.
4467 (__libc_mallopt): Add memory_mallopt probe.
4468 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4469 * manual/probes.texi: New.
4470 * manual/Makefile (chapters): Add probes.
4471 * manual/threads.texi: Set next node.
4472
e35696c3 44732013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4474
e35696c3
CL
4475 [BZ #15963, #13985]
4476 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4477 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4478 Add `Chinese' to `nan' entry name.
4479
4aafb73c
SP
44802013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4481
4482 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4483 (POLYNOMIAL): Likewise.
4484 (TAYLOR_SINCOS): Likewise.
4485 (TAYLOR_SLOW): Likewise.
4486 (__sin): Use TAYLOR_SINCOS.
4487 (__cos): Likewise.
4488 (slow): Use TAYLOR_SLOW.
4489 (sloww): Likewise.
4490 (bsloww): Likewise.
4491 (csloww): Likewise.
4492
d84f25c7
LD
44932013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4494
4495 * stdlib/strtod_l.c: Fix buffer overrun.
4496
5eea0404
SP
44972013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4498
7849ff93
SP
4499 * benchtests/Makefile (bench): Add sincos.
4500 * benchtests/bench-sincos.c: New file.
4501
cfa3c886
SP
4502 * math/libm-test.inc (cos_test_data): New test inputs.
4503 (sin_test_data): Likewise.
4504
b348e1e3
SP
4505 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4506 macro.
4507 (__sin): Use it.
4508 (__cos): Likewise.
4509 (slow1): Likewise.
4510 (slow2): Likewise.
4511 (sloww1): Likewise.
4512 (sloww2): Likewise.
4513 (bsloww1): Likewise.
4514 (bsloww2): Likewise.
4515 (cslow2): Likewise.
4516 (csloww1): Likewise.
4517 (csloww2): Likewise.
4518
6cce25f8
SP
4519 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4520 function.
4521 (__sin): Use it.
4522 (__cos): Likewise.
4523
5eea0404
SP
4524 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4525 gotos.
4526 (__cos): Likewise.
4527
9c21573c
MR
45282013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4529
4530 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4531 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4532 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4533 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4534 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4535 * elf/cache.c (print_entry): Handle the new cache flags.
4536
24d22e65
JM
45372013-09-18 Joseph Myers <joseph@codesourcery.com>
4538 Aldy Hernandez <aldyh@redhat.com>
4539
4540 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4541 Change condition to [_SOFT_FLOAT].
4542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4544 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4548 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4549 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4554 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4557 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4558 declaration.
4559
d13ef066
JM
45602013-09-18 Joseph Myers <joseph@codesourcery.com>
4561
2e071de0
JM
4562 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4563 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4564 (__longjmp): Use LOAD_GP to load saved GPRs.
4565 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4566 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4567 (__sigsetjmp): Use SAVE_GP to save GPRs.
4568
d13ef066
JM
4569 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4570 Do not append -msoft-float.
4571 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4572
97a0650b
SP
45732013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4574
4575 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4576
11ca09e9
JM
45772013-09-17 Joseph Myers <joseph@codesourcery.com>
4578
4579 [BZ #15966]
4580 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4581 (_FPU_GETCW): Use initial "__" on variable and field names but not
4582 on macro parameter name.
4583 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4584 parentheses around reference to macro parameter.
4585
08ffcf34
RS
45862013-09-13 Richard Sandiford <richard@codesourcery.com>
4587
4588 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4589 prototype.
4590 (ctype_startup): Use uint32_t in cast and sizeof for
4591 ctype->charnames.
4592
ae7080d3
JL
45932013-09-11 Jia Liu <proljc@gmail.com>
4594
4595 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4596 __daddr_t_defined.
4597 [__FreeBSD__]: Likewise.
4598
5905e7b3
OB
45992013-09-11 Ondřej Bílka <neleai@seznam.cz>
4600
4601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4602 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4603 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4604 (strchr): Remove __strchr_sse42 ifunc selection.
4605 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4606 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4607
b987c776
WN
46082013-09-11 Will Newton <will.newton@linaro.org>
4609
4610 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4611 parameter to RES. Remove hardcoded 1000 value.
4612 * benchtests/bench-skeleton.c (main): Pass RES parameter
4613 to TIMING_INIT and multiply result by 1000.
4614
ddf985af
AZ
46152013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4616
4617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4618
ffdd3181
AS
46192013-09-11 Andreas Schwab <schwab@suse.de>
4620
4621 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4622 if not defined.
4623 (O_TMPFILE) [__USE_GNU]: Define.
4624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4625 Define.
4626
b73ed247
WN
46272013-09-11 Will Newton <will.newton@linaro.org>
4628
4629 [BZ #15857]
4630 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4631 does not overflow.
4632
55e17aad
WN
46332013-09-11 Will Newton <will.newton@linaro.org>
4634
4635 [BZ #15856]
4636 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4637 does not overflow.
4638
1159a193
WN
46392013-09-11 Will Newton <will.newton@linaro.org>
4640
4641 [BZ #15855]
4642 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4643 does not overflow.
4644
5905e7b3 46452013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4646
4647 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4648 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4649 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4650 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4651 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4652
cdfc721b
AM
46532013-09-10 Allan McRae <allan@archlinux.org>
4654
aa04af00
AM
4655 [BZ #15748]
4656 * manual/arith.texi (Parsing of Floats): Clarify
4657 cross-reference.
4658
cdfc721b
AM
4659 [BZ #15849]
4660 * manual/install.texi (Running make install): Mention
4661 --enable-pt-chown.
4662 * INSTALL: Regenerated.
4663
95e7cf29
MR
46642013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4665
4666 * csu/init-first.c (_init): Remove the !SHARED condition around
4667 FPU control word initialization.
4668 * elf/dl-support.c (_dl_fpu_control): New variable.
4669 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4670 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4671 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4672 * math/test-fpucw-static.c: New file.
4673 * math/test-fpucw-ieee.c: New file.
4674 * math/test-fpucw-ieee-static.c: New file.
4675 * math/Makefile (tests): Add `test-fpucw-ieee' and
4676 `$(tests-static)'.
4677 (tests-static): New variable.
4678 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4679 dependency to...
4680 [($(build-shared),yes)]
4681 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4682 ... this.
4683 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4684 New dependency.
4685
83e43bf0
AM
46862013-09-09 Allan McRae <allan@archlinux.org>
4687
a9f5ce09
AM
4688 [BZ #15939]
4689 * manual/string.texi (Collation Functions): Fix typo in
4690 strcoll example.
4691 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4692
34829bc2
AM
4693 [BZ #15893]
4694 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4695
3932737d
AM
4696 [BZ #15892]
4697 * libio/memstream.c (open_memstream): Fix memory leak.
4698 * libio/wmemstream.c (open_wmemstream): Likewise.
4699
83e43bf0
AM
4700 [BZ #15895]
4701 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4702
0c66b8e9
WN
47032013-09-09 Will Newton <will.newton@linaro.org>
4704
4705 * malloc/Makefile: Add tst-realloc to tests.
4706 * malloc/tst-realloc.c: New file.
4707
f6b00fd1
AM
47082013-09-09 Allan McRae <allan@archlinux.org>
4709
4710 [BZ #15844]
4711 * COPYING: Update from GNU website to fix FSF address.
4712 * COPYING.LIB: Likewise.
4713
eec55e16
DM
47142013-09-06 David S. Miller <davem@davemloft.net>
4715
4716 * po/zh_TW.po: Update Chinese (traditional) translation from
4717 translation project.
4718
1ecbb381
RS
47192013-09-06 Richard Sandiford <richard@codesourcery.com>
4720 Joseph Myers <joseph@codesourcery.com>
4721
4722 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4723 "localeinfo.h".
4724 (obstack_chunk_alloc): New macro.
4725 (obstack_chunk_free): Likewise.
4726 (record_offset): New function.
4727 (init_locale_data): Likewise.
4728 (align_locale_data): Likewise.
4729 (add_locale_empty): Likewise.
4730 (add_locale_raw_data): Likewise.
4731 (add_locale_raw_obstack): Likewise.
4732 (add_locale_string): Likewise.
4733 (add_locale_wstring): Likewise.
4734 (add_locale_uint32): Likewise.
4735 (add_locale_uint32_array): Likewise.
4736 (add_locale_char): Likewise.
4737 (start_locale_structure): Likewise.
4738 (end_locale_structure): Likewise.
4739 (start_locale_prelude): Likewise.
4740 (end_locale_prelude): Likewise.
4741 (write_locale_data): Take locale_file structure rather than an
4742 iovec.
4743 * locale/programs/locfile.h: Include "obstack.h".
4744 (struct locale_file): Change to store locale file contents instead
4745 of header.
4746 (init_locale_data): New prototype.
4747 (align_locale_data): Likewise.
4748 (add_locale_empty): Likewise.
4749 (add_locale_raw_data): Likewise.
4750 (add_locale_raw_obstack): Likewise.
4751 (add_locale_string): Likewise.
4752 (add_locale_wstring): Likewise.
4753 (add_locale_uint32): Likewise.
4754 (add_locale_uint32_array): Likewise.
4755 (add_locale_char): Likewise.
4756 (start_locale_structure): Likewise.
4757 (end_locale_structure): Likewise.
4758 (start_locale_prelude): Likewise.
4759 (end_locale_prelude): Likewise.
4760 (write_locale_data): Update prototype.
4761 * locale/programs/3level.h (struct TABLE): Remove result field.
4762 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4763 Use new locale_file interface.
4764 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4765 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4766 * locale/programs/ld-address.c (address_output): Use new
4767 locale_file interface.
4768 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4769 NO_ADD_LOCALE.
4770 (collate_finish): Don't call collseq_table_finalize.
4771 (collate_output): Use new locale_file interface.
4772 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4773 in file.
4774 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4775 (TABLE): Move defines earlier in file.
4776 (ELEMENT): Likewise.
4777 (DEFAULT): Likewise.
4778 (wctrans_table_add): Move macro and inline function earlier in
4779 file.
4780 (struct wctype_table): Move type earlier in file.
4781 (add_locale_wctype_table): New static prototype.
4782 (struct locale_ctype_t): Use logical types instead of struct iovec
4783 pointers for members.
4784 (ctype_output): Use new locale_file interface.
4785 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4786 new locale_file interface.
4787 (allocate_arrays): Update for use of new locale_file interface.
4788 * locale/programs/ld-identification.c (identification_output): Use
4789 new locale_file interface.
4790 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4791 * locale/programs/ld-messages.c (messages_output): Likewise.
4792 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4793 * locale/programs/ld-name.c (name_output): Likewise.
4794 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4795 * locale/programs/ld-paper.c (paper_output): Likewise.
4796 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4797 * locale/programs/ld-time.c (time_output): Likewise.
4798
e029e2e5
AZ
47992013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4800
4801 * benchtests/Makefile: Add memrchr benchmark.
4802 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4803 benchmark as memrchr.
4804 * benchtests/bench-memrchr-ifunc.c: New file.
4805 * benchtests/bench-memrchr.c: New file.
4806
bbf6e8e4
WN
48072013-09-06 Will Newton <will.newton@linaro.org>
4808
4809 * benchtests/Makefile (string-bench): Add memcpy.
4810
6c82a2f8
CD
48112013-09-05 Carlos O'Donell <carlos@redhat.com>
4812 Cong Wang <amwang@redhat.com>
4813
4814 * sysdeps/unix/sysv/linux/bits/in.h
4815 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4816 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4817 before __USE_KERNEL_IPV6_DEFS uses.
4818 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4819 IPPROTO_BEETPH.
4820 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4821 sockaddr_in6, or ipv6_mreq.
4822
5430fc65
AZ
48232013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4824
4825 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4826 memory access for final bytes in some large inputs.
4827 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4828
4660856c
AZ
48292013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4830
4831 * string/test-memrchr.c: New file.
4832 * string/test-memrchr-ifunc.c: New file.
4833 * string/Makefile: Add new memrchr testcase.
4834
bb8ea713
MF
48352013-09-05 Mike Frysinger <vapier@gentoo.org>
4836
4837 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4838 fanotify_init returns EPERM.
4839
b92a20b5
JM
48402013-09-04 Joseph Myers <joseph@codesourcery.com>
4841
4842 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4843 errors.
4844 (top level): Treat second token from macro or constant entries for
4845 allowed headers as allowed.
4846 * include/complex.h: Condition internal declarations on
4847 [!_ISOMAC].
4848 * include/fenv.h: Condition include of <stdbool.h> and internal
4849 declarations on [!_ISOMAC].
7447ccd9
CL
4850
48512013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4852
3e181dda 4853 [BZ #15923]
7447ccd9
CL
4854 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4855
3f2e46a4
JM
48562013-09-04 Joseph Myers <joseph@codesourcery.com>
4857
4858 * configure.in (--enable-versioning): Remove configure option.
4859 (libc_cv_asm_symver_directive): Remove configure test.
4860 (libc_cv_ld_version_script_option): Likewise.
4861 (VERSIONING): Remove variable and AC_SUBST.
4862 (DO_VERSIONING): Remove AC_DEFINE.
4863 * configure: Regenerated.
4864 * config.h.in (DO_VERSIONING): Remove macro.
4865 * Makerules [$(versioning) = yes]: Change conditionals to
4866 [$(build-shared) = yes].
4867 * config.make.in (versioning): Remove variable.
4868 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4869 [$(build-shared) = yes].
4870 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4871 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4872 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4873 [$(build-shared) = yes].
4874 * extra-lib.mk [$(versioning) = yes]: Likewise.
4875 * hurd/Makefile [$(versioning) = yes]: Likewise.
4876 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4877 [SHARED].
4878 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4879 [SHARED].
4880 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4881 [SHARED && !NO_HIDDEN].
4882 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4883 [SHARED].
4884 [SHARED && DO_VERSIONING]: Likewise..
4885 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4886 [$(build-shared) = yes].
4887 * manual/install.texi (--disable-versioning): Remove
4888 documentation.
4889 * INSTALL: Regenerated.
4890 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4891 to [SHARED].
4892 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4893 [$(build-shared) = yes].
4894 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4895 * sysdeps/i386/i686/multiarch/strstr-c.c
4896 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4897 [SHARED && !NO_HIDDEN].
4898 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4899 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4900 * sysdeps/powerpc/powerpc32/dl-machine.c
4901 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4902 * sysdeps/powerpc/powerpc32/sysdep.h
4903 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4904 to [SHARED && PIC && !NO_HIDDEN].
4905 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4906 conditional to [SHARED].
4907
44558701
WN
49082013-09-04 Will Newton <will.newton@linaro.org>
4909
4910 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4911 * benchtests/bench-string.h: Include bench-timing.h instead
4912 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4913 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4914 call to HP_TIMING_DIFF_INIT.
4915 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4916 instead of hp-timing.h macros.
4917 * benchtests/bench-memchr.c: Likewise.
4918 * benchtests/bench-memcmp.c: Likewise.
4919 * benchtests/bench-memcpy.c: Likewise.
4920 * benchtests/bench-memmem.c: Likewise.
4921 * benchtests/bench-memmove.c: Likewise.
4922 * benchtests/bench-memset.c: Likewise.
4923 * benchtests/bench-rawmemchr.c: Likewise.
4924 * benchtests/bench-strcasecmp.c: Likewise.
4925 * benchtests/bench-strcasestr.c: Likewise.
4926 * benchtests/bench-strcat.c: Likewise.
4927 * benchtests/bench-strchr.c: Likewise.
4928 * benchtests/bench-strcmp.c: Likewise.
4929 * benchtests/bench-strcpy.c: Likewise.
4930 * benchtests/bench-strcpy_chk.c: Likewise.
4931 * benchtests/bench-strlen.c: Likewise.
4932 * benchtests/bench-strncasecmp.c: Likewise.
4933 * benchtests/bench-strncat.c: Likewise.
4934 * benchtests/bench-strncmp.c: Likewise.
4935 * benchtests/bench-strncpy.c: Likewise.
4936 * benchtests/bench-strnlen.c: Likewise.
4937 * benchtests/bench-strpbrk.c: Likewise.
4938 * benchtests/bench-strrchr.c: Likewise.
4939 * benchtests/bench-strspn.c: Likewise.
4940 * benchtests/bench-strstr.c: Likewise.
4941
cae16d66
WN
49422013-09-04 Will Newton <will.newton@linaro.org>
4943
4944 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4945
ffa3cd7f
JM
49462013-09-03 Joseph Myers <joseph@codesourcery.com>
4947
4948 [BZ #15427]
4949 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4950 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4951 * math/libm-test.inc (lgamma_test_data): Add more tests.
4952 * sysdeps/i386/fpu/libm-test-ulps: Update.
4953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4954
8f02859f
OB
49552013-09-03 Ondřej Bílka <neleai@seznam.cz>
4956
4957 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4959 Add ifunc.
4960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4961 Add strcmp-sse2-unaligned
4962 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4963
18d43716
MF
49642013-09-02 Mike Frysinger <vapier@gentoo.org>
4965
4966 * Versions.def (libc): Add GLIBC_2.19.
4967
ac444012
MF
49682013-09-02 Mike Frysinger <vapier@gentoo.org>
4969
4970 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4971 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4972
b7835e32
JM
49732013-09-02 Joseph Myers <joseph@codesourcery.com>
4974
4975 [BZ #14155]
4976 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4977 intermediate calculations in recurrence.
4978 (__ieee754_ynf): Likewise.
4979 * math/libm-test.inc (jn_test_data): Do not allow spurious
4980 underflow exception. Add more tests.
4981 (yn_test_data): Add more tests.
4982 * sysdeps/i386/fpu/libm-test-ulps: Update.
4983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4984
8220f4f0
OB
49852013-09-02 Ondřej Bílka <neleai@seznam.cz>
4986
4987 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4988
f24a6d08
OB
49892013-08-30 Ondřej Bílka <neleai@seznam.cz>
4990
4991 * csu/init-first.c: Fix then/than typos.
4992 * locale/programs/ld-collate.c: Likewise.
4993 * locale/programs/linereader.h: Likewise.
4994 * manual/charset.texi: Likewise.
4995 * manual/filesys.texi: Likewise.
4996 * manual/stdio.texi: Likewise.
4997 * manual/string.texi: Likewise.
4998 * stdlib/fmtmsg.c: Likewise.
4999 * sysdeps/i386/stpncpy.S: Likewise.
5000 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5001 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5002 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5003 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5004
382466e0
OB
50052013-08-30 Ondřej Bílka <neleai@seznam.cz>
5006
5007 * elf/dl-open.c: Fix typos.
5008 * iconvdata/gbbig5.c: Likewise.
5009 * iconvdata/iso-2022-jp.c: Likewise.
5010 * iconv/gconv_int.h: Likewise.
5011 * iconv/loop.c: Likewise.
5012 * nis/rpcsvc/nis.h: Likewise.
5013 * resolv/ns_name.c: Likewise.
5014 * stdio-common/vfscanf.c: Likewise.
5015 * streams/stropts.h: Likewise.
5016 * sunrpc/rpc_thread.c: Likewise.
5017 * sysdeps/i386/strpbrk.S: Likewise.
5018 * sysdeps/ieee754/k_standard.c: Likewise.
5019 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5021 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5022 * sysdeps/mach/hurd/profil.c: Likewise.
5023 * sysdeps/s390/dl-procinfo.h: Likewise.
5024 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5025 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5026 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5027 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5028 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5029
0186c6e9
OB
50302013-08-30 Ondřej Bílka <neleai@seznam.cz>
5031
5032 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5033 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5034
d4e16af1
OB
50352013-08-29 Ondřej Bílka <neleai@seznam.cz>
5036
5037 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5038 aix specific files.
5039 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5040 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5041 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5042 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5043 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5044 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5045 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5046 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5047
88335980
TS
50482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5049 Roland McGrath <roland@hack.frob.com>
5050
5051 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5052 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5053
ed479b02
ST
50542013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5055
5056 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5057 __executable_start symbol instead of _start.
5058
f1cc4c86
TS
50592013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5060
d821f07c
TS
5061 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5062 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5063 Move macros to...
5064 * sysdeps/gnu/ldsodefs.h: ... this new file.
5065
c54290cf
TS
5066 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5067 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5068 instead of ELFOSABI_LINUX.
5069
0007fc9b 5070 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5071 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5072 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5073 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5074 Likewise.
5075 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5076 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5077 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5078 Likewise.
5079 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5080 (ibm_extended_long_double): Add ieee_nan member.
5081 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5082 (do_test): New function.
5083
f1cc4c86
TS
5084 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5085 TEST_TRUNC.
5086 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5087 functions, renamed from truncdfsf_test, trunctfsf_test,
5088 trunctfdf_test.
5089 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5090 functions.
5091 (do_test): Run all these.
5092
6f65e668
OB
50932013-08-29 Ondřej Bílka <neleai@seznam.cz>
5094
5095 * argp/argp-help.c: Fix typos.
5096 * argp/argp-parse.c: Likewise.
5097 * debug/backtracesyms.c: Likewise.
5098 * elf/elf.h: Likewise.
5099 * malloc/malloc.c: Likewise.
5100 * nis/nis_print.c: Likewise.
5101 * resolv/res_comp.c: Likewise.
5102 * stdlib/stdlib.h: Likewise.
5103 * sunrpc/clnt_tcp.c: Likewise.
5104 * sunrpc/clnt_udp.c: Likewise.
5105 * sunrpc/clnt_unix.c: Likewise.
5106 * sysdeps/unix/bsd/ptsname.c: Likewise.
5107 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5108 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5110 Likewise.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5112 Likewise.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5114 Likewise.
6f65e668
OB
5115 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5116
3a309239
SP
51172013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5118
5119 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5121
3b813b29
MF
51222013-08-27 Mike Frysinger <vapier@gentoo.org>
5123
5124 [BZ #15897]
5125 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5126 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5127 ($(objpfx)bug-dl-leaf): New rule.
5128 ($(objpfx)bug-dl-leaf.so): Likewise.
5129 ($(objpfx)bug-dl-leaf.out): Likewise.
5130 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5131 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5132 * dlfcn/bug-dl-leaf.c: New test.
5133 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5134 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5135 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5136 (dlclose): Likewise.
5137 (dlmopen): Likewise.
5138
8cc3269f
RM
51392013-08-27 Roland McGrath <roland@hack.frob.com>
5140
7f9d0034
RM
5141 * include/netdb.h [!_ISOMAC]:
5142 Don't include <tls.h>.
5143 (h_errno, __libc_h_errno): Move declaration and macros out of
5144 [_LIBC_REENTRANT].
5145
fb431262
RM
5146 * include/resolv.h [_RESOLV_H_]:
5147 Don't include <tls.h>.
5148 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5149 * resolv/res_libc.c: Don't include <tls.h>.
5150 (_res): Use __attribute__ ((nocommon)) in place of
5151 __attribute__ ((section (".bss"))).
5152
bd81123a
RM
5153 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5154 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5155
c4e42566
RM
5156 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5157
f890a59b
RM
5158 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5159 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5160
5161 * resolv/res_mkquery.c: Include <sys/time.h>.
5162
5d1f0a09
RM
5163 * inet/ifreq.c: Moved to ...
5164 * sysdeps/unix/ifreq.c: ... here.
5165 * inet/ifreq.c: New file, true stub version.
5166
6fcf28b3
RM
5167 * socket/sa_len.c: New file.
5168 * socket/Makefile (aux): Add it.
5169 * sysdeps/unix/sysv/linux/Makefile
5170 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5171 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5172 and #include <socket/sa_len.c>.
5173 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5174 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5175
e041fb8b
RM
5176 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5177 * bits/socket.h: ... here.
5178
8cc3269f
RM
5179 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5180 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5181 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5182
5d228a43
AS
51832013-08-27 Andreas Schwab <schwab@suse.de>
5184
45b8accc
AS
5185 [BZ #15736]
5186 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5187 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5188 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5189 * string/test-strcasecmp.c (test_main): Run tests in several
5190 locales.
5191 * string/test-strncasecmp.c (test_main): Likewise.
5192
5d228a43
AS
5193 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5194 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5195 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5196 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5197 (__strncasecmp_ssse3) [PIC]: Likewise.
5198
59d112a4
RM
51992013-08-26 Roland McGrath <roland@hack.frob.com>
5200
53234cc3
RM
5201 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5202
59d112a4
RM
5203 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5204 instead of explicitly declaring xdecrypt.
5205 * nis/nss_nis/nis-publickey.c: Likewise.
5206
595aba70
SP
52072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5208
5209 [BZ #15890]
5210 * nscd/aicache.c: Include res_hconf.h.
5211 (addhstaiX): Initialize res_hconf.
5212
ffabd393
AS
52132013-08-26 Andreas Schwab <schwab@suse.de>
5214
5215 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5216 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5217
e0a69f5c
SP
52182013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5219
5220 * nscd/aicache.c (addhstaiX): Fix indentation.
5221
8c12f01d
MF
52222013-08-25 Mike Frysinger <vapier@gentoo.org>
5223
5224 * configure.ac: Quote $build_pt_chown test.
5225 * configure: Regenerated.
5226
8fe89494
JM
52272013-08-23 Joseph Myers <joseph@codesourcery.com>
5228
5229 [BZ #15532]
5230 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5231 * math/s_cexpf.c (__cexpf): Likewise.
5232 * math/s_cexpl.c (__cexpl): Likewise.
5233 * math/libm-test.inc (cexp_test_data): Correct expected return
5234 value for NaN + i0. Add another test.
5235
75b181d6
DM
52362013-08-22 David S. Miller <davem@davemloft.net>
5237
5238 * po/ca.po: Update Catalan translation from translation project.
936241e4 5239 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5240
acd06bb1
JM
52412013-08-21 Joseph Myers <joseph@codesourcery.com>
5242
5243 [BZ #15797]
5244 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5245 is infinite, not alongside NaN test.
5246 * math/s_fdimf.c (__fdimf): Likewise.
5247 * math/s_fdiml.c (__fdiml): Likewise.
5248 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5249 errno is unchanged.
5250
c0c3f78a
OB
52512013-08-21 Ondřej Bílka <neleai@seznam.cz>
5252
5253 * argp/argp-help.c: Fix typos.
5254 * crypt/speeds.c: Likewise.
5255 * csu/check_fds.c: Likewise.
5256 * elf/dl-load.c: Likewise.
5257 * elf/dl-open.c: Likewise.
5258 * elf/reldep3.c: Likewise.
5259 * elf/reldep.c: Likewise.
5260 * elf/sprof.c: Likewise.
5261 * iconv/iconv_charmap.c: Likewise.
5262 * iconv/skeleton.c: Likewise.
5263 * iconv/strtab.c: Likewise.
5264 * io/lockf64.c: Likewise.
5265 * libio/libioP.h: Likewise.
5266 * resolv/gai_notify.c: Likewise.
5267 * resolv/ns_name.c: Likewise.
5268 * resolv/ns_samedomain.c: Likewise.
5269 * resolv/res_send.c: Likewise.
5270 * stdlib/random.c: Likewise.
5271 * sunrpc/rpc/xdr.h: Likewise.
5272 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5273 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5274 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5275 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5276 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5277 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5279 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5280 * sysdeps/mach/hurd/check_fds.c: Likewise.
5281 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5282 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5283 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5284 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5285 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5286 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5287 * sysdeps/pthread/aio_notify.c: Likewise.
5288 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5289 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5290 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5291 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5292 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5293
46ed1038
LD
52942013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5295
5296 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5297 version if bit_Slow_SSE4_2 is set.
5298 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5299 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5300
d400dcac
AZ
53012013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5302
5303 [BZ #15867]
5304 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5305 trampoline stack frame information.
5306 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5307 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5308 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5309 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5310 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5311 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5312 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5313 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5314 sa_flags value.
5315 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5316 interrupting a syscall and set with option SA_SIGINFO.
5317
42c8fdd8
JM
53182013-08-20 Joseph Myers <joseph@codesourcery.com>
5319
c980f2f4
JM
5320 [BZ #15531]
5321 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5322 argument is infinite.
5323 * math/s_cprojf.c (__cprojf): Likewise.
5324 * math/s_cprojl.c (__cprojl): Likewise.
5325 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5326 * math/libm-test.inc (cproj_test_data): Add more tests.
5327
0716c4fc
JM
5328 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5329
42c8fdd8
JM
5330 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5331 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5332 size. Use __ffs to determine corresponding shift.
5333
b31469d0
JM
53342013-08-20 Joseph Myers <joseph@codesourcery.com>
5335 Roland McGrath <roland@hack.frob.com>
5336
5337 * Makefile (INSTALL): Remove trailing blank lines from output of
5338 makeinfo.
5339
4e39af6e
AK
53402013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5341
5342 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5343 Align 32 bit compat elf_greg to 8 bytes.
5344
f315524e
AA
53452013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5346
5347 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5348
1326ba1a
SP
53492013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5350
5351 * string/strcoll_l.c (coll_seq): New structure.
5352 (get_next_seq_cached): New function.
5353 (get_next_seq): New function.
5354 (do_compare): New function.
5355 (STRCOLL): Use GNU style definition. Simplify implementation
5356 by using get_next_seq, get_next_seq_cached and do_compare.
5357
91ce4085
FW
53582013-08-16 Florian Weimer <fweimer@redhat.com>
5359
5360 [BZ #14699]
5361 CVE-2013-4237
5362 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5363 member.
5364 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5365 member.
5366 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5367 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5368 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5369 conditional.
5370 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5371 GETDENTS_64BIT_ALIGNED.
5372 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5373 * manual/filesys.texi (Reading/Closing Directory): Document
5374 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5375 strongly.
5376 * manual/conf.texi (Limits for Files): Add portability note to
5377 NAME_MAX, PATH_MAX.
5378 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5379
ca0a6bc4
AS
53802013-08-13 Andreas Schwab <schwab@suse.de>
5381
5382 [BZ #15749]
5383 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5384 of fabs.
5385 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5386 LDBL_MAX_EXP >= 16384]: Add tests for it.
5387
6c1fd795
DM
53882013-08-12 David S. Miller <davem@davemloft.net>
5389
5390 * version.h (RELEASE): Set to "development".
5391 (VERSION): Set to "2.18.90".
5392 * NEWS: Add 2.19 section.
5393
31ad488d
DM
53942013-08-03 David S. Miller <davem@davemloft.net>
5395
5396 * po/ko.po: Update Korean translation from translation project.
5397
db24e684
DM
53982013-08-01 David S. Miller <davem@davemloft.net>
5399
5400 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5401 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5402 Bilka.
5403
f723285b
DM
54042013-07-30 David S. Miller <davem@davemloft.net>
5405
5406 * po/fr.po: Update French translation from translation project.
5407
3cbc52db
DM
54082013-07-28 David S. Miller <davem@davemloft.net>
5409
30bbc0cc
DM
5410 * po/cs.po: Update Czech translation from translation project.
5411
3cbc52db
DM
5412 * po/sv.po: Update Swedish translation from translation project.
5413
d492e6d0
DM
54142013-07-27 David S. Miller <davem@davemloft.net>
5415
f1a7f492
DM
5416 * po/eo.po: Update Esperanto translation from translation project.
5417
90e62a4a
DM
5418 * po/vi.po: Update Vietnamese translation from translation project.
5419
d492e6d0
DM
5420 * po/de.po: Update German translation from translation project.
5421
d4baa62d
DM
54222013-07-26 David S. Miller <davem@davemloft.net>
5423
641aa7b4
DM
5424 * po/bg.po: Update Bulgarian translation from translation project.
5425
d4baa62d
DM
5426 * po/nl.po: Update Dutch translation from translation project.
5427 * po/pl.po: Update Polish translation from translation project.
5428 * po/ru.po: Update Russian translation from translation project.
5429
61a9dcb9
DM
54302013-07-24 David S. Miller <davem@davemloft.net>
5431
5432 * po/libc.pot: Update.
5433
7b1f8b58
AZ
54342013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5435
5436 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5437 variable page size.
5438 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5439 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5440 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5441
a8fc7a03
AK
54422013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5443
5444 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5445
e4608715
CD
54462013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5447 Andreas Schwab <schwab@suse.de>
5448 Roland McGrath <roland@hack.frob.com>
5449 Joseph Myers <joseph@codesourcery.com>
5450 Carlos O'Donell <carlos@redhat.com>
5451
5452 [BZ #15755]
5453 * config.h.in: Define HAVE_PT_CHOWN.
5454 * config.make.in (build-pt-chown): New variable.
5455 * configure.in (--enable-pt_chown): New configure option.
5456 * configure: Regenerate.
5457 * login/Makefile: Include Makeconfig. Build pt_chown only if
5458 build-pt-chown is enabled.
5459 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5460 pt_chown to fix pty ownership.
5461 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5462 CLOSE_ALL_FDS.
5463 * manual/install.texi (Configuring and compiling): Mention
5464 --enable-pt_chown. Add @findex for grantpt.
5465 * INSTALL: Regenerate.
5466
da2d62df
DM
54672013-07-20 David S. Miller <davem@davemloft.net>
5468
5469 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5470 difference between 32-bit and 64-bit.
5471
d7e06450
CD
54722013-07-15 Carlos O'Donell <carlos@redhat.com>
5473
5474 [BZ #15711]
5475 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5476 Avoid system header dependency with -ffreestanding.
5477 ($(objpfx)bits/syscall%d): Likewise.
5478
f959cfd7
DM
54792013-07-13 David S. Miller <davem@davemloft.net>
5480
5481 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5482 underflows from atanl/atan2l due to bug 15319.
5483 (casinh_test_data): Likewise.
5484
c61f8513
DM
54852013-07-07 David S. Miller <davem@davemloft.net>
5486
5487 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5488
72c90ed0
JA
54892013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5490
5491 * sysdeps/i386/fpu/libm-test-ulps: Update.
5492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5493
52dfbe13
SP
54942013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5495
5496 * configure.in (--enable-lock-elision): Fix message text.
5497 * INSTALL: Regenerate.
5498 * configure: Regenerate.
5499
3f169543
AZ
55002013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5501
5502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5503
521c6785
AJ
55042013-07-03 Andreas Jaeger <aj@suse.de>
5505
5506 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5507 define.
5508 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5509 (ptrace_peeksiginfo_args): Add.
5510 (__ptrace_peeksiginfo_flags): Add.
5511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5513 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5514
d2cc15cb
AM
55152013-07-03 Allan McRae <allan@archlinux.org>
5516
5517 * sysdeps/i386/fpu/libm-test-ulps: Update.
5518
3aaeeca7
DM
55192013-07-02 David S. Miller <davem@davemloft.net>
5520
5521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5522
5314ed1a
MT
55232013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5524
5525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5526
67338156
JM
55272013-07-02 Joseph Myers <joseph@codesourcery.com>
5528
5529 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5531
1717da59
AK
55322013-07-02 Andi Kleen <ak@linux.intel.com>
5533
5534 * config.h.in (ENABLE_LOCK_ELISION): Add.
5535 * configure.in (--enable-lock-elision): Add option.
5536 * manual/install.texi: Document --enable lock elision.
5537 * configure: Regenerate
5538 * INSTALL: Regenerate.
5539
1c81621c
L
55402013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5541
5542 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5543 SSE4.2 strcasecmp for libc.a.
5544 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5545
77f01ab5
JM
55462013-07-02 Joseph Myers <joseph@codesourcery.com>
5547
5548 [BZ #13304]
5549 * soft-fp/op-common.h (_FP_FMA): New macro.
5550 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5551 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5552 (_FP_MUL_MEAT_1_imm): ... here.
5553 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5554 (_FP_MUL_MEAT_1_wide): ... here.
5555 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5556 (_FP_MUL_MEAT_1_hard): ... here.
5557 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5558 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5559 (_FP_MUL_MEAT_2_wide): ... here.
5560 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5561 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5562 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5563 (_FP_MUL_MEAT_2_gmp): ... here.
5564 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5565 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5566 (_FP_MUL_MEAT_4_wide): ... here.
5567 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5568 (_FP_MUL_MEAT_4_gmp): ... here.
5569 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5570 (_FP_WFRACBITS_DW_S): Likewise.
5571 (_FP_WFRACXBITS_DW_S): Likewise.
5572 (_FP_HIGHBIT_DW_S): Likewise.
5573 (FP_FMA_S): Likewise.
5574 (_FP_FRAC_HIGH_DW_S): Likewise.
5575 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5576 (_FP_WFRACBITS_DW_D): Likewise.
5577 (_FP_WFRACXBITS_DW_D): Likewise.
5578 (_FP_HIGHBIT_DW_D): Likewise.
5579 (FP_FMA_D): Likewise.
5580 (_FP_FRAC_HIGH_DW_D): Likewise.
5581 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5582 (_FP_WFRACBITS_DW_E): Likewise.
5583 (_FP_WFRACXBITS_DW_E): Likewise.
5584 (_FP_HIGHBIT_DW_E): Likewise.
5585 (FP_FMA_E): Likewise.
5586 (_FP_FRAC_HIGH_DW_E): Likewise.
5587 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5588 (_FP_WFRACBITS_DW_Q): Likewise.
5589 (_FP_WFRACXBITS_DW_Q): Likewise.
5590 (_FP_HIGHBIT_DW_Q): Likewise.
5591 (FP_FMA_Q): Likewise.
5592 (_FP_FRAC_HIGH_DW_Q): Likewise.
5593 * soft-fp/fmasf4.c: New file.
5594 * soft-fp/fmadf4.c: Likewise.
5595 * soft-fp/fmatf4.c: Likewise.
5596
6308fd9a
LD
55972013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5598
5599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5600 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5601 Silvermont.
5602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5603 macro.
5604 (index_Slow_SSE4_2): Likewise.
5605 (index_Prefer_PMINUB_for_stringop): Likewise.
5606 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5607 bit_Slow_SSE4_2 is set.
5608 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5609 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5610
89cd9569
RA
56112013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5612
5613 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5614 rtld_global._dl_hwcap2.
5615 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5616 POWER8.
5617 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5618 POWER8 feature descriptions defined in _dl_hwcap2.
5619 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5620 string handling for POWER8 feature bits.
5621 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5622 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5623 _dl_powerpc_cap_flags.
5624 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5625 * sysdeps/powerpc/rtld-global-offsets.sym
5626 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5627 _dl_hwcap2 in the rtld_global_ro structure.
5628
1ae8bfe0
RA
56292013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5630
5631 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5632 hardware capabilities in support of AT_HWCAP2.
5633 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5634 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5635 GLRO(dl_hwcap2).
5636 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5637 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5638 explicitly the unknown a_type display mechanism is used.
5639 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5640 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5641 struct member.
5642 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5643 to macro prototype for AT_HWCAP2 support.
5644 * sysdeps/i386/dl-procinfo.h: Likewise.
5645 * sysdeps/s390/dl-procinfo.h: Likewise.
5646 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5647 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5648 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5649 return -1 for unknown a_type display fallback.
5650 * sysdeps/sparc/dl-procinfo.h: Likewise.
5651 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5652 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5653
8fbec010
JM
56542013-06-28 Joseph Myers <joseph@codesourcery.com>
5655
5656 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5657 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5658
0432680e
PY
56592013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5660
5661 [BZ #12492]
5662 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5663 mprotect making __stack_prot writable.
5664
ce61a2ad
NF
56652013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5666 Joseph Myers <joseph@codesourcery.com>
5667
5668 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5669 as being properly aligned.
5670
f91f1c0f
MR
56712013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5672
3d0f5d0c
MR
5673 * dlfcn/modstatic5.c: New file.
5674 * dlfcn/tststatic5.c: New file.
5675 * dlfcn/Makefile (tests): Add tststatic5.
5676 (tests-static): Likewise.
5677 (modules-names): Add modstatic5.
5678 (tststatic5-ENV): New variable.
5679 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5680
f91f1c0f
MR
5681 [BZ #15022]
5682 * elf/dl-support.c (_dl_main_map): New variable.
5683 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5684 (_dl_nns, _dl_load_adds): Set to 1.
5685 (_dl_initial_searchlist): Refer to _dl_main_map.
5686 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5687 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5688 call to _dl_get_origin.
5689 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5690 around call_map.
5691 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5692 * dlfcn/modstatic3.c: New file.
5693 * dlfcn/tststatic3.c: New file.
5694 * dlfcn/tststatic4.c: New file.
5695 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5696 (tests-static): Likewise.
5697 (modules-names): Add modstatic3.
5698 (tststatic3-ENV, tststatic4-ENV): New variables.
5699 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5700 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5701
cbe7d24b
JM
57022013-06-26 Joseph Myers <joseph@codesourcery.com>
5703
5704 * configure.in (CC): Require GCC version 4.4 or later.
5705 * configure: Regenerated.
5706 * manual/install.texi (Tools for Compilation): Update GCC version
5707 requirement.
5708 * INSTALL: Regenerated.
5709
11b8a0e1
LD
57102013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5711
5712 [BZ #15674]
bb5bb87c
L
5713 * string/test-memcmp.c (check2): New.
5714 (main): Call check2.
5715
11b8a0e1
LD
5716 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5717
b0037103
MR
57182013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5719
5720 [BZ #15022]
5721 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5722 over to...
5723 (dl_open_worker) [!SHARED]: ... here.
5724
c18c701d
RA
57252013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5726
5727 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5728
1d17fa5f
RH
57292013-06-25 Richard Henderson <rth@redhat.com>
5730
5731 * locale/programs/locarchive.c: Include <libc-internal.h>
5732
8fcb833a
JM
57332013-06-25 Joseph Myers <joseph@codesourcery.com>
5734
5735 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5736 trailing whitespace removed.
5737
17db6e8d
MF
57382013-06-24 Mike Frysinger <vapier@gentoo.org>
5739
5740 [BZ #10283]
17db6e8d
MF
5741 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5742 * locale/programs/locarchive.c: Include libc-mmap.h.
5743 (prepare_address_space): Take two new outputs (the mmap base and len).
5744 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5745 values.
5746 (create_archive): Declare new mmap base and len values for
5747 prepare_address_space, and store the result in ah.
5748 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5749 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5750 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5751 Declare new mmap base and len values for
5752 prepare_address_space, and store the result in new_ah.
5753 (open_archive): Declare new mmap base and len values for
5754 prepare_address_space, and store the result in ah.
5755 (close_archive): If ah->mmap_base is not NULL, use that and
5756 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5757 * sysdeps/generic/libc-mmap.h: New file.
5758
d605071e
MF
57592013-06-24 Mike Frysinger <vapier@gentoo.org>
5760
5761 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5762 (ALIGN_UP): Likewise.
5763 (PTR_ALIGN_DOWN): Likewise.
5764 (PTR_ALIGN_UP): Likewise.
5765
2f063a6e
RA
57662013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5767
5768 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5769 entry mapped to PPC_PLATFORM_POWER8.
5770 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5771 POWER8.
5772 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5773 (_dl_string_platform): Add case for exporting platform position for
5774 POWER8.
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5776 search path to sysdeps/powerpc/powerpc32/power8 directory.
5777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5778 search path to sysdeps/powerpc/powerpc64/power8 directory.
5779 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5780 power7 directories.
5781 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5782 power7 directories.
5783
a31ee4b3
SP
57842013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5785
a74ca98f
SP
5786 * INSTALL: Regenerate.
5787
a31ee4b3
SP
5788 * nscd/connections.c (nscd_init): Fix comment.
5789
695c378f
JM
57902013-06-22 Joseph Myers <joseph@codesourcery.com>
5791
d8412221
JM
5792 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5793
695c378f
JM
5794 [BZ #15667]
5795 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5796 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5797
d1d54715
MR
57982013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5799
5800 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5801 DL_DST_REQ_STATIC.
5802 (DL_DST_REQ_STATIC): Remove macro.
5803
8fdda7af
JM
58042013-06-21 Joseph Myers <joseph@codesourcery.com>
5805
5806 [BZ #7006]
5807 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5808 with a shift of 0 bits.
5809
f3bc5e5a
MR
58102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5811
5812 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5813 $(tststatic-ENV).
5814
be09e8c9
KK
58152013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5816
5817 [BZ #15655]
5818 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5819
85c2e611
AZ
58202013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5821
5822 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5823 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5824 accepts -fno-tree-loop-distribute-patterns.
5825 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5826 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5827 recursive call.
5828 * string/memset.c (memset): Likewise.
5829 * string/test-memmove.c (simple_memmove): Disable loop transformation
5830 to library calls.
5831 * string/test-memset.c (simple_memset): Likewise.
5832 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5833 * benchtests/bench-memset.c (simple_memset): Likewise.
5834 * configure: Regenerated.
5835
c91e0825
JM
58362013-06-20 Joseph Myers <joseph@codesourcery.com>
5837
b8c792af
JM
5838 * math/test-misc.c (main): Ignore fesetround failure when failures
5839 of subsequent rounding tests would be ignored.
5840
c91e0825
JM
5841 [BZ #15654]
5842 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5843 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5844 * math/fegetenv.c (__fegetenv): Return 0.
5845 * math/fegetexcept.c (fegetexcept): Return 0.
5846 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5847 FE_TONEAREST.
5848 * math/feholdexcpt.c (feholdexcept): Return 0.
5849 * math/fesetenv.c (__fesetenv): Return 0.
5850 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5851 argument FE_TONEAREST.
5852 * math/feupdateenv.c (__feupdateenv): Return 0.
5853 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5854
bfcacbde
RM
58552013-06-18 Roland McGrath <roland@hack.frob.com>
5856
5857 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5858 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5859 ($(objpfx)rtld-%.os rules): Use them.
5860
e55a9b25
AZ
58612013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5862
5863 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5864 fields.
5865
346d65b3
RM
58662013-06-17 Roland McGrath <roland@hack.frob.com>
5867
12086fb4
RM
5868 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5869 length of target pattern, then descending length of dependency pattern.
5870 * configure.in (AWK): Require gawk 3.1.2 or newer.
5871 * manual/install.texi (Tools for Compilation): Say that we do.
5872 * configure: Regenerated.
5873
346d65b3
RM
5874 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5875 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5876 * scripts/sysd-rules.awk: ... this new script.
5877 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5878 than a glob-style pattern.
5879
1a846317
JM
58802013-06-17 Joseph Myers <joseph@codesourcery.com>
5881
5882 * math/test-misc.c (main): Do not treat incorrectly rounded
5883 conversions as failure unless ROUNDING_TESTS passes.
5884
8fc75e6f
JM
58852013-06-15 Joseph Myers <joseph@codesourcery.com>
5886
3711a167
JM
5887 [BZ #15631]
5888 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5889 restore exception state around main square root computation, then
5890 check for inexactness explicitly.
5891
8fc75e6f
JM
5892 * math/libm-test.inc (fma_test_data): Add another test.
5893
61dd6208
SP
58942013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5895
adf23d2c
SP
5896 * manual/threads.texi (Non-POSIX Extensions): New document
5897 node. Document pthread_getattr_default_np and
5898 pthread_setattr_default_np.
5899
61dd6208
SP
5900 * Versions.def (libpthread): Add GLIBC_2.18.
5901 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5903 Likewise.
5904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5905 Likewise.
5906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5907 Likewise.
5908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5909 Likewise.
5910 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5911 Likewise.
5912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5913 Likewise.
5914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5915 Likewise.
5916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5917 Likewise.
5918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5919 Likewise.
5920
d086fc7b
LD
59212013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5922
5923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5924 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5925
747ef469
SP
59262013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5927 H.J. Lu <hjl.tools@gmail.com>
5928
5929 [BZ #15627]
5930 * sysdeps/x86_64/rtld-memset.c: Remove file.
5931 * sysdeps/x86_64/rtld-memset.S: New file.
5932
1b2feed2
JM
59332013-06-14 Joseph Myers <joseph@codesourcery.com>
5934
5935 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5936 (test_in_one_mode): Take arguments for whether the rounding mode
5937 is supported for each floating-point type.
5938 (do_test): Pass new arguments to test_in_one_mode using
5939 ROUNDING_TESTS.
5940
a58ad3f8
RM
59412013-06-13 Roland McGrath <roland@hack.frob.com>
5942
5943 * posix/tst-waitid.c (do_test): Distinguish different instances of
5944 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5945 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5946 before entering the kernel for waitpid.
5947
c204ab28
SP
59482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5949
5950 * NEWS: Fix note on clock function precision. Text by Roland
5951 McGrath.
5952
f4a29fba
RM
59532013-06-13 Roland McGrath <roland@hack.frob.com>
5954
5955 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5956 it into place only when and if the sanity check passes.
5957
1f24b9ad
JM
59582013-06-13 Joseph Myers <joseph@codesourcery.com>
5959
5960 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5961 output for whether conversion result is exact. Take argument
5962 indicating whether type is IBM long double.
5963 (round_for_all): Change need_exact field to ibm_ld.
5964 * stdlib/tst-strtod-round.c (struct exactness): New type.
5965 (struct test): Change bool ld_ok field to struct exactness exact.
5966 (TEST): Update all definitions for change to field.
5967 (tests): Regenerate array contents.
5968 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5969 field value. Check for IBM long double here.
5970 (do_test): Update calls to test_in_one_mode.
5971
58206c68
SP
59722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5973
5974 [BZ #12515]
5975 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5976 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5977
2d6f4c5b 59782013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5979
5980 [BZ #15605]
5981 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5982 generated by the compiler on loop optimizations.
5983 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5984 general definitions.
5985
94f2c076
JM
59862013-06-12 Joseph Myers <joseph@codesourcery.com>
5987
5988 * math/bug-nextafter.c: Include <math-tests.h>.
5989 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5990 the relevant type.
5991 * math/bug-nexttoward.c: Include <math-tests.h>.
5992 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5993 the relevant type.
5994 * math/test-misc.c: Include <math-tests.h>.
5995 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5996 the relevant type.
5997
e0e50a0a
AJ
59982013-06-12 Andreas Jaeger <aj@suse.de>
5999
6000 * po/ia.po: Update Interlingua translation from translation
6001 project.
6002
25061094
SP
60032013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6004
6005 * include/fenv.h: Include stdbool.h.
6006 (struct rm_ctx): New structure.
6007 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6008 Define macro.
6009 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6010 (SET_RESTORE_ROUNDF): Likewise.
6011 (SET_RESTORE_ROUNDL): Likewise.
6012 (SET_RESTORE_ROUND_NOEX): Likewise.
6013 (SET_RESTORE_ROUND_NOEXF): Likewise.
6014 (SET_RESTORE_ROUND_NOEXL): Likewise.
6015 (SET_RESTORE_ROUND_53BIT): Likewise.
6016 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6017 (libc_feresetround_noexf_ctx): Likewise.
6018 (libc_feresetround_noexl_ctx): Likewise.
6019 (libc_feholdsetround_53bit_ctx): Likewise.
6020 (libc_feresetround_53bit_ctx): Likewise.
6021 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6022 (libc_feholdexcept_setround_sse_ctx): New function.
6023 (libc_fesetenv_sse_ctx): Likewise.
6024 (libc_feupdateenv_sse_ctx): Likewise.
6025 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6026 (libc_feholdexcept_setround_387_ctx): Likewise.
6027 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6028 (libc_feholdsetround_387_prec_ctx): Likewise.
6029 (libc_feholdsetround_387_ctx): Likewise.
6030 (libc_feholdsetround_387_53bit_ctx): Likewise.
6031 (libc_feholdsetround_sse_ctx): Likewise.
6032 (libc_feresetround_sse_ctx): Likewise.
6033 (libc_feresetround_387_ctx): Likewise.
6034 (libc_feupdateenv_387_ctx): Likewise.
6035 (libc_feholdexcept_setroundf_ctx): Define macro.
6036 (libc_fesetenvf_ctx): Likewise.
6037 (libc_feupdateenvf_ctx): Likewise.
6038 (libc_feholdsetroundf_ctx): Likewise.
6039 (libc_feresetroundf_ctx): Likewise.
6040 (libc_feholdexcept_setround_ctx): Likewise.
6041 (libc_fesetenv_ctx): Likewise.
6042 (libc_feupdateenv_ctx): Likewise.
6043 (libc_feholdsetround_ctx): Likewise.
6044 (libc_feresetround_ctx): Likewise.
6045 (libc_feholdexcept_setroundl_ctx): Likewise.
6046 (libc_feupdateenvl_ctx): Likewise.
6047 (libc_feholdsetroundl_ctx): Likewise.
6048 (libc_feresetroundl_ctx): Likewise.
6049 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6050 (libc_feresetround_53bit_ctx): Likewise.
6051
59b30555
SP
60522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6053
6054 * locale/iso-639.def: Convert to UTF-8.
6055
f1d73d30
JM
60562013-06-11 Joseph Myers <joseph@codesourcery.com>
6057
6058 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6059 (EXCEPTION_TESTS_double): Likewise.
6060 (EXCEPTION_TESTS_long_double): Likewise.
6061 (EXCEPTION_TESTS): Likewise.
6062 * math/libm-test.inc (test_exceptions): Only test exceptions if
6063 EXCEPTION_TESTS (FLOAT).
6064
94aca5e7
SP
60652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6066
6067 * benchtests/Makefile (string-bench): Add strcpy_chk and
6068 stpcpy_chk.
6069 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6070 * benchtests/bench-stpcpy_chk.c: New file.
6071 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6072 * benchtests/bench-strcpy_chk.c: New file.
6073 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6074 code.
6075 (do_test): Likewise.
6076
fac0c5f2
RA
60772013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6078
6079 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6080 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6081 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6082 with tabs where appropriate.
6083 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6084 dl-procinfo.h.
6085 [PPC_PLATFORM_PPC440]: Likewise.
6086 [PPC_PLATFORM_PPC464]: Likewise.
6087 [PPC_PLATFORM_PPC476]: Likewise.
6088 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6089 ppc464, and ppc476 platform strings merging from ports/
6090 dl-procinfo.h.
6091
f22bc486
AS
60922013-06-11 Andreas Schwab <schwab@suse.de>
6093
6094 [BZ #14991]
6095 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6096 (from_ucs4_idx): Regenerate.
6097 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6098 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6099 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6100 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6101 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6102 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6103 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6104 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6105 from FROM_LOOP and TO_LOOP specific macros.
6106 (BODY): Handle combining characters.
6107 * iconvdata/BIG5HKSCS.irreversible: Update.
6108 * iconvdata/BIG5HKSCS.precomposed: New file.
6109 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6110 characters.
6111 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6112
c1f75dc3
SP
61132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6114
4eacded2
SP
6115 * include/sys/time.h: Fix indentation and add copyright header.
6116
fec799f8
SP
6117 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6118 (do_test): Likewise.
6119 * string/test-memchr.c (do_one_test): Likewise.
6120 (do_test): Likewise.
6121 * string/test-memcmp.c (do_one_test): Likewise.
6122 (do_test): Likewise.
6123 * string/test-memcpy.c (do_one_test): Likewise.
6124 (do_test): Likewise.
6125 * string/test-memmem.c (do_one_test): Likewise.
6126 (do_test): Likewise.
6127 (do_random_tests): Likewise.
6128 * string/test-memmove.c (do_one_test): Likewise.
6129 (do_test): Likewise.
6130 * string/test-memset.c (do_one_test): Likewise.
6131 (do_test): Likewise.
6132 * string/test-rawmemchr.c (do_one_test): Likewise.
6133 (do_test): Likewise.
6134 * string/test-strcasecmp.c (do_one_test): Likewise.
6135 (do_test): Likewise.
6136 * string/test-strcasestr.c (do_one_test): Likewise.
6137 (do_test): Likewise.
6138 * string/test-strcat.c (do_one_test): Likewise.
6139 (do_test): Likewise.
6140 * string/test-strchr.c (do_one_test): Likewise.
6141 (do_test): Likewise.
6142 * string/test-strcmp.c (do_one_test): Likewise.
6143 (do_test): Likewise.
6144 * string/test-strcpy.c (do_one_test): Likewise.
6145 (do_test): Likewise.
6146 * string/test-string.h: Likewise.
6147 (test_init): Likewise.
6148 * string/test-strlen.c (do_one_test): Likewise.
6149 (do_test): Likewise.
6150 * string/test-strncasecmp.c (do_one_test): Likewise.
6151 (do_test): Likewise.
6152 * string/test-strncat.c (do_one_test): Likewise.
6153 (do_test): Likewise.
6154 * string/test-strncmp.c (do_one_test): Likewise.
6155 (do_test_limit): Likewise.
6156 (do_test): Likewise.
6157 * string/test-strncpy.c (do_one_test): Likewise.
6158 (do_test): Likewise.
6159 * string/test-strnlen.c (do_one_test): Likewise.
6160 (do_test): Likewise.
6161 * string/test-strpbrk.c (do_one_test): Likewise.
6162 (do_test): Likewise.
6163 * string/test-strrchr.c (do_one_test): Likewise.
6164 (do_test): Likewise.
6165 * string/test-strspn.c (do_one_test): Likewise.
6166 (do_test): Likewise.
6167 * string/test-strstr.c (do_one_test): Likewise.
6168 (do_test): Likewise.
6169
97020474
SP
6170 * benchtests/Makefile (string-bench): Add string benchmarks.
6171 * benchtests/bench-bcopy-ifunc.c: New file.
6172 * benchtests/bench-bcopy.c: New file.
6173 * benchtests/bench-bzero-ifunc.c: New file.
6174 * benchtests/bench-bzero.c: New file.
6175 * benchtests/bench-memccpy-ifunc.c: New file.
6176 * benchtests/bench-memccpy.c: New file.
6177 * benchtests/bench-memchr-ifunc.c: New file.
6178 * benchtests/bench-memchr.c: New file.
6179 * benchtests/bench-memcmp-ifunc.c: New file.
6180 * benchtests/bench-memcmp.c: New file.
6181 * benchtests/bench-memmem-ifunc.c: New file.
6182 * benchtests/bench-memmem.c: New file.
6183 * benchtests/bench-memmove-ifunc.c: New file.
6184 * benchtests/bench-memmove.c: New file.
6185 * benchtests/bench-mempcpy-ifunc.c: New file.
6186 * benchtests/bench-mempcpy.c: New file.
6187 * benchtests/bench-memset-ifunc.c: New file.
6188 * benchtests/bench-memset.c: New file.
6189 * benchtests/bench-rawmemchr-ifunc.c: New file.
6190 * benchtests/bench-rawmemchr.c: New file.
6191 * benchtests/bench-stpcpy-ifunc.c: New file.
6192 * benchtests/bench-stpcpy.c: New file.
6193 * benchtests/bench-stpncpy-ifunc.c: New file.
6194 * benchtests/bench-stpncpy.c: New file.
6195 * benchtests/bench-strcasecmp-ifunc.c: New file.
6196 * benchtests/bench-strcasecmp.c: New file.
6197 * benchtests/bench-strcasestr-ifunc.c: New file.
6198 * benchtests/bench-strcasestr.c: New file.
6199 * benchtests/bench-strcat-ifunc.c: New file.
6200 * benchtests/bench-strcat.c: New file.
6201 * benchtests/bench-strchr-ifunc.c: New file.
6202 * benchtests/bench-strchr.c: New file.
6203 * benchtests/bench-strchrnul-ifunc.c: New file.
6204 * benchtests/bench-strchrnul.c: New file.
6205 * benchtests/bench-strcmp-ifunc.c: New file.
6206 * benchtests/bench-strcmp.c: New file.
6207 * benchtests/bench-strcpy-ifunc.c: New file.
6208 * benchtests/bench-strcpy.c: New file.
6209 * benchtests/bench-strcspn-ifunc.c: New file.
6210 * benchtests/bench-strcspn.c: New file.
6211 * benchtests/bench-strlen-ifunc.c: New file.
6212 * benchtests/bench-strlen.c: New file.
6213 * benchtests/bench-strncasecmp-ifunc.c: New file.
6214 * benchtests/bench-strncasecmp.c: New file.
6215 * benchtests/bench-strncat-ifunc.c: New file.
6216 * benchtests/bench-strncat.c: New file.
6217 * benchtests/bench-strncmp-ifunc.c: New file.
6218 * benchtests/bench-strncmp.c: New file.
6219 * benchtests/bench-strncpy-ifunc.c: New file.
6220 * benchtests/bench-strncpy.c: New file.
6221 * benchtests/bench-strnlen-ifunc.c: New file.
6222 * benchtests/bench-strnlen.c: New file.
6223 * benchtests/bench-strpbrk-ifunc.c: New file.
6224 * benchtests/bench-strpbrk.c: New file.
6225 * benchtests/bench-strrchr-ifunc.c: New file.
6226 * benchtests/bench-strrchr.c: New file.
6227 * benchtests/bench-strspn-ifunc.c: New file.
6228 * benchtests/bench-strspn.c: New file.
6229 * benchtests/bench-strstr-ifunc.c: New file.
6230 * benchtests/bench-strstr.c: New file.
6231
c1f75dc3
SP
6232 * benchtests/Makefile: Disable parallel execution of targets.
6233 (string-bench): Add memcpy.
6234 (benchset): New variable to store a list of benchmark sets.
6235 (bench-func): Renamed from bench.
6236 (bench-set): New target.
6237 (bench): Depend on bench-func and bench-set.
6238 * benchtests/README: Add section on benchmark sets.
6239 * benchtests/bench-memcpy-ifunc.c: New file.
6240 * benchtests/bench-memcpy.c: New file.
6241 * benchtests/bench-string.h: New file.
6242
50fd745b
AS
62432013-06-11 Andreas Schwab <schwab@suse.de>
6244
6245 [BZ #15577]
6246 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6247 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6248 values in the triple.
6249 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6250 terminator in the group key.
6251
3ee7e9fe
AJ
62522013-06-11 Andreas Jaeger <aj@suse.de>
6253
6254 * po/zh_TW.po: Update Chinese (traditional) translation from
6255 translation project.
6256
89fb6835
SP
62572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6258
6259 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6260 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6261 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6263 (clock_getcpuclockid): Likewise.
6264 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6265 Add weak_alias and libc_hidden_def.
6266 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6267 * rt/clock_gettime.c (clock_gettime): Rename to
6268 __clock_gettime. Add weak_alias and libc_hidden_def.
6269 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6270 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6271 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6272 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6273 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6274 Likewise.
6275 * rt/clock_settime.c (clock_settime): Rename to
6276 __clock_settime. Add weak_alias and libc_hidden_def.
6277 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6278
0efa6f8b
JM
62792013-06-10 Joseph Myers <joseph@codesourcery.com>
6280
b8c61b4b
JM
6281 * mach/err_boot.sub: Remove trailing whitespace.
6282 * mach/err_ipc.sub: Likewise.
6283 * mach/err_mach.sub: Likewise.
6284
0efa6f8b
JM
6285 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6286 (ROUNDING_TESTS_double): Likewise.
6287 (ROUNDING_TESTS_long_double): Likewise.
6288 (ROUNDING_TESTS): Likewise.
6289 * math/libm-test.inc: Include <math-tests.h>.
6290 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6291 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6292 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6293 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6294
50b818bf
SP
62952013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6296
6297 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6298 of assigning.
6299
60d2f8f3
JM
63002013-06-08 Joseph Myers <joseph@codesourcery.com>
6301
4902d2c3
JM
6302 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6303 otherwise empty TRANS lines.
6304 * sysdeps/gnu/errlist.c: Regenerated.
6305
60d2f8f3
JM
6306 * catgets/gencat.c (error_print): Use (void) in function
6307 definition.
6308 * crypt/crypt_util.c (__init_des): Likewise.
6309 * crypt/speeds.c (Stop): Likewise.
6310 (main): Likewise.
6311 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6312 * inet/ruserpass.c (token): Likewise.
6313 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6314 * intl/localealias.c (extend_alias_table): Likewise.
6315 * intl/plural-exp.c (init_germanic_plural): Likewise.
6316 * libio/fcloseall.c (__fcloseall): Likewise.
6317 * libio/genops.c (_IO_flush_all): Likewise.
6318 (_IO_flush_all_linebuffered): Likewise.
6319 (_IO_cleanup): Likewise.
6320 (_IO_iter_begin): Likewise.
6321 (_IO_iter_end): Likewise.
6322 (_IO_list_lock): Likewise.
6323 (_IO_list_unlock): Likewise.
6324 (_IO_list_resetlock): Likewise.
6325 * libio/getchar.c (getchar): Likewise.
6326 * libio/getchar_u.c (getchar_unlocked): Likewise.
6327 * libio/getwchar.c (getwchar): Likewise.
6328 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6329 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6330 * login/getpt.c (__getpt): Likewise.
6331 * login/tst-utmp.c (main): Likewise.
6332 * malloc/hooks.c (__malloc_check_init): Likewise.
6333 * malloc/malloc.c (__malloc_stats): Likewise.
6334 * malloc/mtrace.c (tr_break): Likewise.
6335 (mtrace): Likewise.
6336 (muntrace): Likewise.
6337 * misc/fstab.c (endfsent): Likewise.
6338 * misc/getclktck.c (__getclktck): Likewise.
6339 * misc/getdtsz.c (__getdtablesize): Likewise.
6340 * misc/gethostid.c (gethostid): Likewise.
6341 * misc/getpagesize.c (__getpagesize): Likewise.
6342 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6343 (__get_nprocs): Likewise.
6344 (__get_phys_pages): Likewise.
6345 (__get_avphys_pages): Likewise.
6346 * misc/getttyent.c (getttyent): Likewise.
6347 (setttyent): Likewise.
6348 (endttyent): Likewise.
6349 * misc/getusershell.c (getusershell): Likewise.
6350 (endusershell): Likewise.
6351 (setusershell): Likewise.
6352 (initshells): Likewise.
6353 * misc/hsearch.c (__hdestroy): Likewise.
6354 * misc/sync.c (sync): Likewise.
6355 * misc/syslog.c (closelog_internal): Likewise.
6356 (closelog): Likewise.
6357 * misc/ttyslot.c (ttyslot): Likewise.
6358 * misc/vhangup.c (vhangup): Likewise.
6359 * posix/fork.c (__fork): Likewise.
6360 * posix/getegid.c (__getegid): Likewise.
6361 * posix/geteuid.c (__geteuid): Likewise.
6362 * posix/getgid.c (__getgid): Likewise.
6363 * posix/getpid.c (__getpid): Likewise.
6364 * posix/getppid.c (__getppid): Likewise.
6365 * posix/getuid.c (__getuid): Likewise.
6366 * posix/pause.c (pause): Likewise.
6367 * posix/setpgrp.c (setpgrp): Likewise.
6368 * posix/setsid.c (__setsid): Likewise.
6369 * posix/test-vfork.c (noop): Likewise.
6370 * resolv/gethnamaddr.c (_endhtent): Likewise.
6371 (_gethtent): Likewise.
6372 (ht_endhostent): Likewise.
6373 (gethostent): Likewise.
6374 (dns_service): Likewise.
6375 * stdlib/drand48.c (drand48): Likewise.
6376 * stdlib/lrand48.c (lrand48): Likewise.
6377 * stdlib/mrand48.c (mrand48): Likewise.
6378 * stdlib/rand.c (rand): Likewise.
6379 * stdlib/random.c (__random): Likewise.
6380 * stdlib/setenv.c (clearenv): Likewise.
6381 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6382 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6383 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6384 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6385 (__get_nprocs): Likewise.
6386 (__get_phys_pages): Likewise.
6387 (__get_avphys_pages): Likewise.
6388 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6389 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6390 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6391 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6392 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6393 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6394 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6395 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6396 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6397 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6398 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6399 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6400 * sysdeps/posix/clock.c (clock): Likewise.
6401 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6402 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6403 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6404 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6405 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6406 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6407 (__get_nprocs_conf): Likewise.
6408 (__get_phys_pages): Likewise.
6409 (__get_avphys_pages): Likewise.
6410 * time/clock.c (clock): Likewise.
6411 * time/tzset.c (__tzname_max): Likewise.
6412
2e09a79a
JM
64132013-06-07 Joseph Myers <joseph@codesourcery.com>
6414
6415 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6416 (__bswap_32): Do not use "register".
6417 * crypt/crypt.c (_ufc_doit_r): Likewise.
6418 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6419 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6420 * gmon/gmon.c (__monstartup): Likewise.
6421 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6422 * hurd/hurdmalloc.c (more_memory): Likewise.
6423 (malloc): Likewise.
6424 (free): Likewise.
6425 (realloc): Likewise.
6426 (malloc_fork_prepare): Likewise.
6427 (malloc_fork_parent): Likewise.
6428 (malloc_fork_child): Likewise.
6429 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6430 (_svcauth_des): Likewise.
6431 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6432 * inet/inet_net.c (inet_network): Likewise.
6433 * inet/inet_netof.c (inet_netof): Likewise.
6434 * inet/rcmd.c (__validuser2_sa): Likewise.
6435 * io/fts.c (fts_open): Likewise.
6436 (fts_load): Likewise.
6437 (fts_close): Likewise.
6438 (fts_read): Likewise.
6439 (fts_children): Likewise.
6440 (fts_build): Likewise.
6441 (fts_stat): Likewise.
6442 (fts_sort): Likewise.
6443 (fts_alloc): Likewise.
6444 (fts_lfree): Likewise.
6445 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6446 (_IO_file_xsgetn): Likewise.
6447 (_IO_file_xsgetn_mmap): Likewise.
6448 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6449 (_IO_cookie_write): Likewise.
6450 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6451 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6452 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6453 * malloc/obstack.c (_obstack_begin): Likewise.
6454 (_obstack_begin_1): Likewise.
6455 (_obstack_newchunk): Likewise.
6456 (_obstack_allocated_p): Likewise.
6457 (obstack_free): Likewise.
6458 (_obstack_memory_used): Likewise.
6459 * misc/getttyent.c (getttynam): Likewise.
6460 (getttyent): Likewise.
6461 (skip): Likewise.
6462 (value): Likewise.
6463 * misc/getusershell.c (initshells): Likewise.
6464 * misc/syslog.c (__vsyslog_chk): Likewise.
6465 * misc/ttyslot.c (ttyslot): Likewise.
6466 * nis/nis_hash.c (__nis_hash): Likewise.
6467 * posix/fnmatch_loop.c (FCT): Likewise.
6468 * posix/getconf.c (print_all): Likewise.
6469 (main): Likewise.
6470 * posix/getopt.c (exchange): Likewise.
6471 * posix/glob.c (globfree): Likewise.
6472 (prefix_array): Likewise.
6473 (__glob_pattern_type): Likewise.
6474 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6475 (NS_GET32): Likewise.
6476 (NS_PUT16): Likewise.
6477 (NS_PUT32): Likewise.
6478 * resolv/gethnamaddr.c (getanswer): Likewise.
6479 (gethostbyname2): Likewise.
6480 (gethostbyaddr): Likewise.
6481 (_gethtent): Likewise.
6482 (_gethtbyname2): Likewise.
6483 (_gethtbyaddr): Likewise.
6484 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6485 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6486 * resolv/res_init.c (__res_vinit): Likewise.
6487 (net_mask): Likewise.
6488 * resolv/res_mkquery.c (outchar): Likewise.
6489 (PRINT): Likewise.
6490 * stdio-common/printf_fp.c (outchar): Likewise.
6491 (PRINT): Likewise.
6492 * stdio-common/printf_fphex.c (outchar): Likewise.
6493 (PRINT): Likewise.
6494 * stdio-common/printf_size.c (outchar): Likewise.
6495 (PRINT): Likewise.
6496 * stdio-common/test_rdwr.c (main): Likewise.
6497 * stdio-common/tfformat.c (matches): Likewise.
6498 * stdio-common/vfprintf.c (outchar): Likewise.
6499 (printf_unknown): Likewise.
6500 (buffered_vfprintf): Likewise.
6501 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6502 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6503 (ReadFile): Likewise.
6504 * stdlib/qsort.c (SWAP): Likewise.
6505 (_quicksort): Likewise.
6506 * stdlib/setenv.c (__add_to_environ): Likewise.
6507 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6508 * stdlib/strtol_l.c (__strtol_l): Likewise.
6509 * stdlib/tst-strtod.c (main): Likewise.
6510 * stdlib/tst-strtol.c (main): Likewise.
6511 * stdlib/tst-strtoll.c (main): Likewise.
6512 * string/bits/string2.h (__strcmp_cc): Likewise.
6513 (__strcmp_cg): Likewise.
6514 (__strcspn_c1): Likewise.
6515 (__strcspn_c2): Likewise.
6516 (__strcspn_c3): Likewise.
6517 (__strspn_c1): Likewise.
6518 (__strspn_c2): Likewise.
6519 (__strspn_c3): Likewise.
6520 (__strsep_1c): Likewise.
6521 (__strsep_2c): Likewise.
6522 (__strsep_3c): Likewise.
6523 * string/memccpy.c (__memccpy): Likewise.
6524 * string/stpcpy.c (__stpcpy): Likewise.
6525 * string/strcmp.c (strcmp): Likewise.
6526 * string/strrchr.c (strrchr): Likewise.
6527 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6528 Likewise.
6529 * sysdeps/mach/hurd/getcwd.c
6530 (_hurd_canonicalize_directory_name_internal): Likewise.
6531 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6532 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6533 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6534 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6535 Likewise, in both definitions.
6536 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6537 definitions.
6538 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6539 64] (__bswap_64): Likewise.
6540 * time/test_time.c (main): Likewise.
6541 * time/tzfile.c (__tzfile_read): Likewise.
6542 (__tzfile_compute): Likewise.
6543 * time/tzset.c (__tzset_parse_tz): Likewise.
6544 (tzset_internal): Likewise.
6545 (compute_change): Likewise.
6546 * wcsmbs/wcscat.c (__wcscat): Likewise.
6547 * wcsmbs/wcschr.c (wcschr): Likewise.
6548 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6549 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6550 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6551 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6552 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6553 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6554 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6555 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6556 * wcsmbs/wmemset.c (wmemset): Likewise.
6557
9e54314b
JM
65582013-06-06 Joseph Myers <joseph@codesourcery.com>
6559
6560 * scripts/config.guess: Update to version 2013-05-16.
6561 * scripts/config.sub: Update to version 2013-04-24.
6562 * scripts/install-sh: Update to version 2011-11-20.07.
6563 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6564 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6565
350635a5
OB
65662013-06-06 Ondřej Bílka <neleai@seznam.cz>
6567
6568 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6569 * elf/sln.c: Likewise.
6570 * hurd/hurd/ioctl.h: Likewise.
6571 * hurd/hurdmalloc.c: Likewise.
6572 * hurd/xattr.c: Likewise.
6573 * include/shlib-compat.h: Likewise.
6574 * inet/ruserpass.c: Likewise.
6575 * libio/iofgets_u.c: Likewise.
6576 * libio/iofgetws_u.c: Likewise.
6577 * locale/programs/ld-identification.c: Likewise.
6578 * locale/programs/ld-time.c: Likewise.
6579 * mach/msg-destroy.c: Likewise.
6580 * nss/nss_files/files-netgrp.c: Likewise.
6581 * resolv/res_data.c: Likewise.
6582 * soft-fp/op-1.h: Likewise.
6583 * soft-fp/op-2.h: Likewise.
6584 * soft-fp/op-4.h: Likewise.
6585 * soft-fp/op-common.h: Likewise.
6586 * stdio-common/printf_fphex.c: Likewise.
6587 * stdlib/strtod_l.c: Likewise.
6588 * sunrpc/rpc/clnt.h: Likewise.
6589 * sysdeps/generic/framestate.c: Likewise.
6590 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6591 * sysdeps/i386/bsd-setjmp.S: Likewise.
6592 * sysdeps/i386/__longjmp.S: Likewise.
6593 * sysdeps/i386/setjmp.S: Likewise.
6594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6595 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6596 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6612 * sysdeps/ieee754/support.c: Likewise.
6613 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6614 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6615 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6616 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6617 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6618 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6619 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6620 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6621 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6622 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6623 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6624 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6625 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6626 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6627 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6628 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6629 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6631
44a988af
OB
66322013-06-05 Ondřej Bílka <neleai@seznam.cz>
6633
25506f09 6634 * posix/transbug.c: Remove executable mode.
44a988af 6635
9c84384c
JM
66362013-06-05 Joseph Myers <joseph@codesourcery.com>
6637
6638 * crypt/speeds.c: Remove trailing whitespace.
6639 * dlfcn/default.c: Likewise.
6640 * elf/ifuncdep2.c: Likewise.
6641 * elf/ifuncmain1.c: Likewise.
6642 * elf/ifuncmain1vis.c: Likewise.
6643 * elf/testobj.h: Likewise.
6644 * elf/tst-stackguard1.c: Likewise.
6645 * gmon/sys/gmon.h: Likewise.
6646 * hurd/hurdmsg.c: Likewise.
6647 * hurd/new-fd.c: Likewise.
6648 * hurd/ports-get.c: Likewise.
6649 * iconvdata/ibm1008_420.c: Likewise.
6650 * inet/tst-getni1.c: Likewise.
6651 * inet/tst-getni2.c: Likewise.
6652 * libio/ioungetc.c: Likewise.
6653 * libio/wfiledoalloc.c: Likewise.
6654 * manual/libm-err-tab.pl: Likewise.
6655 * math/w_dremf.c: Likewise.
6656 * misc/ftruncate.c: Likewise.
6657 * posix/bug-glob2.c: Likewise.
6658 * posix/tst-pcre.c: Likewise.
6659 * posix/wait4.c: Likewise.
6660 * resolv/README: Likewise.
6661 * resolv/res_debug.h: Likewise.
6662 * resolv/tst-inet_ntop.c: Likewise.
6663 * setjmp/bug269-setjmp.c: Likewise.
6664 * soft-fp/extended.h: Likewise.
6665 * soft-fp/op-1.h: Likewise.
6666 * soft-fp/op-2.h: Likewise.
6667 * soft-fp/op-4.h: Likewise.
6668 * soft-fp/op-8.h: Likewise.
6669 * soft-fp/testit.c: Likewise.
6670 * stdio-common/bug16.c: Likewise.
6671 * stdlib/random.c: Likewise.
6672 * sunrpc/rpcsvc/rquota.x: Likewise.
6673 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6674 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6675 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6676 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6677 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6678 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6679 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6681 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6682 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6683 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6700 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6702 * sysdeps/ieee754/s_lib_version.c: Likewise.
6703 * sysdeps/mach/hurd/check_fds.c: Likewise.
6704 * sysdeps/mach/hurd/getsockname.c: Likewise.
6705 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6706 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6707 * sysdeps/powerpc/bits/link.h: Likewise.
6708 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6709 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6710 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6711 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6712 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6713 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6714 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6715 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6716 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6717 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6718 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6719 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6720 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6721 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6722 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6723 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6724 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6725 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6726 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6727 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6728 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6729 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6730 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6731 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6732 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6733 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6734 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6735 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6736 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6737 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6738 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6739 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6740 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6741 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6742 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6743 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6744 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6745 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6746 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6747 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6748 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6749 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6750 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6751 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6752 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6753 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6754 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6755 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6756 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6757 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6758 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6760 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6761 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6762 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6763 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6764 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6765 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6766 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6767 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6768 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6769 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6770 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6771 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6772 * sysdeps/powerpc/sysdep.h: Likewise.
6773 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6774 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6775 * sysdeps/sh/dl-trampoline.S: Likewise.
6776 * sysdeps/sh/memset.S: Likewise.
6777 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6778 * sysdeps/sh/strlen.S: Likewise.
6779 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6780 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6781 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6782 * sysdeps/sparc/sparc32/rem.S: Likewise.
6783 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6784 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6785 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6786 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6787 * sysdeps/sparc/sparc32/urem.S: Likewise.
6788 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6789 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6790 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6791 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6792 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6793 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6794 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6795 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6796 * sysdeps/unix/bsd/times.c: Likewise.
6797 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6798 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6802 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6803 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6804 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6805 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6806 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6807 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6808 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6809 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6810 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6811 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6812 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6813 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6814 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6815 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6816 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6817 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6818 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6819 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6820 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6821 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6822 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6823 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6824 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6825 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6826 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6827 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6828 * sysdeps/x86_64/strcspn.S: Likewise.
6829
869378a5
RA
68302013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6831
6832 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6833 generated file. Regenerate properly from gen-translit.pl.
6834 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6835 locale/C-translit.h.
6836
840e2943
AS
68372013-06-05 Andreas Schwab <schwab@suse.de>
6838
6839 [BZ #15100]
6840 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6841 week as 6 instead of -1.
6842 * time/tst-strptime.c (day_tests): Add test case.
6843
4c60cb0c
SP
68442013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6845
6846 * sysdeps/generic/math_private.h
6847 (libc_feholdexcept_setround_53bit): Replace with
6848 libc_feholdsetround_53bit.
6849 (libc_feupdateenv_53bit): Replace with
6850 libc_feresetround_53bit.
6851 (SET_RESTORE_ROUND_53BIT): Adjust.
6852
d180203e
SP
68532013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6854
96df079a
SP
6855 * string/test-strchrnul.c: Add copyright header.
6856
d180203e
SP
6857 * posix/tst-getaddrinfo4.c: Increase test timeout.
6858
8b0ccb2d
CD
68592013-06-03 Carlos O'Donell <carlos@redhat.com>
6860
6861 [BZ #15536]
6862 * math/libm-test.inc (MAX_EXP): Remove
6863 (MIN_EXP): Define.
6864 (ulp): Use MIN_EXP - MANT_DIG.
6865 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6866
3b3c4d40
CD
68672013-05-31 Carlos O'Donell <carlos@redhat.com>
6868
6869 * po/be.po: Revert last change.
6870 * po/zh_CN.po: Likewise.
6871 * po/header.pot: Likewise.
6872
fab7ce3f
JM
68732013-05-31 Joseph Myers <joseph@codesourcery.com>
6874
6875 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6876 link-libc-deps to empty as target-specific variable.
6877 * Makerules (link-libc-args): New variable.
6878 (libc-for-link): Likewise.
6879 (link-libc-deps): Likewise.
6880 (lib%.so): Depend on $(link-libc-deps). Link with
6881 $(link-libc-args).
6882 (build-module): Link with $(link-libc-args).
6883 (build-module-asneeded): Likewise.
6884 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6885 list of objects.
6886 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6887 target-specific variable.
6888 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6889 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6890 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6891 libc.
6892 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6893 libc and ld.so.
6894 ($(objpfx)libpcprofile.so): Likewise.
6895 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6896 libc_nonshared.a.
6897 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6898 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6899 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6900 $(link-libc-deps).
6901 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6902 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6903 * login/Makefile ($(objpfx)libutil.so): Likewise.
6904 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6905 * math/Makefile ($(objpfx)libm.so): Likewise.
6906 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6907 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6908 variable instead of depending directly on libc.
6909 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6910 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6911 $(link-libc-deps).
6912 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6913 libc.
6914 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6915 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6916 ($(objpfx)libanl.so): Likewise.
6917 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6918 ld.so.
6919 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6920 $(link-libc-deps).
6921 * sysdeps/i386/fpu/Makefile: Remove file.
6922 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6923 ($(objpfx)libm.so): Remove dependency on ld.so.
6924
eca5920c
PF
69252013-05-30 Patsy Franklin <pfrankli@redhat.com>
6926
6927 [BZ # 15553]
6928 * nis/yp_xdr.c (XDRMAXNAME): Define.
6929 (XDRMAXRECORD): Define.
6930 (xdr_domainname): Use XDRMAXNAME.
6931 (xdr_mapname): Likewise.
6932 (xdr_peername): Likewise.
6933 (xdr_keydat): Use XDRMAXRECORD.
6934 (xdr_valdat): Likewise.
6935
69362013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6937
6938 [BZ #14256]
6939 * manual/errno.texi (ESTALE): Update to account for more than
6940 just NFS file systems.
6941 * sysdeps/gnu/errlist.c: Regenerated.
6942
b9375348
SP
69432013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6944
6945 [BZ #15465]
6946 * elf/Makefile (tests): Add tst-null-argv.
6947 (modules-names): Add tst-null-argv-lib.
6948 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6949 (tst-null-argv-ENV): Set environment for tst-null-argv.
6950 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6951 (RTLD_PROGNAME): New macro.
6952 * elf/tst-null-argv.c: New test case.
6953 * elf/tst-null-argv-lib.c: Library for test case.
6954 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6955 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6956 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6957 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6958 * elf/dl-init.c (call_init): Likewise.
6959 (_dl_init): Likewise.
6960 * elf/dl-load.c (print_search_path): Likewise.
6961 (_dl_map_object): Likewise.
6962 * elf/dl-lookup.c (do_lookup_x): Likewise.
6963 (add_dependency): Likewise.
6964 (_dl_lookup_symbol_x): Likewise.
6965 (_dl_debug_bindings): Likewise.
6966 * elf/dl-open.c (_dl_show_scope): Likewise.
6967 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6968 * elf/dl-version.c (match_symbol): Likewise.
6969 (_dl_check_map_versions): Likewise.
6970 * elf/rtld.c (dl_main): Likewise.
6971 (print_unresolved): Use RTLD_PROGNAME.
6972 (print_missing_version): Likewise.
6973 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6974 (elf_machine_rela): Likewise.
6975 * sysdeps/powerpc/powerpc32/dl-machine.c
6976 (__process_machine_rela): Likewise.
6977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6978 Likewise.
6979 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6980 Likewise.
6981 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6982 Likewise.
6983 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6984 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6985 Likewise.
6986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6987 Likewise.
6988 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6989
8a9f20c8
CD
69902013-05-28 Carlos O'Donell <carlos@redhat.com>
6991
6992 * po/be.po: Add descriptive title.
6993 * po/zh_CN.po: Likewise.
6994 * po/header.pot: Likewise.
6995
0e60d68e
MF
69962013-05-28 Mike Frysinger <vapier@gentoo.org>
6997
6998 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6999 error message.
7000 (enlarge_archive): Likewise.
7001
56b672e9
BN
70022013-05-28 Ben North <ben@redfrontdoor.org>
7003
7004 * manual/arith.texi (frexp): It is the magnitude of the return
7005 value which lies in [0.5, 1), not the return value itself.
7006
5e056687
AZ
70072013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7008
7009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7010
2b66ef5d
TS
70112013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7012
528c2405
TS
7013 * stdio-common/bug26.c (main): Correct fscanf template.
7014
07b4c13d
TS
7015 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7016 declare _dl_skip_args.
7017
ec9dd97c
TS
7018 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7019 Don't declare.
7020
2b66ef5d
TS
7021 * manual/platform.texi: Add missing @end deftypefun.
7022
4f8dfe27
JM
70232013-05-24 Joseph Myers <joseph@codesourcery.com>
7024
0323d086
JM
7025 [BZ #15529]
7026 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7027 bit of mantissa of 2^16382.
7028 * math/libm-test.inc (hypot_test_data): Add more tests.
7029
dd4259b9
JM
7030 * math/libm-test.inc: Add drem and pow10 to list of tested
7031 functions.
7032 (pow10_test): New function.
7033 (drem_test): Likewise.
7034 (drem_test_tonearest): Likewise.
7035 (drem_test_towardzero): Likewise.
7036 (drem_test_downward): Likewise.
7037 (drem_test_upward): Likewise.
7038 (main): Call the new functions.
7039
4f8dfe27
JM
7040 * math/libm-test.inc (finite_test_data): Remove.
7041 (finite_test): Run tests from isfinite_test_data.
7042 (gamma_test_data): Remove.
7043 (gamma_test): Run tests from lgamma_test_data.
7044 * sysdeps/i386/fpu/libm-test-ulps: Update.
7045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7046
d116b7c4
AZ
70472013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7048
7049 * manual/platform.texi: Add PowerPC PPR function set documentation.
7050 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7051 implementation.
7052
e96e3767
CD
70532013-05-24 Carlos O'Donell <carlos@redhat.com>
7054
7055 * math/libm-test.inc (MAX_EXP): Define.
7056 (ULPDIFF): Define.
7057 (ulp): New function.
7058 (check_float_internal): Use ULPDIFF.
7059 (cpow_test): Disable failing test.
7060 (check_ulp): Test ulp() implemetnation.
7061 (main): Call check_ulp before starting tests.
7062
b679a606
JM
70632013-05-24 Joseph Myers <joseph@codesourcery.com>
7064
e8bdba36
JM
7065 * math/gen-libm-test.pl (generate_testfile): Do not handle
7066 START_DATA and END_DATA.
7067 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7068 END_DATA.
7069 (acos_tonearest_test_data): Likewise.
7070 (acos_towardzero_test_data): Likewise.
7071 (acos_downward_test_data): Likewise.
7072 (acos_upward_test_data): Likewise.
7073 (acosh_test_data): Likewise.
7074 (asin_test_data): Likewise.
7075 (asin_tonearest_test_data): Likewise.
7076 (asin_towardzero_test_data): Likewise.
7077 (asin_downward_test_data): Likewise.
7078 (asin_upward_test_data): Likewise.
7079 (asinh_test_data): Likewise.
7080 (atan_test_data): Likewise.
7081 (atanh_test_data): Likewise.
7082 (atan2_test_data): Likewise.
7083 (cabs_test_data): Likewise.
7084 (cacos_test_data): Likewise.
7085 (cacosh_test_data): Likewise.
7086 (carg_test_data): Likewise.
7087 (casin_test_data): Likewise.
7088 (casinh_test_data): Likewise.
7089 (catan_test_data): Likewise.
7090 (catanh_test_data): Likewise.
7091 (cbrt_test_data): Likewise.
7092 (ccos_test_data): Likewise.
7093 (ccosh_test_data): Likewise.
7094 (ceil_test_data): Likewise.
7095 (cexp_test_data): Likewise.
7096 (cimag_test_data): Likewise.
7097 (clog_test_data): Likewise.
7098 (clog10_test_data): Likewise.
7099 (conj_test_data): Likewise.
7100 (copysign_test_data): Likewise.
7101 (cos_test_data): Likewise.
7102 (cos_tonearest_test_data): Likewise.
7103 (cos_towardzero_test_data): Likewise.
7104 (cos_downward_test_data): Likewise.
7105 (cos_upward_test_data): Likewise.
7106 (cosh_test_data): Likewise.
7107 (cosh_tonearest_test_data): Likewise.
7108 (cosh_towardzero_test_data): Likewise.
7109 (cosh_downward_test_data): Likewise.
7110 (cosh_upward_test_data): Likewise.
7111 (cpow_test_data): Likewise.
7112 (cproj_test_data): Likewise.
7113 (creal_test_data): Likewise.
7114 (csin_test_data): Likewise.
7115 (csinh_test_data): Likewise.
7116 (csqrt_test_data): Likewise.
7117 (ctan_test_data): Likewise.
7118 (ctan_tonearest_test_data): Likewise.
7119 (ctan_towardzero_test_data): Likewise.
7120 (ctan_downward_test_data): Likewise.
7121 (ctan_upward_test_data): Likewise.
7122 (ctanh_test_data): Likewise.
7123 (ctanh_tonearest_test_data): Likewise.
7124 (ctanh_towardzero_test_data): Likewise.
7125 (ctanh_downward_test_data): Likewise.
7126 (ctanh_upward_test_data): Likewise.
7127 (erf_test_data): Likewise.
7128 (erfc_test_data): Likewise.
7129 (exp_test_data): Likewise.
7130 (exp_tonearest_test_data): Likewise.
7131 (exp_towardzero_test_data): Likewise.
7132 (exp_downward_test_data): Likewise.
7133 (exp_upward_test_data): Likewise.
7134 (exp10_test_data): Likewise.
7135 (exp2_test_data): Likewise.
7136 (expm1_test_data): Likewise.
7137 (fabs_test_data): Likewise.
7138 (fdim_test_data): Likewise.
7139 (finite_test_data): Likewise.
7140 (floor_test_data): Likewise.
7141 (fma_test_data): Likewise.
7142 (fma_towardzero_test_data): Likewise.
7143 (fma_downward_test_data): Likewise.
7144 (fma_upward_test_data): Likewise.
7145 (fmax_test_data): Likewise.
7146 (fmin_test_data): Likewise.
7147 (fmod_test_data): Likewise.
7148 (fpclassify_test_data): Likewise.
7149 (frexp_test_data): Likewise.
7150 (gamma_test_data): Likewise.
7151 (hypot_test_data): Likewise.
7152 (ilogb_test_data): Likewise.
7153 (isfinite_test_data): Likewise.
7154 (isgreater_test_data): Likewise.
7155 (isgreaterequal_test_data): Likewise.
7156 (isinf_test_data): Likewise.
7157 (isless_test_data): Likewise.
7158 (islessequal_test_data): Likewise.
7159 (islessgreater_test_data): Likewise.
7160 (isnan_test_data): Likewise.
7161 (isnormal_test_data): Likewise.
7162 (issignaling_test_data): Likewise.
7163 (isunordered_test_data): Likewise.
7164 (j0_test_data): Likewise.
7165 (j1_test_data): Likewise.
7166 (jn_test_data): Likewise.
7167 (ldexp_test_data): Likewise.
7168 (lgamma_test_data): Likewise.
7169 (lrint_test_data): Likewise.
7170 (lrint_tonearest_test_data): Likewise.
7171 (lrint_towardzero_test_data): Likewise.
7172 (lrint_downward_test_data): Likewise.
7173 (lrint_upward_test_data): Likewise.
7174 (llrint_test_data): Likewise.
7175 (llrint_tonearest_test_data): Likewise.
7176 (llrint_towardzero_test_data): Likewise.
7177 (llrint_downward_test_data): Likewise.
7178 (llrint_upward_test_data): Likewise.
7179 (log_test_data): Likewise.
7180 (log10_test_data): Likewise.
7181 (log1p_test_data): Likewise.
7182 (log2_test_data): Likewise.
7183 (logb_test_data): Likewise.
7184 (logb_downward_test_data): Likewise.
7185 (lround_test_data): Likewise.
7186 (llround_test_data): Likewise.
7187 (modf_test_data): Likewise.
7188 (nearbyint_test_data): Likewise.
7189 (nextafter_test_data): Likewise.
7190 (nexttoward_test_data): Likewise.
7191 (pow_test_data): Likewise.
7192 (pow_tonearest_test_data): Likewise.
7193 (pow_towardzero_test_data): Likewise.
7194 (pow_downward_test_data): Likewise.
7195 (pow_upward_test_data): Likewise.
7196 (remainder_test_data): Likewise.
7197 (remainder_tonearest_test_data): Likewise.
7198 (remainder_towardzero_test_data): Likewise.
7199 (remainder_downward_test_data): Likewise.
7200 (remainder_upward_test_data): Likewise.
7201 (remquo_test_data): Likewise.
7202 (rint_test_data): Likewise.
7203 (rint_tonearest_test_data): Likewise.
7204 (rint_towardzero_test_data): Likewise.
7205 (rint_downward_test_data): Likewise.
7206 (rint_upward_test_data): Likewise.
7207 (round_test_data): Likewise.
7208 (scalb_test_data): Likewise.
7209 (scalbn_test_data): Likewise.
7210 (scalbln_test_data): Likewise.
7211 (signbit_test_data): Likewise.
7212 (sin_test_data): Likewise.
7213 (sin_tonearest_test_data): Likewise.
7214 (sin_towardzero_test_data): Likewise.
7215 (sin_downward_test_data): Likewise.
7216 (sin_upward_test_data): Likewise.
7217 (sincos_test_data): Likewise.
7218 (sinh_test_data): Likewise.
7219 (sinh_tonearest_test_data): Likewise.
7220 (sinh_towardzero_test_data): Likewise.
7221 (sinh_downward_test_data): Likewise.
7222 (sinh_upward_test_data): Likewise.
7223 (sqrt_test_data): Likewise.
7224 (tan_test_data): Likewise.
7225 (tan_tonearest_test_data): Likewise.
7226 (tan_towardzero_test_data): Likewise.
7227 (tan_downward_test_data): Likewise.
7228 (tan_upward_test_data): Likewise.
7229 (tanh_test_data): Likewise.
7230 (tgamma_test_data): Likewise.
7231 (trunc_test_data): Likewise.
7232 (y0_test_data): Likewise.
7233 (y1_test_data): Likewise.
7234 (yn_test_data): Likewise.
7235 (significand_test_data): Likewise.
7236
b679a606
JM
7237 * math/gen-libm-test.pl (@functions): Remove variable.
7238 (generate_testfile): Don't handle START and END lines.
7239 * math/libm-test.inc (START): New macro.
7240 (END): Likewise.
7241 (END_COMPLEX): Likewise.
7242 (acos_test): Use END macro without arguments.
7243 (acos_test_tonearest): Likewise.
7244 (acos_test_towardzero): Likewise.
7245 (acos_test_downward): Likewise.
7246 (acos_test_upward): Likewise.
7247 (acosh_test): Likewise.
7248 (asin_test): Likewise.
7249 (asin_test_tonearest): Likewise.
7250 (asin_test_towardzero): Likewise.
7251 (asin_test_downward): Likewise.
7252 (asin_test_upward): Likewise.
7253 (asinh_test): Likewise.
7254 (atan_test): Likewise.
7255 (atanh_test): Likewise.
7256 (atan2_test): Likewise.
7257 (cabs_test): Likewise.
7258 (cacos_test): Use END_COMPLEX macro without arguments.
7259 (cacosh_test): Likewise.
7260 (carg_test): Use END macro without arguments.
7261 (casin_test): Use END_COMPLEX macro without arguments.
7262 (casinh_test): Likewise.
7263 (catan_test): Likewise.
7264 (catanh_test): Likewise.
7265 (cbrt_test): Use END macro without arguments.
7266 (ccos_test): Use END_COMPLEX macro without arguments.
7267 (ccosh_test): Likewise.
7268 (ceil_test): Use END macro without arguments.
7269 (cexp_test): Use END_COMPLEX macro without arguments.
7270 (cimag_test): Use END macro without arguments.
7271 (clog_test): Use END_COMPLEX macro without arguments.
7272 (clog10_test): Likewise.
7273 (conj_test): Likewise.
7274 (copysign_test): Use END macro without arguments.
7275 (cos_test): Likewise.
7276 (cos_test_tonearest): Likewise.
7277 (cos_test_towardzero): Likewise.
7278 (cos_test_downward): Likewise.
7279 (cos_test_upward): Likewise.
7280 (cosh_test): Likewise.
7281 (cosh_test_tonearest): Likewise.
7282 (cosh_test_towardzero): Likewise.
7283 (cosh_test_downward): Likewise.
7284 (cosh_test_upward): Likewise.
7285 (cpow_test): Use END_COMPLEX macro without arguments.
7286 (cproj_test): Likewise.
7287 (creal_test): Use END macro without arguments.
7288 (csin_test): Use END_COMPLEX macro without arguments.
7289 (csinh_test): Likewise.
7290 (csqrt_test): Likewise.
7291 (ctan_test): Likewise.
7292 (ctan_test_tonearest): Likewise.
7293 (ctan_test_towardzero): Likewise.
7294 (ctan_test_downward): Likewise.
7295 (ctan_test_upward): Likewise.
7296 (ctanh_test): Likewise.
7297 (ctanh_test_tonearest): Likewise.
7298 (ctanh_test_towardzero): Likewise.
7299 (ctanh_test_downward): Likewise.
7300 (ctanh_test_upward): Likewise.
7301 (erf_test): Use END macro without arguments.
7302 (erfc_test): Likewise.
7303 (exp_test): Likewise.
7304 (exp_test_tonearest): Likewise.
7305 (exp_test_towardzero): Likewise.
7306 (exp_test_downward): Likewise.
7307 (exp_test_upward): Likewise.
7308 (exp10_test): Likewise.
7309 (exp2_test): Likewise.
7310 (expm1_test): Likewise.
7311 (fabs_test): Likewise.
7312 (fdim_test): Likewise.
7313 (finite_test): Likewise.
7314 (floor_test): Likewise.
7315 (fma_test): Likewise.
7316 (fma_test_towardzero): Likewise.
7317 (fma_test_downward): Likewise.
7318 (fma_test_upward): Likewise.
7319 (fmax_test): Likewise.
7320 (fmin_test): Likewise.
7321 (fmod_test): Likewise.
7322 (fpclassify_test): Likewise.
7323 (frexp_test): Likewise.
7324 (gamma_test): Likewise.
7325 (hypot_test): Likewise.
7326 (ilogb_test): Likewise.
7327 (isfinite_test): Likewise.
7328 (isgreater_test): Likewise.
7329 (isgreaterequal_test): Likewise.
7330 (isinf_test): Likewise.
7331 (isless_test): Likewise.
7332 (islessequal_test): Likewise.
7333 (islessgreater_test): Likewise.
7334 (isnan_test): Likewise.
7335 (isnormal_test): Likewise.
7336 (issignaling_test): Likewise.
7337 (isunordered_test): Likewise.
7338 (j0_test): Likewise.
7339 (j1_test): Likewise.
7340 (jn_test): Likewise.
7341 (ldexp_test): Likewise.
7342 (lgamma_test): Likewise.
7343 (lrint_test): Likewise.
7344 (lrint_test_tonearest): Likewise.
7345 (lrint_test_towardzero): Likewise.
7346 (lrint_test_downward): Likewise.
7347 (lrint_test_upward): Likewise.
7348 (llrint_test): Likewise.
7349 (llrint_test_tonearest): Likewise.
7350 (llrint_test_towardzero): Likewise.
7351 (llrint_test_downward): Likewise.
7352 (llrint_test_upward): Likewise.
7353 (log_test): Likewise.
7354 (log10_test): Likewise.
7355 (log1p_test): Likewise.
7356 (log2_test): Likewise.
7357 (logb_test): Likewise.
7358 (logb_test_downward): Likewise.
7359 (lround_test): Likewise.
7360 (llround_test): Likewise.
7361 (modf_test): Likewise.
7362 (nearbyint_test): Likewise.
7363 (nextafter_test): Likewise.
7364 (nexttoward_test): Likewise.
7365 (pow_test): Likewise.
7366 (pow_test_tonearest): Likewise.
7367 (pow_test_towardzero): Likewise.
7368 (pow_test_downward): Likewise.
7369 (pow_test_upward): Likewise.
7370 (remainder_test): Likewise.
7371 (remainder_test_tonearest): Likewise.
7372 (remainder_test_towardzero): Likewise.
7373 (remainder_test_downward): Likewise.
7374 (remainder_test_upward): Likewise.
7375 (remquo_test): Likewise.
7376 (rint_test): Likewise.
7377 (rint_test_tonearest): Likewise.
7378 (rint_test_towardzero): Likewise.
7379 (rint_test_downward): Likewise.
7380 (rint_test_upward): Likewise.
7381 (round_test): Likewise.
7382 (scalb_test): Likewise.
7383 (scalbn_test): Likewise.
7384 (scalbln_test): Likewise.
7385 (signbit_test): Likewise.
7386 (sin_test): Likewise.
7387 (sin_test_tonearest): Likewise.
7388 (sin_test_towardzero): Likewise.
7389 (sin_test_downward): Likewise.
7390 (sin_test_upward): Likewise.
7391 (sincos_test): Likewise.
7392 (sinh_test): Likewise.
7393 (sinh_test_tonearest): Likewise.
7394 (sinh_test_towardzero): Likewise.
7395 (sinh_test_downward): Likewise.
7396 (sinh_test_upward): Likewise.
7397 (sqrt_test): Likewise.
7398 (tan_test): Likewise.
7399 (tan_test_tonearest): Likewise.
7400 (tan_test_towardzero): Likewise.
7401 (tan_test_downward): Likewise.
7402 (tan_test_upward): Likewise.
7403 (tanh_test): Likewise.
7404 (tgamma_test): Likewise.
7405 (trunc_test): Likewise.
7406 (y0_test): Likewise.
7407 (y1_test): Likewise.
7408 (yn_test): Likewise.
7409 (significand_test): Likewise.
7410
bae143d2
OB
74112013-05-24 Ondřej Bílka <neleai@seznam.cz>
7412
7413 [BZ #15381]
7414 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7415
9323d39b
EM
74162013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7417
d4ea44a0 7418 [BZ #14894]
9323d39b
EM
7419 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7420 __ppc_mdoio and __ppc_mdoom.
7421 * manual/platform.texi: Document new functions __ppc_yield,
7422 __ppc_mdoio and __ppc_mdoom.
7423
13e23af7
CD
74242013-05-22 Carlos O'Donell <carlos@redhat.com>
7425
7426 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7427 (main): Mention "tls" pseudo-hwcap is legacy.
7428 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7429
351fe550
JM
74302013-05-22 Joseph Myers <joseph@codesourcery.com>
7431
7432 * math/gen-libm-test.pl (parse_args): Output only string of
7433 arguments as text for test name, not full call or descriptions of
7434 tests for extra outputs.
7435 (generate_testfile): Do not pass function name to parse_args.
7436 Generate this_func variable from START.
7437 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7438 field to arg_str.
7439 (struct test_ff_f_data): Likewise.
7440 (test_ff_f_data_nexttoward): Likewise.
7441 (struct test_fi_f_data): Likewise.
7442 (struct test_fl_f_data): Likewise.
7443 (struct test_if_f_data): Likewise.
7444 (struct test_fff_f_data): Likewise.
7445 (struct test_c_f_data): Likewise.
7446 (struct test_f_f1_data): Likewise. Remove field extra_name.
7447 (struct test_fF_f1_data): Likewise.
7448 (struct test_ffI_f1_data): Likewise.
7449 (struct test_c_c_data): Rename test_name field to arg_str.
7450 (struct test_cc_c_data): Likewise.
7451 (struct test_f_i_data): Likewise.
7452 (struct test_ff_i_data): Likewise.
7453 (struct test_f_l_data): Likewise.
7454 (struct test_f_L_data): Likewise.
7455 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7456 and extra2_name.
7457 (COMMON_TEST_SETUP): New macro.
7458 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7459 (COMMON_TEST_CLEANUP): Likewise.
7460 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7461 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7462 macros.
7463 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7464 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7465 macros.
7466 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7467 (RUN_TEST_fff_f): Take argument string. Call new setup and
7468 cleanup macros.
7469 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7470 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7471 macros.
7472 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7473 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7474 macros.
7475 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7476 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7477 cleanup macros.
7478 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7479 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7480 cleanup macros.
7481 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7482 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7483 cleanup macros.
7484 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7485 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7486 macros.
7487 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7488 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7489 macros.
7490 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7491 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7492 macros.
7493 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7494 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7495 cleanup macros.
7496 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7497 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7498 cleanup macros.
7499 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7500 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7501 macros.
7502 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7503 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7504 cleanup macros.
7505 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7506 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7507 macros.
7508 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7509 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7510 macros.
7511 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7512 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7513 cleanup macros.
7514 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7515
85118d4d
EBM
75162013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7517
7518 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7519 to _sifields.sigfault.
7520 (si_addr_lsb): Define new macro.
7521 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7523 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7524
7a44c18f
CD
75252013-05-03 Carlos O'Donell <carlos at redhat.com>
7526
7527 [BZ #15441]
7528 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7529 returns -1.
7530 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7531 null return -1.
7532 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7533 loading the domain.
7534
b50a7181
JM
75352013-05-22 Joseph Myers <joseph@codesourcery.com>
7536
7537 * math/gen-libm-test.pl (parse_args): Do not include expected
7538 result in test name.
7539 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7541 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7542 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7543 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7545
051063c8
SP
75462013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7547
3ce9e010
SP
7548 * benchtests/Makefile: Sort function entries.
7549
051063c8
SP
7550 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7551 tanh, asinh, acosh, atanh.
7552 * benchtests/acos-inputs: New file.
7553 * benchtests/acosh-inputs: New file.
7554 * benchtests/asin-inputs: New file.
7555 * benchtests/asinh-inputs: New file.
7556 * benchtests/atanh-inputs: New file.
7557 * benchtests/cosh-inputs: New file.
7558 * benchtests/log-inputs: New file.
7559 * benchtests/sinh-inputs: New file.
7560 * benchtests/tanh-inputs: New file.
7561
47c22455
DL
75622013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7563
7564 [BZ #15339]
7565 * posix/tst-getaddrinfo4.c: New test.
7566 * posix/Makefile (tests): Add it.
7567
3d04f5db
SP
75682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7569
7570 [BZ #15339]
7571 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7572 when no services were used.
7573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7574 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7575
d5dd6189
AS
75762013-05-21 Andreas Schwab <schwab@suse.de>
7577
7578 [BZ #15014]
7579 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7580 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7581 successful.
7582 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7583 redundant variable declarations and reallocation of buffer when
7584 parsing as IPv6 address. Always set NSS status when called from
7585 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7586 buffer too small. Correct computation of needed size.
7587 * nss/Makefile (tests): Add test-digits-dots.
7588 * nss/test-digits-dots.c: New test.
7589
fef94eab
SP
75902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7591
7592 * benchtests/Makefile: Remove instructions for adding
7593 benchmark tests.
7594 * benchtests/README: New file to explain how to execute and
7595 enhance the benchmark tests.
7596
e39adf43
AS
75972013-05-21 Andreas Schwab <schwab@suse.de>
7598
7599 [BZ #15493]
7600 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7601 * setjmp/tst-sigsetjmp.c: New test.
7602
b2b671b6
OB
76032013-05-20 Ondřej Bílka <neleai@seznam.cz>
7604
7605 * sysdeps/x86_64/memset.S (memset): New implementation.
7606 (__bzero): Likewise.
7607 (__memset_tail): New function.
7608
2d48b41c
OB
76092013-05-20 Ondřej Bílka <neleai@seznam.cz>
7610
7611 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7612 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7613 __memcpy_sse2_unaligned ifunc selection.
7614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7615 Add memcpy-sse2-unaligned.S.
7616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7617 Add: __memcpy_sse2_unaligned.
7618
f16cc3eb
JM
76192013-05-19 Joseph Myers <joseph@codesourcery.com>
7620
3e694268
JM
7621 [BZ #15490]
7622 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7623 math_force_eval before restoring floating-point envrionment.
7624 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7626 Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7628 <math_private.h>.
7629 (__nearbyintl): Use math_force_eval before restoring
7630 floating-point environment.
7631 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7632
db62a907
JM
7633 * math/gen-libm-test.pl (special_functions): Remove.
7634 (parse_args): Don't handle TEST_extra. Handle functions with no
7635 return value.
7636 * math/libm-test.inc (struct test_sincos_data): Replace with
7637 struct test_fFF_11_data.
7638 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7639 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7640 (sincos_test_data): Change element type to struct
7641 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7642 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7643 RUN_TEST_LOOP_sincos.
7644 * math/README.libm-test: Don't mention special handling of
7645 individual functions.
7646 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7647 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7648 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7649 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7650 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7652
f16cc3eb
JM
7653 * math/gen-libm-test.pl (get_variable): Remove function.
7654 (parse_args): Don't show pointer parameters to call in test
7655 names. Use "extra output N" in test names for extra outputs
7656 rather than naming variables.
7657
3779b5b6
JM
76582013-05-18 Joseph Myers <joseph@codesourcery.com>
7659
2ee094ff
JM
7660 [BZ #15488]
7661 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7662 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7663 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7664 double tests.
7665 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7666 disable.
7667 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7668 check_long_double.
7669
3779b5b6
JM
7670 * math/gen-libm-test.pl (@tests): Remove variable.
7671 ($count): Likewise.
7672 (new_test): Remove function.
7673 (show_exceptions): New function.
7674 (special_functions): Use show_exceptions instead of new_test.
7675 (parse_args): Likewise.
7676 (generate_testfile): Pass only function name in generated call to
7677 print_max_error or print_complex_max_error.
7678 (get_ulps): Do not handle complex tests specially.
7679 (output_test): Rename to ...
7680 (get_all_ulps_for_test): ... this. Return a string rather than
7681 printing to a file. Require ulps to be present.
7682 (output_ulps): Generate arrays rather than #defines.
7683 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7684 (struct ulp_data): New type.
7685 (BUILD_COMPLEX_ULP): Remove macro.
7686 (compare_ulp_data): New function.
7687 (find_ulps): Likewise.
7688 (find_test_ulps): Likewise.
7689 (find_function_ulps): Likewise.
7690 (find_complex_function_ulps): Likewise.
7691 (print_max_error): Determine allowed ulps using
7692 find_function_ulps.
7693 (print_complex_max_error): Determine allowed ulps using
7694 find_complex_function_ulps.
7695 (check_float_internal): Determine max ulps using find_test_ulps.
7696 (check_float): Do not take max_ulp parameter. Update call to
7697 check_float_internal.
7698 (check_complex): Likewise.
7699 (check_int): Do not take max_ulp parameter.
7700 (check_long): Likewise.
7701 (check_bool): Likewise.
7702 (check_longlong): Likewise.
7703 (struct test_f_f_data): Remove max_ulp field.
7704 (struct test_ff_f_data): Likewise.
7705 (struct test_ff_f_data_nexttoward): Likewise.
7706 (struct test_fi_f_data): Likewise.
7707 (struct test_fl_f_data): Likewise.
7708 (struct test_if_f_data): Likewise.
7709 (struct test_fff_f_data): Likewise.
7710 (struct test_c_f_data): Likewise.
7711 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7712 (struct test_fF_f1_data): Likewise.
7713 (struct test_ffI_f1_data): Likewise.
7714 (struct test_c_c_data): Remove max_ulp field.
7715 (struct test_cc_c_data): Likewise.
7716 (struct test_f_i_data): Likewise.
7717 (struct test_ff_i_data): Likewise.
7718 (struct test_f_l_data): Likewise.
7719 (struct test_f_L_data): Likewise.
7720 (struct test_sincos_data): Likewise.
7721 (RUN_TEST_f_f): Do not handle ulps.
7722 (RUN_TEST_LOOP_f_f): Likewise.
7723 (RUN_TEST_2_f): Likewise.
7724 (RUN_TEST_LOOP_2_f): Likewise.
7725 (RUN_TEST_fff_f): Likewise.
7726 (RUN_TEST_LOOP_fff_f): Likewise.
7727 (RUN_TEST_c_f): Likewise.
7728 (RUN_TEST_LOOP_c_f): Likewise.
7729 (RUN_TEST_f_f1): Likewise.
7730 (RUN_TEST_LOOP_f_f1): Likewise.
7731 (RUN_TEST_fF_f1): Likewise.
7732 (RUN_TEST_LOOP_fF_f1): Likewise.
7733 (RUN_TEST_fI_f1): Likewise.
7734 (RUN_TEST_LOOP_fI_f1): Likewise.
7735 (RUN_TEST_ffI_f1): Likewise.
7736 (RUN_TEST_LOOP_ffI_f1): Likewise.
7737 (RUN_TEST_c_c): Likewise.
7738 (RUN_TEST_LOOP_c_c): Likewise.
7739 (RUN_TEST_cc_c): Likewise.
7740 (RUN_TEST_LOOP_cc_c): Likewise.
7741 (RUN_TEST_f_i): Likewise.
7742 (RUN_TEST_LOOP_f_i): Likewise.
7743 (RUN_TEST_f_i_tg): Likewise.
7744 (RUN_TEST_LOOP_f_i_tg): Likewise.
7745 (RUN_TEST_ff_i_tg): Likewise.
7746 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7747 (RUN_TEST_f_b): Likewise.
7748 (RUN_TEST_LOOP_f_b): Likewise.
7749 (RUN_TEST_f_b_tg): Likewise.
7750 (RUN_TEST_LOOP_f_b_tg): Likewise.
7751 (RUN_TEST_f_l): Likewise.
7752 (RUN_TEST_LOOP_f_l): Likewise.
7753 (RUN_TEST_f_L): Likewise.
7754 (RUN_TEST_LOOP_f_L): Likewise.
7755 (RUN_TEST_sincos): Likewise.
7756 (RUN_TEST_LOOP_sincos): Likewise.
7757
8269107f
JM
77582013-05-17 Joseph Myers <joseph@codesourcery.com>
7759
bb38759d
JM
7760 [BZ #15480]
7761 [BZ #15485]
7762 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7763 main case of finite arguments, set rounding mode to FE_TONEAREST
7764 and discard exceptions.
7765 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7766 exceptions.
7767 (remainder_tonearest_test_data): New variable.
7768 (remainder_test_tonearest): New function.
7769 (remainder_towardzero_test_data): New variable.
7770 (remainder_test_towardzero): New function.
7771 (remainder_downward_test_data): New variable.
7772 (remainder_test_downward): New function.
7773 (remainder_upward_test_data): New variable.
7774 (remainder_test_upward): New function.
7775 (main): Call the new test functions.
7776
a00bdcf0
JM
7777 * math/libm-test.inc (struct test_f_f1_data): Remove field
7778 extra_init.
7779 (struct test_fF_f1_data): Likewise.
7780 (struct test_ffI_f1_data): Likewise.
7781 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7782 based on value of EXTRA_EXPECTED.
7783 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7784 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7785 EXTRA_VAR based on value of EXTRA_EXPECTED.
7786 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7787 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7788 EXTRA_VAR based on value of EXTRA_EXPECTED.
7789 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7790 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7791 EXTRA_VAR based on value of EXTRA_EXPECTED.
7792 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7793 * math/gen-libm-test.pl (parse_args): Don't output initializers
7794 for extra output values.
7795
de407f79
JM
7796 * math/libm-test.inc (check_int): Expect result to be exactly
7797 equal to expected value and do not handle ulps.
7798 (check_long): Likewise.
7799 (check_longlong): Likewise.
7800
8269107f
JM
7801 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7802 exceptions.
7803 (cimag_test_data): Likewise.
7804 (conj_test_data): Likewise.
7805 (copysign_test_data): Likewise.
7806 (cproj_test_data): Likewise.
7807 (creal_test_data): Likewise.
7808 (fabs_test_data): Likewise.
7809 (fdim_test_data): Likewise.
7810 (finite_test_data): Likewise.
7811 (floor_test_data): Likewise.
7812 (fmax_test_data): Likewise.
7813 (fmin_test_data): Likewise.
7814 (fmod_test_data): Likewise.
7815 (fpclassify_test_data): Likewise.
7816 (frexp_test_data): Likewise.
7817 (ilogb_test_data): Likewise.
7818 (isfinite_test_data): Likewise.
7819 (isgreater_test_data): Likewise.
7820 (isgreaterequal_test_data): Likewise.
7821 (isinf_test_data): Likewise.
7822 (isless_test_data): Likewise.
7823 (islessequal_test_data): Likewise.
7824 (islessgreater_test_data): Likewise.
7825 (isnan_test_data): Likewise.
7826 (isnormal_test_data): Likewise.
7827 (issignaling_test_data): Likewise.
7828 (isunordered_test_data): Likewise.
7829 (ldexp_test_data): Likewise.
7830 (lrint_test_data): Likewise.
7831 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7832 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7833 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7834 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7835 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7836 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7837 test input.
7838 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7839 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7840 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7841 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7842 that test input.
7843 (lrint_downward_test_data): Test for "inexact" exceptions.
7844 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7845 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7846 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7847 test input.
7848 (lrint_upward_test_data): Test for "inexact" exceptions.
7849 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7850 test input.
7851 (llrint_test_data): Test for "inexact" exceptions.
7852 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7853 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7854 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7855 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7856 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7857 (llrint_downward_test_data): Test for "inexact" exceptions.
7858 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7859 (llrint_upward_test_data): Test for "inexact" exceptions.
7860 (logb_test_data): Likewise.
7861 (logb_downward_test_data): Likewise.
7862 (nextafter_test_data): Likewise.
7863 (nexttoward_test_data): Likewise.
7864 (remainder_test_data): Likewise.
7865 (remquo_test_data): Likewise.
7866 (scalbn_test_data): Likewise.
7867 (scalbln_test_data): Likewise.
7868 (signbit_test_data): Likewise.
7869 (sqrt_test_data): Likewise.
7870 (significand_test_data): Likewise.
7871
48a18de1
SP
78722013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7873
7874 [BZ #15424]
7875 * benchtests/bench-modf.c (struct args): Mark arg0 as
7876 volatile.
7877 * scripts/bench.pl: Mark members of struct args as volatile.
7878
13d3b41a
AZ
78792013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7880
68191c1d 7881 [BZ # 15497]
13d3b41a
AZ
7882 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7883 negative infinity on POWER6 or lower.
7884 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7885
2848b105
MR
78862013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7887
7888 [BZ #15442]
7889 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7890 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7891 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7892 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7893 (_FP_SETQNAN): New macro.
7894 (_FP_SETQNAN_SEMIRAW): Likewise.
7895 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7896 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7897 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7898 (FP_EXTEND): Use _FP_FRAC_SNANP.
7899 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7900 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7901 into account.
7902 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7903 New macro.
7904 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7905 Likewise.
7906
323e5cb7
JM
79072013-05-16 Joseph Myers <joseph@codesourcery.com>
7908
c58b274f
JM
7909 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7910 with DIVIDE_BY_ZERO_EXCEPTION.
7911 (gamma_test_data): Likewise.
7912 (lgamma_test_data): Likewise.
7913 (log_test_data): Likewise.
7914 (log10_test_data): Likewise.
7915 (log2_test_data): Likewise.
7916 (tgamma_test_data): Likewise.
7917
0ab34904
JM
7918 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7919 (acos_test_tonearest): Likewise.
7920 (acos_test_towardzero): Likewise.
7921 (acos_test_downward): Likewise.
7922 (acos_test_upward): Likewise.
7923 (acosh_test): Likewise.
7924 (asin_test): Likewise.
7925 (asin_test_tonearest): Likewise.
7926 (asin_test_towardzero): Likewise.
7927 (asin_test_downward): Likewise.
7928 (asin_test_upward): Likewise.
7929 (asinh_test): Likewise.
7930 (atan_test): Likewise.
7931 (atanh_test): Likewise.
7932 (atan2_test): Likewise.
7933 (cabs_test): Likewise.
7934 (cacos_test): Likewise.
7935 (cacosh_test): Likewise.
7936 (casin_test): Likewise.
7937 (casinh_test): Likewise.
7938 (catan_test): Likewise.
7939 (catanh_test): Likewise.
7940 (cbrt_test): Likewise.
7941 (ccos_test): Likewise.
7942 (ccosh_test): Likewise.
7943 (cexp_test): Likewise.
7944 (clog_test): Likewise.
7945 (clog10_test): Likewise.
7946 (cos_test): Likewise.
7947 (cos_test_tonearest): Likewise.
7948 (cos_test_towardzero): Likewise.
7949 (cos_test_downward): Likewise.
7950 (cos_test_upward): Likewise.
7951 (cosh_test): Likewise.
7952 (cosh_test_tonearest): Likewise.
7953 (cosh_test_towardzero): Likewise.
7954 (cosh_test_downward): Likewise.
7955 (cosh_test_upward): Likewise.
7956 (cpow_test): Likewise.
7957 (csin_test): Likewise.
7958 (csinh_test): Likewise.
7959 (csqrt_test): Likewise.
7960 (ctan_test): Likewise.
7961 (ctan_test_tonearest): Likewise.
7962 (ctan_test_towardzero): Likewise.
7963 (ctan_test_downward): Likewise.
7964 (ctan_test_upward): Likewise.
7965 (ctanh_test): Likewise.
7966 (ctanh_test_tonearest): Likewise.
7967 (ctanh_test_towardzero): Likewise.
7968 (ctanh_test_downward): Likewise.
7969 (ctanh_test_upward): Likewise.
7970 (erf_test): Likewise.
7971 (erfc_test): Likewise.
7972 (exp_test): Likewise.
7973 (exp_test_tonearest): Likewise.
7974 (exp_test_towardzero): Likewise.
7975 (exp_test_downward): Likewise.
7976 (exp_test_upward): Likewise.
7977 (exp10_test): Likewise.
7978 (exp2_test): Likewise.
7979 (expm1_test): Likewise.
7980 (fmod_test): Likewise.
7981 (gamma_test): Likewise.
7982 (hypot_test): Likewise.
7983 (j0_test): Likewise.
7984 (j1_test): Likewise.
7985 (jn_test): Likewise.
7986 (lgamma_test): Likewise.
7987 (log_test): Likewise.
7988 (log10_test): Likewise.
7989 (log1p_test): Likewise.
7990 (log2_test): Likewise.
7991 (logb_test_downward): Likewise.
7992 (pow_test): Likewise.
7993 (pow_test_tonearest): Likewise.
7994 (pow_test_towardzero): Likewise.
7995 (pow_test_downward): Likewise.
7996 (pow_test_upward): Likewise.
7997 (remainder_test): Likewise.
7998 (remquo_test): Likewise.
7999 (sin_test): Likewise.
8000 (sin_test_tonearest): Likewise.
8001 (sin_test_towardzero): Likewise.
8002 (sin_test_downward): Likewise.
8003 (sin_test_upward): Likewise.
8004 (sincos_test): Likewise.
8005 (sinh_test): Likewise.
8006 (sinh_test_tonearest): Likewise.
8007 (sinh_test_towardzero): Likewise.
8008 (sinh_test_downward): Likewise.
8009 (sinh_test_upward): Likewise.
8010 (sqrt_test): Likewise.
8011 (tan_test): Likewise.
8012 (tan_test_tonearest): Likewise.
8013 (tan_test_towardzero): Likewise.
8014 (tan_test_downward): Likewise.
8015 (tan_test_upward): Likewise.
8016 (tanh_test): Likewise.
8017 (tgamma_test): Likewise.
8018 (y0_test): Likewise.
8019 (y1_test): Likewise.
8020 (yn_test): Likewise.
8021
323e5cb7
JM
8022 * math/gen-libm-test.pl (adjust_arg): Remove function.
8023 (special_function): Remove argument $in_func. Only handle
8024 generating output for tables of tests, not inside functions.
8025 (parse_args): Likewise.
8026 (generate_testfile): Remove variable $in_func. Update call to
8027 parse_args.
8028 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8029 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8030 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8031 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8032 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8033 (MAX_VALUE_INIT): Rename macro to max_value.
8034 (MIN_VALUE_INIT): Rename macro to min_value.
8035 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8036 (plus_zero): Remove variable.
8037 (minus_zero): Likewise.
8038 (plus_infty): Likewise.
8039 (minus_infty): Likewise.
8040 (qnan_value): Likewise.
8041 (max_value): Likewise.
8042 (min_value): Likewise.
8043 (min_subnorm_value): Likewise.
8044
e054f494
RA
80452013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8046
8047 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8048 uint64_t or uint32_t usage.
8049 * crypt/sha256-block.c: Likewise.
8050 * crypt/sha256-crypt.c: Likewise.
8051 * crypt/sha256.c: Likewise.
8052 * crypt/sha512-block.c: Likewise.
8053 * crypt/sha512-crypt.c: Likewise.
8054 * crypt/sha512.c: Likewise.
8055 * debug/backtrace-tst.c: Likewise.
8056 * debug/pcprofiledump.c: Likewise.
8057 * elf/cache.c: Likewise.
8058 * elf/dl-cache.c: Likewise.
8059 * elf/dl-misc.c: Likewise.
8060 * elf/dl-profile.c: Likewise.
8061 * elf/dl-support.c: Likewise.
8062 * elf/ldconfig.c: Likewise.
8063 * elf/sprof.c: Likewise.
8064 * iconv/dummy-repertoire.c: Likewise.
8065 * iconv/iconv_charmap.c: Likewise.
8066 * iconv/skeleton.c: Likewise.
8067 * iconvdata/8bit-generic.c: Likewise.
8068 * iconvdata/cp737.h: Likewise.
8069 * iconvdata/cp775.h: Likewise.
8070 * iconvdata/ibm1008.h: Likewise.
8071 * iconvdata/ibm1025.h: Likewise.
8072 * iconvdata/ibm1046.h: Likewise.
8073 * iconvdata/ibm1097.h: Likewise.
8074 * iconvdata/ibm1112.h: Likewise.
8075 * iconvdata/ibm1122.h: Likewise.
8076 * iconvdata/ibm1123.h: Likewise.
8077 * iconvdata/ibm1124.h: Likewise.
8078 * iconvdata/ibm1129.h: Likewise.
8079 * iconvdata/ibm1130.h: Likewise.
8080 * iconvdata/ibm1132.h: Likewise.
8081 * iconvdata/ibm1133.h: Likewise.
8082 * iconvdata/ibm1137.h: Likewise.
8083 * iconvdata/ibm1140.h: Likewise.
8084 * iconvdata/ibm1141.h: Likewise.
8085 * iconvdata/ibm1142.h: Likewise.
8086 * iconvdata/ibm1143.h: Likewise.
8087 * iconvdata/ibm1144.h: Likewise.
8088 * iconvdata/ibm1145.h: Likewise.
8089 * iconvdata/ibm1146.h: Likewise.
8090 * iconvdata/ibm1147.h: Likewise.
8091 * iconvdata/ibm1148.h: Likewise.
8092 * iconvdata/ibm1149.h: Likewise.
8093 * iconvdata/ibm1153.h: Likewise.
8094 * iconvdata/ibm1154.h: Likewise.
8095 * iconvdata/ibm1155.h: Likewise.
8096 * iconvdata/ibm1156.h: Likewise.
8097 * iconvdata/ibm1157.h: Likewise.
8098 * iconvdata/ibm1158.h: Likewise.
8099 * iconvdata/ibm1160.h: Likewise.
8100 * iconvdata/ibm1161.h: Likewise.
8101 * iconvdata/ibm1162.h: Likewise.
8102 * iconvdata/ibm1163.h: Likewise.
8103 * iconvdata/ibm1164.h: Likewise.
8104 * iconvdata/ibm1166.h: Likewise.
8105 * iconvdata/ibm1167.h: Likewise.
8106 * iconvdata/ibm12712.h: Likewise.
8107 * iconvdata/ibm1390.h: Likewise.
8108 * iconvdata/ibm1399.h: Likewise.
8109 * iconvdata/ibm16804.h: Likewise.
8110 * iconvdata/ibm4517.h: Likewise.
8111 * iconvdata/ibm4899.h: Likewise.
8112 * iconvdata/ibm4909.h: Likewise.
8113 * iconvdata/ibm4971.h: Likewise.
8114 * iconvdata/ibm5347.h: Likewise.
8115 * iconvdata/ibm803.h: Likewise.
8116 * iconvdata/ibm856.h: Likewise.
8117 * iconvdata/ibm901.h: Likewise.
8118 * iconvdata/ibm902.h: Likewise.
8119 * iconvdata/ibm9030.h: Likewise.
8120 * iconvdata/ibm9066.h: Likewise.
8121 * iconvdata/ibm921.h: Likewise.
8122 * iconvdata/ibm922.h: Likewise.
8123 * iconvdata/ibm9448.h: Likewise.
8124 * iconvdata/isiri-3342.h: Likewise.
8125 * iconvdata/jis0201.h: Likewise.
8126 * include/link.h: Likewise.
8127 * include/netdb.h: Likewise.
8128 * inet/check_native.c: Likewise.
8129 * inet/check_pf.c: Likewise.
8130 * inet/getipv4sourcefilter.c: Likewise.
8131 * inet/getnameinfo.c: Likewise.
8132 * inet/getsourcefilter.c: Likewise.
8133 * inet/htonl.c: Likewise.
8134 * inet/setipv4sourcefilter.c: Likewise.
8135 * inet/setsourcefilter.c: Likewise.
8136 * inet/test-inet6_opt.c: Likewise.
8137 * inet/tst-network.c: Likewise.
8138 * locale/C-collate.c: Likewise.
8139 * locale/C-ctype.c: Likewise.
8140 * locale/C-time.c: Likewise.
8141 * locale/C-translit.h: Likewise.
8142 * locale/loadarchive.c: Likewise.
8143 * locale/programs/3level.h: Likewise.
8144 * locale/programs/charmap.c: Likewise.
8145 * locale/programs/charmap.h: Likewise.
8146 * locale/programs/ld-address.c: Likewise.
8147 * locale/programs/ld-collate.c: Likewise.
8148 * locale/programs/ld-ctype.c: Likewise.
8149 * locale/programs/ld-identification.c: Likewise.
8150 * locale/programs/ld-measurement.c: Likewise.
8151 * locale/programs/ld-messages.c: Likewise.
8152 * locale/programs/ld-monetary.c: Likewise.
8153 * locale/programs/ld-name.c: Likewise.
8154 * locale/programs/ld-numeric.c: Likewise.
8155 * locale/programs/ld-paper.c: Likewise.
8156 * locale/programs/ld-telephone.c: Likewise.
8157 * locale/programs/ld-time.c: Likewise.
8158 * locale/programs/linereader.c: Likewise.
8159 * locale/programs/locale.c: Likewise.
8160 * locale/programs/locarchive.c: Likewise.
8161 * locale/programs/locfile.h: Likewise.
8162 * locale/programs/repertoire.c: Likewise.
8163 * locale/programs/simple-hash.c: Likewise.
8164 * locale/programs/simple-hash.h: Likewise.
8165 * malloc/memusage.c: Likewise.
8166 * malloc/memusagestat.c: Likewise.
8167 * nis/nis_defaults.c: Likewise.
8168 * nis/nis_hash.c: Likewise.
8169 * nis/nis_print.c: Likewise.
8170 * nis/nis_xdr.c: Likewise.
8171 * nscd/connections.c: Likewise.
8172 * nscd/hstcache.c: Likewise.
8173 * nscd/nscd_gethst_r.c: Likewise.
8174 * nscd/nscd_getserv_r.c: Likewise.
8175 * nscd/nscd_helper.c: Likewise.
8176 * nscd/servicescache.c: Likewise.
8177 * nss/makedb.c: Likewise.
8178 * nss/nss_db/db-XXX.c: Likewise.
8179 * nss/nss_db/db-initgroups.c: Likewise.
8180 * nss/nss_db/db-netgrp.c: Likewise.
8181 * nss/nss_files/files-network.c: Likewise.
8182 * nss/nss_files/files-parse.c: Likewise.
8183 * posix/bug-regex5.c: Likewise.
8184 * posix/fnmatch_loop.c: Likewise.
8185 * posix/regcomp.c: Likewise.
8186 * posix/regexec.c: Likewise.
8187 * posix/tst-rfc3484-2.c: Likewise.
8188 * posix/tst-rfc3484-3.c: Likewise.
8189 * posix/tst-rfc3484.c: Likewise.
8190 * resolv/nss_dns/dns-canon.c: Likewise.
8191 * resolv/nss_dns/dns-network.c: Likewise.
8192 * resolv/res_init.c: Likewise.
8193 * resolv/res_mkquery.c: Likewise.
8194 * resolv/tst-aton.c: Likewise.
8195 * stdlib/cxa_atexit.c: Likewise.
8196 * stdlib/cxa_finalize.c: Likewise.
8197 * stdlib/gen-fpioconst.c: Likewise.
8198 * stdlib/strtol_l.c: Likewise.
8199 * string/tst-endian.c: Likewise.
8200 * sunrpc/auth_des.c: Likewise.
8201 * sunrpc/clnt_udp.c: Likewise.
8202 * sunrpc/rtime.c: Likewise.
8203 * sunrpc/svcauth_des.c: Likewise.
8204 * sunrpc/xdr.c: Likewise.
8205 * sunrpc/xdr_intXX_t.c: Likewise.
8206 * sunrpc/xdr_rec.c: Likewise.
8207 * sysdeps/generic/ldconfig.h: Likewise.
8208 * sysdeps/generic/ldsodefs.h: Likewise.
8209 * sysdeps/generic/memusage.h: Likewise.
8210 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8217 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8218 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8219 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8220 * sysdeps/posix/getaddrinfo.c: Likewise.
8221 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8222 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8223 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8224 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8225 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8226 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8227 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8228 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8229 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8230 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8231 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8232 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8233 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8234 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8235 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8236 * sysdeps/x86_64/dl-tls.h: Likewise.
8237 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8238 * time/alt_digit.c: Likewise.
8239 * time/era.c: Likewise.
8240 * wcsmbs/tst-c16c32-1.c: Likewise.
8241
8c75f674
JM
82422013-05-16 Joseph Myers <joseph@codesourcery.com>
8243
8244 * math/libm-test.inc (struct test_sincos_data): New type.
8245 (RUN_TEST_LOOP_sincos): New macro.
8246 (sincos_test_data): New variable.
8247 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8248
e6e49e59
RH
82492013-05-16 Richard Henderson <rth@redhat.com>
8250
8251 * math/atest-exp2.c (LIMB64): New macro.
8252 (CONSTSZ): New macro.
8253 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8254 (hexdig): Move ...
8255 (print_mpn_fp): ... to function scope.
8256 (read_mpn_hex): Remove.
8257 (get_log2): Remove.
8258 (exp2_mpn): Use mp_log2.
8259 (main): Use mp_exp1.
8260
15c7c18d
JM
82612013-05-16 Joseph Myers <joseph@codesourcery.com>
8262
105a07df
JM
8263 * math/libm-test.inc: Remove comment about not testing "inexact"
8264 exceptions.
8265 (INEXACT_EXCEPTION): New macro.
8266 (NO_INEXACT_EXCEPTION): Likewise.
8267 (INVALID_EXCEPTION_OK): Update value.
8268 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8269 (OVERFLOW_EXCEPTION_OK): Likewise.
8270 (UNDERFLOW_EXCEPTION_OK): Likewise.
8271 (IGNORE_ZERO_INF_SIGN): Likewise.
8272 (ERRNO_UNCHANGED): Likewise.
8273 (ERRNO_EDOM): Likewise.
8274 (ERRNO_ERANGE): Likewise.
8275 (test_exceptions): Handle testing "inexact" exceptions.
8276 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8277 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8278 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8279 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8280 INEXACT_EXCEPTION.
8281 (rint_towardzero_test_data): Likewise.
8282 (rint_downward_test_data): Likewise.
8283 (rint_upward_test_data): Likewise.
8284
e9eee333
JM
8285 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8286 with OVERFLOW_EXCEPTION.
8287 (exp10_test_data): Likewise.
8288 (exp2_test_data): Likewise.
8289 (expm1_test_data): Likewise.
8290 (lgamma_test_data): Likewise.
8291 (pow_test_data): Likewise.
8292 (tgamma_test_data): Likewise.
8293 (yn_test_data): Remove duplicate test of overflow.
8294
1c38ff73
JM
8295 * math/libm-test.inc (struct test_cc_c_data): New type.
8296 (RUN_TEST_LOOP_cc_c): New macro.
8297 (cpow_test_data): New variable.
8298 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8299
15c7c18d
JM
8300 * math/libm-test.inc (struct test_f_L_data): New type.
8301 (RUN_TEST_LOOP_f_L): New macro.
8302 (llrint_test_data): New variable.
8303 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8304 (llrint_tonearest_test_data): New variable.
8305 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8306 (llrint_towardzero_test_data): New variable.
8307 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8308 (llrint_downward_test_data): New variable.
8309 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8310 (llrint_upward_test_data): New variable.
8311 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8312 (llround_test_data): New variable.
8313 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8314
f137ff13
PC
83152013-05-13 Peter Collingbourne <pcc@google.com>
8316
8317 * math/atest-exp2.c (get_log2): Remove const attribute.
8318
3608cb24
JM
83192013-05-15 Joseph Myers <joseph@codesourcery.com>
8320
8321 * math/libm-test.inc (struct test_f_l_data): New type.
8322 (RUN_TEST_LOOP_f_l): New macro.
8323 (lrint_test_data): New variable.
8324 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8325 (lrint_tonearest_test_data): New variable.
8326 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8327 (lrint_towardzero_test_data): New variable.
8328 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8329 (lrint_downward_test_data): New variable.
8330 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8331 (lrint_upward_test_data): New variable.
8332 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8333 (lround_test_data): New variable.
8334 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8335
39b1f617
PC
83362013-05-15 Peter Collingbourne <pcc@google.com>
8337
1deff3dc
PC
8338 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8339 (EXTRACT_WORDS64) Use where appropriate.
8340 (INSERT_WORDS64) Likewise.
8341
791f3ba0
PC
8342 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8343 constraints with x constraints.
8344 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8345
39b1f617
PC
8346 * malloc/obstack.c (_obstack_compat): Add initializer.
8347
12fba011
EM
83482013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8349
8350 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8351 si_trapno and add si_addr_lsb to _sifields.sigfault.
8352 (si_trapno): Remove macro.
8353 (si_addr_lsb): Define new macro.
8354 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8355
d369f531
JM
83562013-05-15 Joseph Myers <joseph@codesourcery.com>
8357
b861c6c4
JM
8358 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8359 instead of TEST_f_l.
8360 (llrint_test_tonearest): Likewise.
8361 (llrint_test_towardzero): Likewise.
8362 (llrint_test_downward): Likewise.
8363 (llrint_test_upward): Likewise.
8364 (llround_test): Likewise.
8365
7abeee12
JM
8366 * math/libm-test.inc (struct test_f_i_data): Add comment.
8367 (RUN_TEST_LOOP_f_b): New macro.
8368 (RUN_TEST_LOOP_f_b_tg): Likewise.
8369 (finite_test_data): New variable.
8370 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8371 (isfinite_test_data): New variable.
8372 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8373 (isinf_test_data): New variable.
8374 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8375 (isnan_test_data): New variable.
8376 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8377 (isnormal_test_data): New variable.
8378 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8379 (issignaling_test_data): New variable.
8380 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8381 (signbit_test_data): New variable.
8382 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8383
cbe8c4d3
JM
8384 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8385 with INVALID_EXCEPTION.
8386 (acosh_test_data): Likewise.
8387 (asin_test_data): Likewise.
8388 (atanh_test_data): Likewise.
8389 (fmod_test_data): Likewise.
8390 (log_test_data): Likewise.
8391 (log10_test_data): Likewise.
8392 (log2_test_data): Likewise.
8393 (pow_test_data): Likewise.
8394 (sqrt_test_data): Likewise.
8395 (y0_test_data): Likewise.
8396 (y1_test_data): Likewise.
8397 (yn_test_data): Likewise.
8398
5575c0e5
JM
8399 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8400 function contents.
8401
d369f531
JM
8402 * math/libm-test.inc (struct test_ff_i_data): New type.
8403 (RUN_TEST_LOOP_ff_i_tg): New macro.
8404 (isgreater_test_data): New variable.
8405 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8406 (isgreaterequal_test_data): New variable.
8407 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8408 (isless_test_data): New variable.
8409 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8410 (islessequal_test_data): New variable.
8411 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8412 (islessgreater_test_data): New variable.
8413 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8414 (isunordered_test_data): New variable.
8415 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8416
781fd748
DM
84172013-05-14 David S. Miller <davem@davemloft.net>
8418
8419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8420
87aa21df
JM
84212013-05-14 Joseph Myers <joseph@codesourcery.com>
8422
5e908270
JM
8423 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8424
f71172e5
JM
8425 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8426 extra_test to int.
8427 (struct test_f_i_data): Change type of max_ulp to int.
8428
8cfa635a
JM
8429 * math/libm-test.inc (test_ffI_f1_data): New type.
8430 (RUN_TEST_LOOP_ffI_f1): New macro.
8431 (remquo_test_data): New variable.
8432 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8433
2bcb36b2
JM
8434 * setjmp/tst-setjmp-fp.c: New file.
8435 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8436 (link-libm): New variable.
8437 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8438
acbd839a
JM
8439 * math/libm-test.inc (struct test_f_i_data): New type.
8440 (RUN_TEST_LOOP_f_i): New macro.
8441 (RUN_TEST_LOOP_f_i_tg): Likewise.
8442 (fpclassify_test_data): New variable.
8443 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8444 (ilogb_test_data): New variable.
8445 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8446
e414d745
JM
8447 * math/libm-test.inc (scalbln_test): Correct function name in END
8448 call.
8449
d9c2a0fd
JM
8450 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8451 (RUN_TEST_LOOP_fI_f1): New macro.
8452 (frexp_test_data): New variable.
8453 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8454
9dc9095d
JM
8455 * math/libm-test.inc (struct test_fF_f1_data): New type.
8456 (RUN_TEST_LOOP_fF_f1): New macro.
8457 (modf_test_data): New variable.
8458 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8459
87aa21df
JM
8460 * math/libm-test.inc (struct test_f_f1_data): New type.
8461 (RUN_TEST_LOOP_f_f1): New macro.
8462 (gamma_test_data): New variable.
8463 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8464 (lgamma_test_data): New variable.
8465 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8466
141af660
CD
84672013-05-13 Carlos O'Donell <carlos@redhat.com>
8468
8469 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8470 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8471 (main): Comment "tls" pseudo-hwcap.
8472
6d33265c
JM
84732013-05-13 Joseph Myers <joseph@codesourcery.com>
8474
68fc074c
JM
8475 * math/libm-test.inc (struct test_fl_f_data): New type.
8476 (RUN_TEST_LOOP_fl_f): New variable.
8477 (scalbln_test_data): New variable.
8478 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8479
243216e1
JM
8480 * math/libm-test.inc (struct test_fi_f_data): New type.
8481 (RUN_TEST_LOOP_fi_f): New macro.
8482 (ldexp_test_data): New variable.
8483 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8484 (scalbn_test_data): New variable.
8485 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8486
6a1992e2
JM
8487 * math/libm-test.inc (struct test_c_f_data): New type.
8488 (RUN_TEST_LOOP_c_f): New macro.
8489 (cabs_test_data): New variable.
8490 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8491 (carg_test_data): New variable.
8492 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8493 (cimag_test_data): New variable.
8494 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8495 (creal_test_data): New variable.
8496 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8497
0e400df5
JM
8498 * math/libm-test.inc (struct test_if_f_data): New type.
8499 (RUN_TEST_LOOP_if_f): New macro.
8500 (jn_test_data): New variable.
8501 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8502 (yn_test_data): New variable.
8503 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8504
6d33265c
JM
8505 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8506
f98ece5f
AZ
85072013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8508
8509 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8510 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8511
0f7d347b
SP
85122013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8513
43fe811b
SP
8514 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8515 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8516 (bench-deps): Add bench-timing.h.
8517 * benchtests-bench-skeleton.c: Include bench-timing.h.
8518 (main): Use TIMING_* macros instead of clock_gettime.
8519 * benchtests/bench-timing.h: New file.
8520
0f7d347b
SP
8521 [BZ #14582]
8522 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8523 Renamed from _LIB_VERSION.
8524 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8525
601a3a5f
JM
85262013-05-12 Joseph Myers <joseph@codesourcery.com>
8527
4f184d30
JM
8528 * math/libm-test.inc (struct test_fff_f_data): New type.
8529 (RUN_TEST_LOOP_fff_f): New macro.
8530 (fma_test_data): New variable.
8531 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8532 (fma_towardzero_test_data): New variable.
8533 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8534 (fma_downward_test_data): New variable.
8535 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8536 (fma_upward_test_data): New variable.
8537 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8538
08198877
JM
8539 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8540 (struct test_c_c_data): New type.
8541 (RUN_TEST_LOOP_c_c): New macro.
8542 (cacos_test_data): New variable.
8543 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8544 (cacosh_test_data): New variable.
8545 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8546 (casin_test_data): New variable.
8547 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8548 (casinh_test_data): New variable.
8549 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8550 (catan_test_data): New variable.
8551 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8552 (catanh_test_data): New variable.
8553 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8554 (ccos_test_data): New variable.
8555 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8556 (ccosh_test_data): New variable.
8557 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8558 (cexp_test_data): New variable.
8559 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8560 (clog_test_data): New variable.
8561 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8562 (clog10_test_data): New variable.
8563 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8564 (conj_test_data): New variable.
8565 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8566 (cproj_test_data): New variable.
8567 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8568 (csin_test_data): New variable.
8569 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8570 (csinh_test_data): New variable.
8571 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8572 (csqrt_test_data): New variable.
8573 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8574 (ctan_test_data): New variable.
8575 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8576 (ctan_tonearest_test_data): New variable.
8577 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8578 (ctan_towardzero_test_data): New variable.
8579 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8580 (ctan_downward_test_data): New variable.
8581 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8582 (ctan_upward_test_data): New variable.
8583 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8584 (ctanh_test_data): New variable.
8585 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8586 (ctanh_tonearest_test_data): New variable.
8587 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8588 (ctanh_towardzero_test_data): New variable.
8589 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8590 (ctanh_downward_test_data): New variable.
8591 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8592 (ctanh_upward_test_data): New variable.
8593 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8594 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8595 of BUILD_COMPLEX.
8596
601a3a5f
JM
8597 * math/libm-test.inc (struct test_ff_f_data): New type.
8598 (struct test_ff_f_data_nexttoward): Likewise.
8599 (RUN_TEST_LOOP_2_f): New macro.
8600 (RUN_TEST_LOOP_ff_f): Likewise.
8601 (atan2_test_data): New variable.
8602 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8603 (copysign_test_data): New variable.
8604 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8605 (fdim_test_data): New variable.
8606 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8607 (fmax_test_data): New variable.
8608 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8609 (fmin_test_data): New variable.
8610 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8611 (fmod_test_data): New variable.
8612 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8613 (hypot_test_data): New variable.
8614 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8615 (nextafter_test_data): New variable.
8616 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8617 (nexttoward_test_data): New variable.
8618 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8619 (pow_test_data): New variable.
8620 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8621 (pow_tonearest_test_data): New variable.
8622 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8623 (pow_towardzero_test_data): New variable.
8624 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8625 (pow_downward_test_data): New variable.
8626 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8627 (pow_upward_test_data): New variable.
8628 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8629 (remainder_test_data): New variable.
8630 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8631 (scalb_test_data): New variable.
8632 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8633 * sysdeps/i386/fpu/libm-test-ulps: Update.
8634
74c57478
JM
86352013-05-11 Joseph Myers <joseph@codesourcery.com>
8636
8329e4da
JM
8637 * math/libm-test.inc (fma_test): Use max_value instead of local
8638 variable fltmax.
8639 (nextafter_test): Likewise.
8640
74c57478
JM
8641 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8642 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8643 (acos_downward_test_data): New variable.
8644 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8645 (acos_upward_test_data): New variable.
8646 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8647 (acosh_test_data): New variable.
8648 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8649 (asin_test_data): New variable.
8650 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8651 (asin_tonearest_test_data): New variable.
8652 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8653 (asin_towardzero_test_data): New variable.
8654 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8655 (asin_downward_test_data): New variable.
8656 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8657 (asin_upward_test_data): New variable.
8658 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8659 (asinh_test_data): New variable.
8660 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8661 (atan_test_data): New variable.
8662 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8663 (atanh_test_data): New variable.
8664 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8665 (cbrt_test_data): New variable.
8666 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8667 (ceil_test_data): New variable.
8668 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8669 (cos_test_data): New variable.
8670 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8671 (cos_tonearest_test_data): New variable.
8672 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8673 (cos_towardzero_test_data): New variable.
8674 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8675 (cos_downward_test_data): New variable.
8676 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8677 (cos_upward_test_data): New variable.
8678 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8679 (cosh_test_data): New variable.
8680 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8681 (cosh_tonearest_test_data): New variable.
8682 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8683 (cosh_towardzero_test_data): New variable.
8684 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8685 (cosh_downward_test_data): New variable.
8686 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8687 (cosh_upward_test_data): New variable.
8688 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8689 (erf_test_data): New variable.
8690 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8691 (erfc_test_data): New variable.
8692 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8693 (exp_test_data): New variable.
8694 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8695 (exp_tonearest_test_data): New variable.
8696 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8697 (exp_towardzero_test_data): New variable.
8698 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8699 (exp_downward_test_data): New variable.
8700 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8701 (exp_upward_test_data): New variable.
8702 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8703 (exp10_test_data): New variable.
8704 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8705 (exp2_test_data): New variable.
8706 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8707 (expm1_test_data): New variable.
8708 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8709 (fabs_test_data): New variable.
8710 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8711 (floor_test_data): New variable.
8712 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8713 (j0_test_data): New variable.
8714 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8715 (j1_test_data): New variable.
8716 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8717 (log_test_data): New variable.
8718 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8719 (log10_test_data): New variable.
8720 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8721 (log1p_test_data): New variable.
8722 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8723 (log2_test_data): New variable.
8724 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8725 (logb_test_data): New variable.
8726 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8727 (logb_downward_test_data): New variable.
8728 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8729 (nearbyint_test_data): New variable.
8730 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8731 (rint_test_data): New variable.
8732 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8733 (rint_tonearest_test_data): New variable.
8734 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8735 (rint_towardzero_test_data): New variable.
8736 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8737 (rint_downward_test_data): New variable.
8738 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8739 (rint_upward_test_data): New variable.
8740 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8741 (round_test_data): New variable.
8742 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8743 (sin_test_data): New variable.
8744 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8745 (sin_tonearest_test_data): New variable.
8746 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8747 (sin_towardzero_test_data): New variable.
8748 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8749 (sin_downward_test_data): New variable.
8750 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8751 (sin_upward_test_data): New variable.
8752 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8753 (sinh_test_data): New variable.
8754 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8755 (sinh_tonearest_test_data): New variable.
8756 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8757 (sinh_towardzero_test_data): New variable.
8758 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8759 (sinh_downward_test_data): New variable.
8760 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8761 (sinh_upward_test_data): New variable.
8762 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8763 (sqrt_test_data): New variable.
8764 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8765 (tan_test_data): New variable.
8766 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8767 (tan_tonearest_test_data): New variable.
8768 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8769 (tan_towardzero_test_data): New variable.
8770 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8771 (tan_downward_test_data): New variable.
8772 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8773 (tan_upward_test_data): New variable.
8774 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8775 (tanh_test_data): New variable.
8776 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8777 (tgamma_test_data): New variable.
8778 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8779 (trunc_test_data): New variable.
8780 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8781 (y0_test_data): New variable.
8782 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8783 (y1_test_data): New variable.
8784 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8785 (significand_test_data): New variable.
8786 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8787
7187d844
CG
87882013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8789
8790 [BZ #12387]
8791 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8792
f63fae73
PT
87932013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8794
8795 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8796
8a67a4b3
AJ
87972013-05-10 Andreas Jaeger <aj@suse.de>
8798
8799 [BZ #15448]
8800 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8801 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8802
51df539d
JM
88032013-05-10 Joseph Myers <joseph@codesourcery.com>
8804
8805 * math/gen-libm-test.pl (adjust_arg): New function.
8806 (special_functions): Handle generating output in both functions
8807 and arrays.
8808 (parse_args): Likewise.
8809 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8810 $in_func argument to parse_args.
8811 * math/libm-test.inc (struct test_f_f_data): New type.
8812 (IF_ROUND_INIT_): New macro.
8813 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8814 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8815 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8816 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8817 (ROUND_RESTORE_): Likewise.
8818 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8819 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8820 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8821 (ROUND_RESTORE_FE_UPWARD): Likewise.
8822 (RUN_TEST_LOOP_f_f): New macro.
8823 (acos_test_data): New variable.
8824 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8825 (acos_tonearest_test_data): New variable.
8826 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8827
5c637fe5
SP
88282013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8829
8830 * benchtests/bench-skeleton.c (startup): Fix coding style.
8831
ab2b9461
JM
88322013-05-10 Joseph Myers <joseph@codesourcery.com>
8833
8834 [BZ #6809]
8835 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8836 negative infinity argument.
8837 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8838 negative infinity argument.
8839 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8840 negative infinity argument.
8841 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8842 domain errors.
8843
4c0fe6fe
FW
88442013-05-10 Florian Weimer <fweimer@redhat.com>
8845
8846 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8847 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8848 * iconv/iconv_prog.c (main): Likewise.
8849 * locale/programs/charmap-dir.c (charmap_readdir)
8850 (fopen_uncompressed): Likewise.
8851 * locale/programs/locfile.c (siblings_uncached)
8852 (write_locale_data): Use lstat64 instead of lstat.
8853 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8854 stat.
8855
a3375d29
AJ
88562013-05-10 Andreas Jaeger <aj@suse.de>
8857
8858 [BZ #15395]
8859 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8860 localization.
8861 Include <locale.h>.
8862
36129722
CD
88632013-05-09 Carlos O'Donell <carlos@redhat.com>
8864
8865 * elf/dl-close.c (_dl_close_worker): Add comments.
8866
faa7f811
JM
88672013-05-09 Joseph Myers <joseph@codesourcery.com>
8868
ed41ffef
JM
8869 [BZ #15359]
8870 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8871 high part of pi/2.
8872 (__ieee754_rem_pio2l): Update comments.
8873
d0213cd0
JM
8874 [BZ #15429]
8875 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8876 high part of pi/2.
8877 (__ieee754_rem_pio2l): Update comments.
8878
0d3e777a
JM
8879 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8880 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8881
24f56066
JM
8882 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8883 M_PI_4l.
8884
faa7f811
JM
8885 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8886 (M_PI_34_LOG10El): Likewise.
8887 (M_PI2_LOG10El): Likewise.
8888 (M_PI4_LOG10El): Likewise.
8889 (M_PI_LOG10El): Likewise.
8890
e9a5e0fd
AZ
88912013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8892
8893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8894
d8cd06db
JM
88952013-05-08 Joseph Myers <joseph@codesourcery.com>
8896
a0d9f9d7
JM
8897 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8898 (MINUS_ZERO_INIT): Likewise.
8899 (PLUS_INFTY_INIT): Likewise.
8900 (MINUS_INFTY_INIT): Likewise.
8901 (QNAN_VALUE_INIT): Likewise.
8902 (MAX_VALUE_INIT): Likewise.
8903 (MIN_VALUE_INIT): Likewise.
8904 (MIN_SUBNORM_VALUE_INIT): Likewise.
8905 (plus_zero): Initialize with PLUS_ZERO_INIT.
8906 (minus_zero): Initialize with MINUS_ZERO_INIT.
8907 (plus_infty): Initialize with PLUS_INFTY_INIT.
8908 (minus_infty): Initialize with MINUS_INFTY_INIT.
8909 (qnan_value): Initialize with QNAN_VALUE_INIT.
8910 (max_value): Initialize with MAX_VALUE_INIT.
8911 (min_value): Initialize with MIN_VALUE_INIT.
8912 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8913
ae08db3b
JM
8914 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8915 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8916 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8917 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8918
f44bf14a
JM
8919 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8920 (RUN_TEST_2_f): Likewise.
8921 (RUN_TEST_ff_f): Likewise.
8922 (RUN_TEST_fi_f): Likewise.
8923 (RUN_TEST_fl_f): Likewise.
8924 (RUN_TEST_fff_f): Likewise.
8925 (RUN_TEST_c_f): Likewise.
8926 (RUN_TEST_f_f1): Likewise.
8927 (RUN_TEST_fF_f1): Likewise.
8928 (RUN_TEST_fI_f1): Likewise.
8929 (RUN_TEST_ffI_f1): Likewise.
8930 (RUN_TEST_c_c): Likewise.
8931 (RUN_TEST_cc_c): Likewise.
8932 (RUN_TEST_f_i): Likewise.
8933 (RUN_TEST_f_i_tg): Likewise.
8934 (RUN_TEST_ff_i_tg): Likewise.
8935 (RUN_TEST_f_b): Likewise.
8936 (RUN_TEST_f_b_tg): Likewise.
8937 (RUN_TEST_f_l): Likewise.
8938 (RUN_TEST_f_L): Likewise.
8939 (RUN_TEST_sincos): Likewise.
8940 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8941 whether to show exceptions. Do not include ");\n" in return
8942 value.
8943 (special_functions): Output call to RUN_TEST_sincos instead of
8944 check_float calls. Update calls to new_test.
8945 (parse_args): Output call to single RUN_TEST_* macro instead of
8946 check_* calls and other assignments. Update calls to new_test.
8947
d8cd06db
JM
8948 [BZ #2546]
8949 [BZ #2560]
8950 [BZ #5159]
8951 [BZ #15426]
8952 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8953 input to result for tgamma overflow.
8954 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8955 (gamma_coeff): New variable.
8956 (NCOEFF): New macro.
8957 (gamma_positive): New function.
8958 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8959 underflow here. Use gamma_positive instead of exp (lgamma) for
8960 other arguments.
8961 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8962 (gamma_coeff): New variable.
8963 (NCOEFF): New macro.
8964 (gammaf_positive): New function.
8965 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8966 underflow here. Use gamma_positive instead of exp (lgamma) for
8967 other arguments.
8968 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8969 (gamma_coeff): New variable.
8970 (NCOEFF): New macro.
8971 (gammal_positive): New function.
8972 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8973 underflow here. Use gamma_positive instead of exp (lgamma) for
8974 other arguments.
8975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8976 (gamma_coeff): New variable.
8977 (NCOEFF): New macro.
8978 (gammal_positive): New function.
8979 (__ieee754_gammal_r): Handle positive infinity, overflow and
8980 underflow here. Handle NaN the same as positive infinity. Remove
8981 check x < 0xffffffff for negative integers. Use gamma_positive
8982 instead of exp (lgamma) for other arguments.
8983 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8984 (gamma_coeff): New variable.
8985 (NCOEFF): New macro.
8986 (gammal_positive): New function.
8987 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8988 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8992 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8993 * sysdeps/generic/math_private.h (__gamma_productf): New
8994 prototype.
8995 (__gamma_product): Likewise.
8996 (__gamma_productl): Likewise.
8997 * math/Makefile (libm-calls): Add gamma_product.
8998 * math/libm-test.inc (tgamma_test): Add more tests.
8999 * sysdeps/i386/fpu/libm-test-ulps: Update.
9000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9001
bb7cf681
OB
90022013-05-08 Ondřej Bílka <neleai@seznam.cz>
9003
9004 * benchtests/bench-skeleton.c (main): Preheat CPU.
9005
ba853947
AJ
90062013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9007
9008 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9009
8347c74c
RM
90102013-05-07 Roland McGrath <roland@hack.frob.com>
9011
9012 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9013 and _dl_skip_args_internal.
9014
e8dd4791
CD
90152013-05-07 Carlos O'Donell <carlos@redhat.com>
9016
9017 * manual/message.texi (Message Translation): Talk about users.
9018 Message to key mapping impacts design.
9019
c7405830
RM
90202013-05-06 Roland McGrath <roland@hack.frob.com>
9021
a9173057
RM
9022 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9023
976e2f03
RM
9024 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9025
9723ffc5
RM
9026 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9027 * sysdeps/wordsize-64/glob64.c: ... here.
9028
962e6658
RM
9029 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9030 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9031 New macros.
9032
ee586a6d
RM
9033 * debug/getlogin_r_chk.c: Moved to ...
9034 * login/getlogin_r_chk.c: ... here.
9035 * debug/Makefile (routines): Move getlogin_r_chk to ...
9036 * login/Makefile (routines): ... here.
9037 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9038 * login/Versions (libc: GLIBC_2.4): ... here.
9039
355f9165
RM
9040 * io/poll.c (__poll): Renamed from poll.
9041 Add libc_hidden_def.
9042 (poll): Define as weak alias.
9043
bd9ffde6
RM
9044 * debug/ptsname_r_chk.c: Moved to ...
9045 * login/ptsname_r_chk.c: ... here.
9046 * debug/Makefile (routines): Move ptsname_r_chk to ...
9047 * login/Makefile (routines): ... here.
9048 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9049 * login/Versions (libc: GLIBC_2.4): ... here.
9050
8fb16a04
RM
9051 * posix/getlogin.c: Moved to ...
9052 * login/getlogin.c: ... here.
9053 * posix/getlogin_r.c: Moved to ...
9054 * login/getlogin_r.c: ... here.
9055 * posix/getlogin_r.c: Moved to ...
9056 * login/getlogin_r.c: ... here.
9057 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9058 * login/Makefile (routines): ... here.
9059 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9060 * login/Versions (libc: GLIBC_2.0): ... here.
9061
b99b892f
RM
9062 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9063 (setrlimit): Define as weak alias.
9064
c7405830
RM
9065 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9066 Call __ names for open, ftruncate, and close.
9067 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9068 (truncate): Define as weak alias.
9069
5bf96de5
JM
90702013-05-06 Joseph Myers <joseph@codesourcery.com>
9071
9ea3513c
JM
9072 * math/gen-libm-test.pl (parse_args): Initialize x before each
9073 test of frexp, modf and remquo.
9074
5bf96de5
JM
9075 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9076 test signgam value.
9077
16e616a7
AZ
90782013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9079
9080 [BZ #15418]
9081 [BZ #15419]
9082 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9083 internal tests.
9084 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9085
d5e82754
RM
90862013-05-06 Roland McGrath <roland@hack.frob.com>
9087
9088 * elf/dl-writev.h: New file.
9089 * elf/dl-misc.c: Include it.
9090 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9091 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9092
a7548d41
JM
90932013-05-04 Joseph Myers <joseph@codesourcery.com>
9094
b7dab1e4
JM
9095 * math/libm-test.inc (noXFails): Remove variable.
9096 (noXPasses): Likewise.
9097 (BUILD_COMPLEX_INT): Remove macro.
9098 (print_screen): Remove xfail argument.
9099 (print_screen_max_error): Likewise.
9100 (update_stats): Likewise.
9101 (print_max_error): Likewise. Update calls to other affected
9102 functions.
9103 (print_complex_max_error): Likewise.
9104 (test_single_exception): Update calls to print_screen.
9105 (test_single_errno): Likewise.
9106 (check_float_internal): Remove xfail argument. Update calls to
9107 other affected functions.
9108 (check_float): Likewise.
9109 (check_complex): Likewise.
9110 (check_int): Likewise.
9111 (check_long): Likewise.
9112 (check_bool): Likewise.
9113 (check_longlong): Likewise.
9114 (main): Don't print noXFails and noXPasses.
9115 * math/gen-libm-test.pl (top level): Don't mention expected
9116 failure handling in comment.
9117 (new_test): Don't handle expected failures.
9118 (parse_args): Don't mention expected failure handling in comment.
9119 (generate_testfile): Don't handle expected failures.
9120 (parse_ulps): Likewise.
9121 (print_ulps_file): Likewise.
9122 (get_failure): Remove function.
9123 (output_test): Don't handle expected failures.
9124 * make/README.libm-test: Don't mention expected failure handling.
9125
a7548d41
JM
9126 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9127 (minus_zero): Likewise.
9128 (plus_infty): Likewise.
9129 (minus_infty): Likewise.
9130 (qnan_value): Likewise.
9131 (max_value): Likewise.
9132 (min_value): Likewise.
9133 (min_subnorm_value): Likewise.
9134 (initialize): Do not initialize those variables dynamically.
9135
60bfd54c
RM
91362013-05-03 Roland McGrath <roland@hack.frob.com>
9137
cc0e6ed8
RM
9138 * io/open.c (__open_2): Moved to ...
9139 * io/open_2.c: ... this new file.
9140 * io/open64.c (__open64_2): Moved to ...
9141 * io/open64_2.c: ... this new file.
9142 * io/openat.c (__openat_2): Moved to ...
9143 * io/openat_2.c: ... this new file.
9144 * io/openat64.c (__openat64_2): Moved to ...
9145 * io/openat64_2.c: ... this new file.
9146 * io/Makefile (routines): Add them.
9147 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9148 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9149 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9150 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9151 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9152 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9153 (__openat64): Add hidden_ver.
9154 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9155 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9156
60bfd54c
RM
9157 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9158 Separately conditionalize setting of GLRO(dl_sysinfo) so
9159 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9160 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9161
83e7640f
AZ
91622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9163
9164 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9165 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9166 definition.
9167 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9168 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9169 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9170 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9171 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9172
d5dc2af3
JM
91732013-05-03 Joseph Myers <joseph@codesourcery.com>
9174
c31a5b1e
JM
9175 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9176 test signgam value.
9177
d5dc2af3
JM
9178 * math/libm-test.inc (hypot_test): Do not use
9179 IGNORE_ZERO_INF_SIGN.
9180
164fd39d
AJ
91812013-05-03 Andreas Jaeger <aj@suse.de>
9182
9183 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9184 Linux 3.9.
9185 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9186 (PF_MAX): Adjust for VSOCK change.
9187
8237f48c
AZ
91882013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9189
9190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9191
9df02941
CD
91922013-05-02 Carlos O'Donell <carlos@redhat.com>
9193
9194 [BZ #15264]
9195 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9196 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9197 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9198
d422395e
DM
91992013-05-02 David S. Miller <davem@davemloft.net>
9200
9201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9202
a07c5731
OB
92032013-05-01 Ondřej Bílka <neleai@seznam.cz>
9204
9205 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9206
1324e37f
RM
92072013-05-01 Roland McGrath <roland@hack.frob.com>
9208
9209 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9210
0695940b
RS
92112013-05-01 Richard Smith <richard@metafoo.co.uk>
9212
bb5f27ad 9213 [BZ #14952]
0695940b
RS
9214 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9215 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9216 Use __attribute__ ((__gnu_inline__)).
9217 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9218 Don't use __attribute__ ((__gnu_inline__)).
9219
10de07f5
JM
92202013-05-01 Joseph Myers <joseph@codesourcery.com>
9221
9222 [BZ #15423]
9223 * math/s_catan.c (__catan): Handle small real or imaginary part of
9224 input specially to avoid spurious underflow.
9225 * math/s_catanf.c (__catanf): Likewise.
9226 * math/s_catanh.c (__catanh): Likewise.
9227 * math/s_catanhf.c (__catanhf): Likewise.
9228 * math/s_catanhl.c (__catanhl): Likewise.
9229 * math/s_catanl.c (__catanl): Likewise.
9230 * math/libm-test.inc (catan_test): Add more tests.
9231 (catanh_test): Likewise.
9232 * sysdeps/i386/fpu/libm-test-ulps: Update.
9233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9234
cb4d5414
AZ
92352013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9236
9237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9238
caf84319
JM
92392013-04-30 Joseph Myers <joseph@codesourcery.com>
9240
9241 [BZ #15416]
9242 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9243 accurately for denominator in atan2.
9244 * math/s_catanf.c (__catanf): Likewise.
9245 * math/s_catanh.c (__catanh): Likewise.
9246 * math/s_catanhf.c (__catanhf): Likewise.
9247 * math/s_catanhl.c (__catanhl): Likewise.
9248 * math/s_catanl.c (__catanl): Likewise.
9249 * math/libm-test.inc (catan_test): Add more tests.
9250 (catanh_test): Likewise.
9251 * sysdeps/i386/fpu/libm-test-ulps: Update.
9252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9253
d569c6ee
SP
92542013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9255
6dbe713d
SP
9256 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9257
f0ee064b
SP
9258 * benchtests/Makefile (bench): Remove slow benchmarks.
9259 * benchtests/atan-inputs: Add slow benchmark inputs.
9260 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9261 (BENCH_FUNC): Accept variant offset.
9262 (VARIANT): Define.
9263 * benchtests/bench-skeleton.c (main): Run benchmark for each
9264 variant.
9265 * benchtests/cos-inputs: Add slow benchmark inputs.
9266 * benchtests/exp-inputs: Likewise.
9267 * benchtests/pow-inputs: Likewise.
9268 * benchtests/sin-inputs: Likewise.
9269 * benchtests/slowatan-inputs: Remove.
9270 * benchtests/slowatan.c: Remove.
9271 * benchtests/slowcos-inputs: Remove.
9272 * benchtests/slowcos.c: Remove.
9273 * benchtests/slowexp-inputs: Remove.
9274 * benchtests/slowexp.c: Remove.
9275 * benchtests/slowpow-inputs: Remove.
9276 * benchtests/slowpow.c: Remove.
9277 * benchtests/slowsin-inputs: Remove.
9278 * benchtests/slowsin.c: Remove.
9279 * benchtests/slowtan-inputs: Remove.
9280 * benchtests/slowtan.c: Remove.
9281 * benchtests/tan-inputs: Add slow benchmark inputs.
9282 * scripts/bench.pl: Parse comments and directives.
9283
d569c6ee
SP
9284 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9285 in CPPFLAGS.
9286 ($(objpfx)bench-%.c): Remove *-ITER.
9287 * benchtests/bench-modf.c: Remove definition of ITER.
9288 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9289 (main): Loop for DURATION seconds instead of fixed number of
9290 iterations.
9291 * scripts/bench.pl: Don't expect iterations in parameters.
9292
a6a242fe
RM
92932013-04-29 Roland McGrath <roland@hack.frob.com>
9294
9295 * io/fchdir.c (__fchdir): Renamed from fchdir.
9296 (fchdir): Define as weak alias.
9297
f2da7793
JM
92982013-04-29 Joseph Myers <joseph@codesourcery.com>
9299
9300 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9301 (ERRNO_EDOM): Likewise.
9302 (ERRNO_ERANGE): Likewise.
9303 (noErrnoTests): New variable.
9304 (init_max_error): Set errno to 0.
9305 (test_single_errno): New function.
9306 (test_errno): Likewise.
9307 (check_float_internal): Call test_errno. Set errno to 0.
9308 (check_complex): Refer to errno tests in comment.
9309 (check_int): Call test_errno. Set errno to 0.
9310 (check_long): Likewise.
9311 (check_bool): Likewise.
9312 (check_longlong): Likewise.
9313 (cos_test): Use ERRNO_* flags for errno tests instead of
9314 check_int.
9315 (expm1_test): Likewise.
9316 (fmod_test): Likewise.
9317 (ilogb_test): Likewise.
9318 (lgamma_test): Likewise.
9319 (pow_test): Likewise.
9320 (remainder_test): Likewise.
9321 (sin_test): Likewise.
9322 (tan_test): Likewise.
9323 (yn_test): Likewise.
9324 (initialize): Set errno to 0.
9325 (main): Print number of errno tests.
9326 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9327
b1a36ceb
AJ
93282013-04-29 Andreas Jaeger <aj@suse.de>
9329
c3ed8088
AJ
9330 [BZ #15084]
9331 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9332 and RES_USEVC.
9333
f1a24198
AJ
9334 [BZ #15085]
9335 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9336 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9337 unimplemented.
9338
9ce3b2cb
AJ
9339 [BZ #15380]
9340 * stdlib/random.c (__initstate): Return NULL if
9341 __initstate fails.
9342
f1a24198 9343 [BZ #15086]
b1a36ceb
AJ
9344 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9345 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9346 RES_SNGLKUPREOP.
9347
7e7b6f36
AZ
93482013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9349
9350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9351
4d14f449
JM
93522013-04-29 Joseph Myers <joseph@codesourcery.com>
9353
9354 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9355 of individual tests.
9356 (casin_test): Likewise.
9357 (casinh_test): Likewise.
9358
5b4217d7
JM
93592013-04-27 Joseph Myers <joseph@codesourcery.com>
9360
9361 [BZ #15409]
9362 * math/s_catan.c (__catan): Handle arguments with large real or
9363 imaginary part separately without squaring.
9364 * math/s_catanf.c (__catanf): Likewise.
9365 * math/s_catanh.c (__catanh): Likewise.
9366 * math/s_catanhf.c (__catanhf): Likewise.
9367 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9368 and redefine.
9369 (__catanhl): Handle arguments with large real or imaginary part
9370 separately without squaring.
9371 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9372 and redefine.
9373 (__catanl): Handle arguments with large real or imaginary part
9374 separately without squaring.
9375 * math/libm-test.inc (catan_test): Add more tests.
9376 (catanh_test): Likewise.
9377 * sysdeps/i386/fpu/libm-test-ulps: Update.
9378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9379
4220c3ef
AJ
93802013-04-27 Andreas Jaeger <aj@suse.de>
9381
9382 [BZ #15007]
9383 * stdlib/stdlib.h: Update guards for qecvt.
9384 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9385 <stdlib.h>.
9386
4721b2d1
AM
93872013-04-27 Allan McRae <allan@archlinux.org>
9388
9389 * sysdeps/i386/fpu/libm-test-ulps: Update.
9390
f0302940
JM
93912013-04-26 Joseph Myers <joseph@codesourcery.com>
9392
9457fd95
JM
9393 [BZ #15406]
9394 * math/s_catan.c: Include <float.h>.
9395 (__catan): Ensure underflow exception occurs for underflowed
9396 result.
9397 * math/s_catanf.c: Include <float.h>.
9398 (__catanf): Ensure underflow exception occurs for underflowed
9399 result.
9400 * math/s_catanh.c: Include <float.h>.
9401 (__catanh): Ensure underflow exception occurs for underflowed
9402 result.
9403 * math/s_catanhf.c: Include <float.h>.
9404 (__catanhf): Ensure underflow exception occurs for underflowed
9405 result.
9406 * math/s_catanhl.c: Include <float.h>.
9407 (__catanhl): Ensure underflow exception occurs for underflowed
9408 result.
9409 * math/s_catanl.c: Include <float.h>.
9410 (__catanl): Ensure underflow exception occurs for underflowed
9411 result.
9412 * math/libm-test.inc (catan_test): Add more tests.
9413 (catanh_test): Likewise.
9414
f0302940
JM
9415 [BZ #15405]
9416 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9417 underflowed result.
9418 * math/s_ccoshf.c (__ccoshf): Likewise.
9419 * math/s_ccoshl.c (__ccoshl): Likewise.
9420 * math/s_csin.c (__csin): Likewise.
9421 * math/s_csinf.c (__csinf): Likewise.
9422 * math/s_csinh.c (__csinh): Likewise.
9423 * math/s_csinhf.c (__csinhf): Likewise.
9424 * math/s_csinhl.c (__csinhl): Likewise.
9425 * math/s_csinl.c (__csinl): Likewise.
9426 * math/libm-test.inc (ccos_test): Add more tests.
9427 (ccosh_test): Likewise.
9428 (csin_test): Likewise.
9429 (csinh_test): Likewise.
9430
aa630f59
AZ
94312013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9432
9433 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9434 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9435 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9436 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9437 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9438 powerpc/power5+/fpu folders.
9439 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9440
9441
1b835983
MT
94422013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9443
9444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9445
73709b26
JM
94462013-04-25 Joseph Myers <joseph@codesourcery.com>
9447
9448 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9449 additions to variable.
9450 [$(config-machine) = x86_64] (modules-names): Likewise.
9451 ($(objpfx)tst-audit3): Remove dependency.
9452 ($(objpfx)tst-audit3.out): Likewise.
9453 ($(objpfx)tst-audit4): Likewise.
9454 ($(objpfx)tst-audit4.out): Likewise.
9455 ($(objpfx)tst-audit5): Likewise.
9456 ($(objpfx)tst-audit5.out): Likewise.
9457 ($(objpfx)tst-audit6): Likewise.
9458 ($(objpfx)tst-audit6.out): Likewise.
9459 ($(objpfx)tst-audit7): Likewise.
9460 ($(objpfx)tst-audit7.out): Likewise.
9461 (tst-audit3-ENV): Remove variable.
9462 (tst-audit4-ENV): Likewise.
9463 (tst-audit5-ENV): Likewise.
9464 (tst-audit6-ENV): Likewise.
9465 (tst-audit7-ENV): Likewise.
9466 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9467 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9468 addition to variable.
9469 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9470 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9471 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9472 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9473 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9474 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9475 tst-audit3, tst-audit4 and tst-audit5.
9476 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9477 tst-audit6 and tst-audit7.
9478 [$(subdir) = elf] (modules-names): Add audit modules for those
9479 tests.
9480 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9481 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9482 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9483 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9484 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9485 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9486 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9487 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9488 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9489 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9490 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9491 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9492 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9493 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9494 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9495 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9496 Likewise.
9497 [$(subdir) = elf && $(config-cflags-avx) = yes]
9498 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9499 [$(subdir) = elf && $(config-cflags-avx) = yes]
9500 (CFLAGS-tst-auditmod4a.c): Likewise.
9501 [$(subdir) = elf && $(config-cflags-avx) = yes]
9502 (CFLAGS-tst-auditmod4b.c): Likewise.
9503 [$(subdir) = elf && $(config-cflags-avx) = yes]
9504 (CFLAGS-tst-auditmod6b.c): Likewise.
9505 [$(subdir) = elf && $(config-cflags-avx) = yes]
9506 (CFLAGS-tst-auditmod6c.c): Likewise.
9507 [$(subdir) = elf && $(config-cflags-avx) = yes]
9508 (CFLAGS-tst-auditmod7b.c): Likewise.
9509 * elf/tst-audit3.c: Move to ...
9510 * sysdeps/x86_64/tst-audit3.c: ... here.
9511 * elf/tst-audit4.c: Move to ...
9512 * sysdeps/x86_64/tst-audit4.c: ... here.
9513 * elf/tst-audit5.c: Move to ...
9514 * sysdeps/x86_64/tst-audit5.c: ... here.
9515 * elf/tst-audit6.c: Move to ...
9516 * sysdeps/x86_64/tst-audit6.c: ... here.
9517 * elf/tst-audit7.c: Move to ...
9518 * sysdeps/x86_64/tst-audit7.c: ... here.
9519 * elf/tst-auditmod3a.c: Move to ...
9520 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9521 * elf/tst-auditmod3b.c: Move to ...
9522 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9523 * elf/tst-auditmod4a.c: Move to ...
9524 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9525 * elf/tst-auditmod4b.c: Move to ...
9526 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9527 * elf/tst-auditmod5a.c: Move to ...
9528 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9529 * elf/tst-auditmod5b.c: Move to ...
9530 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9531 * elf/tst-auditmod6a.c: Move to ...
9532 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9533 * elf/tst-auditmod6b.c: Move to ...
9534 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9535 * elf/tst-auditmod6c.c: Move to ...
9536 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9537 * elf/tst-auditmod7a.c: Move to ...
9538 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9539 * elf/tst-auditmod7b.c: Move to ...
9540 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9541
1ef74943
PP
95422013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9543
9544 [BZ #15366]
9545 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9546 define unconditionally.
9547 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9548 define unconditionally.
9549 (INT8_C, INT16_C, etc.): Likewise.
9550
93fd48c5
MR
95512013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9552
ae9552cf
MR
9553 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9554 __ehdr_start with hidden visibility.
9555
93fd48c5
MR
9556 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9557
418601aa
CD
95582013-04-24 Carlos O'Donell <carlos@redhat.com>
9559
9560 * math/libm-test.inc (cos_test): Use accurate hex constants.
9561 (sincost_test): Likewise.
9562
2f38fbfe
JM
95632013-04-24 Joseph Myers <joseph@codesourcery.com>
9564
5e221800
JM
9565 * math/libm-test.inc (catan_test): Add more tests.
9566 (catanh_test): Likewise.
9567
77f143fd
JM
9568 * math/s_catanf.c (__catanf): Use suffixed floating-point
9569 constants.
9570 * math/s_catanhf.c (__catanhf): Likewise.
9571 * math/s_catanhl.c (__catanhl): Likewise.
9572 * math/s_catanl.c (__catanl): Likewise.
9573
2f38fbfe
JM
9574 [BZ #15394]
9575 * math/s_catan.c (__catan): Calculate imaginary part of result
9576 with log1p not log unless computing log of number close to 0.
9577 * math/s_catanf.c (__catanf): Likewise.
9578 * math/s_catanl.c (__catanl): Likewise.
9579 * math/s_catanh.c (__catanh): Calculate real part of result with
9580 log1p not log unless computing log of number close to 0.
9581 * math/s_catanhf.c (__catanhf): Likewise.
9582 * math/s_catanhl.c (__catanhl): Likewise.
9583 * math/libm-test.inc (catan_test): Add more tests.
9584 (catanh_test): Likewise.
9585 * sysdeps/i386/fpu/libm-test-ulps: Update.
9586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9587
45d69176
SP
95882013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9589
9590 * benchtests/Makefile: Mention files in which fast and slow
9591 paths of math functions are implemented.
9592
87f51853
RM
95932013-04-23 Roland McGrath <roland@hack.frob.com>
9594
9595 * sysdeps/posix/timespec_get.c: New file.
9596
3c026539
AZ
95972013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9598
9599 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9600 POWER.
9601 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9602 for POWER.
9603 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9604 powerpc/power5/fpu folders.
9605 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9606 * benchtests/Makefile: Add modf testcase.
9607 * benchtests/bench-modf.c: New file: Benchmark test for mo
9608
ff491d14
SP
96092013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9610
9611 [BZ #14888]
9612 * time/Makefile (tests): Add tst-strptime-whitespace.
9613 * time/strptime_l.c (get_number): Use ISSPACE.
9614 (__strptime_internal): Likewise.
9615 * time/tst-strptime-whitespace.c: New test case.
9616
7ed3f4e8
AS
96172013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9618
9619 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9620 member.
9621 (_nss_files_init): Set it here.
9622
5c95f7b6
HC
96232013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9624
9625 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9626 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9627 unsigned.
9628
d34c9158
JBG
96292013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9630
9631 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9632
2169712d
SP
96332013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9634
9635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9636 size just once.
9637
29c5de99
DM
96382013-04-21 David S. Miller <davem@davemloft.net>
9639
9640 * po/ru.po: Update Russion translation from translation project.
9641
ccdad15d
AC
96422013-04-17 Adam Conrad <adconrad@0c3.net>
9643
9644 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9645 and setfsgid.
9646
0f122b8d
CD
96472013-04-17 Carlos O'Donell <carlos@redhat.com>
9648
5c5b07da 9649 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9650 * configure: Regenerate.
5c5b07da 9651 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9652 Add example to error message.
9653 * sysdeps/i386/configure: Regenerate.
9654
037714dd
SP
96552013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9656
9657 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9658 slowtan.
9659 * benchtests/cos-inputs: New file.
9660 * benchtests/slowcos-inputs: New file.
9661 * benchtests/slowcos.c: New file.
9662 * benchtests/slowtan-inputs: New file.
9663 * benchtests/slowtan.c: New file.
9664 * benchtests/tan-inputs: New file.
9665
e913141d
RM
96662013-04-16 Roland McGrath <roland@hack.frob.com>
9667
9668 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9669 considered kosher.
9670
a2964074
SP
96712013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9672
4856bcd2
SP
9673 * benchtests/Makefile: Include cppflags-iterator.mk to add
9674 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9675
a2964074
SP
9676 * Makefile.in (bench-clean): New target.
9677 * benchtests/Makefile (bench-clean): Likewise.
9678
9fbf9aca
DH
96792013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9680
9681 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9682
207d1e2a
TS
96832013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9684
9685 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9686
306dfba9
AS
96872013-04-15 Andreas Schwab <schwab@suse.de>
9688
9689 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9690 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9691 * nscd/pwdcache.c (cache_addpw): Likewise.
9692 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9693 more than recsize.
9694
206a6699
SP
96952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9696
9697 * benchtests/Makefile (bench): Write all output to
9698 bench-out.tmp together.
9699
0582f6b3
AS
97002013-04-15 Andreas Schwab <schwab@suse.de>
9701
9702 * nscd/nscd.c (main): Don't fork again after closing files.
9703
acb4325f
SP
97042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9705
5cb26d0a
SP
9706 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9707
acb4325f
SP
9708 * benchtests/Rules (bench-deps): Collect dependencies into a
9709 single variable. Add Makefile to dependencies.
9710 ($(objpfx)bench-%.c): Depend on bench-deps.
9711
47792506
RM
97122013-04-12 Roland McGrath <roland@hack.frob.com>
9713 Xavier Roche <roche+kml2@exalead.com>
9714
9715 [BZ #15361]
9716 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9717 just that it's a file descriptor.
9718 * manual/llio.texi (Synchronizing AIO Operations): Update description
9719 for EBADF error from aio_fsync.
9720
8fc1bee5
SP
97212013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9722
9723 * Rules (bench): Move target definition...
9724 * benchtests/Makefile: ... here.
9725
aba5e333
CD
97262013-04-11 Carlos O'Donell <carlos@redhat.com>
9727
9728 * math/libm-test.inc (cos_test): Fix PI/2 test.
9729 (sincos_test): Likewise.
9730 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9731 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9732
273cdee8
AS
97332013-04-11 Andreas Schwab <schwab@suse.de>
9734
6ecec3b6
AS
9735 [BZ #13988]
9736 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9737 accept exponent character only when digits were seen.
9738 * stdio-common/Makefile (tests): Add bug26.
9739 * stdio-common/bug26.c: New file.
9740
273cdee8
AS
9741 [BZ #14293]
9742 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9743 non-freeable.
9744
8da491f5
SP
97452013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9746
01dc6df9
SP
9747 * Makeconfig (rtld-prefix): Define built linker prefix.
9748 * Rules (run-bench): Use it.
9749 * math/Makefile (run-regen-ulps): Likewise.
9750
8da491f5
SP
9751 * Rules (bench): Remove eval.
9752
abe7f530
SP
97532013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9754 Roland McGrath <roland@hack.frob.com>
9755 Ondrej Bilka <neleai@seznam.cz>
9756
9757 [BZ #15346]
9758 * time/getdate.c: Include ctype.h and alloca.h.
9759 (__getdate_r): Trim leading and trailing spaces of input.
9760 * time/tst-getdate.c (tests): Add tests with leading and
9761 trailing spaces.
9762
61c23e62
RM
97632013-04-08 Roland McGrath <roland@hack.frob.com>
9764
9765 [BZ #14280]
9766 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9767 when computing value.
9768
7208a313
CD
97692013-04-06 Carlos O'Donell <carlos@redhat.com>
9770
085b2d41
CD
9771 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9772 Use testrun.sh to run libm tests.
9773
7208a313
CD
9774 [BZ #15309]
9775 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9776
872c0acd
MM
97772013-04-06 Marko Myllynen <myllynen@redhat.com>
9778
9779 [BZ #15264]
9780 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9781
26510bdd
CD
97822013-04-06 Carlos O'Donell <carlos@redhat.com>
9783
9784 * Makefile.in (regen-ulps): New target.
9785 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9786 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9787 [ifneq (no,$(PERL)] (regen-ulps): New target.
9788 [ifeq (no,$(PERL)] (regen-ulps): New target.
9789 * math/libm-test.inc (ulps_file_name): Define.
9790 (output_dir): New variable.
9791 (options): Add "output-dir" option.
9792 (parse_opt): Handle 'o' case.
9793 (main): If output_dir is non-NULL use it as a prefix
9794 otherwise use "".
9795 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9796
a01f19c8
CD
97972013-04-06 Carlos O'Donell <carlos@redhat.com>
9798
9799 [BZ #10060, #10062]
9800 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9801 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9802 fail configure if __sync_val_compare_and_swap is not inlined.
9803 * sysdeps/i386/configure: Regenerate.
9804 * configure.in: Build for i686 when configured for i386.
9805 * configure: Regenerate.
9806 * README: Remove i386 reference.
9807
b7a329a5
CD
98082013-04-06 Carlos O'Donell <carlos@redhat.com>
9809
9810 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9812
bf0f50df
TS
98132013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9814
ee091edf
TS
9815 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9816 (lmsnanval): New variables.
9817 (F): Add conversion tests.
9818 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9819 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9820
a8b792d6
TS
9821 * stdio-common/tstdiomisc.c (F): Properly collect individual
9822 tests' results.
9823
a1cbf437
TS
9824 [BZ #14686, #15336]
9825 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9826 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9827 Instead, use input NaN values or generate a qNaN by arithmetic
9828 operation. Also fix bugs to comply with the standard.
9829 * math/libm-test.inc (remainder_test): Add more tests.
9830
8b43a0c9
TS
9831 [BZ #15335, #15342]
9832 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9834 input NaN values or generate a qNaN by arithmetic operation.
9835
d91da4ce
TS
9836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9837 unreachable code.
9838
bf0f50df
TS
9839 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9840 definitions.
9841
05e166c8
JM
98422013-04-03 Joseph Myers <joseph@codesourcery.com>
9843
9844 [BZ #14478]
9845 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9846 underflowed result.
9847 * math/s_cexpf.c (__cexpf): Likewise.
9848 * math/s_cexpl.c (__cexpl): Likewise.
9849 * math/libm-test.inc (cexp_test): Add more tests.
9850
1cef1b19
AS
98512013-04-03 Andreas Schwab <schwab@suse.de>
9852
9853 [BZ #15330]
9854 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9855 order arrays from heap if bigger than alloca cutoff.
9856
74d87055
TS
98572013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9858
9859 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9860 (SNAN_TESTS_double): Refer to GCC PR56831.
9861 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9862 GCC PR56828.
9863
d755bba4
SP
98642013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9865
90d5d5bb
SP
9866 * Rules (bench): Move bench.out after the run is complete.
9867
73e0cd5d
SP
9868 * Rules (bench): Echo currently running benchmark.
9869
64aabd4b
SP
9870 * benchtests/Makefile (bench): Add atan and slowatan.
9871 * benchtests/atan-inputs: New file.
9872 * benchtests/slowatan-inputs: New file.
9873 * benchtests/slowatan.c: New file.
9874
c871eccd
SP
9875 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9876 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9877 its value.
9878
d755bba4
SP
9879 [BZ #15305]
9880 * sysdeps/unix/sysv/linux/kernel-features.h
9881 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9882 __ASSUME_XFS_RESTRICTED_CHOWN.
9883 * sysdeps/unix/sysv/linux/pathconf.c
9884 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9885 Save and restore errno.
9886
52ce4860
JM
98872013-04-02 Joseph Myers <joseph@codesourcery.com>
9888
9889 [BZ #15327]
9890 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9891 arguments using __kernel_casinh.
9892 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9893 arguments using __kernel_casinhf.
9894 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9895 arguments using __kernel_casinhl.
9896 * math/libm-test.inc (cacosh_test): Add more tests.
9897 * sysdeps/i386/fpu/libm-test-ulps: Update.
9898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9899
81f311c2
SP
99002013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9901
e7906a47
SP
9902 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9903 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9904
92e3664b
SP
9905 * bench/Makefile (bench): Add sin and slowsin.
9906 * benchtests/sin-inputs: New file.
9907 * benchtests/slowsin-inputs: New file.
9908 * benchtests/slowsin.c: New file.
9909
81f311c2
SP
9910 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9911 (bench): Add slowexp and slowpow.
9912 (exp-ITER): Increase iterations.
9913 (pow-ITER): Likewise.
9914 * benchtests/exp-inputs: Change input.
9915 * benchtests/pow-inputs: Likewise.
9916 * benchtests/slowexp-inputs: New file.
9917 * benchtests/slowexp.c: New file.
9918 * benchtests/slowpow-inputs: New file.
9919 * benchtests/slowpow.c: New file.
9920
ab0f1aa9
AZ
99212013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9922
9923 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9924 instructions.
9925 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9926 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9927 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9928 * benchtests/Makefile: Add rint benchtest.
9929 * benchtests/rint-inputs: Input for rint benchtest.
9930
57267616
TS
99312013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9932
9933 * Versions.def (libm): Add GLIBC_2.18.
9934 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9935 hidden libm prototypes.
9936 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9937 * math/Makefile (libm-calls): Add s_issignaling.
9938 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9939 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9940 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9941 declaration.
9942 * math/math.h [__USE_GNU] (issignaling): New macro.
9943 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9944 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9945 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9946 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9949 * manual/arith.texi (issignaling): New section.
9950 * manual/libm-err-tab.pl (@all_functions): Update comment.
9951 * math/gen-libm-test.pl (parse_args): Apply special handling for
9952 issignaling.
9953 * math/libm-test.inc (print_float, issignaling_test): New
9954 functions.
9955 (check_float_internal): Add issignaling checks.
9956 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9957 default definition.
9958 * sysdeps/powerpc/math-tests.h: New file.
9959 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9960 tests.
9961 * math/test-snan.c (TEST_FUNC): Likewise.
9962
6142896d
DM
99632013-03-30 David S. Miller <davem@davemloft.net>
9964
9965 * po/de.po: Update from translation team.
9966
ccc8cadf
JM
99672013-03-30 Joseph Myers <joseph@codesourcery.com>
9968
9969 [BZ #10357]
9970 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9971 imaginary part less than 1.0 and real part less than 0.5
9972 specially.
9973 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9974 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9975 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9976 (cacos_test): Add more tests.
9977 (casin_test): Likewise.
9978 (casinh_test): Likewise.
9979 * sysdeps/i386/fpu/libm-test-ulps: Update.
9980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9981
0f6a8d4b
SP
99822013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9983
0d1029de
SP
9984 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9985 ONE with its value.
9986
c2d94018
SP
9987 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9988 (__pow_mp): Replace ONE and MONE with their values.
9989 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9990 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9991 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9992 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9993 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9994 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9995
27ec37f1
SP
9996 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9997
a64d7e0e
SP
9998 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9999 (__pow_mp): Replace ZERO and MZERO with their values.
10000 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10001 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10002 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10003 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10004 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10005 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10006 (__sqr): Likewise.
10007
d26dd3eb
SP
10008 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10009
0f6a8d4b
SP
10010 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10011
e57b0c61
RM
100122013-03-28 Roland McGrath <roland@hack.frob.com>
10013
10014 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10015 Declare with __attribute__ ((weak)).
10016 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10017 Call __call_tls_dtors only if it's not NULL.
10018
356b3480
RM
100192013-03-28 Roland McGrath <roland@hack.frob.com>
10020
288f7d79
RM
10021 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10022 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10023 magic __ehdr_start linker symbol if it's defined.
10024 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10025 them up here if it was already done.
10026
dc0a0263
RM
10027 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10028 (_dl_aux_init): Use const in cast when setting it.
10029 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10030 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10031 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10032
3d3436ae
RM
10033 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10034 Declare them here.
10035 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10036 * csu/libc-tls.c: Nor here.
10037 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10038
356b3480
RM
10039 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10040 (__libc_message): Never call vsyslog.
10041
b0f1246a
AM
100422013-03-28 Alan Modra <amodra@gmail.com>
10043
10044 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10045 Define as empty.
10046 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10047 Likewise.
10048
fbbe2b9a
AZ
100492013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10050
10051 [BZ #15214]
10052 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10053 underflow.
10054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10055
1728ab37
SP
100562013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10057
7a86be6e
SP
10058 [BZ #15304]
10059 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10060 Don't add gid passed as argument.
10061
1728ab37
SP
10062 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10063
3a7182a1
JM
100642013-03-27 Joseph Myers <joseph@codesourcery.com>
10065
10066 [BZ #15307]
10067 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10068 imaginary part between 1.0 and 1.5 and real part less than 0.5
10069 specially.
10070 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10071 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10072 * math/libm-test.inc (cacos_test): Add more tests.
10073 (casin_test): Likewise.
10074 (casinh_test): Likewise.
10075 * sysdeps/i386/fpu/libm-test-ulps: Update.
10076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10077
6f2e90e7
SP
100782013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10079
5739f705
SP
10080 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10081 constants.
10082 (norm): Likewise.
10083 (denorm): Likewise.
10084 (__dbl_mp): Likewise.
10085 (add_magnitudes): Likewise.
10086 (sub_magnitudes): Likewise.
10087 (__add): Likewise.
10088 (__sub): Likewise.
10089 (__mul): Likewise.
10090 (__sqr): Likewise.
10091 (__inv): Likewise.
10092 (__dvd): Likewise.
10093
e375e83d
SP
10094 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10095 commented code.
10096 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10097 (__dubcos): Likewise.
10098 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10099 (__ieee754_acos): Likewise.
10100 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10101 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10102 (__exp1): Likewise.
10103 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10104 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10105 (log1): Likewise.
10106 (my_log2): Likewise.
10107 (checkint): Likewise.
10108 * sysdeps/ieee754/dbl-64/e_remainder.c
10109 (__ieee754_remainder): Likewise.
10110 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10111 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10112 (bsloww): Likewise.
10113 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10114
6f2e90e7
SP
10115 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10116 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10117 MANTISSA_STORE_T to store computations on mantissa. Use
10118 macros for rounding and division.
10119 (denorm): Likewise.
10120 (__dbl_mp): Likewise.
10121 (add_magnitudes): Likewise.
10122 (sub_magnitudes): Likewise.
10123 (__mul): Likewise.
10124 (__sqr): Likewise.
10125 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10126 powers of two in terms of TWOPOW macro.
10127 (mp_no): Make type of mantissa as MANTISSA_T.
10128 [!RADIXI]: Define RADIXI.
10129 [!TWO52]: Define TWO52.
10130 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10131
fce14d4e
AZ
101322013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10133
10134 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10135 llroundl symbol when building for PPC32.
10136
9ad027fb
MW
101372013-03-24 Mark H Weaver <mhw@netris.org>
10138
10139 * manual/arith.texi (Normalization Functions): Fix prototypes for
10140 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10141
e42a38dd
AZ
101422013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10143
10144 [BZ #13889]
10145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10146 high value to check if expl overflow.
10147 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10148 to check for underflow and overflow.
10149 * math/libm-test.inc: Add exp test.
10150
2e0fb521
DL
101512013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10152
10153 [BZ #11120]
10154 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10155 with NOT_IN_libc.
10156
b5784d95
AZ
101572013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10158
10159 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10160 symbol.
10161
5aa4a1a1
TS
101622013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10163
bdef0be7
TS
10164 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10165 wrap blocks consisting of several statements.
10166
5aa4a1a1
TS
10167 * sysdeps/generic/math-tests.h: New file.
10168 * sysdeps/i386/fpu/math-tests.h: Likewise.
10169 * math/test-snan.c: Include it.
10170 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10171
98c48fe5
JM
101722013-03-21 Joseph Myers <joseph@codesourcery.com>
10173
10174 [BZ #15285]
10175 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10176 (__ieee754_j0l): Do not improve calculations using cos of twice
10177 input for inputs above LDBL_MAX / 2.0L.
10178 (__ieee754_y0l): Likewise.
10179 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10180 (__ieee754_j1l): Do not improve calculations using cos of twice
10181 input for inputs above LDBL_MAX / 2.0L.
10182 (__ieee754_y1l): Likewise.
10183 * math/libm-test.inc (j0_test): Add another test.
10184 (j1_test): Likewise.
10185 (y0_test): Likewise.
10186 (y1_test): Likewise.
10187 * sysdeps/i386/fpu/libm-test-ulps: Update.
10188
3775a8bc
SP
101892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10190
10191 * Rules ($(objpfx)bench-%.c): Include code from a C source
10192 file.
10193
0a1b2ae6
JM
101942013-03-21 Joseph Myers <joseph@codesourcery.com>
10195
10196 [BZ #15287]
10197 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10198 imaginary part 1.0 and real part less than 0.5 specially.
10199 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10200 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10201 * math/libm-test.inc (cacos_test): Add more tests.
10202 (casin_test): Likewise.
10203 (casinh_test): Likewise.
10204 * sysdeps/i386/fpu/libm-test-ulps: Update.
10205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10206
b33d4ce4
SP
102072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10208
10209 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10210 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10211
bef0b507
JM
102122013-03-20 Joseph Myers <joseph@codesourcery.com>
10213
10214 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10215 * config.make.in (config-cflags-sse4): Remove variable.
10216 (config-cflags-avx): Likewise.
10217 (config-cflags-sse2avx): Likewise.
10218 (config-cflags-novzeroupper): Likewise.
10219 (config-asflags-i686): Likewise.
10220 (have-mfma4): Likewise.
10221 (have-as-vis3): Likewise.
10222 (MIG): Likewise.
10223 * configure.in (MIG): Do not AC_SUBST.
10224 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10225 (libc_cv_cc_sse4): Do not AC_SUBST.
10226 (libc_cv_cc_avx): Likewise.
10227 (libc_cv_cc_sse2avx): Likewise.
10228 (libc_cv_cc_novzeroupper): Likewise.
10229 (libc_cv_cc_fma4): Likewise.
10230 (libc_cv_as_i686): Likewise.
10231 (libc_cv_sparc_as_vis3): Likewise.
10232 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10233 LIBC_CONFIG_VAR.
10234 (config-asflags-i686): Likewise.
10235 (config-cflags-avx): Likewise.
10236 (config-cflags-sse2avx): Likewise.
10237 (have-mfma4): Likewise.
10238 (config-cflags-novzeroupper): Likewise.
10239 * sysdeps/mach/configure.in (MIG): Likewise.
10240 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10241 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10242 LIBC_CONFIG_VAR.
10243 (config-cflags-avx): Likewise.
10244 (config-cflags-sse2avx): Likewise.
10245 (have-mfma4): Likewise.
10246 (config-cflags-novzeroupper): Likewise.
10247 * configure: Regenerated.
10248 * sysdeps/i386/configure: Likewise.
10249 * sysdeps/mach/configure: Likewise.
10250 * sysdeps/sparc/configure: Likewise.
10251 * sysdeps/x86_64/configure: Likewise.
10252
912cc4b3
RM
102532013-03-20 Roland McGrath <roland@hack.frob.com>
10254
10255 [BZ #14812]
10256 * locale/programs/localedef.c (options): Put N_ translation marker
10257 on argument names, not just descriptions.
10258
04eed2b0
MS
102592013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10260
10261 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10262
a065ceff
OB
102632013-03-20 Ondřej Bílka <neleai@seznam.cz>
10264
9bb2a810 10265 [BZ #14176]
a065ceff
OB
10266 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10267
a600e5ce
RM
102682013-03-19 Roland McGrath <roland@hack.frob.com>
10269
10270 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10271 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10272 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10273 [!BEFORE_ABORT] (before_abort): New function.
10274 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10275 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10276 (writev_for_fatal): New function.
10277 (WRITEV_FOR_FATAL): New macro; call that.
10278 (backtrace_and_maps): New function.
10279 (BEFORE_ABORT): New macro; call that.
10280 (struct str_list): Type removed.
10281 (__libc_message, __libc_fatal): Functions removed.
10282 Include <sysdeps/posix/libc_fatal.c> instead.
10283
6b18bea6
JM
102842013-03-19 Joseph Myers <joseph@codesourcery.com>
10285
10286 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10287 constants.
10288 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10289 double constants.
10290
aaa8cb4b
AS
102912013-03-19 Andreas Schwab <schwab@suse.de>
10292
44673770
AS
10293 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10294 * sysdeps/gnu/configure: Regenerate.
10295
aaa8cb4b
AS
10296 * configure.in: Substitute libc_cv_rtlddir.
10297 * configure: Regenerate.
10298 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10299 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10300 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10301 * elf/Makefile (install-others, CFLAGS-interp.c)
10302 (ldso_install, common-ldd-rewrite): Likewise.
10303 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10304 $(inst_slibdir)/$(rtld-installed-name).
10305 * scripts/rellns-sh: Add -p option.
10306 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10307 for source.
10308
d3cfc668
SP
103092013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10310
10311 * manual/nptl.texi: Renamed to ...
10312 * manual/threads.texi: ... this.
10313 * manual/Makefile (chapters): Update.
10314
0e2b9cdd
RM
103152013-03-18 Roland McGrath <roland@hack.frob.com>
10316
10317 [BZ #14812]
10318 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10319 on argument names, not just descriptions.
0e2b9cdd
RM
10320 * malloc/memusagestat.c (options): Likewise.
10321 * nss/getent.c (options): Likewise.
63270c24
RM
10322
103232013-03-18 Benno Schulenberg <bensberg@justemail.net>
10324
10325 [BZ #14812]
10326 * iconv/iconv_prog.c (options): Put N_ translation marker
10327 on argument names, not just descriptions.
10328 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10329
b2e1393c
OB
103302013-03-18 Ondrej Bilka <neleai@seznam.cz>
10331
10332 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10333 implementation which is faster on all x86_64 architectures.
10334 Tested on AMD, Intel Nehalem, SNB, IVB.
10335 * sysdeps/x86_64/strnlen.S: Likewise.
10336
10337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10338 Remove all multiarch strlen and strnlen versions.
10339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10340 Remove strlen and strnlen related parts.
10341
10342 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10343 Inline strlen part.
10344 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10345
10346 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10347 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10348 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10349 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10350 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10351 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10352
ec4ff04d
CD
103532013-03-17 Carlos O'Donell <carlos@redhat.com>
10354
10355 * manual/memory.texi (Malloc Tunable Parameters):
10356 Sort parameters alphabetically. Add comments for missing entries.
10357
cd18e90a
DM
103582013-03-17 David S. Miller <davem@davemloft.net>
10359
10360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10361
2a185d32
JM
103622013-03-16 Joseph Myers <joseph@codesourcery.com>
10363
d2f9799e
JM
10364 [BZ #15283]
10365 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10366 for arguments at most half maximum finite value.
10367 * math/libm-test.inc (j0_test): Add more tests.
10368 (j1_test): Likewise.
10369 (y0_test): Likewise.
10370 (y1_test): Likewise.
10371 * sysdeps/i386/fpu/libm-test-ulps: Update.
10372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10373
2a185d32
JM
10374 [BZ #14155]
10375 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10376 1 / x and functions P and Q for arguments above 0x1p256L.
10377 (__ieee754_y0l): Likewise.
10378 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10379 (__ieee754_y1l): Likewise.
10380 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10381 (j1_test): Likewise.
10382 (y0_test): Likewise.
10383 (y1_test): Likewise.
10384
6cbec759
TS
103852013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10386
10387 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10388 variable.
10389
bc16e260
RM
103902013-03-15 Roland McGrath <roland@hack.frob.com>
10391
aefc9b8c
RM
10392 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10393 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10394 zero since it's initialized to EXEC_PAGESIZE.
10395
bc16e260
RM
10396 * sysdeps/unix/sysv/linux/ldsodefs.h
10397 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10398 * sysdeps/generic/ldsodefs.h: ... here.
10399
a57da955
TS
104002013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10401
af00a34d
TS
10402 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10403
495ded2c
TS
10404 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10405 math/test-snan.c.
10406 * math/test-snan.c: Renamed from
10407 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10408 * math/Makefile (tests): Add test-snan.
10409 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10410 test-powerpc-snan.
10411
777b0332
TS
10412 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10413 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10414 functions.
10415 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10416 __builtin_nan family of functions.
10417 * math/libm-test.inc (initialize): Initialize qnan_value with
10418 __builtin_nan family of functions.
10419 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10420 Remove variables.
10421 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10422 Remove functions.
10423 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10424 storage class. Initialize qNaN_var and sNaN_var with
10425 __builtin_nan and __builtin_nans families of functions,
10426 respectively.
10427
64d063b8
TS
10428 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10429 (sqrt_test): Remove duplicate test with qNaN input.
10430 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10431 (round_test, signbit_test, significand_test): Note missing +/-Inf
10432 as well as qNaN tests.
10433
67e971f1
TS
10434 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10435 qNaN_var. Fix a few strings, too.
10436 * math/libm-test.inc (nan_value): Rename to qnan_value.
10437 * math/gen-libm-test.pl (%beautify): Adjust to that.
10438 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10439 * math/test-misc.c (main): Likewise.
10440 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10441 to __qnan_bytes, and __qnan_union, respectively.
10442 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10443 Likewise.
10444 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10445 and lqnanval, respectively.
10446 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10447 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10448 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10449 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10450
64487e12
TS
10451 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10452 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10453 doubles.
10454
e015e27b
TS
10455 * math/test-misc.c (main): Fix copy'n'pastos.
10456 * misc/tst-efgcvt.c (special): Likewise.
10457
a57da955
TS
10458 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10459 Remove declarations.
10460
1e380345
SP
104612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10462
10463 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10464 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10465 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10466 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10467
ef26eece
AZ
104682013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10469
10470 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10471 macro to return vdso values correctly in IFUNC implementations.
10472 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10473 Optimization by using IFUNC.
10474
8cfdb7e0
SP
104752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10476 Richard Henderson <rth@redhat.com>
10477 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10478
10479 * Makefile.in (bench): New target.
10480 * NEWS: Mention the benchmark framework.
10481 * Rules (bench): Likewise.
10482 (binaries-bench): Generate binaries for functions to
10483 benchmark.
10484 * benchtests/Makefile: New makefile for benchmark tests.
10485 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10486 programs.
10487 * benchtests/exp-inputs: New input file for EXP function.
10488 * benchtests/pow-inputs: New input file for POW function.
10489 * scripts/bench.pl: New script to generate source files for
10490 benchmark programs.
10491
bcda9880
SP
104922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10493
d22ca8cd
SP
10494 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10495 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10496 computations on mantissa. Use macros for rounding and
10497 division.
10498 (denorm): Likewise.
10499 (__dbl_mp): Likewise.
10500 (add_magnitudes): Likewise.
10501 (sub_magnitudes): Likewise.
10502 (__mul): Likewise.
10503 (__sqr): Likewise.
10504 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10505 powers of two in terms of TWOPOW macro.
10506 (mp_no): Make type of mantissa as MANTISSA_T.
10507 [!RADIXI]: Define RADIXI.
10508 [!TWO52]: Define TWO52.
10509 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10510
bcda9880
SP
10511 * manual/nptl.texi (cindex): Modify threads to pthreads.
10512
06d5adfb
JM
105132013-03-15 Joseph Myers <joseph@codesourcery.com>
10514
10515 * sysdeps/x86_64/preconfigure: Regenerated.
10516
41c7328e
JM
105172013-03-14 Joseph Myers <joseph@codesourcery.com>
10518
10519 [BZ #14155]
10520 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10521 0x1p28 and above.
10522 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10523 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10524 0x1p28 and above.
10525 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10526 * math/libm-test.inc (j0_test): Do not allow one spurious
10527 underflow exception.
10528 (y1_test): Likewise.
10529
e25cfa60
SP
105302013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10531
0409959c
SP
10532 * manual/Makefile (chapters): Add nptl.
10533 * manual/debug.texi (Debugging Support): Add link to Threads
10534 chapter.
10535 * manual/nptl.texi: New file.
10536
e25cfa60
SP
10537 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10538
58a1335e
PB
105392013-03-14 Petr Baudis <pasky@ucw.cz>
10540
10541 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10542 for non-NULL pointer before the memory validity test. Pointed
10543 out by Holger Brunck <holger.brunck@keymile.com>.
10544
9dc7c64f
AS
105452013-03-13 Andreas Schwab <schwab@suse.de>
10546
10547 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10548 instead of .os.
10549
54206aa6
JM
105502013-03-13 Joseph Myers <joseph@codesourcery.com>
10551
10552 * timezone/zic.c: Update from tzcode 2013b.
10553
e98cdb38
CD
105542013-03-12 Carlos O'Donell <carlos@redhat.com>
10555
10556 * manual/install.texi (Configuring and compiling):
10557 Mention i686 and i586.
10558 * INSTALL: Regenerate.
10559
9967e003
RM
105602013-03-12 Roland McGrath <roland@hack.frob.com>
10561
10562 * sysdeps/init_array/elf-init.c: New file.
10563 * csu/elf-init.c
10564 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10565 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10566
10567 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10568 __gmon_start__ as global, but as static with a .preinit_array pointer.
10569 * sysdeps/init_array/gmon-start.c: New file. Use that.
10570 * sysdeps/init_array/crti.S: New file, empty except for comments.
10571 * sysdeps/init_array/crtn.S: Likewise.
10572
e6b5a293 105732013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10574
10575 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10576 definining bcopy.
80f844c9
OB
10577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10578 Remove Prefer_SSE_for_memop.
10579 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10580 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10581 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10583 memset-x86-64.
80f844c9 10584 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10585 Remove bzero, memset ifunc support.
80f844c9
OB
10586 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10588 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10589 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10590
fb6b0fcb
AS
105912013-03-11 Andreas Schwab <schwab@suse.de>
10592
10593 [BZ #15234]
10594 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10595 by SHLIB_COMPAT.
10596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10597 (GLIBC_2.16): Remove pthread_atfork.
10598
3e6bd4b1
PP
105992013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10600
10601 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10602 (ptestcases.h): Likewise.
10603
222d7f00
RM
106042013-03-08 Roland McGrath <roland@hack.frob.com>
10605
10606 * Makeconfig ($(common-objpfx)config.status): Depend on
10607 sysdeps/*/preconfigure{,.in} too.
10608
1ba4f030
JM
106092013-03-08 Joseph Myers <joseph@codesourcery.com>
10610
a222d91a
JM
10611 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10612 (__free_hook): Use void * instead of __malloc_ptr_t.
10613 (__malloc_hook): Likewise.
10614 (__realloc_hook): Likewise.
10615 (__memalign_hook): Likewise.
10616 (__after_morecore_hook): Likewise.
10617 * malloc/arena.c (save_malloc_hook): Likewise.
10618 (save_free_hook): Likewise.
10619 * malloc/hooks.c (malloc_hook_ini): Likewise.
10620 (realloc_hook_ini): Likewise.
10621 (memalign_hook_ini): Likewise.
10622 * malloc/malloc.c (malloc_hook_ini): Likewise.
10623 (realloc_hook_ini): Likewise.
10624 (memalign_hook_ini): Likewise.
10625 (__free_hook): Likewise.
10626 (__malloc_hook): Likewise.
10627 (__realloc_hook): Likewise.
10628 (__memalign_hook): Likewise.
10629 (__libc_malloc): Likewise.
10630 (__libc_free): Likewise.
10631 (__libc_realloc): Likewise.
10632 (__libc_memalign): Likewise.
10633 (__libc_valloc): Likewise.
10634 (__libc_pvalloc): Likewise.
10635 (__libc_calloc): Likewise.
10636 (__posix_memalign): Likewise.
10637 * malloc/morecore.c (__sbrk): Likewise.
10638 (__default_morecore): Likewise.
10639
5cc45e10
JM
10640 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10641
dd54b864
JM
10642 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10643 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10644 __malloc_ptrdiff_t.
10645
1ba4f030
JM
10646 * malloc/malloc.h (__malloc_size_t): Remove macro.
10647 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10648 __malloc_size_t.
10649 (old_memalign_hook): Likewise.
10650 (old_realloc_hook): Likewise.
10651 (struct hdr): Likewise.
10652 (flood): Likewise.
10653 (mallochook): Likewise.
10654 (memalignhook): Likewise.
10655 (reallochook): Likewise.
10656 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10657 (tr_old_realloc_hook): Likewise.
10658 (tr_old_memalign_hook): Likewise.
10659 (tr_mallochook): Likewise.
10660 (tr_reallochook): Likewise.
10661 (tr_memalignhook): Likewise.
10662
edf66e57
AZ
106632013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10664
10665 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10666 default_ldbl_pack and using as default implementation.
10667 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10668 implementation.
10669 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10670 redundant definition.
10671 (ldbl_insert_mantissa): Likewise.
10672 (ldbl_canonicalize): Likewise.
10673 (ldbl_nearbyint): Likewise.
10674 (ldbl_pack): Rename to ldbl_pack_ppc.
10675 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10676 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10677 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10678
6d9145d8
SP
106792013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10680
10681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10682 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10683 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10684 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10686 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10687 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10688 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10689
4dd4e157
AJ
106902013-03-07 Andreas Jaeger <aj@suse.de>
10691
10692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10693 bits/mman-linux.h.
10694
adbb8027
SP
106952013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10696
ce544b5b
SP
10697 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10698 Include mpa.h and declare __MPEXP.
10699 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10700 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10701 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10702 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10703 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10704 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10705 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10706
4cc149fd
SP
10707 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10708 (__slowpow): Use long double EXPL and LOGL functions to
10709 compute POW.
10710 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10711 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10712 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10713 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10714 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10715 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10716
e6ebd4a7
SP
10717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10718 intermediate variable to calculate exponent.
10719 (__sqr): Likewise.
10720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10721 Likewise.
10722 (__sqr): Likewise.
10723
82a9811d
SP
10724 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10725 [!NO__SQR]: Define __sqr.
10726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10727 and NO__SQR. Remove all code except __mul and __sqr. Include
10728 sysdeps/ieee754/dbl-64/mpa.c.
10729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10730
adbb8027
SP
10731 [BZ #12723]
10732 * posix/Makefile (tests): Add tst-pathconf.
10733 * posix/tst-pathconf.c: New test case.
10734 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10735 _PC_PIPE_BUF.
10736 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10737
39120df9
PF
107382013-03-06 Patsy Franklin <pfrankli@redhat.com>
10739
10740 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10741
67525cb8
AJ
107422013-03-06 Andreas Jaeger <aj@suse.de>
10743
664a9ce4
AJ
10744 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10745 definition via __MAP_ANONYMOUS.
10746
8e39047d
AJ
10747 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10748 it's not part of Linux headers.
10749
67525cb8
AJ
10750 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10751 (MAP_HUGE_MASK): Define.
10752
10753 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10754 Define.
10755 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10756 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10757 Define.
10758 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10759 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10760 Define.
10761 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10762 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10763 Define.
10764 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10765
10766 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10767 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10768 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10769 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10770 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10771 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10772
10773 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10774 Handle f2fs.
10775
10776 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10777 Handle f2fs and efivarfs.
10778
10779 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10780 f2fs.
10781
10782 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10783 (EFIVARFS_MAGIC): Add.
10784 (F2FS_LINK_MAX): Add.
10785
e1b42695
PP
107862013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10787
10788 * stdio-common/vfprintf.c: Replace __builtin_expect with
10789 __glibc_unlikely.
10790
2d67d91a
JM
107912013-03-06 Joseph Myers <joseph@codesourcery.com>
10792
10793 [BZ #13550]
10794 * sysdeps/generic/bp-sym.h: Remove file.
10795 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10796 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10797 <bp-sym.h> and <bp-asm.h>.
10798 (__longjmp): Don't use BP_SYM.
10799 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10800 and <bp-asm.h>.
10801 (memcpy): Don't use BP_SYM.
10802 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10803 <bp-sym.h> and <bp-asm.h>.
10804 (memcpy): Don't use BP_SYM.
10805 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10806 <bp-asm.h>.
10807 (memcpy): Don't use BP_SYM.
10808 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10809 <bp-asm.h>.
10810 (memset): Don't use BP_SYM.
10811 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10812 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10813 (__bzero): Don't use BP_SYM.
10814 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10815 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10816 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10817 <bp-sym.h> and <bp-asm.h>.
10818 (memcmp): Don't use BP_SYM. Remove comment about bounded
10819 pointers.
10820 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10821 <bp-sym.h> and <bp-asm.h>.
10822 (memcpy): Don't use BP_SYM.
10823 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10824 <bp-sym.h> and <bp-asm.h>.
10825 (memset): Don't use BP_SYM.
10826 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10827 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10828 (__bzero): Don't use BP_SYM.
10829 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10830 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10831 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10832 <bp-sym.h> and <bp-asm.h>.
10833 (strncmp): Don't use BP_SYM. Remove comment about bounded
10834 pointers.
10835 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10836 <bp-sym.h> and <bp-asm.h>.
10837 (memcpy): Don't use BP_SYM.
10838 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10839 <bp-sym.h> and <bp-asm.h>.
10840 (memset): Don't use BP_SYM.
10841 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10842 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10843 (__bzero): Don't use BP_SYM.
10844 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10845 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10846 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10847 <bp-sym.h> and <bp-asm.h>.
10848 (__memchr): Don't use BP_SYM.
10849 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10850 <bp-sym.h> and <bp-asm.h>.
10851 (memcmp): Don't use BP_SYM. Remove comment about bounded
10852 pointers.
10853 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10854 <bp-sym.h> and <bp-asm.h>.
10855 (memcpy): Don't use BP_SYM.
10856 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10857 <bp-sym.h> and <bp-asm.h>.
10858 (__mempcpy): Don't use BP_SYM.
10859 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10860 <bp-sym.h> and <bp-asm.h>.
10861 (__memrchr): Don't use BP_SYM.
10862 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10863 <bp-sym.h> and <bp-asm.h>.
10864 (memset): Don't use BP_SYM.
10865 (__bzero): Likewise.
10866 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10867 <bp-sym.h> and <bp-asm.h>.
10868 (__rawmemchr): Don't use BP_SYM.
10869 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10870 <bp-sym.h> and <bp-asm.h>.
10871 (__STRCMP): Don't use BP_SYM.
10872 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10873 <bp-sym.h> and <bp-asm.h>.
10874 (strchr): Don't use BP_SYM.
10875 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10876 <bp-sym.h> and <bp-asm.h>.
10877 (__strchrnul): Don't use BP_SYM.
10878 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10879 <bp-sym.h> and <bp-asm.h>.
10880 (strlen): Don't use BP_SYM.
10881 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10882 <bp-sym.h> and <bp-asm.h>.
10883 (strncmp): Don't use BP_SYM. Remove comment about bounded
10884 pointers.
10885 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10886 <bp-sym.h> and <bp-asm.h>.
10887 (__strnlen): Don't use BP_SYM.
10888 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10889 <bp-sym.h> and <bp-asm.h>.
10890 (__GI__setjmp): Don't use BP_SYM.
10891 (_setjmp): Likewise.
10892 (__sigsetjmp): Likewise.
10893 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10894 (L(start_addresses)): Don't use BP_SYM.
10895 (_start): Likewise.
10896 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10897 <bp-asm.h>.
10898 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10899 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10900 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10901 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10902 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10903 <bp-asm.h>.
10904 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10905 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10906 about bounded pointers.
10907 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10908 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10909 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10910 <bp-asm.h>.
10911 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10912 about bounded pointers. Remove GKM FIXME comments.
10913 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10914 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10915 <bp-asm.h>.
10916 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10917 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10918 Remove GKM FIXME comments.
10919 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10920 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10921 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10922 <bp-asm.h>.
10923 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10924 about bounded pointers. Remove GKM FIXME comment.
10925 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10926 and <bp-asm.h>.
10927 (strncmp): Don't use BP_SYM. Remove comment about bounded
10928 pointers.
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10930 <bp-sym.h> and <bp-asm.h>.
10931 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10933 <bp-sym.h> and <bp-asm.h>.
10934 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10935 comment.
10936
cdcf361f
PP
109372013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10938
10939 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10940 call free(NULL).
10941
3c4a2b15
DM
109422013-03-05 David S. Miller <davem@davemloft.net>
10943
10944 * po/es.po: Update from translation team.
10945
cdcf361f 109462013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10947
10948 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10949 <bits/mman-linux.h>.
10950 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10951 is fine.
10952 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10953 <bits/mman-linux.h> to end of file.
10954 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10955 is fine.
10956 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10957 <bits/mman-linux.h> to end of file.
10958 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10959 is fine.
10960 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10961 <bits/mman-linux.h> to end of file.
10962
10963 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10964 (MCL_CURRENT, MCL_FUTURE): Define here.
10965
5f67c04f
AK
109662013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10967
8a4473cc 10968 [BZ #15232]
5f67c04f
AK
10969 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10970 attribute_hidden.
10971 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10972
c3e94a95
AK
109732013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10974
10975 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10976 fourth parameter needed for rt_sigprocmask syscall.
10977 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10978 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10979 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10980 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10981 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10982 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10983
cfb6382a
JM
109842013-03-04 Joseph Myers <joseph@codesourcery.com>
10985
10986 [BZ #13550]
10987 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10988 comment about bounded pointers.
10989 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10990 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10991
539d8e01
AJ
109922013-03-04 Andreas Jaeger <aj@suse.de>
10993
10994 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10995 common definitions.
10996
10997 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10998 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10999 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11000 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11002 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11003
2e167a70 110042013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11005
11006 [BZ #15055]
11007 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11008 __ieee754_sqrl instead of __sqrl.
11009
68508633
JM
110102013-03-01 Joseph Myers <joseph@codesourcery.com>
11011
11012 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11013 * sysdeps/powerpc/fpu_control.h: ... here.
11014 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11015 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11016 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11017 * sysdeps/powerpc/bits/mathinline.h: ... here.
11018
7775448e
RM
110192013-03-01 Roland McGrath <roland@hack.frob.com>
11020
11021 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11022 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11023 to just [NEED_DL_SYSINFO_DSO].
11024 * elf/dl-support.c: Likewise.
11025 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11026 * elf/rtld.c (dl_main): Likewise.
11027 * elf/setup-vdso.h (setup_vdso): Likewise.
11028 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11029 * sysdeps/unix/sysv/linux/dl-sysdep.c
11030 (_dl_discover_osversion): Likewise.
11031
4e9b5995
CD
110322013-03-01 Carlos O'Donell <carlos@redhat.com>
11033
11034 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11035 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11036
e23872c8
SP
110372013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11038
e5c74c63
SP
11039 * NEWS: Mention libm performance improvements and non-x86 PI
11040 futex support.
11041
e23872c8
SP
11042 * csu/libc-start.c (__pthread_initialize_minimal): Change
11043 function arguments.
11044 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11045
b5510883
JM
110462013-02-28 Joseph Myers <joseph@codesourcery.com>
11047
11048 [BZ #13550]
11049 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11050 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11051 <bp-sym.h> and <bp-asm.h>.
11052 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11053 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11054 and <bp-asm.h>.
11055 (memcpy): Don't use BP_SYM.
11056 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11057 <bp-asm.h>.
11058 (__mpn_add_n): Don't use BP_SYM.
11059 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11060 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11061 and <bp-asm.h>.
11062 (__mpn_addmul_1): Don't use BP_SYM.
11063 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11064 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11065 <bp-sym.h>.
11066 (_setjmp): Don't use BP_SYM.
11067 (__novmx_setjmp): Likewise.
11068 (__GI__setjmp): Likewise.
11069 (__vmx_setjmp): Likewise.
11070 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11071 <bp-sym.h>.
11072 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11073 (__bzero): Don't use BP_SYM.
11074 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11075 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11076 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11077 <bp-sym.h> and <bp-asm.h>.
11078 (memcpy): Don't use BP_SYM.
11079 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11080 <bp-sym.h> and <bp-asm.h>.
11081 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11082 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11083 <bp-sym.h> and <bp-asm.h>.
11084 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11085 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11086 <bp-asm.h>.
11087 (__mpn_lshift): Don't use BP_SYM.
11088 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11089 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11090 <bp-asm.h>.
11091 (memset): Don't use BP_SYM.
11092 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11093 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11094 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11095 <bp-asm.h>.
11096 (__mpn_mul_1): Don't use BP_SYM.
11097 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11098 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11099 <bp-sym.h> and <bp-asm.h>.
11100 (memcmp): Don't use BP_SYM.
11101 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11102 <bp-sym.h> and <bp-asm.h>.
11103 (memcpy): Don't use BP_SYM.
11104 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11105 <bp-sym.h> and <bp-asm.h>.
11106 (memset): Don't use BP_SYM.
11107 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11108 <bp-sym.h> and <bp-asm.h>.
11109 (strncmp): Don't use BP_SYM.
11110 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11111 <bp-sym.h> and <bp-asm.h>.
11112 (memcpy): Don't use BP_SYM.
11113 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11114 <bp-sym.h> and <bp-asm.h>.
11115 (memset): Don't use BP_SYM.
11116 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11117 <bp-sym.h> and <bp-asm.h>.
11118 (__memchr): Don't use BP_SYM.
11119 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11120 <bp-sym.h> and <bp-asm.h>.
11121 (memcmp): Don't use BP_SYM.
11122 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11123 <bp-sym.h> and <bp-asm.h>.
11124 (memcpy): Don't use BP_SYM.
11125 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11126 <bp-sym.h> and <bp-asm.h>.
11127 (__mempcpy): Don't use BP_SYM.
11128 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11129 <bp-sym.h> and <bp-asm.h>.
11130 (__memrchr): Don't use BP_SYM.
11131 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11132 <bp-sym.h> and <bp-asm.h>.
11133 (memset): Don't use BP_SYM.
11134 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11135 <bp-sym.h> and <bp-asm.h>.
11136 (__rawmemchr): Don't use BP_SYM.
11137 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11138 <bp-sym.h> and <bp-asm.h>.
11139 (__STRCMP): Don't use BP_SYM.
11140 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11141 <bp-sym.h> and <bp-asm.h>.
11142 (strchr): Don't use BP_SYM.
11143 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11144 <bp-sym.h> and <bp-asm.h>.
11145 (__strchrnul): Don't use BP_SYM.
11146 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11147 <bp-sym.h> and <bp-asm.h>.
11148 (strlen): Don't use BP_SYM.
11149 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11150 <bp-sym.h> and <bp-asm.h>.
11151 (strncmp): Don't use BP_SYM.
11152 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11153 <bp-sym.h> and <bp-asm.h>.
11154 (__strnlen): Don't use BP_SYM.
11155 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11156 <bp-asm.h>.
11157 (__mpn_rshift): Don't use BP_SYM.
11158 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11159 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11160 <bp-sym.h> and <bp-asm.h>.
11161 (__sigsetjmp): Don't use BP_SYM.
11162 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11163 (L(start_addresses)): Don't use BP_SYM.
11164 (_start): Likewise.
11165 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11166 <bp-asm.h>.
11167 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11168 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11169 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11170 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11171 <bp-asm.h>.
11172 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11173 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11174 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11175 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11176 <bp-asm.h>.
11177 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11178 comments.
11179 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11180 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11181 <bp-asm.h>.
11182 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11183 FIXME comments.
11184 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11185 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11186 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11187 <bp-asm.h>.
11188 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11189 comment.
11190 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11191 and <bp-asm.h>.
11192 (strncmp): Don't use BP_SYM,
11193 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11194 <bp-asm.h>.
11195 (__mpn_sub_n): Don't use BP_SYM.
11196 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11197 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11198 and <bp-asm.h>.
11199 (__mpn_submul_1): Don't use BP_SYM.
11200 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11202 <bp-sym.h> and <bp-asm.h>.
11203 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11205 <bp-sym.h> and <bp-asm.h>.
11206 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11207 comment.
11208
8d19fe64
SP
112092013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11210
11211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11212 Use ZK to minimize writes to Z.
11213 (sub_magnitudes): Simplify code a bit.
11214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11215 Use ZK to minimize writes to Z.
11216 (sub_magnitudes): Simplify code a bit.
11217
85bd816a
RM
112182013-02-27 Roland McGrath <roland@hack.frob.com>
11219
11220 * csu/gmon-start.c: Add special exception to license text.
11221
b5977bf2
RH
112222013-02-27 Richard Henderson <rth@redhat.com>
11223
11224 * scripts/config.guess: Update from config.git.
11225 * scripts/config.sub: Likewise.
11226
11d6e2f2
SP
112272013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11228
09c14ed2
SP
11229 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11230
a688864e
SP
11231 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11232
6295157a
SP
11233 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11234
b8de2202
SP
11235 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11236
11d6e2f2
SP
11237 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11238
7e80ddb8
RM
112392013-02-26 Roland McGrath <roland@hack.frob.com>
11240
11241 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11242 [$(build-shared = yes].
7e80ddb8 11243
7da6d9ed
SP
112442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11245
45f05884
SP
11246 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11247 (__mul): Reduce iterations for calculating mantissa.
11248
2236d359
SP
11249 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11250 MPTWO.
11251 (__mpranred): Likewise.
11252
7da6d9ed
SP
11253 [BZ #15160]
11254 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11255 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11256
b7688c42
PE
112572013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11258
11259 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11260 Define __attribute__.
11261
53a5c423
SP
112622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11263
11264 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11265 unused.
11266 * posix/regex_internal.h (__attribute): Remove.
11267 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11268 (re_string_context_at): Likewise.
11269 (bitset_not): Use __attribute__ and mark function as possibly
11270 unused.
11271 (bitset_merge): Likewise.
11272 (bitset_mask): Likewise.
11273 (re_string_char_size_at): Likewise.
11274 (re_string_wchar_at): Likewise.
11275 (re_string_elem_size_at): Likewise.
11276
60f5a8b5
SP
112772013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11278
2a983a2e
SP
11279 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11280 code.
11281 (cc32): Likewise.
11282
e69804d1
SP
11283 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11284 (__acr): Likewise.
11285 (__cpy): Likewise.
11286 (norm): Likewise.
11287 (denorm): Likewise.
11288 (__dbl_mp): Likewise.
11289 (add_magnitudes): Likewise.
11290 (sub_magnitudes): Likewise.
11291 (__mul): Likewise.
11292 (__inv): Likewise.
11293
2f22a1e8
SP
11294 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11295 style.
11296
8930ddc7
SP
11297 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11298 style.
11299
dc60cb11
SP
11300 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11301 code.
11302
60f5a8b5
SP
11303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11304 up changes with default code.
11305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11306 Likewise.
11307
b4d1fd33
AM
113082013-02-24 Allan McRae <allan@archlinux.org>
11309
faf6f8bc
AM
11310 * manual/socket.texi (The Internet Namespace): Order menu items
11311 to match that in the file.
11312
b4d1fd33
AM
11313 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11314 node listing of the info page menu.
11315
2366713d
JM
113162013-02-21 Joseph Myers <joseph@codesourcery.com>
11317
11318 [BZ #13550]
11319 * sysdeps/i386/bp-asm.h: Remove file.
11320 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11321 (PARMS): Do not use macros from bp-asm.h.
11322 (S1): Likewise.
11323 (S2): Likewise.
11324 (SIZE): Likewise.
11325 (__mpn_add_n): Do not use BP_SYM
11326 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11327 "bp-asm.h".
11328 (PARMS): Do not use macros from bp-asm.h.
11329 (S1): Likewise.
11330 (SIZE): Likewise.
11331 (__mpn_addmul_1): Do not use BP_SYM
11332 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11333 "bp-asm.h".
11334 (PARMS): Do not use macros from bp-asm.h.
11335 (SIGMSK): Likewise.
11336 (_setjmp): Likewise. Do not use BP_SYM.
11337 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11338 "bp-asm.h".
11339 (PARMS): Do not use macros from bp-asm.h.
11340 (SIGMSK): Likewise.
11341 (setjmp): Likewise. Do not use BP_SYM.
11342 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11343 "bp-asm.h".
11344 (PARMS): Do not use macros from bp-asm.h.
11345 (__frexp): Do not use BP_SYM.
11346 (frexp): Likewise.
11347 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11348 "bp-asm.h".
11349 (PARMS): Do not use macros from bp-asm.h.
11350 (__frexpf): Do not use BP_SYM.
11351 (frexpf): Likewise.
11352 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11353 "bp-asm.h".
11354 (PARMS): Do not use macros from bp-asm.h.
11355 (__frexpl): Do not use BP_SYM.
11356 (frexpl): Likewise.
11357 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11358 "bp-asm.h".
11359 (PARMS): Do not use macros from bp-asm.h.
11360 (__remquo): Do not use BP_SYM.
11361 (remquo): Likewise.
11362 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11363 "bp-asm.h".
11364 (PARMS): Do not use macros from bp-asm.h.
11365 (__remquof): Do not use BP_SYM.
11366 (remquof): Likewise.
11367 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11368 "bp-asm.h".
11369 (PARMS): Do not use macros from bp-asm.h.
11370 (__remquol): Do not use BP_SYM.
11371 (remquol): Likewise.
11372 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11373 "bp-asm.h".
11374 (PARMS): Do not use macros from bp-asm.h.
11375 (DEST): Likewise.
11376 (SRC): Likewise.
11377 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11378 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11379 "bp-asm.h".
11380 (PARMS): Do not use macros from bp-asm.h.
11381 (strlen): Do not use BP_SYM.
11382 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11383 "bp-asm.h".
11384 (PARMS): Do not use macros from bp-asm.h.
11385 (S1): Likewise.
11386 (S2): Likewise.
11387 (SIZE): Likewise.
11388 (__mpn_add_n): Do not use BP_SYM.
11389 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11390 "bp-asm.h".
11391 (PARMS): Do not use macros from bp-asm.h.
11392 (S1): Likewise.
11393 (SIZE): Likewise.
11394 (__mpn_addmul_1): Do not use BP_SYM.
11395 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11396 weak_alias.
11397 (bzero): Likewise.
11398 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11399 "bp-asm.h".
11400 (PARMS): Do not use macros from bp-asm.h.
11401 (S): Likewise.
11402 (SIZE): Likewise.
11403 (__mpn_lshift): Do not use BP_SYM.
11404 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11405 "bp-asm.h".
11406 (PARMS): Do not use macros from bp-asm.h.
11407 (DEST): Likewise.
11408 (SRC): Likewise.
11409 (LEN): Likewise.
11410 (memcpy): Likewise. Do not use BP_SYM.
11411 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11412 libc_hidden_def and weak_alias.
11413 (mempcpy): Do not use BP_SYM in weak_alias.
11414 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11415 "bp-asm.h".
11416 (PARMS): Do not use macros from bp-asm.h.
11417 (DEST): Likewise.
11418 (LEN): Likewise.
11419 [!BZERO_P] (CHR): Likewise.
11420 (memset): Likewise. Do not use BP_SYM.
11421 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11422 "bp-asm.h".
11423 (PARMS): Do not use macros from bp-asm.h.
11424 (S1): Likewise.
11425 (SIZE): Likewise.
11426 (__mpn_mul_1): Do not use BP_SYM.
11427 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11428 "bp-asm.h".
11429 (PARMS): Do not use macros from bp-asm.h.
11430 (S): Likewise.
11431 (SIZE): Likewise.
11432 (__mpn_rshift): Do not use BP_SYM.
11433 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11434 "bp-asm.h".
11435 (PARMS): Do not use macros from bp-asm.h.
11436 (STR): Likewise.
11437 (CHR): Likewise.
11438 (strchr): Likewise. Do not use BP_SYM.
11439 (index): Do not use BP_SYM in weak_alias.
11440 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11441 "bp-asm.h".
11442 (PARMS): Do not use macros from bp-asm.h.
11443 (DEST): Likewise.
11444 (SRC): Likewise.
11445 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11446 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11447 "bp-asm.h".
11448 (PARMS): Do not use macros from bp-asm.h.
11449 (strlen): Do not use BP_SYM.
11450 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11451 "bp-asm.h".
11452 (PARMS): Do not use macros from bp-asm.h.
11453 (S1): Likewise.
11454 (S2): Likewise.
11455 (SIZE): Likewise.
11456 (__mpn_sub_n): Do not use BP_SYM.
11457 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11458 "bp-asm.h".
11459 (PARMS): Do not use macros from bp-asm.h.
11460 (S1): Likewise.
11461 (SIZE): Likewise.
11462 (__mpn_submul_1): Do not use BP_SYM.
11463 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11464 "bp-asm.h".
11465 (PARMS): Do not use macros from bp-asm.h.
11466 (S1): Likewise.
11467 (S2): Likewise.
11468 (SIZE): Likewise.
11469 (__mpn_add_n): Do not use BP_SYM.
11470 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11471 weak_alias.
11472 (bzero): Likewise.
11473 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11474 "bp-asm.h".
11475 (PARMS): Do not use macros from bp-asm.h.
11476 (BLK2): Likewise.
11477 (LEN): Likewise.
11478 (memcmp): Do not use BP_SYM.
11479 (bcmp): Do not use BP_SYM in weak_alias.
11480 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11481 "bp-asm.h".
11482 (PARMS): Do not use macros from bp-asm.h.
11483 (DEST): Likewise.
11484 (SRC): Likewise.
11485 (LEN): Likewise.
11486 (memcpy): Likewise. Do not use BP_SYM.
11487 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11488 "bp-asm.h".
11489 (PARMS): Do not use macros from bp-asm.h.
11490 (DEST): Likewise.
11491 (SRC): Likewise.
11492 (LEN): Likewise.
11493 (memmove): Likewise. Do not use BP_SYM.
11494 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11495 "bp-asm.h".
11496 (PARMS): Do not use macros from bp-asm.h.
11497 (DEST): Likewise.
11498 (SRC): Likewise.
11499 (LEN): Likewise.
11500 (__mempcpy): Likewise. Do not use BP_SYM.
11501 (mempcpy): Do not use BP_SYM in weak_alias.
11502 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11503 "bp-asm.h".
11504 (PARMS): Do not use macros from bp-asm.h.
11505 (DEST): Likewise.
11506 (LEN): Likewise.
11507 [!BZERO_P] (CHR): Likewise.
11508 (memset): Likewise. Do not use BP_SYM.
11509 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11510 "bp-asm.h".
11511 (PARMS): Do not use macros from bp-asm.h.
11512 (STR2): Likewise.
11513 (strcmp): Do not use BP_SYM.
11514 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11515 "bp-asm.h".
11516 (PARMS): Do not use macros from bp-asm.h.
11517 (STR): Likewise.
11518 (DELIM): Likewise.
11519 [USE_AS_STRTOK_R] (SAVE): Likewise.
11520 (FUNCTION): Likewise. Do not use BP_SYM.
11521 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11522 aliases.
11523 (strtok_r): Likewise.
11524 (__GI___strtok_r): Likewise.
11525 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11526 (PARMS): Do not use macros from bp-asm.h.
11527 (S): Likewise.
11528 (SIZE): Likewise.
11529 (__mpn_lshift): Do not use BP_SYM.
11530 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11531 (PARMS): Do not use macros from bp-asm.h.
11532 (STR): Likewise.
11533 (CHR): Likewise.
11534 (__memchr): Do not use BP_SYM.
11535 (memchr): Do not use BP_SYM in weak_alias.
11536 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11537 (PARMS): Do not use macros from bp-asm.h.
11538 (BLK2): Likewise.
11539 (LEN): Likewise.
11540 (memcmp): Do not use BP_SYM.
11541 (bcmp): Do not use BP_SYM in weak_alias.
11542 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11543 (PARMS): Do not use macros from bp-asm.h.
11544 (S1): Likewise.
11545 (SIZE): Likewise.
11546 (__mpn_mul_1): Do not use BP_SYM.
11547 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11548 "bp-asm.h".
11549 (PARMS): Do not use macros from bp-asm.h.
11550 (STR): Likewise.
11551 (CHR): Likewise.
11552 (__rawmemchr): Do not use BP_SYM.
11553 (rawmemchr): Do not use BP_SYM in weak_alias.
11554 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11555 (PARMS): Do not use macros from bp-asm.h.
11556 (S): Likewise.
11557 (SIZE): Likewise.
11558 (__mpn_rshift): Do not use BP_SYM.
11559 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11560 (PARMS): Do not use macros from bp-asm.h.
11561 (SIGMSK): Likewise.
11562 (__sigsetjmp): Likewise. Do not use BP_SYM.
11563 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11564 (_start): Do not use BP_SYM.
11565 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11566 (PARMS): Do not use macros from bp-asm.h.
11567 (DEST): Likewise.
11568 (SRC): Likewise.
11569 (__stpcpy): Likewise. Do not use BP_SYM.
11570 (stpcpy): Do not use BP_SYM in weak_alias.
11571 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11572 "bp-asm.h".
11573 (PARMS): Do not use macros from bp-asm.h.
11574 (DEST): Likewise.
11575 (SRC): Likewise.
11576 (LEN): Likewise.
11577 (__stpncpy): Likewise. Do not use BP_SYM.
11578 (stpncpy): Do not use BP_SYM in weak_alias.
11579 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11580 (PARMS): Do not use macros from bp-asm.h.
11581 (STR): Likewise.
11582 (CHR): Likewise.
11583 (strchr): Likewise. Do not use BP_SYM.
11584 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11585 "bp-asm.h".
11586 (PARMS): Do not use macros from bp-asm.h.
11587 (STR): Likewise.
11588 (CHR): Likewise.
11589 (__strchrnul): Likewise. Do not use BP_SYM.
11590 (strchrnul): Do not use BP_SYM in weak_alias.
11591 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11592 "bp-asm.h".
11593 (PARMS): Do not use macros from bp-asm.h.
11594 (STOP): Likewise.
11595 (strcspn): Do not use BP_SYM.
11596 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11597 "bp-asm.h".
11598 (PARMS): Do not use macros from bp-asm.h.
11599 (STR): Likewise.
11600 (STOP): Likewise.
11601 (strpbrk): Likewise. Do not use BP_SYM.
11602 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11603 "bp-asm.h".
11604 (PARMS): Do not use macros from bp-asm.h.
11605 (STR): Likewise.
11606 (CHR): Likewise.
11607 (strrchr): Likewise. Do not use BP_SYM.
11608 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11609 (PARMS): Do not use macros from bp-asm.h.
11610 (SKIP): Likewise.
11611 (strspn): Do not use BP_SYM.
11612 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11613 (PARMS): Do not use macros from bp-asm.h.
11614 (STR): Likewise.
11615 (DELIM): Likewise.
11616 (SAVE): Likewise.
11617 (FUNCTION): Likewise. Do not use BP_SYM.
11618 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11619 aliases.
11620 (strtok_r): Likewise.
11621 (__GI___strtok_r): Likewise.
11622 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11623 (PARMS): Do not use macros from bp-asm.h.
11624 (S1): Likewise.
11625 (S2): Likewise.
11626 (SIZE): Likewise.
11627 (__mpn_sub_n): Do not use BP_SYM.
11628 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11629 "bp-asm.h".
11630 (PARMS): Do not use macros from bp-asm.h.
11631 (S1): Likewise.
11632 (SIZE): Likewise.
11633 (__mpn_submul_1): Do not use BP_SYM.
11634 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11635 <bp-sym.h>.
11636 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11637 and <bp-asm.h>.
11638 (PARMS): Do not use macros from bp-asm.h.
11639 (FLAGS): Likewise.
11640 (PTID): Likewise.
11641 (TLS): Likewise.
11642 (CTID): Likewise.
11643 (__clone): Do not use BP_SYM.
11644 (clone): Do not use BP_SYM in weak_alias.
11645 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11646 and <bp-asm.h>.
11647 (PARMS): Do not use macros from bp-asm.h.
11648 (LEN): Likewise.
11649 (__mmap64): Do not use BP_SYM.
11650 (mmap64): Do not use BP_SYM in weak_alias.
11651 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11652 <bp-sym.h> and <bp-asm.h>.
11653 (PARMS): Do not use macros from bp-asm.h.
11654 (__posix_fadvise64_l64): Do not use BP_SYM.
11655 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11656 (PARMS): Do not use macros from bp-asm.h.
11657 (NSOPS): Likewise.
11658 (semtimedop): Do not use BP_SYM.
11659 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11660 and <bp-asm.h>.
11661
582a3cff
AM
116622013-02-21 Allan McRae <allan@archlinux.org>
11663
11664 * manual/message.texi (Charset conversion in gettext):
11665 Move @end statement to beginning of line.
11666
bab8a695
SP
116672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11668
80945231
SP
11669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11670 static.
11671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11672 Likewise.
11673
bab8a695
SP
11674 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11675 (denorm): Likewise.
11676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11678
e21d7aa7
AK
116792013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11680
11681 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11682 tail-call to the resolved function if pltexit isn't needed.
11683
4c7a4263
SP
116842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11685
11686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11687 or Y being zero as being unlikely.
11688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11689 Likewise.
11690
41f49342
CD
116912013-02-20 Carlos O'Donell <carlos@redhat.com>
11692
11693 * manual/nss.texi (System Databases and Name Service Switch):
11694 Remove frobnicate @pxref.
11695
50022a93
TS
116962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11697
11698 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11699 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11700
08cbd996
PM
117012013-02-20 Petr Machata <pmachata@redhat.com>
11702
11703 * elf/elf.h (R_ARM_TARGET1): New macro.
11704 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11705 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11706 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11707 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11708 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11709 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11710 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11711 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11712 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11713 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11714 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11715 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11716 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11717 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11718 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11719 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11720 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11721 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11722 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11723 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11724 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11725 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11726 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11727 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11728 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11729 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11730 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11731 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11732 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11733 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11734 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11735 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11736 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11737 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11738 (R_ARM_THM_GOT_BREL12): Likewise.
11739 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11740 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11741 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11742 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11743 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11744 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11745 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11746 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11747 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11748
c7b275d6
TS
117492013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11750
11751 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11752 __attribute_used__ to __attribute__ ((unused)).
11753
20cd7fb3
SP
117542013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11755
11756 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11757 powerpc mpa.c.
11758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11759 comment formatting.
11760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11761
92945b52
JM
117622013-02-19 Joseph Myers <joseph@codesourcery.com>
11763
11764 [BZ #13550]
11765 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11766 Remove macro.
11767 (ENTER): Remove both macro definitions.
11768 (LEAVE): Likewise.
11769 (CHECK_BOUNDS_LOW): Likewise.
11770 (CHECK_BOUNDS_HIGH): Likewise.
11771 (CHECK_BOUNDS_BOTH): Likewise.
11772 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11773 (RETURN_BOUNDED_POINTER): Likewise.
11774 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11775 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11776 (POP_ERRNO_LOCATION_RETURN): Likewise.
11777 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11778 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11779 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11780 macros.
11781 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11782 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11783 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11784 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11785 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11786 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11787 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11788 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11789 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11790 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11791 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11792 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11793 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11794 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11795 removed macros.
11796 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11797 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11798 macros.
11799 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11800 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11801 * sysdeps/i386/i586/memset.S (memset): Likewise.
11802 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11803 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11804 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11805 macros.
11806 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11807 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11808 Change uses of L(2) to L(out).
11809 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11810 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11811 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11812 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11813 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11814 removed macros.
11815 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11816 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11817 macros.
11818 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11819 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11820 (RETURN): Do not use macro LEAVE.
11821 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11822 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11823 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11824 * sysdeps/i386/i686/memset.S (memset): Likewise.
11825 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11826 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11827 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11828 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11829 Likewise.
11830 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11831 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11832 L(1_2) and L(1_3) into L(1).
11833 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11834 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11835 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11836 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11837 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11838 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11839 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11840 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11841 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11842 macros.
11843 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11844 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11845 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11846 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11847 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11848 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11849 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11850 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11851 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11852 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11853 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11854 * sysdeps/i386/strspn.S (strspn): Likewise.
11855 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11856 conditional code.
11857 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11858 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11859 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11860 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11861 L(1_3) into L(1_1).
11862 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11863 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11864 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11865 macros.
11866 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11867
2389741a
JJ
118682013-02-19 Jakub Jelinek <jakub@redhat.com>
11869
11870 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11871 macro.
11872
2016b3cd
SP
118732013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11874
e4f22324
SP
11875 * math/atest-exp.c (exp_mpn): Remove ROUND.
11876 * math/atest-exp2.c (exp_mpn): Likewise.
11877 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11878
2016b3cd
SP
11879 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11880 * stdlib/tst-tls-atexit-lib.c: Likewise.
11881 * stdlib/tst-tls-atexit.c: Likewise.
11882
4be9b544
MF
118832013-02-18 Mike Frysinger <vapier@gentoo.org>
11884
11885 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11886 and __attribute_alloc_size__.
11887
2f62b9ee
MF
118882013-02-18 Mike Frysinger <vapier@gentoo.org>
11889
11890 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11891 __attribute_alloc_size__.
11892 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11893 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11894
6ff444c4
MF
118952013-02-18 Mike Frysinger <vapier@gentoo.org>
11896
11897 * include/programs/xmalloc.h: New file.
11898 * catgets/gencat.c: Include it.
11899 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11900 * elf/pldd.c: Likewise.
11901 * iconv/iconv_charmap.c: Likewise.
11902 * iconv/iconvconfig.c: Likewise.
11903 * iconv/strtab.c: Likewise.
11904 * locale/programs/locale.c: Likewise.
11905 * locale/programs/localedef.h: Likewise.
11906 * locale/programs/simple-hash.c: Likewise.
11907 * nscd/nscd.h: Likewise.
11908 * nss/makedb.c: Likewise.
11909 * sysdeps/generic/ldconfig.h: Likewise.
11910
be179c8a
SP
119112013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11912
ba384f6e
SP
11913 * Versions.def: Add GLIBC_2.18.
11914 * include/link.h (struct link_map): New member l_tls_dtor_count.
11915 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11916 (__call_tls_dtors): Likewise.
11917 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11918 __cxa_thread_atexit_impl.
11919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11920 Likewise.
11921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11922 Likewise.
11923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11924 Likewise.
11925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11926 Likewise.
11927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11929 Likewise.
11930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11931 Likewise.
11932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11934 Likewise.
11935 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11936 (tests): Add test case tst-tls-atexit.
11937 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11938 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11939 (GLIBC_PRIVATE): Add __call_tls_dtors.
11940 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11941 for libstdc++.
11942 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11943 * stdlib/tst-tls-atexit.c: New test case.
11944 * stdlib/tst-tls-atexit-lib.c: New test case.
11945
ffaa74cf 11946 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11947
be179c8a
SP
11948 * elf/Versions (ld): Add _dl_find_dso_for_object.
11949 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11950 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11951 (dl_open_worker): Use _dl_find_dso_for_object.
11952 * elf/dl-sym.c (do_sym): Likewise.
11953 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11954
f78b5caa
AK
119552013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11956
11957 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11958 Syntactic changes only.
11959 (_dl_runtime_profile): Do a tail-call to the resolved function.
11960
29691210
JM
119612013-02-17 Joseph Myers <joseph@codesourcery.com>
11962
11963 [BZ #13550]
11964 * sysdeps/x86_64/bp-asm.h: Remove file.
11965 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11966 <bp-sym.h> and <bp-asm.h>.
11967 (__clone): Do not use BP_SYM.
11968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11969 <bp-sym.h> and <bp-asm.h>.
11970 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11971 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11972 "bp-asm.h".
11973 (_setjmp): Do not use BP_SYM.
11974 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11975 "bp-asm.h".
11976 (setjmp): Do not use BP_SYM.
11977 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11978 libc_hidden_def.
11979 (mempcpy): Do not use BP_SYM in weak_alias.
11980 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11981 "bp-asm.h".
11982 (strchr): Do not use BP_SYM.
11983 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11984 "bp-asm.h".
11985 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11986 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11987 (_start): Do not use BP_SYM.
11988 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11989 "bp-asm.h".
11990 (strcat): Do not use BP_SYM.
11991 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11992 "bp-asm.h".
11993 (STRCMP): Do not use BP_SYM.
11994 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11995 "bp-asm.h".
11996 (STRCPY): Do not use BP_SYM.
11997 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11998 "bp-asm.h".
11999 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12000 "bp-asm.h".
12001 (FUNCTION): Do not use BP_SYM.
12002 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12003 weak_alias.
12004 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12005
f238fd19
AJ
120062013-02-17 Andreas Jaeger <aj@suse.de>
12007
12008 * time/Versions: Sort entries.
12009 * string/Versions: Likewise.
12010 * resolv/Versions: Likewise.
12011 * posix/Versions: Likewise.
12012 * iconv/Versions: Likewise.
12013 * elf/Versions: Likewise.
12014 * wcsmbs/Versions: Likewise.
12015
bd07f23c 120162013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12017
22af19f9
SP
12018 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12019 loop termination condition.
12020
4709fe76
SP
12021 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12022 variable to calculate EZ.
12023 (__sqr): Likewise.
2d0e0f29
SP
12024
12025 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12026 the lower precision input.
12027
daaa7713
JM
120282013-02-15 Joseph Myers <joseph@codesourcery.com>
12029
12030 [BZ #13550]
12031 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12032 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12033 (run-via-rtld-prefix): Do not handle %-bp tests.
12034 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12035 (all-object-suffixes): Remove .ob.
12036 (bppfx): Remove variable.
12037 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12038 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12039 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12040 [$(build-bounded) = yes] (libtype.ob): Likewise.
12041 * Makerules (elide-routines.ob): Remove variable.
12042 (do-tests-clean): Do not handle *-bp.out.
12043 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12044 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12045 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12046 (tests): Do not include $(tests-bp.out).
12047 (xtests): Do not include $(xtests-bp.out).
12048 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12049 [$(build-bounded) = yes] ($(addprefix
12050 $(objpfx),$(binaries-bounded))): Remove rule.
12051 ($(objpfx)%-bp.out): Remove rule.
12052 * config.make.in (build-bounded): Remove variable.
12053 * crypt/Makefile [$(build-bounded) = yes]
12054 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12055 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12056 append to variable.
12057 [$(build-bounded) = yes] (install-lib): Likewise.
12058 [$(build-bounded) = yes] (generated): Likewise.
12059 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12060 Remove rule.
12061 * intl/Makefile [$(build-bounded) = yes]
12062 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12063 * math/Makefile [$(build-bounded) = yes]
12064 ($(tests:%=$(objpfx)%-bp): Likewise.
12065 * misc/Makefile [$(build-bounded) = yes]
12066 ($(objpfx)tst-tsearch-bp): Likewise.
12067 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12068 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12069 Remove dependency.
12070 * string/Makefile (o-objects.ob): Remove variable.
12071 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12072 (CFLAGS-.ob): Remove variable.
12073 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12074 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12075 both definitions of variable.
12076 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12077 (ASFLAGS-.ob): Remove variable.
12078
e97ed6dd
JM
120792013-02-14 Joseph Myers <joseph@codesourcery.com>
12080
2bdd4ca6
JM
12081 [BZ #13550]
12082 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12083 Remove __BOUNDED_POINTERS__ from condition.
12084 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12085 * string/bits/string2.h [!__NO_STRING_INLINES &&
12086 !__BOUNDED_POINTERS__]: Likewise.
12087 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12088 Likewise.
12089 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12090 Remove conditional code.
12091 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12092 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12093 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12094 condition.
12095
e97ed6dd
JM
12096 [BZ #13550]
12097 * csu/libc-start.c: Do not include <bp-sym.h>.
12098 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12099 * elf/dl-open.c: Do not include <bp-sym.h>.
12100 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12101 * math/fegetenv.c: Do not include <bp-sym.h>.
12102 (fegetenv): Do not use BP_SYM in versioned symbols.
12103 * nptl/sysdeps/pthread/bits/libc-lockP.h
12104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12105 <bp-sym.h>.
12106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12107 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12109 (__pthread_mutex_destroy): Likewise.
12110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12111 (__pthread_mutex_lock): Likewise.
12112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12113 (__pthread_mutex_trylock): Likewise.
12114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12115 (__pthread_mutex_unlock): Likewise.
12116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12117 (__pthread_mutexattr_init): Likewise.
12118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12119 (__pthread_mutexattr_destroy): Likewise.
12120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12121 (__pthread_mutexattr_settype): Likewise.
12122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12123 (__pthread_rwlock_init): Likewise.
12124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12125 (__pthread_rwlock_destroy): Likewise.
12126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12127 (__pthread_rwlock_rdlock): Likewise.
12128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12129 (__pthread_rwlock_tryrdlock): Likewise.
12130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12131 (__pthread_rwlock_wrlock): Likewise.
12132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12133 (__pthread_rwlock_trywrlock): Likewise.
12134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12135 (__pthread_rwlock_unlock): Likewise.
12136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12137 (__pthread_key_create): Likewise.
12138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12139 (__pthread_setspecific): Likewise.
12140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12141 (__pthread_getspecific): Likewise.
12142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12143 Likewise.
12144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12145 (_pthread_cleanup_push_defer): Likewise.
12146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12147 (_pthread_cleanup_pop_restore): Likewise.
12148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12149 (pthread_setcancelstate): Likewise.
12150 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12151 <bp-sym.h>.
12152 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12153 (memchr): Do not use BP_SYM in weak_alias.
12154 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12155 (fegetenv): Do not use BP_SYM in versioned symbols.
12156 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12157 (fesetenv): Do not use BP_SYM in versioned symbols.
12158 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12159 (feupdateenv): Do not use BP_SYM in versioned symbols.
12160 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12161 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12162 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12163 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12164 (open64): Do not use BP_SYM in weak_alias.
12165 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12166 (fegetenv): Do not use BP_SYM in versioned symbols.
12167 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12168 (fesetenv): Do not use BP_SYM in versioned symbols.
12169 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12170 (feupdateenv): Do not use BP_SYM in versioned symbols.
12171 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12172 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12173 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12174 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12175 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12176 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12177 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12178 <bp-sym.h>.
12179 (__libc_start_main): Do not use BP_SYM.
12180
d6752ccd
SP
121812013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12182
cb57ce60
SP
12183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12184 redundant return line.
12185 (norm): Likewise.
12186 (denorm): Likewise.
12187 (dbl_mp): Likewise.
12188 (sub_magnitudes): Likewise.
12189 (__add): Likewise.
12190 (__sub): Likewise.
12191 (__mul): Likewise.
12192 (__inv): Likewise.
12193 (__dvd): Likewise.
12194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12195 (norm): Likewise.
12196 (denorm): Likewise.
12197 (dbl_mp): Likewise.
12198 (sub_magnitudes): Likewise.
12199 (__add): Likewise.
12200 (__sub): Likewise.
12201 (__mul): Likewise.
12202 (__inv): Likewise.
12203 (__dvd): Likewise.
12204
f414520d
SP
12205 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12206 instead of __mul.
12207 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12208 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12209 (cc32): Likewise.
12210
d6752ccd
SP
12211 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12212 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12214 of __mul for squares.
12215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12216 function
12217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12218 Likewise.
12219 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12220 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12221
70d9946a
JM
122222013-02-13 Joseph Myers <joseph@codesourcery.com>
12223
12224 [BZ #13550]
12225 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12226 code.
12227 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12228 prototype or function definition. Rename ubp_* variables and
12229 parameters. Remove argv definitions conditional on
12230 [__BOUNDED_POINTERS__].
12231 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12232 * elf/dl-runtime.c (_dl_fixup): Likewise.
12233 * include/set-hooks.h (RUN_HOOK): Likewise.
12234 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12235 definition.
12236 * string/strcpy.c (strcpy): Do not use __unbounded.
12237 * sysdeps/generic/frame.h (struct layout): Likewise.
12238 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12239 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12240 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12241 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12242 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12243 (__backtrace): Likewise.
12244 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12245 use __ptrvalue.
12246 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12247 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12248 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12249 Likewise.
12250 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12251 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12252 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12253 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12254 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12255 Do not use __unbounded.
12256 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12257 Rename __unboundedrlimits parameter to rlimits in prototype.
12258 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12259 Do not use __unbounded.
12260 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12261 not use __ptrvalue.
12262 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12263 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12264 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12265 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12266 __ptrvalue or __unbounded.
12267 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12268 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12269 use __unbounded.
12270 (__new_msgctl): Do not use __ptrvalue.
12271 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12272 __unbounded.
12273 (__libc_msgrcv): Do not use __ptrvalue.
12274 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12275 startup_info): Do not use __unbounded.
12276 (__libc_start_main): Likewise. Rename ubp_* variables and
12277 parameters. Remove argv definitions conditional on
12278 [__BOUNDED_POINTERS__].
12279 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12280 __ptrvalue.
12281 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12282 use __unbounded.
12283 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12284 or __ptrvalue.
12285 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12286 use __unbounded.
12287 (__new_shmctl): Do not use __ptrvalue.
12288 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12289 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12290 Likewise.
12291 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12292 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12293 (__libc_sigaction): Likewise.
12294 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12295 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12296 Likewise.
12297 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12298
cc7834d6
OB
122992013-02-13 Ondřej Bílka <neleai@seznam.cz>
12300
ffb1ec7b 12301 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12302
12303 * string/mempcpy.c: Implement by calling memcpy.
12304
bdf02814
SP
123052013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12306
c2af38aa
SP
12307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12308
4e92d59e
SP
12309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12310 evaluation.
12311
909279a5
SP
12312 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12313 values in the mantissa.
12314
bdf02814
SP
12315 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12316 minimize writes to Z.
12317 (sub_magnitudes): Simplify code a bit.
12318
cd525923
RM
123192013-02-12 Roland McGrath <roland@hack.frob.com>
12320
12321 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12322 from the message. The linker prefixes all warnings with that already.
12323
7e2f0d2d
AS
123242013-02-12 Andreas Schwab <schwab@suse.de>
12325
a445af0b
AS
12326 [BZ #15078]
12327 * posix/regexec.c (extend_buffers): Add parameter min_len.
12328 (check_matching): Pass minimum needed length.
12329 (clean_state_log_if_needed): Likewise.
12330 (get_subexp): Likewise.
12331 * posix/Makefile (tests): Add bug-regex34.
12332 (bug-regex34-ENV): Define.
12333 * posix/bug-regex34.c: New file.
12334
7e2f0d2d
AS
12335 [BZ #11561]
12336 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12337 elements compare against the byte sequence of it, not its name.
12338 * posix/Makefile (tests): Add bug-regex35.
12339 (bug-regex35-ENV): Define.
12340 * posix/bug-regex35.c: New file.
12341
a175b684
TV
123422013-02-11 Tom de Vries <tom@codesourcery.com>
12343
12344 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12345 comment.
12346 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12347 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12348 (CHECK_EOL): Add undef.
12349
310998fe 123502013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12351
12352 * bits/stdlib-bsearch.h: New file.
12353 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12354 * stdlib/stdlib.h: Likewise.
41eda41d 12355
8ded91fb
RM
123562013-02-11 Roland McGrath <roland@hack.frob.com>
12357
12358 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12359 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12360 declaration.
12361 * manual/search.texi (Array Search Function): Add missing const in
12362 lfind prototype.
12363 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12364 declaration to use rlim_t.
12365 (Basic Scheduling Functions): Remove erroneous const from
12366 sched_getparam prototype. Remove erroneous * from
12367 sched_get_priority_max and sched_get_priority_min prototypes.
12368 (Resource Usage): Fix summary @comment on vtimes to refer to
12369 sys/vtimes.h rather than vtimes.h.
12370 Add missing *s in vtimes prototype.
12371 (Limits on Resources): Fix ulimit prototype to return long int.
12372 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12373 prototypes to use long int rather than double.
12374 (BSD Random): Fix initstate and setstate to use char *, not void *.
12375 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12376 prototype to make second argument 'struct aiocb64 *const[]'.
12377 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12378 (Status of AIO Operations): Remove erroneous const in aio_return and
12379 aio_return64 prototypes.
12380 (Synchronizing I/O): Fix sync prototype to return void.
12381 * manual/startup.texi (Suboptions): Remove an erroneous const in
12382 getsubopt prototype.
12383 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12384 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12385 use size_t rather than int.
12386 (Scanning All Users): Likewise for getpwent_r.
12387 (Setting Groups): Add missing const to setgroups prototype.
12388 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12389 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12390 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12391 'const void *' rather than 'const char *'.
12392 (Host Address Functions): Likewise for inet_ntop.
12393 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12394 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12395 ssize_t for return value.
12396 (Sending Data): Likewise for send, sendto, sendmsg.
12397 (Socket Option Functions): Add a missing const in setsockopt prototype.
12398 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12399 use wchar_t for the argument.
12400 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12401 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12402 take no arguments.
12403 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12404 double/float/long double for second argument.
12405 Fix return types of significand, significandf, significandl.
12406 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12407 argument in fchmod prototype.
12408 (File Owner): Use uid_t and gid_t in fchown prototype.
12409 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12410 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12411 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12412 use 'const struct dirent **' as argument types to CMP function pointer
12413 argument.
12414 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12415 (File Times): Fix summary magic @comment for struct utimbuf and utime
12416 to refer to utime.h, not time.h.
12417 * manual/string.texi (Argz Functions): Add missing const in
12418 argz_extract and argz_next prototypes.
12419 (Finding Tokens in a String): Likewise for basename.
12420 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12421 (Copying and Concatenation): Fix typo in wmemmove prototype.
12422 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12423 (Signal Stack): Remove erroneous const in sigstack prototype.
12424 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12425 prototype.
12426 (Simple Calendar Time): Likewise for stime.
12427 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12428 prototype.
12429 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12430 say sys/sysctl.h instead.
12431 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12432 and vsyslog prototypes.
12433
fe77fe6d
TV
124342013-02-11 Tom de Vries <tom@codesourcery.com>
12435
12436 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12437 Remove.
12438
3a09b620
RM
124392013-02-11 Roland McGrath <roland@hack.frob.com>
12440
12441 * misc/sys/mman.h: Fix typo in mremap comment.
12442
550a0b89
RM
124432013-02-08 Roland McGrath <roland@hack.frob.com>
12444
12445 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12446 the '\0' terminator.
12447
a2da1673
JM
124482013-02-08 Joseph Myers <joseph@codesourcery.com>
12449
12450 [BZ #13550]
12451 * debug/segfault.c: Don't include <bp-checks.h>.
12452 * sysdeps/generic/bp-checks.h: Remove file.
12453 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12454 (__GETDENTS): Don't use CHECK_N.
12455 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12456 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12457 (__getgroups): Don't use CHECK_N.
12458 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12459 (setgroups): Don't use CHECK_N.
12460 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12461 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12462 (__libc_msgrcv): Don't use CHECK_N.
12463 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12464 (__libc_msgsnd): Don't use CHECK_N.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12466 <bp-checks.h>.
12467 (__libc_pread): Don't use CHECK_N.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12469 include <bp-checks.h>.
12470 (__libc_pread64): Don't use CHECK_N.
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12472 include <bp-checks.h>.
12473 (__libc_pwrite): Don't use CHECK_N.
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12475 include <bp-checks.h>.
12476 (__libc_pwrite64): Don't use CHECK_N.
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12478 <bp-checks.h>.
12479 (__libc_pread): Don't use CHECK_N.
12480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12481 include <bp-checks.h>.
12482 (__libc_pread64): Don't use CHECK_N.
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12484 include <bp-checks.h>.
12485 (__libc_pwrite): Don't use CHECK_N.
12486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12487 include <bp-checks.h>.
12488 (__libc_pwrite64): Don't use CHECK_N.
12489 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12490 (do_pread): Don't use CHECK_N.
12491 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12492 (do_pread64): Don't use CHECK_N.
12493 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12494 (do_pwrite): Don't use CHECK_N.
12495 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12496 (do_pwrite64): Don't use CHECK_N.
12497 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12498 (__libc_readv): Don't use CHECK_N.
12499 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12500 (semop): Don't use CHECK_N.
12501 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12502 <bp-checks.h>.
12503 (semtimedop): Don't use CHECK_N.
12504 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12505 (__libc_pread): Don't use CHECK_N.
12506 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12507 <bp-checks.h>.
12508 (__libc_pread64): Don't use CHECK_N.
12509 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12510 <bp-checks.h>.
12511 (__libc_pwrite): Don't use CHECK_N.
12512 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12513 <bp-checks.h>.
12514 (__libc_pwrite64): Don't use CHECK_N.
12515 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12516 <bp-checks.h>.
12517 (__libc_msgrcv): Don't use CHECK_N.
12518 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12519 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12520 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12521 (__libc_writev): Don't use CHECK_N.
12522
b84660a8
RM
125232013-02-08 Roland McGrath <roland@hack.frob.com>
12524
7f3e75f8
RM
12525 * string/strcpy.c: Removed unused variable.
12526
b84660a8
RM
12527 * Makeconfig (+sysdep-includes): Define with := rather than =.
12528 Use an existing include/ subdir of each sysdeps dir before it.
12529
471514d3
CD
125302013-02-08 Carlos O'Donell <carlos@redhat.com>
12531
12532 * nscd/connection.c (register_traced_file): Comment function.
12533 [HAVE_INOTIFY] (union __inev): Define.
12534 [HAVE_INOTIFY] (inotify_check_files): New function.
12535 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12536 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12537 clear_db_cache.
12538 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12539
b2d3c3be
CD
125402013-02-08 Carlos O'Donell <carlos@redhat.com>
12541
12542 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12543 loaded if not already and that a failure is permanent.
12544
b39949d2
CD
125452013-02-08 Carlos O'Donell <carlos@redhat.com>
12546
ddacd1db 12547 [BZ #15006]
b39949d2
CD
12548 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12549 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12550
b2c9eff4
JM
125512013-02-08 Joseph Myers <joseph@codesourcery.com>
12552
f3aae3f3
JM
12553 [BZ #13550]
12554 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12555 (CHECK_1_NULL_OK): Likewise.
12556 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12557 (__fxstat): Do not use CHECK_1.
12558 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12559 <bp-checks.h>.
12560 (___fxstat64): Do not use CHECK_1.
12561 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12562 <bp-checks.h>.
12563 (__fxstatat): Do not use CHECK_1.
12564 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12565 <bp-checks.h>.
12566 (__fxstatat64): Do not use CHECK_1.
12567 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12568 <bp-checks.h>.
12569 (__fxstat): Do not use CHECK_1.
12570 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12571 <bp-checks.h>.
12572 (__fxstatat): Do not use CHECK_1.
12573 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12574 <bp-checks.h>.
12575 (__getresgid): Do not use CHECK_1.
12576 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12577 <bp-checks.h>.
12578 (__getresuid): Do not use CHECK_1.
12579 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12580 <bp-checks.h>.
12581 (__lxstat): Do not use CHECK_1.
12582 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12583 <bp-checks.h>.
12584 (__old_msgctl): Do not use CHECK_1.
12585 (__new_msgctl): Likewise.
12586 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12587 <bp-checks.h>.
12588 (__new_setrlimit): Do not use CHECK_1.
12589 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12590 <bp-checks.h>.
12591 (__old_shmctl): Do not use CHECK_1.
12592 (__new_shmctl): Likewise.
12593 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12594 <bp-checks.h>.
12595 (__xstat): Do not use CHECK_1.
12596 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12597 (__lxstat): Do not use CHECK_1.
12598 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12599 <bp-checks.h>.
12600 (___lxstat64): Do not use CHECK_1.
12601 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12602 (__old_msgctl): Do not use CHECK_1.
12603 (__new_msgctl): Likewise.
12604 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12605 <bp-checks.h>.
12606 (__gettimeofday): Do not use CHECK_1.
12607 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12608 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12609 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12610 <bp-checks.h>.
12611 (__gettimeofday): Do not use CHECK_1.
12612 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12613 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12614 (__new_shmctl): Do not use CHECK_1.
12615 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12616 <bp-checks.h>.
12617 (do_sigtimedwait): Do not use CHECK_1.
12618 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12619 <bp-checks.h>.
12620 (do_sigwaitinfo): Do not use CHECK_1.
12621 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12622 <bp-checks.h>.
12623 (msgctl): Do not use CHECK_1.
12624 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12625 <bp-checks.h>.
12626 (shmctl): Do not use CHECK_1.
12627 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12628 (ustat): Do not use CHECK_1.
12629 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12630 <bp-checks.h>.
12631 (__fxstat): Do not use CHECK_1.
12632 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12633 <bp-checks.h>.
12634 (__fxstatat): Do not use CHECK_1.
12635 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12636 <bp-checks.h>.
12637 (__lxstat): Do not use CHECK_1.
12638 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12639 <bp-checks.h>.
12640 (__xstat): Do not use CHECK_1.
12641 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12642 (__xstat): Do not use CHECK_1.
12643 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12644 (___xstat64): Do not use CHECK_1.
12645
b2c9eff4
JM
12646 [BZ #13550]
12647 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12648 definitions.
12649 (CHECK_BOUNDS_HIGH): Likewise.
12650 * string/strcpy.c: Do not include <bp-checks.h>.
12651 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12652
f1d70dad
RM
126532013-02-07 Roland McGrath <roland@hack.frob.com>
12654
12655 * nscd/nscd-client.h (__nscd_drop_map_ref):
12656 Add __attribute__ ((unused)).
12657 * nis/nss-nisplus.h (niserr2nss): Likewise.
12658
12659 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12660 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12661
12662 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12663 Remove inline keyword.
12664 * include/rounding-mode.h (round_away): Likewise.
12665 * libio/wfileops.c (adjust_wide_data): Likewise.
12666 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12667 (__m128i_strloadu_tolower): Likewise.
12668 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12669 (__m128i_strloadu_tolower): Likewise.
12670 * time/mktime.c (ydhms_diff): Likewise.
12671 * locale/elem-hash.h (elem_hash): Likewise.
12672 * locale/setlocale.c (setdata): Likewise.
12673 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12674 (re_string_wchar_at): Likewise.
12675 (bitset_not, bitset_merge, bitset_mask): Likewise.
12676 [!(__GNUC__ > 3)] (inline): Remove macro.
12677 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12678 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12679 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12680 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12681 * string/memcmp.c (memcmp_bytes): Likewise.
12682 * locale/programs/locarchive.c (compute_hashval): Likewise.
12683 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12684 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12685 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12686 * nss/getent.c (print_rpc, print_protocols): Likewise.
12687 (print_passwd, print_group, print_aliases): Likewise.
12688 * nis/nss-nisplus.h (niserr2nss): Likewise.
12689 * nscd/connections.c (restart_p): Likewise.
12690 Change return type to bool.
12691
eab55bfb
RM
126922013-02-05 Roland McGrath <roland@hack.frob.com>
12693
7bd642f5
RM
12694 * Makeconfig (all-Depend-files): Add existing
12695 $(sorted-subdirs:=/Depend) files.
12696 (all-subdirs): Remove nss.
12697 * sysdeps/unix/inet/Subdirs: Add it here instead.
12698 * hesiod/Depend: New file.
12699
573c29b2
RM
12700 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12701 instead of calling alloca.
12702
b2e25af0
RM
12703 * io/lseek.c (__lseek): Rename to __libc_lseek.
12704 Define __lseek as an alias.
12705
eab55bfb
RM
12706 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12707
9a0d1941
CD
127082013-02-04 Carlos O'Donell <carlos@redhat.com>
12709
12710 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12711 else clause and remove check for non-standard endianness.
12712
b83bbec4
DM
127132013-02-04 David S. Miller <davem@davemloft.net>
12714
12715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12716
6277fdab
JM
127172013-02-04 Joseph Myers <joseph@codesourcery.com>
12718
12719 [BZ #13550]
12720 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12721 (__ubp_memchr): Remove prototype.
12722 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12723 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12724 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12725 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12726 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12727 Remove alias.
12728 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12729 (__ubp_memchr): Likewise.
12730 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12731 (__ubp_memchr): Likewise.
12732 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12733 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12734 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12735 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12736 CHECK_STRING.
12737 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12738 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12739 (__getcwd): Do not use CHECK_STRING.
12740 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12741 <bp-checks.h>.
12742 (__real_chown): Do not use CHECK_STRING.
12743 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12744 <bp-checks.h>.
12745 (fchownat): Do not use CHECK_STRING.
12746 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12747 CHECK_STRING.
12748 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12749 <bp-checks.h>.
12750 (__lchown): Do not use CHECK_STRING.
12751 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12752 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12753 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12754 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12756 include <bp-checks.h>.
12757 (truncate64): Do not use CHECK_STRING.
12758 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12759 <bp-checks.h>.
12760 (__real_chown): Do not use CHECK_STRING.
12761 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12762 <bp-checks.h>.
12763 (__lchown): Do not use CHECK_STRING.
12764 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12765 <bp-checks.h>.
12766 (__chown): Do not use CHECK_STRING.
12767 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12768 <bp-checks.h>.
12769 (truncate64): Do not use CHECK_STRING.
12770 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12771 Likewise.
12772 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12773 (__xmknod): Do not use CHECK_STRING.
12774 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12775 <bp-checks.h>.
12776 (__xmknodat): Do not use CHECK_STRING.
12777 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12778 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12779
903ae060
AS
127802013-02-04 Andreas Schwab <schwab@suse.de>
12781
12782 [BZ #14142]
12783 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12784 * include/netdb.h: Likewise for h_errno.
12785 * elf/tst-stackguard1.c: Include <tls.h>.
12786
542f9466
JK
127872013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12788
12789 * elf/link.h (struct link_map): Extend the l_addr comment.
12790 * include/link.h (struct link_map): Likewise.
12791
e782a927
JM
127922013-02-01 Joseph Myers <joseph@codesourcery.com>
12793
12794 [BZ #13550]
12795 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12796 (BOUNDED_1): Remove macro.
12797 * debug/backtrace.c: Don't include <bp-checks.h>.
12798 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12799 (__backtrace): Likewise.
12800 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12801 <bp-checks.h>.
12802 (__backtrace): Don't use BOUNDED_1.
12803 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12804 <bp-checks.h>.
12805 (__backtrace): Don't use BOUNDED_1.
12806 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12807 (__backtrace): Don't use BOUNDED_1.
12808 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12809 (shmat): Don't use BOUNDED_N.
12810
8cf28c5e
JM
128112013-01-31 Joseph Myers <joseph@codesourcery.com>
12812
3a7ac8a0
JM
12813 [BZ #13550]
12814 * sysdeps/generic/bp-start.h: Remove file.
12815 * csu/libc-start.c: Don't include <bp-start.h>.
12816 (LIBC_START_MAIN): Set up __environ directly instead of using
12817 INIT_ARGV_and_ENVIRON.
12818 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12819 <bp-start.h>.
12820
f3499f95
JM
12821 [BZ #13550]
12822 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12823 definitions.
12824 (CHECK_FCNTL): Likewise.
12825 (CHECK_N_PAGES): Likewise.
12826
32a45bea
JM
12827 [BZ #13550]
12828 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12829 definitions.
12830 (CHECK_SIGSET_NULL_OK): Likewise.
12831 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12832 <bp-checks.h>.
12833 (sigpending): Don't use CHECK_SIGSET.
12834 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12835 <bp-checks.h>.
12836 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12837 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12838 <bp-checks.h>.
12839 (do_sigsuspend): Don't use CHECK_SIGSET.
12840 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12841 use CHECK_SIGSET.
12842 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12843 (do_sigwait): Don't use CHECK_SIGSET.
12844 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12845 use CHECK_SIGSET.
12846 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12847 include <bp-checks.h>.
12848 (sigpending): Don't use CHECK_SIGSET.
12849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12850 include <bp-checks.h>.
12851 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12852 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12853 <bp-checks.h>.
12854 (sigpending): Don't use CHECK_SIGSET.
12855 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12856 <bp-checks.h>.
12857 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12858
2e8a5c8c
JM
12859 [BZ #13550]
12860 * sysdeps/generic/bp-semctl.h: Remove file.
12861 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12862 <bp-checks.h> and <bp-semctl.h>.
12863 (__old_semctl): Don't use CHECK_SEMCTL.
12864 (__new_semctl): Likewise.
12865 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12866 and <bp-semctl.h>.
12867 (__old_semctl): Don't use CHECK_SEMCTL.
12868 (__new_semctl): Likewise.
12869 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12870 <bp-checks.h> and <bp-semctl.h>.
12871 (__old_semctl): Don't use CHECK_SEMCTL.
12872 (__new_semctl): Likewise.
12873 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12874 <bp-checks.h> and <bp-semctl.h>.
12875 (semctl): Don't use CHECK_SEMCTL.
12876
c2d54929
JM
12877 [BZ #13550]
12878 * Makerules (elide-bp-thunks): Remove variable.
12879 (elide-routines.oS): Don't use $(elide-bp-thunks).
12880 (elide-routines.os): Likewise.
12881 (elide-routines.o): Likewise.
12882 (elide-routines.op): Likewise.
12883 (elide-routines.og): Likewise.
12884 (objects): Don't use $(bp-thunks).
12885 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12886 include.
12887 (common-generated): Do not add s-proto-bp.d.
12888 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12889 (int): Likewise.
12890 (typ): Likewise.
12891 Do not generate makefile rules for bounded-pointer thunks.
12892 * sysdeps/generic/bp-thunks.h: Remove file.
12893 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12894 * sysdeps/unix/s-proto-bp.S: Likewise.
12895
8cf28c5e
JM
12896 [BZ #15062]
12897 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12898 parts of result separately when argument is not close to line from
12899 -i to i and one part of argument is small.
12900 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12901 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12902 * math/libm-test.inc (cacos_test): Add more tests.
12903 (casin_test): Likewise.
12904 (casinh_test): Likewise.
12905 * sysdeps/i386/fpu/libm-test-ulps: Update.
12906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12907
c4e33b8d
DM
129082013-01-31 David S. Miller <davem@davemloft.net>
12909
12910 * po/de.po: Update from translation team.
12911
3b60b421
MK
129122013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12913
12914 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12915
bb931195
TS
129162013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12917
b5a5da23
TS
12918 * configure.in (_AC_PROG_CC_C89): New definition.
12919 * configure: Regenerate.
12920
bb931195
TS
12921 * configure.in (AC_PROG_CPP): New definition.
12922 * configure: Regenerate.
12923
8c53a12c
JM
129242013-01-23 Joseph Myers <joseph@codesourcery.com>
12925
12926 * debug/tst-backtrace.h: New file.
12927 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12928 (ret): Remove variable.
12929 (x): Likewise.
12930 (FAIL): Remove macro.
12931 (NO_INLINE): Likewise.
12932 (fn1): Use match function instead of strstr.
12933 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12934 (ret): Remove variable.
12935 (x): Likewise.
12936 (FAIL): Remove macro.
12937 (NO_INLINE): Likewise.
12938 (fn): Use match function instead of strstr.
12939 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12940 (ret): Remove variable.
12941 (x): Likewise.
12942 (FAIL): Remove macro.
12943 (NO_INLINE): Likewise.
12944 (handle_signal): Use match function instead of strstr.
12945 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12946 (ret): Remove variable.
12947 (x): Likewise.
12948 (FAIL): Remove macro.
12949 (NO_INLINE): Likewise.
12950 (handle_signal): Use match function instead of strstr.
12951
4858fa2a
RM
129522013-01-23 Roland McGrath <roland@hack.frob.com>
12953
12954 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12955
bae8e7f5
DM
129562013-01-23 David S. Miller <davem@davemloft.net>
12957
12958 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12959 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12960 argument of CAS if possible.
12961 * sysdeps/sparc/sparc64/bits/atomic.h
12962 (__arch_compare_and_exchange_val_32_acq): Likewise.
12963 (__arch_compare_and_exchange_val_64_acq): Likewise.
12964
9cbbc4ae
PT
129652013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12966
12967 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12968 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12969 Include <limits.h>.
67b3f58c 12970 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12971
5655a0b5
AC
129722013-01-23 Adam Conrad <adconrad@0c3.net>
12973
12974 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12975 (LDFLAGS-tst-array5): Likewise.
12976
052aff95
JM
129772013-01-23 Joseph Myers <joseph@codesourcery.com>
12978
12979 [BZ #15036]
12980 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12981 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12982 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12983 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12984
7c1e01aa
DM
129852013-01-21 David S. Miller <davem@davemloft.net>
12986
12987 * sysdeps/sparc/backtrace.c: New file.
12988 * sysdeps/sparc/sparc32/backtrace.h: New file.
12989 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12990 * sysdeps/sparc/sparc64/backtrace.h: New file.
12991 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12992 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12993 -funwind-tables.
12994
ab087e0a
AS
129952013-01-21 Andreas Schwab <schwab@suse.de>
12996
12997 [BZ #15020]
12998 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12999 closed its stdout.
13000
ed689c2f
AS
130012013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13002
13003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13004 "mpa2.h".
13005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13006
31d470ac
JM
130072013-01-18 Joseph Myers <joseph@codesourcery.com>
13008 Mark Mitchell <mark@codesourcery.com>
13009 Tom de Vries <tom@codesourcery.com>
13010 Paul Pluzhnikov <ppluzhnikov@google.com>
13011
13012 * debug/tst-backtrace2.c: New file.
13013 * debug/tst-backtrace3.c: Likewise.
13014 * debug/tst-backtrace4.c: Likewise.
13015 * debug/tst-backtrace5.c: Likewise.
13016 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13017 (CFLAGS-tst-backtrace3.c): Likewise.
13018 (CFLAGS-tst-backtrace4.c): Likewise.
13019 (CFLAGS-tst-backtrace5.c): Likewise.
13020 (LDFLAGS-tst-backtrace2): Likewise.
13021 (LDFLAGS-tst-backtrace3): Likewise.
13022 (LDFLAGS-tst-backtrace4): Likewise.
13023 (LDFLAGS-tst-backtrace5): Likewise.
13024 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13025 tst-backtrace4 and tst-backtrace5.
13026
90567f30 130272013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13028 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13029
13030 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13031 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13032 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13033 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13035 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13036 "+r" and remove output regs list as redundant. Add explicit inline
13037 asm to specify register of return val to work around compiler codegen
13038 bug. Remove (int) cast on return value. Add return type parameter to
13039 use in macro so that this macro does not truncate return value for
13040 64-bit values.
13041 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13042 pass to INTERNAL_VSYSCALL_NCS.
13043 (INLINE_VSYSCALL): Add 'long int' as return type to
13044 INTERNAL_VSYSCALL_NCS macro invocation.
13045 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13046 INTERNAL_VSYSCALL_NCS macro invocation.
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13048
d3b9ea61
SP
130492013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13050
0b57daeb
SP
13051 [BZ #14496]
13052 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13053 Fix application of SIMD FP exception mask.
13054
caa99d06
SP
13055 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13056 mp_no from a power of two.
13057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13058 __mpexp_twomm1. Use __pow_mp.
13059
d3b9ea61
SP
13060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13061 multiplication.
13062
1dbaee3c
DM
130632013-01-17 David S. Miller <davem@davemloft.net>
13064
13065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13066
728d7b43
JM
130672013-01-17 Joseph Myers <joseph@codesourcery.com>
13068
13069 [BZ #15023]
13070 * include/complex.h: Condition contents on [!_COMPLEX_H].
13071 (__kernel_casinhf): New prototype.
13072 (__kernel_casinh): Likewise.
13073 (__kernel_casinhl): Likewise.
13074 * math/Makefile (libm_calls): Add k_casinh.
13075 * math/k_casinh.c: New file.
13076 * math/k_casinhf.c: Likewise.
13077 * math/k_casinhl.c: Likewise.
13078 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13079 finite nonzero arguments.
13080 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13081 finite nonzero arguments.
13082 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13083 finite nonzero arguments.
13084 * math/s_casinh.c: Do not include <float.h>.
13085 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13086 * math/s_casinhf.c: Do not include <float.h>.
13087 (__casinhf): Move code for finite nonzero arguments to
13088 k_casinhf.c.
13089 * math/s_casinhl.c: Do not include <float.h>.
13090 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13091 redefine.
13092 (__casinhl): Move code for finite nonzero arguments to
13093 k_casinhl.c.
13094 * math/libm-test.inc (cacos_test): Add more tests.
13095 * sysdeps/i386/fpu/libm-test-ulps: Update.
13096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13097
2a26ef3a
PT
130982013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13099
13100 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13101 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13102 [!HAVE_MREMAP]: Remove [defined linux] case.
13103 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13104
a897655d
SP
131052013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13106
13107 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13108
881ebe89 131092013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13110
13111 * elf/elf.h (R_386_SIZE32): New relocation.
13112 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13113 R_386_SIZE32.
13114 (elf_machine_rela): Likewise.
13115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13116 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13117
59981e9b
JM
131182013-01-17 Joseph Myers <joseph@codesourcery.com>
13119
13120 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13121 (FP_FAST_FMA): Do not define.
13122 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13123 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13124 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13125 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13126 !_SOFT_FLOAT]: Likewise.
13127 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13128 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13129 value.
13130 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13131 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13132 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13133 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13134 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13135 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13136 file.
13137
cfa8054f
AS
131382013-01-16 Andreas Schwab <schwab@suse.de>
13139
13140 [BZ #14327]
13141 * include/stdlib.h (__mktemp): Add declaration.
13142 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13143 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13144
dd930cc5
SP
131452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13146
881ebe89
SP
13147 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13148 definitions.
13149 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13150 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13151 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13152 definitions here.
13153 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13154 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13155 definitions.
13156 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13157 and ONE.
13158 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13159 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13160 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13161 definitions.
13162 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13163 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13164 definitions.
13165 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13166
dd930cc5
SP
13167 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13168
c19a9f89
DM
131692013-01-15 David S. Miller <davem@davemloft.net>
13170
1aa61767
DM
13171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13172 trunc{,f} to libm-sysdep_routes.
13173 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13175 file.
13176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13178 file.
13179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13180 file.
13181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13183 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13184 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13185 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13186 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13187 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13188 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13189
c42d5e98
DM
13190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13191 nearbyint{,f} to libm-sysdep_routes.
13192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13194 New file.
13195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13196 file.
13197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13198 New file.
13199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13200 file.
13201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13203 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13204 file.
13205 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13206 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13207 file.
13208 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13209 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13210 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13211
c19a9f89
DM
13212 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13213 libc_feholdexcept and libc_fesetenv.
13214
357679d2
MF
132152013-01-15 Mike Frysinger <vapier@gentoo.org>
13216
13217 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13218
65a82e3d
DM
132192013-01-14 David S. Miller <davem@davemloft.net>
13220
8b954ab9
DM
13221 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13222 (SPARC_ASM_VIS2_IFUNC): Likewise.
13223 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13225 use of 'siam' instruction.
13226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13227 Likewise.
13228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13229 Likewise.
13230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13231 Likewise.
13232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13237 file.
13238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13239 file.
13240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13241 file.
13242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13243 file.
13244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13249 new VIS2 routines.
13250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13253 Likewise.
13254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13259 routines to libm-sysdep_routines.
13260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13261
65a82e3d
DM
13262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13263 fdim/fdimf to libm-sysdep_routines.
13264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13265 file.
13266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13268 file.
13269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13272 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13273 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13274 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13275 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13276
e34ab705
SP
132772013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13278
2a91b573
SP
13279 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13280 to optimize copies.
13281
1066a534
SP
13282 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13285
e34ab705
SP
13286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13287 local variable MPTWO.
13288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13289 Likewise.
13290
aba5e596
MF
132912013-01-13 Mike Frysinger <vapier@gentoo.org>
13292
13293 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13294 GLOB_NOESCAPE.
13295
e557e9e5
MF
132962013-01-13 Mike Frysinger <vapier@gentoo.org>
13297
13298 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13299
0428cec9
MF
133002013-01-13 Mike Frysinger <vapier@gentoo.org>
13301
13302 * manual/pattern.texi (glob_t): Document gl_flags.
13303 (glob64_t): Likewise.
13304
8794a964
DM
133052013-01-11 David S. Miller <davem@davemloft.net>
13306
66438c3f
RM
13307 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13308 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13309 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13310 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13311 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13312 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13313 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13314 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13315 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13316 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13317 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13318 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13319 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13320
4ae4244d
DM
13321 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13322 sparc V9 rather than using V8 code.
13323 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13324 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13325
8794a964
DM
13326 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13327 Move to...
13328 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13329 Here.
13330
6270516e
RM
133312013-01-11 Roland McGrath <roland@hack.frob.com>
13332
13333 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13334 not in the main loop.
13335 * configure: Regenerated.
13336
6a57d931
JM
133372013-01-11 Joseph Myers <joseph@codesourcery.com>
13338
13339 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13340 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13341 to just #else.
13342 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13343 [!__GLIBC_HAVE_LONG_LONG] case.
13344 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13345 condition to just #else.
13346 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13347 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13348 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13349 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13350 unconditional.
13351 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13352 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13353 #elif condition to just #else.
13354 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13355 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13356 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13357 #elif condition to just #else.
13358
0e8529e9
SE
133592013-01-11 Steve Ellcey <sellcey@mips.com>
13360
13361 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13362 (EF_MIPS_ARCH_64): Fix value.
13363 (EF_MIPS_ARCH_32R2): New.
13364 (EF_MIPS_ARCH_64R2): New.
13365
740b3dbe
L
133662013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13367
13368 * Makeconfig (+link-pie-before-libc): New.
13369 (+link-pie-after-libc): Likewise.
13370 (+link-pie-tests): Likewise.
13371 (+link-pie): Rewritten.
13372 (link-before-libc): Remove $(config-LDFLAGS).
13373 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13374 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13375 (config-LDFLAGS): Renamed to ...
13376 (rtld-LDFLAGS): This.
13377 (rtld-tests-LDFLAGS): New macro.
13378 (link-libc-rpath-link): Likewise.
13379 (link-libc-tests-rpath-link): Likewise.
13380 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13381 (link-libc): Prepand $(link-libc-rpath-link).
13382 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13383 (test-program-prefix): New macro.
13384 (test-via-rtld-prefix): Likewise.
13385 (test-program-cmd): Likewise.
13386 (host-test-program-cmd): Likewise.
13387 * Makefile ($(common-objpfx)testrun.sh): Replace
13388 $(run-program-prefix) with $(test-program-prefix).
13389 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13390 $(rtld-LDFLAGS).
13391 ($(common-objpfx)shlib.lds): Likewise.
13392 (build-module-helper): Likewise.
13393 ($(common-objpfx)format.lds): Likewise.
13394 * Rules (binaries-pie-tests): New.
13395 (binaries-pie-notests): Likewise.
13396 (binaries-pie): Rewritten.
13397 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13398 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13399 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13400 (make-test-out): Replace $(host-built-program-cmd) with
13401 $(host-test-program-cmd).
13402 * config.make.in (build-hardcoded-path-in-tests): New variable.
13403 * configure.in (--enable-hardcoded-path-in-tests): New configure
13404 option.
13405 (hardcoded_path_in_tests): New AC_SUBST.
13406 * configure: Regenerated.
13407 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13408 $(built-program-cmd) with $(test-program-cmd).
13409 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13410 (test_program_cmd): This.
13411 * elf/Makefile ($(objpfx)order.out): Run test with
13412 $(test-program-prefix).
13413 ($(objpfx)order2.out): Likewise.
13414 ($(objpfx)tst-initorder.out): Likewise.
13415 ($(objpfx)tst-initorder2.out): Likewise.
13416 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13417 $(test-program-cmd).
13418 ($(objpfx)tst-array1-static.out): Likewise.
13419 ($(objpfx)tst-array2.out): Likewise.
13420 ($(objpfx)tst-array3.out): Likewise.
13421 ($(objpfx)tst-array4.out): Likewise.
13422 ($(objpfx)tst-array5.out): Likewise.
13423 ($(objpfx)tst-array5-static.out): Likewise.
13424 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13425 $(test-program-cmd).
13426 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13427 $(run-program-prefix) with $(test-program-prefix).
13428 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13429 (test_program_prefix): This.
13430 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13431 $(run-program-prefix) with $(test-program-prefix).
13432 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13433 (test_program_prefix): This.
13434 * iconvdata/tst-tables.sh: Likewise.
13435 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13436 $(run-program-prefix) with $(test-program-prefix).
13437 ($(objpfx)tst-translit.out): Likewise.
13438 ($(objpfx)tst-gettext2.out): Likewise.
13439 ($(objpfx)tst-gettext4.out): Likewise.
13440 ($(objpfx)tst-gettext6.out): Likewise.
13441 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13442 (test_program_prefix): This.
13443 * intl/tst-gettext2.sh: Likewise.
13444 * intl/tst-gettext4.sh Likewise.
13445 * intl/tst-gettext6.sh: Likewise.
13446 * intl/tst-translit.sh: Likewise.
13447 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13448 with $(test-program-cmd).
13449 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13450 $(run-program-prefix) with $(test-program-prefix).
13451 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13452 (test_program_prefix): This.
13453 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13454 $(run-program-prefix) with $(test-program-prefix).
13455 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13456 (test_program_prefix): This.
13457 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13458 * posix/Makefile ($(objpfx)globtest.out): Replace
13459 $(run-via-rtld-prefix) and $(test-wrapper) with
13460 $(test-program-prefix) and $(test-via-rtld-prefix).
13461 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13462 $(test-program-prefix).
13463 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13464 $(host-test-program-cmd).
13465 (tst-spawn-ARGS): Likewise.
13466 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13467 $(test-program-prefix).
13468 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13469 (test_via_rtld_prefix): This.
13470 (test_wrapper): Renamed to ...
13471 (test_program_prefix): This.
13472 (run_program_prefix): Replaced by test_program_prefix.
13473 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13474 (test_program_prefix): This.
13475 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13476 with $(host-test-program-cmd).
13477 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13478 $(run-program-prefix) with $(test-program-prefix).
13479 ($(objpfx)tst-printf.out): Likewise.
13480 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13481 $(test-program-cmd).
13482 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13483 (test_program_prefix): This.
13484 * stdio-common/tst-unbputc.sh: Likewise.
13485 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13486 $(run-program-prefix) with $(test-program-prefix).
13487 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13488 (test_program_prefix): This.
13489 * string/Makefile ($(objpfx)tst-svc.out): Replace
13490 $(built-program-cmd) with $(test-program-cmd).
13491
c6fe55cf
AJ
134922013-01-11 Andreas Jaeger <aj@suse.de>
13493
13494 [BZ #15003]
13495 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13496 value. Sync with Linux 3.7.
13497
9e6919c8
DM
134982013-01-10 David S. Miller <davem@davemloft.net>
13499
13500 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13501 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13502 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13503
1c9f1a02
RM
135042013-01-10 Roland McGrath <roland@hack.frob.com>
13505
13506 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13507 never set.
13508 * configure: Regenerated.
13509
b9de2dde
DM
135102013-01-10 David S. Miller <davem@davemloft.net>
13511
13512 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13513 sparc V9 rather than using V8 code.
13514 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13515 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13516
e7f68ef4
RM
135172013-01-10 Roland McGrath <roland@hack.frob.com>
13518
13519 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13520 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13521 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13522 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13523 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13524 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13525 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13526 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13527 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13528 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13529 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13530 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13531 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13532 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13533 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13534 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13535 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13536 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13537 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13538 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13539 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13540 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13541 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13542 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13543 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13544 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13545 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13546
5a47cc9c
DM
135472013-01-10 David S. Miller <davem@davemloft.net>
13548
13549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13550
4cf8f209
L
135512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13552
13553 * posix/Makefile (tests-static): New variable.
13554 (tests): Add $(tests-static).
13555 (tst-exec-static-ARGS): New variable.
13556 (tst-spawn-static-ARGS): Likewise.
13557 * posix/tst-exec-static.c: New file.
13558 * posix/tst-spawn-static.c: Likewise.
13559 * posix/tst-exec.c: Support run directly.
13560 * posix/tst-spawn.c: Likewise.
13561
fed0faa1
JM
135622013-01-10 Joseph Myers <joseph@codesourcery.com>
13563
828beb13
JM
13564 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13565 long.
13566 * math/bits/mathcalls.h (llrint): Likewise.
13567 (llround): Likewise.
13568 * stdlib/stdlib.h (struct drand48_data): Likewise.
13569 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13570 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13571 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13572 Likewise.
13573 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13574 Likewise.
13575 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13576 (elf_greg_t): Likewise.
13577 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13578 (__jmp_buf): Likewise.
13579 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13580 definitions.
13581 (llrint): Likewise, for all definitions.
13582 (llrintl): Likewise.
13583
fed0faa1
JM
13584 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13585 Remove [__GNUC__] condition.
13586 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13587 condition to just [__USE_ISOC99].
13588 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13589
1a20cb20
L
135902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13591
13592 [BZ #14200]
13593 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13594 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13595 defined.
13596 (_POSIX_V6_ILP32_OFF32): Likewise.
13597 (_XBS5_ILP32_OFF32): Likewise.
13598 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13599 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13600
751b85f7
SP
136012013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13602
7490eb81
SP
13603 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13604
751b85f7
SP
13605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13606 doubles __mpexp_twomm1. Adjust usage.
13607 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13608 Remove.
13609
988197f0
AS
136102013-01-10 Andreas Schwab <schwab@suse.de>
13611
13612 [BZ #14964]
13613 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13614 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13615
e83d7298
DM
136162013-01-09 David S. Miller <davem@davemloft.net>
13617
034ed64b 13618 [BZ #15003]
e83d7298
DM
13619 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13620 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13621 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13622 TCP_FASTOPEN): Define.
13623 (tcp_repair_opt): New structure.
13624 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13625 enum values.
13626 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13627 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13628 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13629 (tcp_cookie_transactions): New structure.
13630
d5e0b9bd
AB
136312013-01-09 Anton Blanchard <anton@samba.org>
13632
13633 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13634 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13635 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13636 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13637
0c07e3ea
JM
136382013-01-09 Joseph Myers <joseph@codesourcery.com>
13639
13640 * include/features.h (__USE_ANSI): Remove.
13641
232f7002
RM
136422013-01-09 Roland McGrath <roland@hack.frob.com>
13643
ad98e30c
RM
13644 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13645
232f7002
RM
13646 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13647
950c99ca
SP
136482013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13649
b5792741
SP
13650 * sysdeps/s390/fpu/libm-test-ulps: Update.
13651
47cf2278
SP
13652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13653
950c99ca
SP
13654 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13655 (__acr): Likewise.
13656 (__cpy): Likewise.
13657 (norm): Likewise.
13658 (denorm): Likewise.
13659 (__mp_dbl): Likewise.
13660 (__dbl_mp): Likewise.
13661 (add_magnitudes): Likewise.
13662 (sub_magnitudes): Likewise.
13663 (__add): Likewise.
13664 (__sub): Likewise.
13665 (__mul): Likewise.
13666 (__inv): Likewise.
13667 (__dvd): Likewise.
13668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13669 (__acr): Likewise.
13670 (__cpy): Likewise.
13671 (norm): Likewise.
13672 (denorm): Likewise.
13673 (__mp_dbl): Likewise.
13674 (__dbl_mp): Likewise.
13675 (add_magnitudes): Likewise.
13676 (sub_magnitudes): Likewise.
13677 (__add): Likewise.
13678 (__sub): Likewise.
13679 (__mul): Likewise.
13680 (__inv): Likewise.
13681 (__dvd): Likewise.
13682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13683 (__acr): Likewise.
13684 (__cpy): Likewise.
13685 (norm): Likewise.
13686 (denorm): Likewise.
13687 (__mp_dbl): Likewise.
13688 (__dbl_mp): Likewise.
13689 (add_magnitudes): Likewise.
13690 (sub_magnitudes): Likewise.
13691 (__add): Likewise.
13692 (__sub): Likewise.
13693 (__mul): Likewise.
13694 (__inv): Likewise.
13695 (__dvd): Likewise.
13696
eede9df9
JM
136972013-01-08 Joseph Myers <joseph@codesourcery.com>
13698
13699 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13700 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13701 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13702 2 && __USE_EXTERN_INLINES]: Likewise.
13703
c40ea3d9
AJ
137042013-01-08 Andreas Jaeger <aj@suse.de>
13705
13706 [BZ# 14985]
13707 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13708 Remove.
13709 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13710 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13711
2ccdea26
AB
137122013-01-07 Anton Blanchard <anton@samba.org>
13713
13714 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13715 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13716 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13717 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13718 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13719 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13720 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13721 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13723 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13724 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13725 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13726 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13727 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13728 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13729 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13730 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13731 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13732 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13733 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13734 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13735 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13737 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13738 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13739 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13740 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13741 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13743 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13744 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13746 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13747 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13748 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13749 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13750 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13751 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13752 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13753 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13754 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13755 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13756 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13757
a9708fed
JM
137582013-01-07 Joseph Myers <joseph@codesourcery.com>
13759
375607b9
JM
13760 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13761 (__MALLOC_PMT): Likewise.
13762 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13763 [__GNUC__], only on [_LIBC].
13764 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13765 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13766 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13767 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13768 forward declaration.
13769 (realloc_hook_ini): Likewise.
13770 (memalign_hook_ini): Likewise.
13771 (__libc_memalign): Do not use __MALLOC_PMT in variable
13772 declaration.
13773 (__libc_valloc): Likewise.
13774 (__libc_pvalloc): Likewise.
13775 (__libc_calloc): Likewise.
13776 (__posix_memalign): Likewise.
13777
a9708fed
JM
13778 [BZ #14996]
13779 * math/s_casinh.c: Include <float.h>.
13780 (__casinh): Do not do computation with squaring and square root
13781 for large arguments.
13782 * math/s_casinhf.c: Include <float.h>.
13783 (__casinhf): Do not do computation with squaring and square root
13784 for large arguments.
13785 * math/s_casinhl.c: Include <float.h>.
13786 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13787 (__casinhl): Do not do computation with squaring and square root
13788 for large arguments.
13789 * math/libm-test.inc (casin_test): Add more tests.
13790 (casinh_test): Likewise.
13791 * sysdeps/i386/fpu/libm-test-ulps: Update.
13792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13793
afec409a
L
137942013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13795
13796 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13797 (__x86_64_raw_data_cache_size): Likewise.
13798 (__x86_64_data_cache_size_half): Likewise.
13799 (__x86_64_raw_data_cache_size_half): Likewise.
13800 (__x86_64_shared_cache_size): Likewise.
13801 (__x86_64_raw_shared_cache_size): Likewise.
13802 (__x86_64_shared_cache_size_half): Likewise.
13803 (__x86_64_raw_shared_cache_size_half): Likewise.
13804 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13805 to ...
13806 (__x86_data_cache_size): This.
13807 (__x86_64_raw_data_cache_size): Renamed to ...
13808 (__x86_raw_data_cache_size): This.
13809 (__x86_64_data_cache_size_half): Renamed to ...
13810 (__x86_data_cache_size_half): This.
13811 (__x86_64_raw_data_cache_size_half): Renamed to ...
13812 (__x86_raw_data_cache_size_half): This.
13813 (__x86_64_shared_cache_size): Renamed to ...
13814 (__x86_shared_cache_size): This.
13815 (__x86_64_raw_shared_cache_size): Renamed to ...
13816 (__x86_raw_shared_cache_size): This.
13817 (__x86_64_shared_cache_size_half): Renamed to ...
13818 (__x86_shared_cache_size_half): This.
13819 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13820 (__x86_raw_shared_cache_size_half): This.
13821 * sysdeps/x86_64/memcpy.S: Updated.
13822 * sysdeps/x86_64/memset.S: Likewise.
13823 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13824 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13825 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13826
0b3986d0
DM
138272013-01-04 David S. Miller <davem@davemloft.net>
13828
13829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13830
e47686e9
AS
138312013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13832
d643bac1
AS
13833 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13834 1 to avoid redefinition warning.
13835 (__USE_GNU): Don't define.
13836 (init_signaling_nan): Protoize.
13837
e47686e9
AS
13838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13839
b18decba
SP
138402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13841
fffb407f
SP
13842 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13844 (__cpymn): Likewise.
13845 (norm): Remove commented code.
13846 (denorm): Likewise.
13847 (__mp_dbl): Likewise.
13848 (__inv): Likewise.
13849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13850 (__cpymn): Likewise.
13851 (norm): Remove commented code.
13852 (denorm): Likewise.
13853 (__mp_dbl): Likewise.
13854 (__inv): Likewise.
13855
b18decba
SP
13856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13857 mp_no value for 1.0 and 2.0.
13858 (norm): Use RADIXI instead of radixi.d.
13859 (denorm): Likewise.
13860 (__mul): Use 0.0 instead of zero.d.
13861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13862 mp_no value for 1.0 and 2.0.
13863 (norm): Use RADIXI instead of radixi.d.
13864 (denorm): Likewise.
13865 (__mul): Use 0.0 instead of zero.d.
13866
cdc1c96f
JM
138672013-01-04 Joseph Myers <joseph@codesourcery.com>
13868
13869 [BZ #14994]
13870 * math/s_casinh.c (__casinh): Reduce finite argument to first
13871 quadrant then set signs of results at the end.
13872 * math/s_casinhf.c (__casinhf): Likewise.
13873 * math/s_casinhl.c (__casinhl): Likewise.
13874 * math/libm-test.inc (casin_test): Add more tests.
13875 (casinh_test): Likewise.
13876 * sysdeps/i386/fpu/libm-test-ulps: Update.
13877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13878
302913e1
SP
138792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13880
6420d207
SP
13881 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13882
a9e48ab4
SP
13883 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13884
b7837264
SP
13885 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13886 declarations.
13887 (denorm): Likewise.
13888 (__mp_dbl): Likewise.
13889 (__inv): Likewise.
13890
f8af25d2
SP
13891 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13892 and adjust the header comment.
13893
302913e1
SP
13894 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13895 variable name from declaration.
13896
5d7dd1ca
L
138972013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13898
13899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13900 Initialize COMMON_CPUID_INDEX_7 element.
13901 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13902 (CPUID_RTM): Likewise.
13903 (HAS_RTM): Likewise.
13904 (COMMON_CPUID_INDEX_7): New enum.
13905
2f5f40f4
AS
139062013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13907
13908 [BZ #14981]
13909 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13910 size is zero, record memory as freed.
13911
4056f4a0
AJ
139122013-01-03 Andreas Jaeger <aj@suse.de>
13913
13914 * po/ia.po: Add new Interlingua translation.
13915
ab15736f 139162012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13917
13918 * locale/programs/localedef.c: Fix description of '--posix' flag.
13919
568035b7
JM
139202013-01-02 Joseph Myers <joseph@codesourcery.com>
13921
e6898b8d
JM
13922 * NEWS: Update dates in second copyright notice.
13923 * README: Update copyright dates in example.
13924 * manual/libc.texinfo: Update copyright dates.
13925 * scripts/test-installation.pl: Update copyright date in --version
13926 output.
13927
0e2f9562
JM
13928 * hurd/ctty-input.c: Fix copyright notice formatting.
13929 * hurd/ctty-output.c: Likewise.
13930 * hurd/dtable.c: Likewise.
13931 * hurd/hurd-raise.c: Likewise.
13932 * hurd/hurdprio.c: Likewise.
13933 * hurd/msgportdemux.c: Likewise.
13934 * misc/sys/file.h: Likewise.
13935 * misc/sys/ioctl.h: Likewise.
13936 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13937 * sysdeps/mach/hurd/chdir.c: Likewise.
13938 * sysdeps/mach/hurd/fchdir.c: Likewise.
13939 * sysdeps/mach/hurd/rename.c: Likewise.
13940 * sysdeps/mach/hurd/rmdir.c: Likewise.
13941 * sysdeps/mach/hurd/seekdir.c: Likewise.
13942 * sysdeps/mach/hurd/setsid.c: Likewise.
13943 * sysdeps/posix/wait3.c: Likewise.
13944
568035b7
JM
13945 * All files with FSF copyright notices: Update copyright dates
13946 using scripts/update-copyrights.
13947 * intl/plural.c: Regenerated.
13948 * locale/programs/charmap-kw.h: Likewise.
13949 * locale/programs/locfile-kw.h: Likewise.
13950
da08f647
SP
139512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13952
0f5477af
SP
13953 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13954 four values.
13955
44e0d4c2
SP
13956 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13957 calculation loop and add branch prediction.
13958
4d55b4e5
SP
13959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13960 check access beyond bounds of m1np.
13961
da08f647
SP
13962 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13963 MPTWO.
13964 (__inv): Remove local variable MPTWO to use the global
13965 constant.
13966 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13968 variable MPTWO.
13969 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13970 MP3HALFS static const.
13971
8e051029
DM
139722013-01-01 David S. Miller <davem@davemloft.net>
13973
13974 * po/ca.po: Update from translation team.
13975
f4cf5f2d
JM
139762013-01-01 Joseph Myers <joseph@codesourcery.com>
13977
13978 * scripts/update-copyrights: New file.
13979 * Makeconfig: Reformat copyright notice.
13980 * ctype/ctype.h: Likewise.
13981 * debug/swprintf_chk.c: Likewise.
13982 * elf/dl-cache.c: Likewise.
13983 * elf/dl-debug.c: Likewise.
13984 * elf/dl-object.c: Likewise.
13985 * grp/initgroups.c: Likewise.
13986 * hurd/Makefile: Likewise.
13987 * hurd/hurd/signal.h: Likewise.
13988 * hurd/hurdfault.c: Likewise.
13989 * hurd/hurdioctl.c: Likewise.
13990 * hurd/hurdlookup.c: Likewise.
13991 * hurd/intr-msg.c: Likewise.
13992 * iconv/gconv_open.c: Likewise.
13993 * libio/swprintf.c: Likewise.
13994 * locale/lc-ctype.c: Likewise.
13995 * locale/nl_langinfo.c: Likewise.
13996 * mach/Machrules: Likewise.
13997 * mach/Makefile: Likewise.
13998 * malloc/obstack.h: Likewise.
13999 * manual/Makefile: Likewise.
14000 * manual/tsort.awk: Likewise.
14001 * misc/bits/stab.def: Likewise.
14002 * nis/nis_print_group_entry.c: Likewise.
14003 * nis/nis_table.c: Likewise.
14004 * nis/nss_compat/compat-pwd.c: Likewise.
14005 * nis/nss_compat/compat-spwd.c: Likewise.
14006 * po/Makefile: Likewise.
14007 * posix/fnmatch.c: Likewise.
14008 * posix/regex.h: Likewise.
14009 * resolv/Makefile: Likewise.
14010 * resolv/nss_dns/dns-network.c: Likewise.
14011 * resolv/res_hconf.c: Likewise.
14012 * scripts/gen-sorted.awk: Likewise.
14013 * soft-fp/soft-fp.h: Likewise.
14014 * stdio-common/printf.h: Likewise.
14015 * stdlib/monetary.h: Likewise.
14016 * stdlib/random.c: Likewise.
14017 * stdlib/random_r.c: Likewise.
14018 * sysdeps/generic/Makefile: Likewise.
14019 * sysdeps/gnu/Makefile: Likewise.
14020 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14022 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14024 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14027 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14028 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14030 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14036 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14037 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14038 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14039 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14040 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14043 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14044 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14045 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14046 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14047 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14048 * sysdeps/mach/hurd/errnos.awk: Likewise.
14049 * sysdeps/mach/hurd/fork.c: Likewise.
14050 * sysdeps/mach/hurd/getcwd.c: Likewise.
14051 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14052 * sysdeps/mach/hurd/mmap.c: Likewise.
14053 * sysdeps/mach/hurd/utimes.c: Likewise.
14054 * sysdeps/mach/hurd/xmknod.c: Likewise.
14055 * sysdeps/posix/profil.c: Likewise.
14056 * sysdeps/posix/readdir_r.c: Likewise.
14057 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14058 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14059 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14060 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14062 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14063 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14064 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14066 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14067 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14068 * sysdeps/pthread/lio_listio.c: Likewise.
14069 * sysdeps/sparc/dl-procinfo.h: Likewise.
14070 * sysdeps/unix/i386/sysdep.S: Likewise.
14071 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14072 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14073 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14074 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14076 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14077 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14078 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14079 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14080 * sysdeps/wordsize-32/divdi3.c: Likewise.
14081 * time/sys/time.h: Likewise.
14082 * wcsmbs/Makefile: Likewise.
14083
0549fbba
DM
140842013-01-01 David S. Miller <davem@davemloft.net>
14085
a141f1a7
DM
14086 * po/fr.po: Update from translation team.
14087
0549fbba
DM
14088 * catgets/gencat.c: Update copyright year.
14089 * csu/version.c: Likewise.
14090 * debug/catchsegv.sh: Likewise.
14091 * debug/pcprofiledump.c: Likewise.
14092 * debug/xtrace.sh: Likewise.
14093 * elf/ldconfig.c: Likewise.
14094 * elf/ldd.bash.in: Likewise.
14095 * elf/pldd.c: Likewise.
14096 * elf/sotruss.ksh: Likewise.
14097 * elf/sprof.c: Likewise.
14098 * iconv/iconv_prog.c: Likewise.
14099 * iconv/iconvconfig.c: Likewise.
14100 * locale/programs/locale.c: Likewise.
14101 * locale/programs/localedef.c: Likewise.
14102 * login/programs/pt_chown.c: Likewise.
14103 * malloc/memusage.sh: Likewise.
14104 * malloc/memusagestat.c: Likewise.
14105 * malloc/mtrace.pl: Likewise.
14106 * nscd/nscd.c: Likewise.
14107 * nss/getent.c: Likewise.
14108 * nss/makedb.c: Likewise.
14109 * posix/getconf.c: Likewise.
14110
18ea052c
SP
141112012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14112
14113 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14114 numbers.
14115
9c89fca6
MF
141162012-12-30 Mike Frysinger <vapier@gentoo.org>
14117
14118 * math/bits/mathcalls.h (modf): Use __nonnull.
14119
085ec079
SP
141202012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14121
14122 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14123 (split): Use macro CN instead of the bare value.
14124 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14125 could be used.
14126 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14127 instead of the bare value.
14128 (power1): Likewise.
14129
6d9f97e1
SP
141302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14131
d63f73be
SP
14132 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14133 __ATAN_TWOM.
14134 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14135
6d9f97e1
SP
14136 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14137 their values.
14138 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14139 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14140 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14141 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14142
4c4febf5
AJ
141432012-12-28 Andreas Jaeger <aj@suse.de>
14144
af5843ef
AJ
14145 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14146 values are from Linux 3.7.
14147
4c4febf5
AJ
14148 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14149 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14150
99136f82
SP
141512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14152
2f216c3c 14153 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14154 TRUE case.
14155
99136f82
SP
14156 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14157 (norm): Likewise.
14158 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14159 variables with preprocessor constants.
14160 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14161 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14162 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14163
7fffbdff
BH
141642012-12-27 Bruno Haible <bruno@clisp.org>
14165
14166 [BZ #14317]
14167 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14168 only if needed.
14169
b76eb5f0
SP
141702012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14171
31a7fe5c
SP
14172 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14173 and use variable directly.
14174 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14175
b76eb5f0
SP
14176 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14177 MPONE.
14178 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14179 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14180 variable MPONE.
14181 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14183 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14184 include directive. Remove local variable MPONE.
14185 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14186 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14187 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14188
2c8bfe7d
DM
141892012-12-25 David S. Miller <davem@davemloft.net>
14190
14191 * version.h (RELEASE): Set to "development".
14192 (VERSION): Set to "2.17.90".
14193 * NEWS: Add 2.18 section.
14194
147d03b0
DM
141952012-12-21 David S. Miller <davem@davemloft.net>
14196
14197 * po/hr.po: Update from translation team.
14198
a8ebb2b9
AK
141992012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14200
14201 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14202
95b4f1b6
SE
142032012-12-19 Steve Ellcey <sellcey@mips.com>
14204
b2d94007 14205 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14206
cedb2a90
MS
142072012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14208
14209 * manual/contrib.texi (Contributors): Spelling correction.
14210
bbf527d6
DM
142112012-12-15 David S. Miller <davem@davemloft.net>
14212
14213 * po/ru.po: Update from translation team.
14214
bc38c906
DM
142152012-12-13 David S. Miller <davem@davemloft.net>
14216
85429b1a
DM
14217 * NEWS: Mention IFUNC testsuite enhancements.
14218
d283e353
DM
14219 * po/pl.po: Update from translation team.
14220 * po/bg.po: Likewise.
14221
bc38c906
DM
14222 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14223 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14224
a181b0d7
DM
142252012-12-11 David S. Miller <davem@davemloft.net>
14226
4641d57e
DM
14227 * po/sv.po: Update from translation team.
14228
f7bc6495
DM
14229 * po/vi.po: Update from translation team.
14230
6fc9048f
DM
14231 * po/cs.po: Update from translation team.
14232
a181b0d7
DM
14233 * po/de.po: Update from translation team.
14234 * po/eo.po: Likewise.
14235 * po/nl.po: Likewise.
14236
f70bfe80
SP
142372012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14238
3c8b4190
SP
14239 [BZ #14246]
14240 * manual/argp.texi (Argp Helper Functions): Move node to follow
14241 Argp Parsing State.
14242
f70bfe80
SP
14243 [BZ #14872]
14244 * manual/conf.texi (Limits on File System Capacity): Mention if
14245 terminating null is included in the max size.
14246
188f0adf
AJ
142472012-12-10 Andreas Jaeger <aj@suse.de>
14248
14249 * po/cs.po: Update from translation team.
14250
56e7d3ad
SP
142512012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14252
14253 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14254 void pointer and cast to uintptr_t.
14255 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14256 path.
14257 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14258 * sysdeps/s390/s390-64/memset.S: Likewise.
14259
76f2d2ea 142602012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14261
14262 [BZ #14833]
14263 * menual/message.texi (Message Translation): Fix typos.
14264 (Helper programs for gettext): Likewise.
14265
67cbf9a2
AS
142662012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14267
14268 [BZ #14898]
14269 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14270 Change to -1.
14271
682d0e9a
DM
142722012-12-07 David S. Miller <davem@davemloft.net>
14273
14274 * po/libc.pot: Update.
14275
573cd484
RH
142762012-12-07 Richard Henderson <rth@redhat.com>
14277
7e9da188 14278 [BZ #10114]
573cd484
RH
14279 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14280 normal/normal case to before the switch.
14281 (_FP_DIV): Likewise.
14282
e933a943
MF
142832012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14284 Mike Frysinger <vapier@gentoo.org>
14285
14286 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14287 check for __NR_fadvise64_64.
14288
82123268
CM
142892012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14290
14291 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14292 0, not just to plain "0" as a statement.
14293 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14294 with cw.
14295
d9814526
JM
142962012-12-06 Joseph Myers <joseph@codesourcery.com>
14297
14298 * NEWS: Use sourceware.org in Bugzilla URL.
14299
7728c574
SP
143002012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14301
f16946dd
SP
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14303 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14304
5704bbcb
SP
14305 * stdio-common/tst-put-error.c (do_test): Add newline to the
14306 padded test to ensure flush.
14307
17aa0516
JL
143082012-12-05 Jeff Law <law@redhat.com>
14309
14310 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14311
363313b5
JM
143122012-12-05 Joseph Myers <joseph@codesourcery.com>
14313
effbd42a
JM
14314 * README: Don't refer to ports add-on as distributed separately.
14315 Mention AArch64 in list of systems supported in the ports add-on.
14316
87600365
JM
14317 * LICENSES: Add more non-FSF copyright and license notices.
14318
a0d7066a
JM
14319 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14320 ((unused)).
14321
66ca5a5b
JM
14322 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14323
363313b5
JM
14324 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14325 10000 as width of padded output.
14326
b37984ad
JM
143272012-12-04 Joseph Myers <joseph@codesourcery.com>
14328
9003570a
JM
14329 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14330
b37984ad
JM
14331 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14332 variable LX with __attribute__ ((unused)).
14333 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14334 Likewise.
14335 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14336 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14338 with __attribute__ ((unused)).
14339
c8df52ec
DM
143402012-12-04 David S. Miller <davem@abraco.davemloft.net>
14341
14342 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14343
b3b099af
JM
143442012-12-04 Joseph Myers <joseph@codesourcery.com>
14345
c33aa6e3
JM
14346 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14347 (CFLAGS-nldbl-acos.c): New variable.
14348 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14349 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14350 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14351 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14352 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14353 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14354 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14355 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14356 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14357 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14358 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14359 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14360 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14361 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14362 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14363 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14364 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14365 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14366 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14367 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14368 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14369 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14370 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14371 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14372 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14373 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14374 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14375 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14376 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14377 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14378 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14379 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14380 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14381 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14382 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14383 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14384 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14385 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14386 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14387 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14388 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14389 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14390 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14391 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14392 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14393 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14394 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14395 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14396 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14397 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14398 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14399 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14400 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14401 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14402 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14403 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14404 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14405 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14406 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14407 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14408 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14409 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14410 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14411 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14412 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14413 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14414 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14415 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14416 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14417 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14418 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14419 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14420 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14421 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14422 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14423 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14424 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14425 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14426 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14427 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14428 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14429 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14430 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14431 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14432 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14433 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14434 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14435 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14436 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14437 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14438 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14439 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14440 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14441 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14442 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14443 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14444 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14445
20f0018d
JM
14446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14447 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14448
b3b099af
JM
14449 [BZ #14914]
14450 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14451 whole low double instead of just low 47 bits when splitting values
14452 into two parts.
14453
029264d1
AM
144542012-12-03 Allan McRae <allan@archlinux.org>
14455
14456 * manual/stdio.texi (Predefined Printf Handlers): Remove
14457 @hsep and @vsep usage.
14458
c9d6789e
MF
144592012-12-03 Mike Frysinger <vapier@gentoo.org>
14460
14461 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14462 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14463
4b7634a5
JL
144642012-12-03 Jeff Law <law@redhat.com>
14465
14466 * time/sys/time.h (settimeofday): Do not mark TV argument
14467 as __nonnull.
14468
eb6cbd24
MF
144692012-12-01 Mike Frysinger <vapier@gentoo.org>
14470
14471 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14472 when currently writing and seek to current position when not.
14473 * libio/Makefile (tests): Remove bug-fclose1.
14474 * libio/bug-fclose1.c: Delete.
14475
f638872a
JM
144762012-12-01 Joseph Myers <joseph@codesourcery.com>
14477
14478 * manual/arith.texi (feenableexcept): Fix typo.
14479 (fedisableexcept): Likewise.
14480
48085d14
RM
144812012-11-30 Roland McGrath <roland@hack.frob.com>
14482
14483 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14484 second, differently-typed declaration, rather than a cast.
14485
1a538b9f
SP
144862012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14487
14488 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14489 * include/rpc/svc.h: ... here.
14490
d07f2ff1 144912012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14492
14493 [BZ #13013]
14494 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14495 depending n and resplen2 to catch cases where answer
14496 equals answerp2.
14497
c93ec1f0
CD
144982012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14499
14500 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14501 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14502
37db69de
MF
145032012-11-29 Mike Frysinger <vapier@gentoo.org>
14504
14505 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14506
e10c4e4f
RM
145072012-11-29 Roland McGrath <roland@hack.frob.com>
14508
14509 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14510
2af1b328
JL
145112012-11-28 Jeff Law <law@redhat.com>
14512
14513 [BZ #13761]
14514 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14515 dataset_temporary. Track alloca usage into alloca_used.
14516 If dataset is large allocate and release it via malloc/free.
14517
111db5b1
FW
145182012-06-04 Florian Weimer <fweimer@redhat.com>
14519
f06cc227 14520 [BZ #14197]
111db5b1
FW
14521 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14522
dd694abd
DM
145232012-11-28 David S. Miller <davem@davemloft.net>
14524
14525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14526
9984dd01
JM
145272012-11-28 Joseph Myers <joseph@codesourcery.com>
14528
14529 [BZ #14803]
14530 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14531 of pi/2 rounded to nearest to 64 bits.
14532 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14533 nearest to 64 bits.
14534 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14535 bits.
14536
14bc93a9
JL
145372012-11-28 Jeff Law <law@redhat.com>
14538 Martin Osvald <mosvald@redhat.com>
14539
14540 [BZ #14889]
14541 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14542 * sunrpc/svc.c: Include time.h.
14543 (__svc_accept_failed): New function.
14544 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14545 any reason other than EINTR, call __svc_accept_failed.
14546 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14547 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14548
e3c6aa3a
AS
145492012-11-28 Andreas Schwab <schwab@suse.de>
14550
14551 * scripts/abilist.awk: Also handle indirect functions in .opd
14552 section.
14553
1bead169
JM
145542012-11-28 Joseph Myers <joseph@codesourcery.com>
14555
14556 [BZ #13881]
14557 * sysdeps/x86/fpu/powl_helper.c: New file.
14558 * sysdeps/x86/fpu/Makefile: Likewise.
14559 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14560 (p3): New object.
14561 (__ieee754_powl): Use __powl_helper for finite arguments except
14562 integer exponents below 8.
14563 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14564 (p3): New object.
14565 (__ieee754_powl): Use __powl_helper for finite arguments except
14566 integer exponents below 8.
14567 * math/libm-test.inc (pow_test): Add more tests and enable some
14568 previously disabled tests.
14569 * sysdeps/i386/fpu/libm-test-ulps: Update.
14570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14571
0817d63d
SP
145722012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14573 Carlos O'Donell <carlos_odonell@mentor.com>
14574
14575 * nss/makedb.c (is_prime): Assert that input is odd and greater
14576 than 4. Note that fact in a comment too.
14577 (next_prime): Add 4 to input.
14578
de2fd463
SP
145792012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14580
14581 [BZ #11741]
14582 * libio/Makefile (tests): Add test case tst-fwrite-error.
14583 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14584 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14585 * libio/tst-fwrite-error.c: New test case.
14586
c515fb51
L
145872012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14588
14589 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14590 before casting to void *.
14591 * include/libc-internal.h (__pointer_type): New macro.
14592 (__integer_if_pointer_type_sub): Likewise.
14593 (__integer_if_pointer_type): Likewise.
14594 (cast_to_integer): Likewise.
14595 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14596 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14597 before casting to atomic64_t.
14598 (atomic_exchange_acq): Likewise.
14599 (__arch_exchange_and_add_body): Likewise.
14600 (__arch_add_body): Likewise.
14601 (atomic_add_negative): Likewise.
14602 (atomic_add_zero): Likewise.
14603
4cf77aa9
JM
146042012-11-26 Joseph Myers <joseph@codesourcery.com>
14605
14606 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14607 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14608 (add_fdes): Likewise.
14609 (linear_search_fdes): Likewise.
14610 (binary_search_unencoded_fdes): Likewise.
14611
d260b3b4
AS
146122012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14613
14614 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14615
67060746
AC
146162012-11-24 Adam Conrad <adconrad@0c3.net>
14617
14618 * configure.in: Autodetect C++ header directories.
14619 * configure: Regenerated.
14620
800938a1
MF
146212012-11-23 Mike Frysinger <vapier@gentoo.org>
14622
14623 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14624
4e6e34e6
AS
146252012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14626
14627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14628
7c7feb47
JM
146292012-11-22 Joseph Myers <joseph@codesourcery.com>
14630
7184dcdf
JM
14631 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14632 LDBL_MANT_DIG == 106]: Disable some tests.
14633 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14634 Likewise.
14635 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14636 Likewise.
14637
0a42601f
JM
14638 [BZ #14871]
14639 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14640 input for small inputs. Return +/- pi/2 for large inputs.
14641 * math/libm-test.inc (atan_test): Add more tests.
14642
79c9b9fe
JM
14643 * sysdeps/generic/unwind-dw2-fde-glibc.c
14644 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14645 __attribute__ ((unused)).
14646
c60d3bf2
JM
14647 [BZ #14645]
14648 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14649 x * y if x and y are nonzero and z is zero.
14650
ef1e0867
JM
14651 [BZ #14811]
14652 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14653 nonzero exponents with absolute value below 0x1p-117 to +/-
14654 0x1p-117.
14655
1468ded3
JM
14656 [BZ #14869]
14657 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14658 up arguments below 2**-450, not just those below 2**-500.
14659 * math/libm-test.inc (hypot_test): Add another test.
14660
8e27e3cc
JM
14661 [BZ #14868]
14662 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14663 Return a+b for ratio over 2**120, not 2**60.
14664 * math/libm-test.inc (hypot_test): Add another test.
14665
c9c0279b
JM
14666 * math/libm-test.inc (clog_test): Use
14667 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14668 (clog10_test): Likewise.
14669
7c7feb47
JM
14670 [BZ #6778]
14671 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14672
fff1530e
AS
146732012-11-22 Andreas Schwab <schwab@suse.de>
14674
14675 * sysdeps/i386/fpu/libm-test-ulps: Update.
14676
94558d30
PT
146772012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14678
14679 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14680 printf output with newline.
14681
7e1be741
L
146822012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14683
6bfea974
L
14684 [BZ #14865]
14685 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14686 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14687 -z nodlopen, -z initfirst and -z execstack support.
14688 * configure: Regenerated.
14689
7e1be741
L
14690 * elf/elf.h (DF_1_NODIRECT): New macro.
14691 (DF_1_IGNMULDEF): Likewise.
14692 (DF_1_NOKSYMS): Likewise.
14693 (DF_1_NOHDR): Likewise.
14694 (DF_1_EDITED): Likewise.
14695 (DF_1_NORELOC): Likewise.
14696 (DF_1_SYMINTPOSE): Likewise.
14697 (DF_1_GLOBAUDIT): Likewise.
14698 (DF_1_SINGLETON): Likewise.
14699 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14700 DT_1_SUPPORTED_MASK bits.
14701 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14702
105ce2ce
CD
147032012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14704
14705 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14706
123be9de
TS
147072012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14708
d072f3f7
TS
14709 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14710 macro.
14711
123be9de
TS
14712 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14713 (sendmmsg): Move declarations...
14714 * socket/sys/socket.h: ... here.
14715 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14716 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14717 include it from...
14718 * socket/recvmmsg.c: ... this new file.
14719 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14720 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14721 definition of __sendmmsg hidden.
14722 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14723 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14724 Move ENOSYS stub into and include it from...
14725 * socket/sendmmsg.c: ... this new file.
14726 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14727 (sysdep_routines): Move recvmmsg and sendmmsg...
14728 * socket/Makefile (routines): ... here.
14729 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14730 (GLIBC_PRIVATE): Add __sendmmsg.
14731 * include/sys/socket.h (__sendmmsg): Add declarations.
14732 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14733 sendmmsg.
14734
cf9a5d18
JM
147352012-11-20 Joseph Myers <joseph@codesourcery.com>
14736
14737 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14738 variable I1 with __attribute__ ((unused)).
14739 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14740
ecd4caf9
JM
147412012-11-19 Joseph Myers <joseph@codesourcery.com>
14742
be14d48f
JM
14743 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14744 DUMMY variables with __attribute__ ((unused)).
14745
ecd4caf9
JM
14746 * bits/byteswap.h: Include <bits/types.h>.
14747 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14748
986cab95
PT
147492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14750
14751 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14752 string_t. Do not manually set errno.
14753 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14754 length with __strnlen. Make sure to both set errno and return it on
14755 failure.
14756
6d33cc9d
DM
147572012-11-19 David S. Miller <davem@davemloft.net>
14758
14759 With help from Joseph Myers.
14760 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14761 very large arguments properly.
14762 * math/libm-test.inc (atan_test): New tests.
14763 (atan2_test): New tests.
14764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14766
ee663277
JM
147672012-11-19 Joseph Myers <joseph@codesourcery.com>
14768
877f2d8e
JM
14769 [BZ #14856]
14770 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14771 Define to 3.
14772
116fc08a
JM
14773 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14774 [POSIX] (EADDRNOTAVAIL): Likewise.
14775 [POSIX] (EAFNOSUPPORT): Likewise.
14776 [POSIX] (EALREADY): Likewise.
14777 [POSIX] (ECONNABORTED): Likewise.
14778 [POSIX] (ECONNREFUSED): Likewise.
14779 [POSIX] (ECONNRESET): Likewise.
14780 [POSIX] (EDESTADDRREQ): Likewise.
14781 [POSIX] (EDQUOT): Likewise.
14782 [POSIX] (EHOSTUNREACH): Likewise.
14783 [POSIX] (EIDRM): Likewise.
14784 [POSIX] (EISCONN): Likewise.
14785 [POSIX] (ELOOP): Likewise.
14786 [POSIX] (EMULTIHOP): Likewise.
14787 [POSIX] (ENETDOWN): Likewise.
14788 [POSIX] (ENETUNREACH): Likewise.
14789 [POSIX] (ENOBUFS): Likewise.
14790 [POSIX] (ENODATA): Likewise.
14791 [POSIX] (ENOLINK): Likewise.
14792 [POSIX] (ENOMSG): Likewise.
14793 [POSIX] (ENOPROTOOPT): Likewise.
14794 [POSIX] (ENOSR): Likewise.
14795 [POSIX] (ENOSTR): Likewise.
14796 [POSIX] (ENOTCONN): Likewise.
14797 [POSIX] (ENOTSOCK): Likewise.
14798 [POSIX] (EOPNOTSUPP): Likewise.
14799 [POSIX] (EOVERFLOW): Likewise.
14800 [POSIX] (EPROTO): Likewise.
14801 [POSIX] (EPROTONOSUPPORT): Likewise.
14802 [POSIX] (EPROTOTYPE): Likewise.
14803 [POSIX] (ESTALE): Likewise.
14804 [POSIX] (ETIME): Likewise.
14805 [POSIX] (ETXTBSY): Likewise.
14806 [POSIX] (EWOULDBLOCK): Likewise.
14807 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14808 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14809 [POSIX] (SEEK_CUR): Likewise.
14810 [POSIX] (SEEK_END): Likewise.
14811 [POSIX || UNIX98] (mode_t): Do not require.
14812 [POSIX] (off_t): Likewise.
14813 [POSIX] (pid_t): Likewise.
14814 [POSIX] (sys/stat.h): Do not allow header.
14815 [POSIX] (unistd.h): Likewise.
14816 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14817 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14818 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14819 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14820 require.
14821 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14822 sigevent): Specify elements.
14823 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14824 entry.
14825 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14826 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14827
a483863f
JM
14828 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14829 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14830 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14831 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14832 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14833 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14834 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14835 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14836 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14837 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14838 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14839 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14840 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14841 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14842 Likewise.
14843 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14844 Likewise.
14845 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14846 Likewise.
14847 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14848 Likewise.
14849 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14850 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14851 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14852 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14853 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14854 Specify lower bound on value.
14855 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14856 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14857 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14858 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14859 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14860 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14861 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14862 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14863 value.
14864 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14865 as optional.
14866 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14867 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14868 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14869 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14873 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14874 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14875 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14876 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14878 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14879 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14880 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14881 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14882 entry.
14883 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14884 optional.
14885 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14886 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14887 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14888 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14889 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14890 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14891 Likewise.
14892 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14893 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14894 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14895 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14896 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14897 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14898 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14899 as optional.
14900 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14901 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14902 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14903 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14904 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14905 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14906 specify as optional.
14907 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14908 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14909 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14910 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14911 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14912 [XPG3] (NL_LANGMAX): Likewise.
14913 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14914 [POSIX || XPG3] (NL_NMAX): Likewise.
14915 [POSIX || XPG3] (NL_SETMAX): Likewise.
14916 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14917 [XPG3] (NZERO): Likewise.
14918 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14919 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14920 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14921 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14922 (REG_ERANGE): Expect.
14923 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14924 optional-constant.
14925 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14926 Use (void) in prototype.
14927 [POSIX] (*_t): Allow.
14928 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14929 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14930 (WRDE_BADVAL): Expect.
14931
5ba924e3
JM
14932 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14933 expect.
14934 [XPG3 || XPG4] (O_RSYNC): Likewise.
14935 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14936 Likewise.
14937 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14938 [XPG3 || XPG4] (sigqueue): Likewise.
14939 [XPG3 || XPG4] (sigtimedwait): Likewise.
14940 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14941 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14942 [XPG3 || XPG4] (vsnprintf): Likewise.
14943 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14944 Likewise.
14945 [XPG3 || XPG4] (blksize_t): Likewise.
14946 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14947 Likewise.
14948 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14949 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14950 [XPG3 || XPG4] (struct itimerspec): Likewise.
14951 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14952 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14953 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14954 [XPG3 || XPG4] (clockid_t): Likewise.
14955 [XPG3 || XPG4] (timer_t): Likewise.
14956 [XPG3 || XPG4] (clock_getres): Likewise.
14957 [XPG3 || XPG4] (clock_gettime): Likewise.
14958 [XPG3 || XPG4] (clock_settime): Likewise.
14959 [XPG3 || XPG4] (nanosleep): Likewise.
14960 [XPG3 || XPG4] (timer_create): Likewise.
14961 [XPG3 || XPG4] (timer_delete): Likewise.
14962 [XPG3 || XPG4] (timer_gettime): Likewise.
14963 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14964 [XPG3 || XPG4] (timer_settime): Likewise.
14965 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14966 [XPG3 || XPG4] (getlogin_r): Likewise.
14967 [XPG3 || XPG4] (pread): Likewise.
14968 [XPG3 || XPG4] (pthread_atfork): Likewise.
14969 [XPG3 || XPG4] (pwrite): Likewise.
14970
ee663277
JM
14971 [BZ #14835]
14972 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14973 <bits/siginfo.h>.
14974
942caa16
PT
149752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14976
e19af380
PT
14977 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14978 finalizing MALLSTREAM.
14979
942caa16
PT
14980 * sysdeps/mach/hurd/syncfs.c: New file.
14981
cfde9b46
SP
149822012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14983
14984 [BZ #14719]
14985 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14986 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14987 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14988 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14989 (_nss_dns_gethostbyname4_r): Likewise.
14990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14991 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14992
f6da27e5
PH
149932012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14994
14995 [BZ #13763]
14996 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14997
6665d4a2
SM
149982012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14999
1f51ee92
SM
15000 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15001 * elf/cache.c (print_entry): Print ",AArch64" for
15002 FLAG_AARCH64_LIB64
15003
6665d4a2
SM
15004 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15005 * elf/cache.c (print_entry): Print ",hard-float" for
15006 FLAG_ARM_LIBHF.
15007
05b227bd
DM
150082012-11-18 David S. Miller <davem@davemloft.net>
15009
15010 With help from Joseph Myers.
15011 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15012 cutoff to 2**-13.
15013 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15014 cutoff to 2**-25.
15015 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15016 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15017 small.
15018 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15019 * math/libm-test.inc (y0_test): New tests.
15020 (y1_test): New tests.
15021 * sysdeps/i386/fpu/libm-test-ulps: Update.
15022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15024
786b0b67
AS
150252012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15026
15027 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15028 64-bit targets.
15029 * configure: Regenerated.
15030
8e18b86d
DM
150312012-11-17 David S. Miller <davem@davemloft.net>
15032
15033 [BZ #14811]
15034 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15035 nonzero exponents with absolute value below 0x1p-128 to +/-
15036 0x1p-128.
15037
531f1ae0
JM
150382012-11-17 Joseph Myers <joseph@codesourcery.com>
15039
12df29e2
JM
15040 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15041
150dc1a0
JM
15042 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15043
531f1ae0
JM
15044 * posix/getconf-speclist.c: New file.
15045 * posix/posix-envs.def: Likewise.
15046 * posix/confstr.c (START_ENV_GROUP): New macro.
15047 (END_ENV_GROUP): Likewise.
15048 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15049 (KNOWN_PRESENT_ENV_STRING): Likewise.
15050 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15051 (UNKNOWN_ENVIRONMENT): Likewise.
15052 (confstr): Include posix-envs.def instead of handling
15053 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15054 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15055 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15056 (END_ENV_GROUP): Likewise.
15057 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15058 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15059 (UNKNOWN_ENVIRONMENT): Likewise.
15060 (__sysconf): Include posix-envs.def instead of handling associated
15061 cases directly here.
15062 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15063 preprocessing getconf-speclist.c rather than running getconf or
15064 generating empty file.
15065
a93f9cbc
PT
150662012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15067
15068 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15069
d64d9f87
AL
150702012-11-16 Andrej Lajovic <natrij@gmail.com>
15071
15072 [BZ #14672]
15073 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15074
447885eb
DM
150752012-11-16 David S. Miller <davem@davemloft.net>
15076
15077 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15078 smaller than LDBL_EPSILON/2.0L, just return xm1.
15079
bcbf9830
L
150802012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15081
15082 * elf/tst-array1.c (init): Set constructor priority to 1000.
15083 (fini): Set destructor priority to 1000.
15084 * elf/tst-array2dep.c: Likewise.
15085
2b766585
SP
150862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15087
15088 [BZ #11741]
15089 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15090 (_IO_new_file_xsputn): Also return EOF if none of the input
15091 data was written when overflow failed.
15092 * libio/iopadn.c (_IO_padn): Likewise.
15093 * libio/iowpadn.c (_IO_wpadn): Likewise.
15094 * stdio-common/tst-put-error.c: Add copyright notice.
15095 (do_test): Add case for printing padded string.
15096 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15097 _IO_padn returned error.
15098 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15099 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15100 return EOF.
15101
b1848fde
SP
151022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15103
15104 * libio/libioP.h: Add comment note that the references to C++
15105 bits are now obsolete.
15106
2fd89785
MS
151072012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15108
15109 * math/libm-test.inc (check_complex): Use asprintf.
15110
e3ea5409
JM
151112012-11-14 Joseph Myers <joseph@codesourcery.com>
15112
15113 * debug/pcprofiledump.c (print_version): Update copyright year.
15114 * malloc/memusagestat.c (print_version): Likewise.
15115
2e64d265
L
151162012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15117
15118 [BZ #14831]
15119 * elf/Makefile (tests): Add tst-audit8.
15120 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15121 ($(objpfx)tst-audit8.out): New target.
15122 (tst-audit8-ENV): New variable.
15123 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15124 audit if l_reloc_result is NULL.
15125 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15126 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15127 * elf/tst-audit8.c: New file.
15128
c485e4d2
MS
151292012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15130
15131 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15132 * misc/Makefile (CFLAGS-select.c): Define.
15133 * posix/Makefile (CFLAGS-pause.c): Define.
15134
3a0d900a
DM
151352012-11-13 David S. Miller <davem@davemloft.net>
15136
15137 * crypt/Makefile: Move test targets after toplevel Rules
15138 inclusion. Grab any necessary sysdep routines when linking.
15139 * crypt/md5.c (md5_process_block): Remove define, we will always
15140 name it __md5_process_block.
15141 (md5_finish_ctx): Update md5_process_block call.
15142 (md5_stream): Likewise.
15143 (md5_process_bytes): Likewise.
15144 (md5_process_block): Rename to __md5_process_block and move to ...
15145 * crypt/md5-block.c: ... here.
15146 * crypt/sha256.c (sha256_process_block): Move to ...
15147 * crypt/sha256-block.c: ... here.
15148 * crypt/sha512.c (sha512_process_block): Move to ...
15149 * crypt/sha512-block.c: ... here.
15150 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15151 path.
15152 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15153 * sysdeps/sparc/sparc64/multiarch/Makefile
15154 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15155 crypt subdir.
15156 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15157 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15158 multiarch changes.
15159 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15160 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15161 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15162 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15163 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15164 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15165 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15166 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15167 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15168 file.
15169 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15170 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15171 file.
15172 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15173
8ca89318
JM
151742012-11-13 Joseph Myers <joseph@codesourcery.com>
15175
e27d476a
JM
15176 * timezone/tzselect.ksh: Update from tzcode git revision
15177 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15178 * timezone/zdump.c: Likewise.
15179 * timezone/zic.c: Likewise.
15180 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15181 in TZVERSION setting, not $(PKGVERSION).
15182 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15183 REPORT_BUGS_TO settings.
15184
8ca89318
JM
15185 [BZ #14838]
15186 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15187 macro.
15188
47594329
MS
151892012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15190
15191 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15192 detection to immediately after _FP_ROUND().
15193 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15194 bits are 0.
15195
640ac3f1
DM
151962012-11-11 David S. Miller <davem@davemloft.net>
15197
15198 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15199 inttypes.h
15200 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15201 __close rather than their public counterparts.
15202
3d2577bb
JM
152032012-11-10 Joseph Myers <joseph@codesourcery.com>
15204
15205 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15206 file.
15207 [UNIX98] (sem_timedwait): Do not expect.
15208 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15209 [XPG4 || UNIX98] (sockatmark): Do not expect.
15210 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15211 (clock_getcpuclockid): Do not expect.
15212 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15213 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15214 Do not expect.
15215 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15216 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15217 [UNIX98] (vwscanf): Likewise.
15218 [UNIX98] (vswscanf): Likewise.
15219
fb1ae1ee
JM
152202012-11-09 Joseph Myers <joseph@codesourcery.com>
15221
9ec6f8bd
JM
15222 * timezone/version.h: Remove file.
15223 * timezone/README: Do not refer to version.h.
15224 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15225 $(objpfx)version.h.
15226 ($(objpfx)zdump.o): Likewise.
c3f81911 15227 ($(objpfx)version.h): New target.
9ec6f8bd 15228
0aa8f8a1
JM
15229 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15230 2012i.
15231 * timezone/README: Don't mention modification to tzselect.ksh.
15232 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15233 work on unmodified tzselect.ksh. Substitute version numbers in
15234 tzselect.ksh.
15235
4e87147f
JM
15236 * Makefile (format-me): Remove.
15237 (INSTALL): Adjust indentation. Use commands directly instead of
15238 using $(format-me).
15239
8b748aed
JM
15240 * aclocal.m4 (ACX_PKGVERSION): New macro.
15241 (ACX_BUGURL): Likewise.
15242 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15243 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15244 (REPORT_BUGS_TO): Likewise.
15245 * configure: Regenerated.
15246 * config.h.in (PKGVERSION): New macro.
15247 (REPORT_BUGS_TO): Likewise.
15248 * config.make.in (PKGVERSION): New variable.
15249 (PKGVERSION_TEXI): Likewise.
15250 (REPORT_BUGS_TO): Likewise.
15251 (REPORT_BUGS_TEXI): Likewise.
15252 * Makefile (format-me): Use -I$(common-objpfx)manual.
15253 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15254 ($(common-objpfx)manual/%): New target.
15255 (manual/%): Remove target.
15256 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15257 (print_version): Use PKGVERSION.
15258 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15259 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15260 and REPORT_BUGS_TO.
15261 ($(objpfx)xtrace): Likewise.
15262 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15263 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15264 (print_version): Use PKGVERSION.
15265 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15266 (do_version): Use PKGVERSION.
15267 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15268 REPORT_BUGS_TO.
15269 (common-ldd-rewrite): Likewise.
15270 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15271 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15272 (print_version): Use PKGVERSION.
15273 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15274 * elf/pldd.c (argp_program_bug_address): Remove variable.
15275 (more_help): New function.
15276 (argp): Use more_help.
15277 (print_version): Use PKGVERSION.
15278 * elf/sln.c (main): Use PKGVERSION.
15279 (usage): Use REPORT_BUGS_TO.
15280 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15281 (top level): Use PKGVERSION.
15282 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15283 (print_version): Use PKGVERSION.
15284 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15285 (print_version): Use PKGVERSION.
15286 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15287 (print_version): Use PKGVERSION.
15288 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15289 (print_version): Use PKGVERSION.
15290 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15291 (print_version): Use PKGVERSION.
15292 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15293 (print_version): Use PKGVERSION.
15294 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15295 and BUGURL.
15296 ($(objpfx)memusage): Likewise.
15297 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15298 (do_version): Use PKGVERSION.
15299 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15300 (print_version): Use PKGVERSION.
15301 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15302 ($PKGVERSION): New variable.
15303 ($REPORT_BUGS_TO): Likewise.
15304 (usage): Use $REPORT_BUGS_TO.
15305 (top level): Use $PKGVERSION.
15306 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15307 ($(objpfx)pkgvers.texi): New rule.
15308 ($(objpfx)stamp-pkgvers): Likewise.
15309 * manual/install.texi: Include pkgvers.texi.
15310 (--with-pkgversion): Document new configure option.
15311 (--with-bugurl): Likewise.
15312 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15313 than necessarily for this particular distribution. Use
15314 REPORT_BUGS_TO for where to report bugs.
15315 * INSTALL: Regenerated.
15316 * manual/libc.texinfo: Include pkgvers.texi.
15317 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15318 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15319 (print_version): Use PKGVERSION.
15320 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15321 (print_version): Use PKGVERSION.
15322 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15323 (print_version): Use PKGVERSION.
15324 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15325 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15326 macro.
15327 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15328 (print_version): Use PKGVERSION.
15329 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15330 (print_version): Use PKGVERSION.
15331 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15332 and PKGVERSION.
15333
92e4b6a9
JM
15334 * timezone/checktab.awk: Update from tzcode 2012i.
15335 * timezone/ialloc.c: Likewise.
15336 * timezone/private.h: Likewise.
15337 * timezone/scheck.c: Likewise.
15338 * timezone/tzfile.h: Likewise.
15339 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15340 (TZVERSION): Hardcode tzcode version number.
15341 * timezone/zdump.c: Update from tzcode 2012i.
15342 * timezone/zic.c: Likewise.
15343 * timezone/version.h: New file.
15344 * timezone/README: Describe version.h. Update upstream location.
15345
9bde902c
JM
15346 [BZ #14824]
15347 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15348 (mktemp): Enable declaration.
15349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15352 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15353 Likewise.
15354 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15355 Likewise.
15356 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15357 Likewise.
15358 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15359 Likewise.
15360 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15361 Likewise.
15362 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15363 Likewise.
15364
fb1ae1ee
JM
15365 [BZ #14821]
15366 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15367 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15368 for copies of such integer values.
15369 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15370 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15371
2c1adbcb
AJ
153722012-11-09 Andreas Jaeger <aj@suse.de>
15373
15374 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15375 definitions and declarations that are provided by
15376 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15377
d0f8457e
AK
153782012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15379
3a235abb 15380 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15381 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15382 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15383 definition.
15384
57241e26
MS
153852012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15386
15387 * elf/elf.h: Update comment before AArch64 relocations.
15388
60e8270d
DM
153892012-11-07 David S. Miller <davem@davemloft.net>
15390
15391 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15392 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15393 (__start_context): Declare.
15394 (__makecontext_ret): Delete.
15395 (__makecontext): Hook up __start_context instead of
15396 __makecontext_ret.
15397 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15398 (sysdep_routines): Add __start_context when in stdlib.
15399
0fbb0fbc
JM
154002012-11-07 Joseph Myers <joseph@codesourcery.com>
15401
15402 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15403 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15404 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15405 hardcoded "nm".
15406 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15407 (READELF): New variable. Use it instead of hardcoded "readelf".
15408
eb48db7e
L
154092012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15410
15411 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15412 * sysdeps/x86/Makefile: Here.
15413 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15414 * sysdeps/x86/tst-xmmymm.sh: This.
15415
05bcf62a
JM
154162012-11-07 Joseph Myers <joseph@codesourcery.com>
15417
c4b6cf53
JM
15418 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15419 expectations.
15420 [UNIX98] (pthread_barrier_t): Do not expect.
15421 [UNIX98] (pthread_barrierattr_t): Likewise.
15422 [UNIX98] (pthread_spinlock_t): Likewise.
15423 [UNIX98] (pthread_barrier_destroy): Likewise.
15424 [UNIX98] (pthread_barrier_init): Likewise.
15425 [UNIX98] (pthread_barrier_wait): Likewise.
15426 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15427 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15428 [UNIX98] (pthread_barrierattr_init): Likewise.
15429 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15430 [UNIX98] (pthread_getcpuclockid): Likewise.
15431 [UNIX98] (pthread_mutex_timedlock): Likewise.
15432 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15433 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15434 [UNIX98] (pthread_sigmask): Likewise.
15435 [UNIX98] (pthread_spin_destroy): Likewise.
15436 [UNIX98] (pthread_spin_init): Likewise.
15437 [UNIX98] (pthread_spin_lock): Likewise.
15438 [UNIX98] (pthread_spin_trylock): Likewise.
15439 [UNIX98] (pthread_spin_unlock): Likewise.
15440 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15441 Do not expect.
15442 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15443 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15444 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15445 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15446 [XPG3 || XPG4] (pthread_key_t): Likewise.
15447 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15448 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15449 [XPG3 || XPG4] (pthread_once_t): Likewise.
15450 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15451 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15452 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15453 [XPG3 || XPG4] (pthread_t): Likewise.
15454
cbe6e120
JM
15455 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15456 not expect.
15457 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15458
1b126443
JM
15459 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15460 Change function return type to int.
15461
b961a573
JM
15462 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15463 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15464 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15465 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15466 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15467 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15468 [!POSIX] (posix_madvise): Likewise.
15469 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15470 && !UNIX98].
15471 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15472 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15473 (mode_t): Likewise.
15474 (posix_mem_offset): Likewise.
15475 (posix_typed_mem_get_info): Likewise.
15476 (posix_typed_mem_open): Likewise.
15477
9e188909
JM
15478 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15479 Change condition to [XOPEN2K8].
15480
05bcf62a
JM
15481 * conform/conformtest.pl: Preprocess allow-header data with -x c
15482 instead of from stdin.
15483 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15484 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15485 [C99-based standards] (cerfc): Likewise.
15486 [C99-based standards] (cexp2): Likewise.
15487 [C99-based standards] (cexpm1): Likewise.
15488 [C99-based standards] (clog10): Likewise.
15489 [C99-based standards] (clog1p): Likewise.
15490 [C99-based standards] (clog2): Likewise.
15491 [C99-based standards] (clgamma): Likewise.
15492 [C99-based standards] (ctgamma): Likewise.
15493 [C99-based standards] (cerff): Likewise.
15494 [C99-based standards] (cerfcf): Likewise.
15495 [C99-based standards] (cexp2f): Likewise.
15496 [C99-based standards] (cexpm1f): Likewise.
15497 [C99-based standards] (clog10f): Likewise.
15498 [C99-based standards] (clog1pf): Likewise.
15499 [C99-based standards] (clog2f): Likewise.
15500 [C99-based standards] (clgammaf): Likewise.
15501 [C99-based standards] (ctgammaf): Likewise.
15502 [C99-based standards] (cerfl): Likewise.
15503 [C99-based standards] (cerfcl): Likewise.
15504 [C99-based standards] (cexp2l): Likewise.
15505 [C99-based standards] (cexpm1l): Likewise.
15506 [C99-based standards] (clog10l): Likewise.
15507 [C99-based standards] (clog1pl): Likewise.
15508 [C99-based standards] (clog2l): Likewise.
15509 [C99-based standards] (clgammal): Likewise.
15510 [C99-based standards] (ctgammal): Likewise.
15511 * conform/data/inttypes.h-data [C99-based standards]: Include
15512 stdint.h-data. Remove all expectations for stdint.h contents.
15513 [C99-based standards] (PRI*): Do not allow.
15514 [C99-based standards] (SCN*): Likewise.
15515 [C99-based standards] (*_t): Likewise.
15516 [C99-based-standards] (PRId8): Expect macro.
15517 [C99-based-standards] (PRIi8): Likewise.
15518 [C99-based-standards] (PRIo8): Likewise.
15519 [C99-based-standards] (PRIu8): Likewise.
15520 [C99-based-standards] (PRIx8): Likewise.
15521 [C99-based-standards] (PRIX8): Likewise.
15522 [C99-based-standards] (SCNd8): Likewise.
15523 [C99-based-standards] (SCNi8): Likewise.
15524 [C99-based-standards] (SCNo8): Likewise.
15525 [C99-based-standards] (SCNu8): Likewise.
15526 [C99-based-standards] (SCNx8): Likewise.
15527 [C99-based-standards] (PRIdLEAST8): Likewise.
15528 [C99-based-standards] (PRIiLEAST8): Likewise.
15529 [C99-based-standards] (PRIoLEAST8): Likewise.
15530 [C99-based-standards] (PRIuLEAST8): Likewise.
15531 [C99-based-standards] (PRIxLEAST8): Likewise.
15532 [C99-based-standards] (PRIXLEAST8): Likewise.
15533 [C99-based-standards] (SCNdLEAST8): Likewise.
15534 [C99-based-standards] (SCNiLEAST8): Likewise.
15535 [C99-based-standards] (SCNoLEAST8): Likewise.
15536 [C99-based-standards] (SCNuLEAST8): Likewise.
15537 [C99-based-standards] (SCNxLEAST8): Likewise.
15538 [C99-based-standards] (PRIdFAST8): Likewise.
15539 [C99-based-standards] (PRIiFAST8): Likewise.
15540 [C99-based-standards] (PRIoFAST8): Likewise.
15541 [C99-based-standards] (PRIuFAST8): Likewise.
15542 [C99-based-standards] (PRIxFAST8): Likewise.
15543 [C99-based-standards] (PRIXFAST8): Likewise.
15544 [C99-based-standards] (SCNdFAST8): Likewise.
15545 [C99-based-standards] (SCNiFAST8): Likewise.
15546 [C99-based-standards] (SCNoFAST8): Likewise.
15547 [C99-based-standards] (SCNuFAST8): Likewise.
15548 [C99-based-standards] (SCNxFAST8): Likewise.
15549 [C99-based-standards] (PRId16): Likewise.
15550 [C99-based-standards] (PRIi16): Likewise.
15551 [C99-based-standards] (PRIo16): Likewise.
15552 [C99-based-standards] (PRIu16): Likewise.
15553 [C99-based-standards] (PRIx16): Likewise.
15554 [C99-based-standards] (PRIX16): Likewise.
15555 [C99-based-standards] (SCNd16): Likewise.
15556 [C99-based-standards] (SCNi16): Likewise.
15557 [C99-based-standards] (SCNo16): Likewise.
15558 [C99-based-standards] (SCNu16): Likewise.
15559 [C99-based-standards] (SCNx16): Likewise.
15560 [C99-based-standards] (PRIdLEAST16): Likewise.
15561 [C99-based-standards] (PRIiLEAST16): Likewise.
15562 [C99-based-standards] (PRIoLEAST16): Likewise.
15563 [C99-based-standards] (PRIuLEAST16): Likewise.
15564 [C99-based-standards] (PRIxLEAST16): Likewise.
15565 [C99-based-standards] (PRIXLEAST16): Likewise.
15566 [C99-based-standards] (SCNdLEAST16): Likewise.
15567 [C99-based-standards] (SCNiLEAST16): Likewise.
15568 [C99-based-standards] (SCNoLEAST16): Likewise.
15569 [C99-based-standards] (SCNuLEAST16): Likewise.
15570 [C99-based-standards] (SCNxLEAST16): Likewise.
15571 [C99-based-standards] (PRIdFAST16): Likewise.
15572 [C99-based-standards] (PRIiFAST16): Likewise.
15573 [C99-based-standards] (PRIoFAST16): Likewise.
15574 [C99-based-standards] (PRIuFAST16): Likewise.
15575 [C99-based-standards] (PRIxFAST16): Likewise.
15576 [C99-based-standards] (PRIXFAST16): Likewise.
15577 [C99-based-standards] (SCNdFAST16): Likewise.
15578 [C99-based-standards] (SCNiFAST16): Likewise.
15579 [C99-based-standards] (SCNoFAST16): Likewise.
15580 [C99-based-standards] (SCNuFAST16): Likewise.
15581 [C99-based-standards] (SCNxFAST16): Likewise.
15582 [C99-based-standards] (PRId32): Likewise.
15583 [C99-based-standards] (PRIi32): Likewise.
15584 [C99-based-standards] (PRIo32): Likewise.
15585 [C99-based-standards] (PRIu32): Likewise.
15586 [C99-based-standards] (PRIx32): Likewise.
15587 [C99-based-standards] (PRIX32): Likewise.
15588 [C99-based-standards] (SCNd32): Likewise.
15589 [C99-based-standards] (SCNi32): Likewise.
15590 [C99-based-standards] (SCNo32): Likewise.
15591 [C99-based-standards] (SCNu32): Likewise.
15592 [C99-based-standards] (SCNx32): Likewise.
15593 [C99-based-standards] (PRIdLEAST32): Likewise.
15594 [C99-based-standards] (PRIiLEAST32): Likewise.
15595 [C99-based-standards] (PRIoLEAST32): Likewise.
15596 [C99-based-standards] (PRIuLEAST32): Likewise.
15597 [C99-based-standards] (PRIxLEAST32): Likewise.
15598 [C99-based-standards] (PRIXLEAST32): Likewise.
15599 [C99-based-standards] (SCNdLEAST32): Likewise.
15600 [C99-based-standards] (SCNiLEAST32): Likewise.
15601 [C99-based-standards] (SCNoLEAST32): Likewise.
15602 [C99-based-standards] (SCNuLEAST32): Likewise.
15603 [C99-based-standards] (SCNxLEAST32): Likewise.
15604 [C99-based-standards] (PRIdFAST32): Likewise.
15605 [C99-based-standards] (PRIiFAST32): Likewise.
15606 [C99-based-standards] (PRIoFAST32): Likewise.
15607 [C99-based-standards] (PRIuFAST32): Likewise.
15608 [C99-based-standards] (PRIxFAST32): Likewise.
15609 [C99-based-standards] (PRIXFAST32): Likewise.
15610 [C99-based-standards] (SCNdFAST32): Likewise.
15611 [C99-based-standards] (SCNiFAST32): Likewise.
15612 [C99-based-standards] (SCNoFAST32): Likewise.
15613 [C99-based-standards] (SCNuFAST32): Likewise.
15614 [C99-based-standards] (SCNxFAST32): Likewise.
15615 [C99-based-standards] (PRId64): Likewise.
15616 [C99-based-standards] (PRIi64): Likewise.
15617 [C99-based-standards] (PRIo64): Likewise.
15618 [C99-based-standards] (PRIu64): Likewise.
15619 [C99-based-standards] (PRIx64): Likewise.
15620 [C99-based-standards] (PRIX64): Likewise.
15621 [C99-based-standards] (SCNd64): Likewise.
15622 [C99-based-standards] (SCNi64): Likewise.
15623 [C99-based-standards] (SCNo64): Likewise.
15624 [C99-based-standards] (SCNu64): Likewise.
15625 [C99-based-standards] (SCNx64): Likewise.
15626 [C99-based-standards] (PRIdLEAST64): Likewise.
15627 [C99-based-standards] (PRIiLEAST64): Likewise.
15628 [C99-based-standards] (PRIoLEAST64): Likewise.
15629 [C99-based-standards] (PRIuLEAST64): Likewise.
15630 [C99-based-standards] (PRIxLEAST64): Likewise.
15631 [C99-based-standards] (PRIXLEAST64): Likewise.
15632 [C99-based-standards] (SCNdLEAST64): Likewise.
15633 [C99-based-standards] (SCNiLEAST64): Likewise.
15634 [C99-based-standards] (SCNoLEAST64): Likewise.
15635 [C99-based-standards] (SCNuLEAST64): Likewise.
15636 [C99-based-standards] (SCNxLEAST64): Likewise.
15637 [C99-based-standards] (PRIdFAST64): Likewise.
15638 [C99-based-standards] (PRIiFAST64): Likewise.
15639 [C99-based-standards] (PRIoFAST64): Likewise.
15640 [C99-based-standards] (PRIuFAST64): Likewise.
15641 [C99-based-standards] (PRIxFAST64): Likewise.
15642 [C99-based-standards] (PRIXFAST64): Likewise.
15643 [C99-based-standards] (SCNdFAST64): Likewise.
15644 [C99-based-standards] (SCNiFAST64): Likewise.
15645 [C99-based-standards] (SCNoFAST64): Likewise.
15646 [C99-based-standards] (SCNuFAST64): Likewise.
15647 [C99-based-standards] (SCNxFAST64): Likewise.
15648 [C99-based-standards] (PRIdMAX): Likewise.
15649 [C99-based-standards] (PRIiMAX): Likewise.
15650 [C99-based-standards] (PRIoMAX): Likewise.
15651 [C99-based-standards] (PRIuMAX): Likewise.
15652 [C99-based-standards] (PRIxMAX): Likewise.
15653 [C99-based-standards] (PRIXMAX): Likewise.
15654 [C99-based-standards] (SCNdMAX): Likewise.
15655 [C99-based-standards] (SCNiMAX): Likewise.
15656 [C99-based-standards] (SCNoMAX): Likewise.
15657 [C99-based-standards] (SCNuMAX): Likewise.
15658 [C99-based-standards] (SCNxMAX): Likewise.
15659 [C99-based-standards] (PRIdPTR): Likewise.
15660 [C99-based-standards] (PRIiPTR): Likewise.
15661 [C99-based-standards] (PRIoPTR): Likewise.
15662 [C99-based-standards] (PRIuPTR): Likewise.
15663 [C99-based-standards] (PRIxPTR): Likewise.
15664 [C99-based-standards] (PRIXPTR): Likewise.
15665 [C99-based-standards] (SCNdPTR): Likewise.
15666 [C99-based-standards] (SCNiPTR): Likewise.
15667 [C99-based-standards] (SCNoPTR): Likewise.
15668 [C99-based-standards] (SCNuPTR): Likewise.
15669 [C99-based-standards] (SCNxPTR): Likewise.
15670 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15671 allow.
15672 * conform/data/stdint.h-data: Update comments to clarify
15673 requirements.
15674 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15675 type.
15676 [C99-based standards] (INT8_MAX): Likewise.
15677 [C99-based standards] (INT16_MIN): Likewise.
15678 [C99-based standards] (INT16_MAX): Likewise.
15679 [C99-based standards] (INT32_MIN): Likewise.
15680 [C99-based standards] (INT32_MAX): Likewise.
15681 [C99-based standards] (INT64_MIN): Likewise.
15682 [C99-based standards] (INT64_MAX): Likewise.
15683 [C99-based standards] (UINT8_MAX): Likewise.
15684 [C99-based standards] (UINT16_MAX): Likewise.
15685 [C99-based standards] (UINT32_MAX): Likewise.
15686 [C99-based standards] (UINT64_MAX): Likewise.
15687 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15688 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15689 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15690 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15691 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15692 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15693 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15694 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15695 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15696 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15697 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15698 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15699 [C99-based standards] (INT_FAST8_MIN): Likewise.
15700 [C99-based standards] (INT_FAST8_MAX): Likewise.
15701 [C99-based standards] (INT_FAST16_MIN): Likewise.
15702 [C99-based standards] (INT_FAST16_MAX): Likewise.
15703 [C99-based standards] (INT_FAST32_MIN): Likewise.
15704 [C99-based standards] (INT_FAST32_MAX): Likewise.
15705 [C99-based standards] (INT_FAST64_MIN): Likewise.
15706 [C99-based standards] (INT_FAST64_MAX): Likewise.
15707 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15708 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15709 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15710 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15711 [C99-based standards] (INTPTR_MIN): Likewise.
15712 [C99-based standards] (INTPTR_MAX): Likewise.
15713 [C99-based standards] (UINTPTR_MAX): Likewise.
15714 [C99-based standards] (INTMAX_MIN): Likewise.
15715 [C99-based standards] (INTMAX_MAX): Likewise.
15716 [C99-based standards] (UINTMAX_MAX): Likewise.
15717 [C99-based standards] (PTRDIFF_MIN): Likewise.
15718 [C99-based standards] (PTRDIFF_MAX): Likewise.
15719 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15720 [C99-based standards] (SIZE_MAX): Likewise.
15721 [C99-based standards] (WCHAR_MAX): Likewise.
15722 [C99-based standards] (WINT_MAX): Likewise.
15723 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15724 constraint on value.
15725 [C99-based standards] (WCHAR_MIN): Likewise.
15726 [C99-based standards] (WINT_MIN): Likewise.
15727 [C99-based standards] (*_t): Allow.
15728 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15729 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15730 Include math.h-data and complex.h-data. Remove all expectations
15731 of math.h and complex.h contents.
15732 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15733 at end of line.
15734 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15735 (struct tm): Expect tag.
15736 [C99-based-standards] (wcstof): Expect function.
15737 [C99-based-standards] (wcstold): Likewise.
15738 [C99-based-standards] (wcstoll): Likewise.
15739 [C99-based-standards] (wcstoull): Likewise.
15740 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15741 macro-int-constant. Specify type.
15742 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15743 constraint on value.
15744 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15745 Specify type.
15746 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15747 Specify value.
15748 [ISO C standards]: Do not allow headers.
15749 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15750 wcs[abcdefghijklmnopqrstuvwxyz]*.
15751 [ISO C standards] (*_t): Do not allow.
15752 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15753 Expect function.
15754 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15755 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15756 Specify type.
15757 [ISO C standards]: Do not allow headers.
15758 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15759 is[abcdefghijklmnopqrstuvwxyz]*.
15760 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15761 to[abcdefghijklmnopqrstuvwxyz]*.
15762 [ISO C standards] (*_t): Do not allow.
15763 * conform/data/stdalign.h-data: New file.
15764 * conform/data/stdbool.h-data: Likewise.
15765 * conform/data/stdnoreturn.h-data: Likewise.
15766
7514feb8
RM
157672012-11-07 Roland McGrath <roland@hack.frob.com>
15768
15769 [BZ #14815]
15770 * manual/filesys.texi (Directory Entries): Typo fix.
15771 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15772
19b2ecfc
MS
157732012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15774
15775 * elf/elf.h (EM_AARCH64): New macro.
15776 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15777 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15778 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15779 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15780 (R_AARCH64_TLSDESC): Likewise.
15781 (NT_ARM_TLS): Likewise.
15782 (NT_ARM_HW_BREAK): Likewise.
15783 (NT_ARM_HW_WATCH): Likewise.
15784
60e235ee
JM
157852012-11-07 Joseph Myers <joseph@codesourcery.com>
15786
15787 [BZ #14811]
15788 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15789 (__ieee754_powl): Saturate nonzero exponents with absolute value
15790 below 0x1p-79 to +/- 0x1p-79.
15791 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15792 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15793 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15794 nonzero exponents with absolute value below 0x1p-32 to +/-
15795 0x1p-32.
15796 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15797 (__ieee754_powl): Saturate nonzero exponents with absolute value
15798 below 0x1p-79 to +/- 0x1p-79.
15799 * math/libm-test.inc (pow_test): Add more tests.
15800
0ab234b7
AK
158012012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15802
15803 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15804 _dl_s390_cap_flags with kernel. Increase string length.
15805 (_dl_s390_platforms): Add z196 and zEC12.
15806
45832f74
JM
158072012-11-07 Joseph Myers <joseph@codesourcery.com>
15808
15809 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15810 Change XOPEN21K to XOPEN2K.
15811
19218757
MK
158122012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15813
15814 * string/memmove.c: Use memcpy when possible.
15815
c5f45721
AJ
158162012-11-06 Andreas Jaeger <aj@suse.de>
15817
15818 * po/eo.po: Update from translation team.
15819
82477c28
JM
158202012-11-06 Joseph Myers <joseph@codesourcery.com>
15821
15822 [BZ #14793]
15823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15824 exponent and small x and y exponents, scale x or y up. Increase
15825 by 2 the exponent used in scaling up.
15826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15828 * math/libm-test.inc (fma_test): Add more tests.
15829 (fma_test_towardzero): Likewise.
15830 (fma_test_downward): Likewise.
15831 (fma_test_upward): Likewise.
15832
99252c8c
JM
158332012-11-05 Joseph Myers <joseph@codesourcery.com>
15834
acfa885f
JM
15835 [BZ #14805]
15836 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15837 fenv_t *.
15838
99252c8c
JM
15839 [BZ #14801]
15840 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15841 namespace for names of struct fields.
15842 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15843 fenv_t fields.
15844 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15845 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15846
d6d98dea
ST
158472012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15848
15849 [BZ #3665]
15850 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15851
e10bb107
TS
158522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15853
15854 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15855 PTR_DEMANGLE.
15856
15857 [BZ #5246]
15858 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15859 PTR_DEMANGLE.
15860
a0c2940d
JM
158612012-11-04 Joseph Myers <joseph@codesourcery.com>
15862
15863 [BZ #14797]
15864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15865 definitely overflow as x * y not x * y + z.
15866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15868 * math/libm-test.inc (fma_test): Add more tests.
15869 (fma_test_towardzero): Likewise.
15870 (fma_test_downward): Likewise.
15871 (fma_test_upward): Likewise.
15872
b830319d
TS
158732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15874
15875 [BZ #157]
15876
15877 * include/stub-tag.h: Remove file.
15878 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15879 '#include' of it.
15880 * manual/maint.texi (Porting): Don't reference it.
15881 * Makerules ($(objpfx)stubs): Likewise.
15882 * dirent/closedir.c: Don't include <stub-tag.h>.
15883 * dirent/dirfd.c: Likewise.
15884 * dirent/fdopendir.c: Likewise.
15885 * dirent/getdents.c: Likewise.
15886 * dirent/getdents64.c: Likewise.
15887 * dirent/opendir.c: Likewise.
15888 * dirent/readdir.c: Likewise.
15889 * dirent/readdir64.c: Likewise.
15890 * dirent/readdir64_r.c: Likewise.
15891 * dirent/readdir_r.c: Likewise.
15892 * dirent/rewinddir.c: Likewise.
15893 * dirent/seekdir.c: Likewise.
15894 * dirent/telldir.c: Likewise.
15895 * gmon/profil.c: Likewise.
15896 * grp/setgroups.c: Likewise.
15897 * inet/if_index.c: Likewise.
15898 * io/access.c: Likewise.
15899 * io/chdir.c: Likewise.
15900 * io/chmod.c: Likewise.
15901 * io/chown.c: Likewise.
15902 * io/close.c: Likewise.
15903 * io/dup.c: Likewise.
15904 * io/dup2.c: Likewise.
15905 * io/dup3.c: Likewise.
15906 * io/euidaccess.c: Likewise.
15907 * io/faccessat.c: Likewise.
15908 * io/fchdir.c: Likewise.
15909 * io/fchmod.c: Likewise.
15910 * io/fchmodat.c: Likewise.
15911 * io/fchown.c: Likewise.
15912 * io/fchownat.c: Likewise.
15913 * io/fcntl.c: Likewise.
15914 * io/flock.c: Likewise.
15915 * io/fstatfs.c: Likewise.
15916 * io/fstatfs64.c: Likewise.
15917 * io/fstatvfs.c: Likewise.
15918 * io/fstatvfs64.c: Likewise.
15919 * io/futimens.c: Likewise.
15920 * io/fxstat.c: Likewise.
15921 * io/fxstat64.c: Likewise.
15922 * io/fxstatat.c: Likewise.
15923 * io/fxstatat64.c: Likewise.
15924 * io/getcwd.c: Likewise.
15925 * io/isatty.c: Likewise.
15926 * io/lchmod.c: Likewise.
15927 * io/lchown.c: Likewise.
15928 * io/link.c: Likewise.
15929 * io/linkat.c: Likewise.
15930 * io/lseek.c: Likewise.
15931 * io/lseek64.c: Likewise.
15932 * io/lxstat64.c: Likewise.
15933 * io/mkdir.c: Likewise.
15934 * io/mkdirat.c: Likewise.
15935 * io/mkfifo.c: Likewise.
15936 * io/mkfifoat.c: Likewise.
15937 * io/open.c: Likewise.
15938 * io/open64.c: Likewise.
15939 * io/openat.c: Likewise.
15940 * io/openat64.c: Likewise.
15941 * io/pipe.c: Likewise.
15942 * io/pipe2.c: Likewise.
15943 * io/poll.c: Likewise.
15944 * io/posix_fadvise.c: Likewise.
15945 * io/posix_fadvise64.c: Likewise.
15946 * io/posix_fallocate.c: Likewise.
15947 * io/posix_fallocate64.c: Likewise.
15948 * io/read.c: Likewise.
15949 * io/readlink.c: Likewise.
15950 * io/readlinkat.c: Likewise.
15951 * io/rmdir.c: Likewise.
15952 * io/sendfile.c: Likewise.
15953 * io/sendfile64.c: Likewise.
15954 * io/statfs.c: Likewise.
15955 * io/statfs64.c: Likewise.
15956 * io/statvfs.c: Likewise.
15957 * io/statvfs64.c: Likewise.
15958 * io/symlink.c: Likewise.
15959 * io/symlinkat.c: Likewise.
15960 * io/ttyname.c: Likewise.
15961 * io/ttyname_r.c: Likewise.
15962 * io/umask.c: Likewise.
15963 * io/unlink.c: Likewise.
15964 * io/unlinkat.c: Likewise.
15965 * io/utime.c: Likewise.
15966 * io/utimensat.c: Likewise.
15967 * io/write.c: Likewise.
15968 * io/xmknod.c: Likewise.
15969 * io/xmknodat.c: Likewise.
15970 * io/xstat.c: Likewise.
15971 * io/xstat64.c: Likewise.
15972 * login/getpt.c: Likewise.
15973 * login/grantpt.c: Likewise.
15974 * login/unlockpt.c: Likewise.
15975 * math/e_acoshl.c: Likewise.
15976 * math/e_acosl.c: Likewise.
15977 * math/e_asinl.c: Likewise.
15978 * math/e_atan2l.c: Likewise.
15979 * math/e_atanhl.c: Likewise.
15980 * math/e_coshl.c: Likewise.
15981 * math/e_expl.c: Likewise.
15982 * math/e_fmodl.c: Likewise.
15983 * math/e_gammal_r.c: Likewise.
15984 * math/e_hypotl.c: Likewise.
15985 * math/e_j0l.c: Likewise.
15986 * math/e_j1l.c: Likewise.
15987 * math/e_jnl.c: Likewise.
15988 * math/e_lgammal_r.c: Likewise.
15989 * math/e_log10l.c: Likewise.
15990 * math/e_log2l.c: Likewise.
15991 * math/e_logl.c: Likewise.
15992 * math/e_powl.c: Likewise.
15993 * math/e_rem_pio2l.c: Likewise.
15994 * math/e_sinhl.c: Likewise.
15995 * math/e_sqrtl.c: Likewise.
15996 * math/fclrexcpt.c: Likewise.
15997 * math/fedisblxcpt.c: Likewise.
15998 * math/feenablxcpt.c: Likewise.
15999 * math/fegetenv.c: Likewise.
16000 * math/fegetexcept.c: Likewise.
16001 * math/fegetround.c: Likewise.
16002 * math/feholdexcpt.c: Likewise.
16003 * math/fesetenv.c: Likewise.
16004 * math/fesetround.c: Likewise.
16005 * math/feupdateenv.c: Likewise.
16006 * math/fgetexcptflg.c: Likewise.
16007 * math/fraiseexcpt.c: Likewise.
16008 * math/fsetexcptflg.c: Likewise.
16009 * math/ftestexcept.c: Likewise.
16010 * math/k_cosl.c: Likewise.
16011 * math/k_rem_pio2l.c: Likewise.
16012 * math/k_sinl.c: Likewise.
16013 * math/k_tanl.c: Likewise.
16014 * math/s_asinhl.c: Likewise.
16015 * math/s_atanl.c: Likewise.
16016 * math/s_cbrtl.c: Likewise.
16017 * math/s_erfl.c: Likewise.
16018 * math/s_expm1l.c: Likewise.
16019 * math/s_log1pl.c: Likewise.
16020 * math/s_tanhl.c: Likewise.
16021 * misc/acct.c: Likewise.
16022 * misc/brk.c: Likewise.
16023 * misc/chflags.c: Likewise.
16024 * misc/chroot.c: Likewise.
16025 * misc/fchflags.c: Likewise.
16026 * misc/fgetxattr.c: Likewise.
16027 * misc/flistxattr.c: Likewise.
16028 * misc/fremovexattr.c: Likewise.
16029 * misc/fsetxattr.c: Likewise.
16030 * misc/fsync.c: Likewise.
16031 * misc/ftruncate.c: Likewise.
16032 * misc/futimes.c: Likewise.
16033 * misc/futimesat.c: Likewise.
16034 * misc/getdomain.c: Likewise.
16035 * misc/getdtsz.c: Likewise.
16036 * misc/gethostid.c: Likewise.
16037 * misc/gethostname.c: Likewise.
16038 * misc/getloadavg.c: Likewise.
16039 * misc/getpagesize.c: Likewise.
16040 * misc/getsysstats.c: Likewise.
16041 * misc/getxattr.c: Likewise.
16042 * misc/gtty.c: Likewise.
16043 * misc/ioctl.c: Likewise.
16044 * misc/lgetxattr.c: Likewise.
16045 * misc/listxattr.c: Likewise.
16046 * misc/llistxattr.c: Likewise.
16047 * misc/lremovexattr.c: Likewise.
16048 * misc/lsetxattr.c: Likewise.
16049 * misc/lutimes.c: Likewise.
16050 * misc/madvise.c: Likewise.
16051 * misc/mincore.c: Likewise.
16052 * misc/mlock.c: Likewise.
16053 * misc/mlockall.c: Likewise.
16054 * misc/mmap.c: Likewise.
16055 * misc/mprotect.c: Likewise.
16056 * misc/msync.c: Likewise.
16057 * misc/munlock.c: Likewise.
16058 * misc/munlockall.c: Likewise.
16059 * misc/munmap.c: Likewise.
16060 * misc/preadv.c: Likewise.
16061 * misc/preadv64.c: Likewise.
16062 * misc/ptrace.c: Likewise.
16063 * misc/pwritev.c: Likewise.
16064 * misc/pwritev64.c: Likewise.
16065 * misc/readv.c: Likewise.
16066 * misc/reboot.c: Likewise.
16067 * misc/remap_file_pages.c: Likewise.
16068 * misc/removexattr.c: Likewise.
16069 * misc/revoke.c: Likewise.
16070 * misc/select.c: Likewise.
16071 * misc/setdomain.c: Likewise.
16072 * misc/setegid.c: Likewise.
16073 * misc/seteuid.c: Likewise.
16074 * misc/sethostid.c: Likewise.
16075 * misc/sethostname.c: Likewise.
16076 * misc/setregid.c: Likewise.
16077 * misc/setreuid.c: Likewise.
16078 * misc/setxattr.c: Likewise.
16079 * misc/sstk.c: Likewise.
16080 * misc/stty.c: Likewise.
16081 * misc/swapoff.c: Likewise.
16082 * misc/swapon.c: Likewise.
16083 * misc/sync.c: Likewise.
16084 * misc/syncfs.c: Likewise.
16085 * misc/syscall.c: Likewise.
16086 * misc/truncate.c: Likewise.
16087 * misc/ualarm.c: Likewise.
16088 * misc/usleep.c: Likewise.
16089 * misc/ustat.c: Likewise.
16090 * misc/utimes.c: Likewise.
16091 * misc/vhangup.c: Likewise.
16092 * misc/writev.c: Likewise.
16093 * posix/_exit.c: Likewise.
16094 * posix/alarm.c: Likewise.
16095 * posix/execve.c: Likewise.
16096 * posix/fexecve.c: Likewise.
16097 * posix/fork.c: Likewise.
16098 * posix/fpathconf.c: Likewise.
16099 * posix/getaddrinfo.c: Likewise.
16100 * posix/getegid.c: Likewise.
16101 * posix/geteuid.c: Likewise.
16102 * posix/getgid.c: Likewise.
16103 * posix/getgroups.c: Likewise.
16104 * posix/getlogin.c: Likewise.
16105 * posix/getlogin_r.c: Likewise.
16106 * posix/getpgid.c: Likewise.
16107 * posix/getpid.c: Likewise.
16108 * posix/getppid.c: Likewise.
16109 * posix/getresgid.c: Likewise.
16110 * posix/getresuid.c: Likewise.
16111 * posix/getsid.c: Likewise.
16112 * posix/getuid.c: Likewise.
16113 * posix/glob64.c: Likewise.
16114 * posix/nanosleep.c: Likewise.
16115 * posix/pathconf.c: Likewise.
16116 * posix/pause.c: Likewise.
16117 * posix/posix_madvise.c: Likewise.
16118 * posix/pread.c: Likewise.
16119 * posix/pread64.c: Likewise.
16120 * posix/pwrite.c: Likewise.
16121 * posix/pwrite64.c: Likewise.
16122 * posix/sched_getaffinity.c: Likewise.
16123 * posix/sched_getp.c: Likewise.
16124 * posix/sched_gets.c: Likewise.
16125 * posix/sched_primax.c: Likewise.
16126 * posix/sched_primin.c: Likewise.
16127 * posix/sched_rr_gi.c: Likewise.
16128 * posix/sched_setaffinity.c: Likewise.
16129 * posix/sched_setp.c: Likewise.
16130 * posix/sched_sets.c: Likewise.
16131 * posix/sched_yield.c: Likewise.
16132 * posix/setgid.c: Likewise.
16133 * posix/setlogin.c: Likewise.
16134 * posix/setpgid.c: Likewise.
16135 * posix/setresgid.c: Likewise.
16136 * posix/setresuid.c: Likewise.
16137 * posix/setsid.c: Likewise.
16138 * posix/setuid.c: Likewise.
16139 * posix/sleep.c: Likewise.
16140 * posix/spawni.c: Likewise.
16141 * posix/sysconf.c: Likewise.
16142 * posix/times.c: Likewise.
16143 * posix/wait.c: Likewise.
16144 * posix/wait3.c: Likewise.
16145 * posix/wait4.c: Likewise.
16146 * posix/waitpid.c: Likewise.
16147 * resolv/gai_sigqueue.c: Likewise.
16148 * resource/getpriority.c: Likewise.
16149 * resource/getrlimit.c: Likewise.
16150 * resource/getrusage.c: Likewise.
16151 * resource/nice.c: Likewise.
16152 * resource/setpriority.c: Likewise.
16153 * resource/setrlimit.c: Likewise.
16154 * resource/ulimit.c: Likewise.
16155 * rt/aio_cancel.c: Likewise.
16156 * rt/aio_fsync.c: Likewise.
16157 * rt/aio_read.c: Likewise.
16158 * rt/aio_sigqueue.c: Likewise.
16159 * rt/aio_suspend.c: Likewise.
16160 * rt/aio_write.c: Likewise.
16161 * rt/clock_getres.c: Likewise.
16162 * rt/clock_gettime.c: Likewise.
16163 * rt/clock_nanosleep.c: Likewise.
16164 * rt/clock_settime.c: Likewise.
16165 * rt/lio_listio.c: Likewise.
16166 * rt/mq_close.c: Likewise.
16167 * rt/mq_getattr.c: Likewise.
16168 * rt/mq_notify.c: Likewise.
16169 * rt/mq_open.c: Likewise.
16170 * rt/mq_receive.c: Likewise.
16171 * rt/mq_send.c: Likewise.
16172 * rt/mq_setattr.c: Likewise.
16173 * rt/mq_timedreceive.c: Likewise.
16174 * rt/mq_timedsend.c: Likewise.
16175 * rt/mq_unlink.c: Likewise.
16176 * rt/shm_open.c: Likewise.
16177 * rt/shm_unlink.c: Likewise.
16178 * rt/timer_create.c: Likewise.
16179 * rt/timer_delete.c: Likewise.
16180 * rt/timer_getoverr.c: Likewise.
16181 * rt/timer_gettime.c: Likewise.
16182 * rt/timer_settime.c: Likewise.
16183 * setjmp/__longjmp.c: Likewise.
16184 * setjmp/setjmp.c: Likewise.
16185 * signal/kill.c: Likewise.
16186 * signal/killpg.c: Likewise.
16187 * signal/raise.c: Likewise.
16188 * signal/sigaction.c: Likewise.
16189 * signal/sigaltstack.c: Likewise.
16190 * signal/sigblock.c: Likewise.
16191 * signal/sigignore.c: Likewise.
16192 * signal/sigintr.c: Likewise.
16193 * signal/signal.c: Likewise.
16194 * signal/sigpause.c: Likewise.
16195 * signal/sigpending.c: Likewise.
16196 * signal/sigqueue.c: Likewise.
16197 * signal/sigreturn.c: Likewise.
16198 * signal/sigset.c: Likewise.
16199 * signal/sigsetmask.c: Likewise.
16200 * signal/sigstack.c: Likewise.
16201 * signal/sigsuspend.c: Likewise.
16202 * signal/sigtimedwait.c: Likewise.
16203 * signal/sigvec.c: Likewise.
16204 * signal/sigwait.c: Likewise.
16205 * signal/sigwaitinfo.c: Likewise.
16206 * signal/sysv_signal.c: Likewise.
16207 * socket/accept.c: Likewise.
16208 * socket/accept4.c: Likewise.
16209 * socket/bind.c: Likewise.
16210 * socket/connect.c: Likewise.
16211 * socket/getpeername.c: Likewise.
16212 * socket/getsockname.c: Likewise.
16213 * socket/getsockopt.c: Likewise.
16214 * socket/isfdtype.c: Likewise.
16215 * socket/listen.c: Likewise.
16216 * socket/recv.c: Likewise.
16217 * socket/recvfrom.c: Likewise.
16218 * socket/recvmsg.c: Likewise.
16219 * socket/send.c: Likewise.
16220 * socket/sendmsg.c: Likewise.
16221 * socket/sendto.c: Likewise.
16222 * socket/setsockopt.c: Likewise.
16223 * socket/shutdown.c: Likewise.
16224 * socket/sockatmark.c: Likewise.
16225 * socket/socket.c: Likewise.
16226 * socket/socketpair.c: Likewise.
16227 * stdio-common/ctermid.c: Likewise.
16228 * stdio-common/cuserid.c: Likewise.
16229 * stdio-common/remove.c: Likewise.
16230 * stdio-common/rename.c: Likewise.
16231 * stdio-common/renameat.c: Likewise.
16232 * stdio-common/tempname.c: Likewise.
16233 * stdlib/getcontext.c: Likewise.
16234 * stdlib/makecontext.c: Likewise.
16235 * stdlib/setcontext.c: Likewise.
16236 * stdlib/swapcontext.c: Likewise.
16237 * stdlib/system.c: Likewise.
16238 * streams/fattach.c: Likewise.
16239 * streams/fdetach.c: Likewise.
16240 * streams/getmsg.c: Likewise.
16241 * streams/getpmsg.c: Likewise.
16242 * streams/putmsg.c: Likewise.
16243 * streams/putpmsg.c: Likewise.
16244 * sysdeps/unix/bsd/getpt.c: Likewise.
16245 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16246 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16247 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16249 Likewise.
16250 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16251 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16252 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16253 * sysvipc/msgctl.c: Likewise.
16254 * sysvipc/msgget.c: Likewise.
16255 * sysvipc/msgrcv.c: Likewise.
16256 * sysvipc/msgsnd.c: Likewise.
16257 * sysvipc/semctl.c: Likewise.
16258 * sysvipc/semget.c: Likewise.
16259 * sysvipc/semop.c: Likewise.
16260 * sysvipc/semtimedop.c: Likewise.
16261 * sysvipc/shmat.c: Likewise.
16262 * sysvipc/shmctl.c: Likewise.
16263 * sysvipc/shmdt.c: Likewise.
16264 * sysvipc/shmget.c: Likewise.
16265 * termios/tcdrain.c: Likewise.
16266 * termios/tcflow.c: Likewise.
16267 * termios/tcflush.c: Likewise.
16268 * termios/tcgetattr.c: Likewise.
16269 * termios/tcgetpgrp.c: Likewise.
16270 * termios/tcsendbrk.c: Likewise.
16271 * termios/tcsetattr.c: Likewise.
16272 * termios/tcsetpgrp.c: Likewise.
16273 * time/adjtime.c: Likewise.
16274 * time/clock.c: Likewise.
16275 * time/getitimer.c: Likewise.
16276 * time/gettimeofday.c: Likewise.
16277 * time/setitimer.c: Likewise.
16278 * time/settimeofday.c: Likewise.
16279 * time/stime.c: Likewise.
16280 * time/time.c: Likewise.
16281
162822012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16283
a20492cf
PT
16284 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16285 /usr/old/bin.
16286
72e182e3
PT
16287 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16288 instead of spaces.
16289 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16290
fbeafede
JM
162912012-11-03 Joseph Myers <joseph@codesourcery.com>
16292
5b5b04d6
JM
16293 [BZ #14796]
16294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16295 FE_TONEAREST before applying Dekker multiplication and Knuth
16296 addition. Clear inexact exceptions and check for exact zero
16297 results afterwards.
16298 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16299 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16300 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16301 * math/libm-test.inc (fma_test): Add more tests.
16302 (fma_test_towardzero): Likewise.
16303 (fma_test_downward): Likewise.
16304 (fma_test_upward): Likewise.
16305 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16306 function.
16307 (libc_fesetround): New macro.
16308 (libc_fesetroundf): Likewise.
16309 (libc_fesetroundl): Likewise.
16310 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16311 function.
16312 (libc_fesetround_387): Likewise.
16313 (libc_fesetroundf): New macro.
16314 (libc_fesetround): Likewise.
16315 (libc_fesetroundl): Likewise.
16316 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16317 function.
16318 (libc_fesetroundf): New macro.
16319 (libc_fesetround): Likewise.
16320 (libc_fesetroundl): Likewise.
16321 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16322 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16323 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16324 libm_hidden_ver.
16325 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16326 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16327 libm_hidden_def.
16328 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16329 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16330 libm_hidden_ver.
16331 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16332 libm_hidden_def.
16333
fbeafede
JM
16334 [BZ #3439]
16335 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16336 integer constant usable in #if and use that to give value to enum
16337 constant.
16338 (FE_DIVBYZERO): Likewise.
16339 (FE_UNDERFLOW): Likewise.
16340 (FE_OVERFLOW): Likewise.
16341 (FE_INVALID): Likewise.
16342 (FE_INVALID_SNAN): Likewise.
16343 (FE_INVALID_ISI): Likewise.
16344 (FE_INVALID_IDI): Likewise.
16345 (FE_INVALID_ZDZ): Likewise.
16346 (FE_INVALID_IMZ): Likewise.
16347 (FE_INVALID_COMPARE): Likewise.
16348 (FE_INVALID_SOFTWARE): Likewise.
16349 (FE_INVALID_SQRT): Likewise.
16350 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16351 (FE_TONEAREST): Likewise.
16352 (FE_TOWARDZERO): Likewise.
16353 (FE_UPWARD): Likewise.
16354 (FE_DOWNWARD): Likewise.
16355 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16356 (FE_DIVBYZERO): Likewise.
16357 (FE_OVERFLOW): Likewise.
16358 (FE_UNDERFLOW): Likewise.
16359 (FE_INEXACT): Likewise.
16360 (FE_TONEAREST): Likewise.
16361 (FE_DOWNWARD): Likewise.
16362 (FE_UPWARD): Likewise.
16363 (FE_TOWARDZERO): Likewise.
16364 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16365 (FE_UNDERFLOW): Likewise.
16366 (FE_OVERFLOW): Likewise.
16367 (FE_DIVBYZERO): Likewise.
16368 (FE_INVALID): Likewise.
16369 (FE_TONEAREST): Likewise.
16370 (FE_TOWARDZERO): Likewise.
16371 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16372 (FE_OVERFLOW): Likewise.
16373 (FE_UNDERFLOW): Likewise.
16374 (FE_DIVBYZERO): Likewise.
16375 (FE_INEXACT): Likewise.
16376 (FE_TONEAREST): Likewise.
16377 (FE_TOWARDZERO): Likewise.
16378 (FE_UPWARD): Likewise.
16379 (FE_DOWNWARD): Likewise.
16380 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16381 (FE_DIVBYZERO): Likewise.
16382 (FE_OVERFLOW): Likewise.
16383 (FE_UNDERFLOW): Likewise.
16384 (FE_INEXACT): Likewise.
16385 (FE_TONEAREST): Likewise.
16386 (FE_DOWNWARD): Likewise.
16387 (FE_UPWARD): Likewise.
16388 (FE_TOWARDZERO): Likewise.
16389
105ca950
CM
163902012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16391
16392 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16393
a542b389
AS
163942012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16395
16396 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16397 commands. Quote $PWD.
16398 (blacklist_exports): Don't use remove_newlines. Replace "declare
16399 -x" by "export".
16400 (remove_newlines): Remove.
16401
f62c8abc
L
164022012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16403
16404 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16405 * stdlib/stdlib.h (atof): Moved to ...
16406 * include/bits/stdlib-float.h: Here. New file.
16407 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16408 * stdlib/bits/stdlib-float.h: New file.
16409 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16410 -mno-sse -mno-mmx.
16411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16412 <xmmintrin.h>.
16413
0155d5b2
JM
164142012-11-02 Joseph Myers <joseph@codesourcery.com>
16415
a68d0680
JM
16416 * conform/conformtest.pl (@headers): Add fenv.h.
16417 * conform/data/fenv.h-data: New file.
16418 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16419 include of <math/fenv.h>.
16420
caf7f573
JM
16421 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16422 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16423 && !UNIX98]. Enables tests for XOPEN2K8.
16424 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16425 POSIX2008]: Likewise.
16426
6c073ad6
JM
16427 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16428 (struct rusage): Do not expect type or its members.
16429
0155d5b2
JM
16430 [BZ #3439]
16431 * math/math.h (FP_NAN): Define macro to integer constant usable in
16432 #if and use that to give value to enum constant.
16433 (FP_INFINITE): Likewise.
16434 (FP_ZERO): Likewise.
16435 (FP_SUBNORMAL): Likewise.
16436 (FP_NORMAL): Likewise.
16437
b5dcacb4
AS
164382012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16439
16440 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16441 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16442 arguments.
16443
f7934be8
RM
164442012-11-02 Roland McGrath <roland@hack.frob.com>
16445
16446 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16447 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16448 autoconf-time if not.
16449 * configure.in: Remove AC_PREREQ.
16450
d7d08bde
TMQMF
164512012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16452
16453 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16454 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16455 of the internal implementation.
16456
dcdae19a
JM
164572012-11-02 Joseph Myers <joseph@codesourcery.com>
16458
16459 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16460 except include of <misc/sys/syslog.h>.
16461
d6cffd3e
AS
164622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16463
16464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16465 function returns with a NULL context exit with zero.
16466
b3563932
TMQMF
164672012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16468
16469 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16470
b288a93d
L
164712012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16472
16473 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16474 (run_program_cmd): This.
16475 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16476 (tst_langinfo): New variable. Use it.
16477
a2421a68
SAS
164782012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16479
16480 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16481 floating point opcodes.
16482
6f796e1b
TS
164832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16484
7402596b
TS
16485 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16486 variable.
16487
d0d4f868
TS
16488 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16489
6f796e1b
TS
16490 * sysdeps/mach/hurd/powerpc: Remove directory.
16491 * sysdeps/mach/powerpc: Likewise.
16492
4da224a2
AS
164932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16494
16495 * scripts/check-local-headers.sh: Ignore c++ headers.
16496
341dd673
TS
164972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16498
16499 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16500 __libc_cleanup_region_start argument.
16501
473611b2
JM
165022012-11-01 Joseph Myers <joseph@codesourcery.com>
16503
16504 [BZ #14784]
16505 [BZ #14785]
16506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16507 x * y using scaling, not as x * y + z.
16508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16510 * math/libm-test.inc (fma_test): Add more tests.
16511 (fma_test_towardzero): Likewise.
16512 (fma_test_downward): Likewise.
16513 (fma_test_upward): Likewise.
16514
4078da3d
TS
165152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16516
16517 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16518
903252aa
JM
165192012-10-31 Joseph Myers <joseph@codesourcery.com>
16520
16521 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16522 New variable.
16523
cbc818d0
TS
165242012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16525
16526 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16527
5a03cb1e
AS
165282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16529
16530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16531 Fix sort order.
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16533 Likewise.
16534
90aff2ff
TMQMF
165352012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16536
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16538 Fix the order of the list for glibc 2.17.
16539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16540 Likewise.
16541
1818fcb7
AS
165422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16543
16544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16545
ef82f4da
JM
165462012-10-31 Joseph Myers <joseph@codesourcery.com>
16547
16a0e2ec
JM
16548 [BZ #14610]
16549 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16550 for low part of x being zero before using __atanl (y).
16551 * math/libm-test.inc (atan2_test): Add another test.
16552
0eb69512
JM
16553 * manual/install.texi (Configuring and compiling): Document
16554 general use of test-wrapper and test-wrapper-env.
16555 * INSTALL: Regenerated.
16556
ef82f4da
JM
16557 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16558 (__fma): Do not extract and scale down low bits on after-rounding
16559 systems when result rounded to normal precision would have normal
16560 exponent.
16561 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16562 (__fmal): Do not extract and scale down low bits on after-rounding
16563 systems when result rounded to normal precision would have normal
16564 exponent.
16565 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16566 (__fmal): Do not extract and scale down low bits on after-rounding
16567 systems when result rounded to normal precision would have normal
16568 exponent.
16569 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16570 macro.
16571 (fma_test): Add more tests.
16572 (fma_test_towardzero): Likewise.
16573 (fma_test_downward): Likewise.
16574 (fma_test_upward): Likewise.
16575
954ef0d9
L
165762012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16577
16578 * sysdeps/i386/tininess.h: Renamed to ...
16579 * sysdeps/x86/tininess.h: This.
16580 * sysdeps/x86_64/tininess.h: Removed.
16581
df61ffb2
JM
165822012-10-30 Joseph Myers <joseph@codesourcery.com>
16583
16584 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16585 input. Use $(build-program-cmd).
16586 ($(objpfx)tst-array1-static.out): Likewise.
16587 ($(objpfx)tst-array2.out): Likewise.
16588 ($(objpfx)tst-array3.out): Likewise.
16589 ($(objpfx)tst-array4.out): Likewise.
16590 ($(objpfx)tst-array5.out): Likewise.
16591 ($(objpfx)tst-array5-static.out): Likewise.
16592
01767843
CM
165932012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16594
47cc1490
CM
16595 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16596 if defined.
16597
01767843
CM
16598 * nss/nsswitch.h (nss_interface_function): Provide new
16599 macro for use with NSS functions.
16600 * grp/initgroups.c: Use new macro.
16601 * nss/getXXbyYY.c: Likewise.
16602 * nss/getXXbyYY_r.c: Likewise.
16603 * nss/getXXent.c: Likewise.
16604 * nss/getXXent_r.c: Likewise.
16605 * sysdeps/posix/getaddrinfo.c: Likewise.
16606
8321aa97
AJ
166072012-10-30 Andreas Jaeger <aj@suse.de>
16608
16609 * po/ru.po: Update Russion translation from translation project.
16610
2a27fd6d
JM
166112012-10-30 Joseph Myers <joseph@codesourcery.com>
16612
8627a232
JM
16613 [BZ #14152]
16614 [BZ #14783]
16615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16616 result and shift together with sticky bit instead of replicating
16617 round-to-nearest rounding.
16618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16620 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16621 missing underflow exceptions.
16622 (fma_test_towardzero): Add more tests.
16623 (fma_test_downward): Likewise.
16624 (fma_test_upward): Likewise.
16625
2a27fd6d
JM
16626 [BZ #14047]
16627 * sysdeps/generic/tininess.h: New file.
16628 * sysdeps/i386/tininess.h: Likewise.
16629 * sysdeps/sh/tininess.h: Likewise.
16630 * sysdeps/x86_64/tininess.h: Likewise.
16631 * stdlib/tst-strtod-underflow.c: Likewise.
16632 * stdlib/tst-tininess.c: Likewise.
16633 * stdlib/strtod_l.c: Include <tininess.h>.
16634 (round_and_return): Do not set errno for exact underflow cases.
16635 Force an underflow exception when setting errno for underflow.
16636 Determine underflow based on rounding to normal precision if
16637 TININESS_AFTER_ROUNDING.
16638 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16639 ERANGE for exact underflow cases.
16640 * stdlib/Makefile (tests): Add tst-tininess and
16641 tst-strtod-underflow.
16642 ($(objpfx)tst-tininess): Use $(link-libm).
16643 ($(objpfx)tst-strtod-underflow): Likewise.
16644
e7170363
AJ
166452012-10-30 Andreas Jaeger <aj@suse.de>
16646
e5088dc6
AJ
16647 [BZ#14767]
16648 * elf/Makefile (tests): Remove conditional for have-initfini-array
16649 since this is now always required and the variable does not exist
16650 anymore.
16651 (tests-static): Likewise.
16652 (modules-names): Likewise.
16653
e7170363 16654 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16655
16656 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16657 merged with constructor/destructor.
16658 (init_array): Likewise.
16659 * elf/tst-array2dep.c (fini_array): Likewise.
16660 (init_array): Likewise.
16661
60457d8a
MF
166622012-10-29 Mike Frysinger <vapier@gentoo.org>
16663
16664 * manual/message.texi: Delete @cartouche tags.
16665
8bece752
PT
166662012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16667
94ce799f
PT
16668 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16669 EOPNOTSUPP.
16670 * sysdeps/mach/hurd/fsync.c: Likewise.
16671
8bece752
PT
16672 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16673 [_POSIX_REALTIME_SIGNALS]: Change condition to
16674 [_POSIX_REALTIME_SIGNALS > 0].
16675
86ebe6b1
AJ
166762012-10-27 Andreas Jaeger <aj@suse.de>
16677
16678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16679 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16680 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16681 [__WORDSIZE != 64]: Likewise.
16682
54399c08
L
166832012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16684
16685 * iconvdata/tst-table.sh: Remove ${SHELL}.
16686 * iconvdata/tst-tables.sh: Likewise.
16687
e2211bed
DM
166882012-10-25 David S. Miller <davem@davemloft.net>
16689
16690 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16691 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16692 of strtoull.
16693
f303f97c
DM
16694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16695 ifunc-impl-list.c
16696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16697 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16698 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16699 file.
16700
1e9d84cd
RM
167012012-10-25 Roland McGrath <roland@hack.frob.com>
16702
16703 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16704 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16705 __getdirentries.
16706
df381762
JM
167072012-10-25 Joseph Myers <joseph@codesourcery.com>
16708 Jim Blandy <jimb@codesourcery.com>
16709
16710 * scripts/cross-test-ssh.sh: New file.
16711 * manual/install.texi (Configuring and compiling): Document use of
16712 cross-test-ssh.sh.
16713 * INSTALL: Regenerated.
16714
bff64913
PT
167152012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16716
16717 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16718 EOPNOTSUPP.
16719
25fe8932
JM
167202012-10-25 Joseph Myers <joseph@codesourcery.com>
16721
16722 * Makeconfig (run-program-prefix): Fix comment.
16723
cc1290d0
JM
167242012-10-24 Joseph Myers <joseph@codesourcery.com>
16725 Jim Blandy <jimb@codesourcery.com>
16726
16727 * Makeconfig (test-wrapper): New variable,
16728 (test-wrapper-env): Likewise.
16729 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16730 (run-built-tests): Define to yes.
16731 (run-program-prefix): Use $(test-wrapper).
16732 (built-program-cmd): Likewise.
16733 * Rules (make-test-out): Use $(test-wrapper-env) and
16734 $(host-built-program-cmd).
16735 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16736 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16737 tst-pathopt.sh.
16738 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16739 $(test-wrapper-env) to tst-rtld-load-self.sh.
16740 ($(objpfx)order2.out): Use $(test-wrapper).
16741 ($(objpfx)tst-initorder.out): Likewise.
16742 ($(objpfx)tst-initorder2.out): Likewise.
16743 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16744 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16745 (test_wrapper_env): New variable. Use it to run ld.so.
16746 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16747 Use it to run ld.so.
16748 (test_wrapper_env): Likewise.
16749 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16750 $(test-wrapper) to run-iconv-test.sh.
16751 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16752 (ICONV): Use $test_wrapper.
16753 * posix/Makefile ($(objpfx)globtest.out): Pass
16754 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16755 globtest.sh, not $(run-program-prefix).
16756 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16757 (test_wrapper): Likewise.
16758 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16759 set together with run_via_rtld_prefix.
16760 (run_program_prefix): Define in terms of test_wrapper and
16761 run_via_rtld_prefix.
16762
6e6249d0
RM
167632012-10-24 Roland McGrath <roland@hack.frob.com>
16764
16765 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16766 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16767 Targets removed.
16768
16769 [BZ #14743]
16770 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16771 Declare __clock_getres, __clock_gettime, __clock_settime,
16772 __clock_nanosleep, and __clock_getcpuclockid.
16773 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16774 Remove librt_hidden_def (clock_gettime).
16775 * sysdeps/unix/clock_gettime.c: Likewise.
16776 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16777 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16778 * rt/clock_getres.c: Define __clock_getres as an alias.
16779 * sysdeps/posix/clock_getres.c: Likewise.
16780 * rt/clock_settime.c: Define __clock_settime as an alias.
16781 * sysdeps/unix/clock_settime.c: Likewise.
16782 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16783 * sysdeps/unix/clock_nanosleep.c: Likewise.
16784 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16785 * rt/clock-compat.c: New file.
16786 * rt/Makefile (librt-routines): Add clock-compat and move
16787 $(clock-routines) to ...
16788 (routines): ... here, new variable.
16789 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16790 Don't add get_clockfreq here.
16791 * rt/Versions (libc: GLIBC_2.17): New version set.
16792 Add clock_* symbols here.
16793 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16794 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16795 (GLIBC_2.17): Add clock_* symbols.
16796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16800 Likewise.
16801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16802 Likewise.
16803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16807 * NEWS: Mention the move.
16808
16809 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16810 Use __open, __read, __close rather than their public counterparts.
16811 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16812 (__get_clockfreq_via_cpuinfo): Likewise.
16813 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16814 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16815
16816 * config.h.in (HAVE_IFUNC): New #undef.
16817 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16818 was successful.
16819 * configure: Regenerated.
16820
0cae3f4b
MF
168212012-10-24 Mike Frysinger <vapier@gentoo.org>
16822
16823 * configure.in: Move READELF check to start of file.
16824 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16825 libc_cv_asm_gnu_indirect_function in the process.
16826 * configure: Regenerated.
16827
8175a253
MF
168282012-10-24 Mike Frysinger <vapier@gentoo.org>
16829
16830 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16831 send the output to /dev/null.
16832 (libc_cv_cc_with_libunwind): Likewise.
16833 (libc_cv_as_noexecstack): Likewise.
16834 * configure: Regenerate.
16835
0708a7d1
JM
168362012-10-24 Joseph Myers <joseph@codesourcery.com>
16837
10b40d85
JM
16838 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16839
0708a7d1
JM
16840 * posix/globtest.sh (TMPDIR): Do not set.
16841 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16842 (testout): Likewise.
16843
9fddec1a
AJ
168442012-10-24 Andreas Jaeger <aj@suse.de>
16845
3a8db22f
AJ
16846 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16847 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16848 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16849 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16850 posix_fadvise64, posix_fallocate64.
16851
9fddec1a
AJ
16852 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16853 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16854 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16855 Likewise.
16856 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16857 Likewise.
16858 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16859
16860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16861 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16862 <bits/fcntl-linux.h>.
16863 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16864
16865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16866 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16867 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16868 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16869 [__WORDSIZE != 64]: Likewise.
16870
ebfd1bbd
JM
168712012-10-23 Joseph Myers <joseph@codesourcery.com>
16872
03ac099f
JM
16873 * Makeconfig (run-built-tests): New variable.
16874 * Rules [$(cross-compiling) = yes]: Change condition to
16875 [$(run-built-tests) = no].
16876 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16877 to [$(run-built-tests) = yes].
16878 * elf/Makefile [$(cross-compiling) = no]: Likewise
16879 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16880 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16881 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16882 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16883 * io/Makefile [$(cross-compiling) = no]: Likewise.
16884 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16885 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16886 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16887 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16888 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16889 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16890 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16891 * string/Makefile [$(cross-compiling) = no]: Likewise.
16892
ebfd1bbd
JM
16893 * posix/Makefile ($(objpfx)globtest.out): Pass
16894 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16895 $(rtld-installed-name).
16896 * posix/globtest.sh (elf_objpfx): Remove variable.
16897 (rtld_installed_name): Likewise.
16898 (library_path): Likewise.
16899 (run_program_prefix): New variable. Use for running globtest
16900 binary.
16901
166bca24
JB
169022012-10-23 Jim Blandy <jimb@codesourcery.com>
16903 Joseph Myers <joseph@codesourcery.com>
16904
16905 * Makeconfig (host-built-program-cmd): New variable.
16906 * elf/Makefile (tst-stackguard1-ARGS): Use
16907 $(host-built-program-cmd).
16908 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16909 (tst-spawn-ARGS): Likewise.
16910 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16911
88866099
JM
169122012-10-23 Joseph Myers <joseph@codesourcery.com>
16913 Jim Blandy <jimb@codesourcery.com>
16914
16915 * Makeconfig (run-via-rtld-prefix): New variable.
16916 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16917 (built-program-cmd): Likewise.
16918
b4b4c296
AJ
169192012-10-22 Andreas Jaeger <aj@suse.de>
16920
16921 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16922 __O_RSYNC if it exists, otherwise to O_SYNC.
16923
6fb54a22
JB
169242012-10-22 Jim Blandy <jimb@codesourcery.com>
16925 Joseph Myers <joseph@codesourcery.com>
16926
16927 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16928 /dev/null.
16929 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16930 from /dev/null
16931 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16932 /dev/null.
16933
481b90b9
AJ
169342012-10-22 Andreas Jaeger <aj@suse.de>
16935
2a0e2669
AJ
16936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16937 Define always.
16938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16939
76e38f9a
AJ
16940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16941 bits/fcntl-linux.h.
16942
7cd37b43
AJ
16943 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16944 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16945
481b90b9
AJ
16946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16947 to __O_LARGEFILE.
16948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16949 to __O_LARGEFILE.
16950
aba75984
JB
169512012-10-21 Jim Blandy <jimb@codesourcery.com>
16952 Joseph Myers <joseph@codesourcery.com>
16953
16954 * config.make.in (NM): New variable.
16955
88d4247f
AJ
169562012-10-21 Andreas Jaeger <aj@suse.de>
16957
16958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16959 definitions and declarations that are provided by
16960 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16961
f2eed205
L
169622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16963
16964 [BZ #14683]
16965 * elf/Makefile (tests-static): Add tst-leaks1-static.
16966 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16967 ($(objpfx)tst-leaks1-static): New rule.
16968 ($(objpfx)tst-leaks1-static-mem): Likewise.
16969 (tst-leaks1-static-ENV): New macro.
16970 * elf/dl-open.c (dl_open_worker): Check the main application
16971 only if SHARED is defined.
16972 * elf/tst-leaks1-static.c: New file.
16973
335e6931
AJ
169742012-10-20 Andreas Jaeger <aj@suse.de>
16975
16976 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16977 generic values for Linux.
16978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16979 and declarations that are provided by <bits/fcntl-linux.h> and
16980 include <bits/fcntl-linux.h>.
16981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16983
ac5c94d3
RM
169842012-10-20 Roland McGrath <roland@hack.frob.com>
16985
16986 * io/fcntl.h: Move include of <bits/types.h> to the top and
16987 include it unconditionally.
16988
de54b33a
L
169892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16990
228cfb01
L
16991 * wcsmbs/Makefile (tests-ifunc): New variable.
16992 (tests): Add $(tests-ifunc).
16993 * wcsmbs/test-wcschr-ifunc.c: New file.
16994 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16995 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16996 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16997 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16998 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16999
69f07e5f
L
17000 * string/Makefile (tests-ifunc): New variable.
17001 (tests): Add $(tests-ifunc).
17002 * string/test-memccpy.c (TEST_NAME): New macro.
17003 * string/test-memchr.c (TEST_NAME): Likewise.
17004 * string/test-memcmp.c (TEST_NAME): Likewise.
17005 * string/test-memcpy.c (TEST_NAME): Likewise.
17006 * string/test-memmem.c (TEST_NAME): Likewise.
17007 * string/test-memmove.c (TEST_NAME): Likewise.
17008 * string/test-memset.c (TEST_NAME): Likewise.
17009 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17010 * string/test-stpcpy.c (TEST_NAME): Likewise.
17011 * string/test-stpncpy.c (TEST_NAME): Likewise.
17012 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17013 * string/test-strcasestr.c (TEST_NAME): Likewise.
17014 * string/test-strcat.c (TEST_NAME): Likewise.
17015 * string/test-strchr.c (TEST_NAME): Likewise.
17016 * string/test-strcmp.c(TEST_NAME): Likewise.
17017 * string/test-strcpy.c (TEST_NAME): Likewise.
17018 * string/test-strcspn.c (TEST_NAME): Likewise.
17019 * string/test-strlen.c (TEST_NAME): Likewise.
17020 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17021 * string/test-strncmp.c (TEST_NAME): Likewise.
17022 * string/test-strncpy.c (TEST_NAME): Likewise.
17023 * string/test-strnlen.c (TEST_NAME): Likewise.
17024 * string/test-strpbrk.c (TEST_NAME): Likewise.
17025 * string/test-strrchr.c (TEST_NAME): Likewise.
17026 * string/test-strspn.c (TEST_NAME): Likewise.
17027 * string/test-strstr.c (TEST_NAME): Likewise.
17028 * string/test-bcopy-ifunc.c: New file.
17029 * string/test-bzero-ifunc.c: Likewise.
17030 * string/test-memccpy-ifunc.c: Likewise.
17031 * string/test-memchr-ifunc.c: Likewise.
17032 * string/test-memcmp-ifunc.c: Likewise.
17033 * string/test-memcpy-ifunc.c: Likewise.
17034 * string/test-memmem-ifunc.c: Likewise.
17035 * string/test-memmove-ifunc.c: Likewise.
17036 * string/test-mempcpy-ifunc.c: Likewise.
17037 * string/test-memset-ifunc.c: Likewise.
17038 * string/test-rawmemchr-ifunc.c: Likewise.
17039 * string/test-stpcpy-ifunc.c: Likewise.
17040 * string/test-stpncpy-ifunc.c: Likewise.
17041 * string/test-strcasecmp-ifunc.c: Likewise.
17042 * string/test-strcasestr-ifunc.c: Likewise.
17043 * string/test-strcat-ifunc.c: Likewise.
17044 * string/test-strchr-ifunc.c: Likewise.
17045 * string/test-strchrnul-ifunc.c: Likewise.
17046 * string/test-strcmp-ifunc.c: Likewise.
17047 * string/test-strcpy-ifunc.c: Likewise.
17048 * string/test-strcspn-ifunc.c: Likewise.
17049 * string/test-strlen-ifunc.c: Likewise.
17050 * string/test-strncasecmp-ifunc.c: Likewise.
17051 * string/test-strncat-ifunc.c: Likewise.
17052 * string/test-strncmp-ifunc.c: Likewise.
17053 * string/test-strncpy-ifunc.c: Likewise.
17054 * string/test-strnlen-ifunc.c: Likewise.
17055 * string/test-strpbrk-ifunc.c: Likewise.
17056 * string/test-strrchr-ifunc.c: Likewise.
17057 * string/test-strspn-ifunc.c: Likewise.
17058 * string/test-strstr-ifunc.c: Likewise.
17059
de54b33a
L
17060 * debug/Makefile (tests-ifunc): New variable.
17061 (tests): Add $(tests-ifunc).
17062 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17063 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17064 * debug/test-stpcpy_chk-ifunc.c: New file.
17065 * debug/test-strcpy_chk-ifunc.c: Likewise.
17066
88481c16
SP
170672012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17068
17069 [BZ #13601]
17070 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17071 header is not read in.
17072
135948bd
JM
170732012-10-19 Joseph Myers <joseph@codesourcery.com>
17074
89f1c388
JM
17075 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17076 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17077 directly. Pass built executable to script as
17078 $(built-program-cmd).
17079 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17080 $testprogram without using LD_LIBRARY_PATH and $ldso.
17081
e40a0d21
JM
17082 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17083 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17084 $(rtld-installed-name).
17085 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17086 (rtld_installed_name): Likewise.
17087 (library_path): Likewise.
17088 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17089 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17090 $(run-program-prefix) to tst-tables.sh.
17091 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17092 it to run tst-table-from and tst-table-to.
17093 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17094 Pass it to tst-table.sh.
17095 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17096 $(run-program-prefix) to tst-gettext.sh.
17097 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17098 tst-translit.sh.
17099 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17100 tst-gettext2.sh.
17101 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17102 to run tst-gettext.
17103 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17104 to run tst-gettext2.
17105 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17106 to run tst-translit.
17107 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17108 $(run-program-prefix) to tst-mtrace.sh.
17109 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17110 to run tst-mtrace.
17111 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17112 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17113 $(rtld-installed-name).
17114 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17115 (rtld_installed_name): Likewise.
17116 (run_program_prefix): New variable. Use it to run wordexp-test.
17117
728e272a
JM
17118 * Makeconfig (ARCH): Remove all definitions.
17119 (machine): Likewise.
17120 [ARCH]: Remove conditional code.
17121 [!objdir]: Give error.
17122 [!objdir] (objpfx): Remove.
17123 [!objdir] (common-objpfx): Likewise.
17124 [!objdir] (common-objdir): Likewise.
17125 * configure.in (config_makefile): Remove. Hardcode Makefile in
17126 AC_CONFIG_FILES call.
17127 * configure: Regenerated.
17128
d528cdcf
JM
17129 [BZ #13888]
17130 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17131 or TMPDIR.
17132 (testout): Likewise.
17133
135948bd
JM
17134 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17135 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17136 $(rtld-installed-name).
17137 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17138 (rtld_installed_name): Likwise.
17139 (runit): Remove function.
17140 (run_getconf): New variable, Use it for running getconf binary.
17141
38c78296
L
171422012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17143
17144 [BZ #14716]
17145 * string/test-memmem.c (check_result): New function.
17146 (do_one_test): Use it.
17147 (check1): New function.
17148 (test_main): Use it.
17149
d077f65f
MT
171502012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17151
17152 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17153
ced52c71
JM
171542012-10-18 Joseph Myers <joseph@codesourcery.com>
17155
17156 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17157 (_G_LSEEK64): Likewise.
17158 (_G_MMAP64): Likewise.
17159 (_G_FSTAT64): Likewise.
17160 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17161 (_G_LSEEK64): Likewise.
17162 (_G_MMAP64): Likewise.
17163 (_G_FSTAT64): Likewise.
17164 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17165 unconditional. Call __mmap64 directly.
17166 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17167 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17168 __lseek64 directly.
17169 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17170 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17171 __mmap64 directly.
17172 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17173 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17174 __lseek64 directly.
17175 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17176 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17177 __lseek64 directly.
17178 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17179 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17180 __lseek64 directly.
17181 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17182 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17183 __fxstat64 directly.
17184 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17185 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17186 unconditional.
17187 (freopen64) [!_G_OPEN64]: Remove conditional code.
17188 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17189 unconditional.
17190 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17191 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17192 unconditional.
17193 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17194 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17195 unconditional.
17196 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17197 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17198 unconditional.
17199 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17200 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17201 unconditional.
17202 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17203 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17204 unconditional.
17205 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17206 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17207 unconditional.
17208 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17209
b741de23
SP
172102012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17211
17212 [BZ #12140]
17213 * manual/memory.texi (Malloc Tunable Parameters): Add note
17214 about free list pointers overwriting some perturb bytes.
17215 Wording suggested by Roland McGrath.
17216
f9b9d9c9
JM
172172012-10-17 Joseph Myers <joseph@codesourcery.com>
17218
17219 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17220 (lgamma_test): Likewise.
17221 (tgamma_test): Likewise.
17222
172a631a
FW
172232012-10-16 Florian Weimer <fweimer@redhat.com>
17224
17225 [BZ #14700]
17226 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17227 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17228
e9f37252
MK
172292012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17230
17231 * NEWS: Mention BZ #14716.
17232 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17233 when removing AVAILABLE1_USES_J macro.
17234
d394eb74
L
172352012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17236
17237 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17238 (__bswap_64): __uint64_t for unsigned 64-bit int.
17239
ca38dc17
AS
172402012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17241
17242 * include/string.h (memmem): Declare libc hidden alias.
17243 * string/memmem.c (memmem): Define libc hidden alias.
17244 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17245 __read, __close instead of open, read, close.
17246
9a387d1f
L
172472012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17248
ac49ecaf
L
17249 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17250 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17251 global and hidden.
17252 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17253 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17254 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17255 Likewise.
17256 (__rawmemchr_sse2): Likewise.
17257 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17258 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17259 (__strchr_sse2): Likewise.
17260 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17261 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17262 (__strcasecmp_sse2): Likewise.
17263 (__strncasecmp_sse2): Likewise.
17264 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17265 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17266 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17267 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17268 (__strrchr_sse2): Likewise.
17269 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17270 ifunc-impl-list.c.
17271 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17272 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17273 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17274 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17275 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17276 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17277 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17278 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17279 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17280 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17281 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17282 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17283 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17284 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17285 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17286 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17287 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17288 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17289 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17290 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17291 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17292 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17293 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17294 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17295 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17296 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17297 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17298 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17299 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17300 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17301
b090e8ea
L
17302 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17303 global and hidden.
17304 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17305 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17306 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17307 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17308 Likewise.
17309 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17310 Likewise.
17311 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17312 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17313 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17314 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17315 ifunc-impl-list.c.
17316 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17317 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17318 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17319 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17320 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17321 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17322 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17323 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17324 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17325 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17326 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17327 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17328 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17329 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17330 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17331 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17332 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17333 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17334 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17335 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17336 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17337 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17338 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17339 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17340 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17341 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17342 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17343 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17344 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17345 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17346 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17347 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17348 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17349 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17350 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17351 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17352 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17353 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17354 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17355 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17356 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17357
11dd4af6
L
17358 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17359 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17360 * include/ifunc-impl-list.h: New file.
17361 * misc/ifunc-impl-list.c: Likewise.
17362 * misc/Makefile (routines): Add ifunc-impl-list.
17363 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17364 * string/test-string.h: Include <ifunc-impl-list.h>.
17365 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17366 impl_array): New variables.
17367 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17368 are defined.
17369 (test_init): Call __libc_ifunc_impl_list to initialize
17370 func_list if TEST_IFUNC and TEST_NAME are defined.
17371
9a387d1f
L
17372 * string/Makefile (strop-tests): Add bcopy and bzero.
17373 * string/test-bcopy.c: New file.
17374 * string/test-bzero.c: Likewise.
17375 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17376 defined.
17377 * string/test-memset.c: Support bzero test if TEST_BZERO is
17378 defined.
17379 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17380 __libc_memmove.
17381 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17382 __libc_memset.
17383 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17384 of memset.
17385
472371b9
JM
173862012-10-10 Joseph Myers <joseph@codesourcery.com>
17387
1e4a9536
JM
17388 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17389 * configure: Regenerated.
17390
d173d12e
JM
17391 * Makeconfig (+link-static-before-libc): Don't include
17392 $(link-static-libc).
17393
472371b9
JM
17394 * libio/libio.h (_IO_pos_t): Remove.
17395
89a3ad0b
AO
173962012-10-10 Alexandre Oliva <aoliva@redhat.com>
17397
17398 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17399 McGrath.
17400
e7451425
AO
174012012-10-10 Alexandre Oliva <aoliva@redhat.com>
17402
17403 * crypt/crypt-entry.c: Include fips-private.h.
17404 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17405 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17406 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17407 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17408
4ba74a35
AO
174092012-10-10 Alexandre Oliva <aoliva@redhat.com>
17410
17411 * crypt/crypt-private.h: Include stdbool.h.
17412 (_ufc_setup_salt_r): Return bool.
17413 * crypt/crypt-entry.c: Include errno.h.
17414 (__crypt_r): Return NULL with EINVAL for bad salt.
17415 * crypt/crypt_util.c (bad_for_salt): New.
17416 (_ufc_setup_salt_r): Check that salt is long enough and within
17417 the specified alphabet.
17418 * crypt/badsalttest.c: New file.
17419 * crypt/Makefile (tests): Add it.
17420 ($(objpfx)badsalttest): New.
17421
f96f1242
MK
174222012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17423
17424 * NEWS: Add entry for BZ #14602.
17425
0e8e0c1c
JM
174262012-10-09 Joseph Myers <joseph@codesourcery.com>
17427
17428 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17429 type-generic.
17430 * math/libm-test.inc: Update comment listing what functions and
17431 macros are tested.
17432 (isgreater_test): New function.
17433 (isgreaterequal_test): Likewise.
17434 (isless_test): Likewise.
17435 (islessequal_test): Likewise.
17436 (islessgreater_test): Likewise.
17437 (isunordered_test): Likewise.
17438 (main): Call the new functions.
17439
273edc5e
RM
174402012-10-09 Roland McGrath <roland@hack.frob.com>
17441
b8493de0
RM
17442 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17443 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17444 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17445 * sysdeps/i386/configure: Regenerated.
17446 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17447 * sysdeps/mach/configure: Regenerated.
17448 * sysdeps/mach/hurd/configure: Regenerated.
17449 * sysdeps/powerpc/configure: Regenerated.
17450 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17451 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17452 * sysdeps/s390/s390-32/configure: Regenerated.
17453 * sysdeps/s390/s390-64/configure: Regenerated.
17454 * sysdeps/sh/configure: Regenerated.
17455 * sysdeps/sparc/configure: Regenerated.
17456 * sysdeps/unix/sysv/linux/configure: Regenerated.
17457 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17458 * sysdeps/x86_64/configure: Regenerated.
17459
273edc5e
RM
17460 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17461 defined. Don't check if MAP is NULL.
17462
c8450f70
JM
174632012-10-09 Joseph Myers <joseph@codesourcery.com>
17464
17465 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17466 (_G_stat64): Likewise.
17467 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17468 (_G_stat64): Likewise.
17469 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17470 instead of struct _G_stat64.
17471 * libio/fileops.c (mmap_remap_check): Likewise.
17472 (decide_maybe_mmap): Likewise.
17473 (_IO_new_file_seekoff): Likewise.
17474 (_IO_file_stat): Likewise.
17475 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17476 _G_off64_t.
17477 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17478 instead of struct _G_stat64.
17479 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17480
57e605ba
MK
174812012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17482
17483 [BZ #14602]
17484 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17485 Replace with ...
17486 (CHECK_EOL): New macro.
17487 (two_way_short_needle): Check beginning of haystack for EOL. Use
17488 CHECK_EOL.
17489 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17490 Replace with CHECK_EOL.
17491 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17492 Replace with CHECK_EOL.
17493
ef1bb361
JM
174942012-10-08 Joseph Myers <joseph@codesourcery.com>
17495
17496 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17497 type-generic.
17498 * math/libm-test.inc: Update comment listing what functions and
17499 macros are tested.
17500 (finite_test): New function.
17501 (isinf_test): Likewise.
17502 (isnan_test): Likewise.
17503 (fpclassify_test): Test subnormal input.
17504 (isfinite_test): Likewise.
17505 (isnormal_test): Likewise.
17506 (main): Call the new functions.
17507
55f11534
JN
175082012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17509
17510 [BZ #14660]
17511 * Makerules (%.dynsym): Force C locale when running
17512 $(OBJDUMP) --dynamic-syms.
17513
1ab29350
AS
175142012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17515
17516 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17517 <stdint.h>.
17518
f1ecb7ef
DM
175192012-10-06 David S. Miller <davem@davemloft.net>
17520
17521 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17522 upper 32-bits of the length value in %o2 since we use branch-on-register
17523 tests which consider the entire 64-bit register.
17524
5d41d91a
L
175252012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17526
17527 * string/test-strstr.c (check2): Add a test for page boundary.
17528
3baddb72
DM
175292012-10-05 David S. Miller <davem@davemloft.net>
17530
17531 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17532 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17533 file.
17534 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17535 sysdep_routines.
17536 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17537 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17538 and bzero when HWCAP_SPARC_CRYPTO is present.
17539
9cee5585
L
175402012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17541
d7e0dab9
L
17542 [BZ #14602]
17543 * string/test-strstr.c (check2): New function.
17544 (test_main): Call check2.
17545
03759f47
L
17546 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17547 and bug-strchr1.
17548 * string/bug-strcasestr1.c (do_test): Moved to ...
17549 * string/test-strcasestr.c (check1): Here. New function.
17550 (do_one_test): Break out result checking code into ...
17551 (check_result): This. New function.
17552 (do_one_test): Call check_result.
17553 (test_main): Call check1.
17554 * string/bug-strchr1.c (do_test): Moved to ...
17555 * string/test-strchr.c (check1): Here. New function.
17556 (do_one_test): Break out result checking code into ...
17557 (check_result): This. New function.
17558 (do_one_test): Call check_result.
17559 (test_main): Call check1.
17560 * string/bug-strstr1.c (main): Moved to ...
046f153e 17561 * string/test-strstr.c (check1): Here. New function.
03759f47
L
17562 (do_one_test): Break out result checking code into ...
17563 (check_result): This. New function.
17564 (do_one_test): Call check_result.
17565 (test_main): Call check1.
17566 * string/bug-strcasestr1.c: Removed.
17567 * string/bug-strchr1.c: Likewise.
17568 * string/bug-strstr1.c: Likewise.
17569
53cea63e
L
17570 * elf/Makefile (dl-routines): Add hwcaps.
17571 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17572 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17573 (_dl_important_hwcaps): Moved to ...
17574 * elf/dl-hwcaps.c: Here. New file.
17575 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17576
9cee5585 17577 [BZ #14557]
bb859b06
L
17578 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17579 if IS_IN_rtld isn't defined.
17580
9cee5585
L
17581 * elf/dl-support.c (_dl_sysinfo_map): New.
17582 Include "get-dynamic-info.h" and "setup-vdso.h".
17583 (_dl_non_dynamic_init): Call setup_vdso.
17584 * elf/dynamic-link.h: Don't include <assert.h>.
17585 (elf_get_dynamic_info): Moved to ...
17586 * elf/get-dynamic-info.h: Here. New file.
17587 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17588 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17589 * elf/setup-vdso.h: Here. New file.
17590 * elf/rtld.c: Include "setup-vdso.h".
17591 (dl_main): Call setup_vdso.
17592
23c31b76
JM
175932012-10-05 Joseph Myers <joseph@codesourcery.com>
17594
28234b07
JM
17595 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17596 creal in comment listing functions tested. List finite, isinf,
17597 isnan, isless, islessequal, isgreater, isgreaterequal,
17598 islessgreater, isunordered, lgamma_r and pow10 as functions and
17599 macros not tested. Mention which functions not tested are aliases
17600 for other functions. Fix typo. Note that signs of NaNs are not
17601 tested.
17602
23c31b76
JM
17603 * scripts/config.guess: Update from config.git.
17604 * scripts/config.sub: Likewise.
17605
9043e228
RM
176062012-10-04 Roland McGrath <roland@hack.frob.com>
17607
17608 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17609 * misc/madvise.c (madvise): Renamed to __madvise.
17610 Make madvise a weak alias.
17611 * include/sys/mman.h: Declare __madvise.
17612 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17613 * sysdeps/unix/syscalls.list
17614 (madvise): Make __madvise the strong name, and madvise a weak alias.
17615 * sysdeps/unix/sysv/linux/syscalls.list
17616 (madvise, mmap): Remove redundant entries.
17617 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17618 * malloc/malloc.c (mtrim): Likewise.
17619 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17620
f57f8055
RM
176212012-10-03 Roland McGrath <roland@hack.frob.com>
17622
17623 * sysdeps/mach/hurd/dl-cache.c: File removed.
17624 * config.h.in (USE_LDCONFIG): New #undef.
17625 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17626 * configure: Regenerated.
17627 * elf/Makefile (dl-routines): Add dl-cache only under
17628 [$(use-ldconfig) = yes].
17629 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17630 cache on [USE_LDCONFIG].
17631 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17632 [USE_LDCONFIG].
17633 * elf/rtld.c (dl_main): Likewise.
17634
5bb0c10a
PT
176352012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17636
17637 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17638 _SC_LEVEL4_CACHE_LINESIZE.
17639
010188c6
RM
176402012-10-03 Roland McGrath <roland@hack.frob.com>
17641
17642 * sysdeps/unix/bsd/confstr.h: File removed.
17643
b6c5ec07
AO
176442012-10-02 Alexandre Oliva <aoliva@redhat.com>
17645
17646 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17647 sys/sdt-config.h.
17648
408223d4
RM
176492012-10-02 Roland McGrath <roland@hack.frob.com>
17650
17651 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17652 Make 'mapoff' field ElfW(Off) rather than off_t.
17653
bb9510dc
DL
176542012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17655
fc997c6e
DL
17656 * nscd/Makefile: Remove nscd-cflags and all its users.
17657 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17658 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17659
bb9510dc
DL
17660 [BZ #10631]
17661 * malloc.c (malloc_printerr): Clarify error message.
17662
05699367
L
176632012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17664
17665 [BZ #14648]
17666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17667 Set bit_FMA_Usable if FMA is supported.
17668 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17669 macro.
17670 (bit_FMA4_Usable): Updated.
17671 (index_FMA_Usable): New macro.
17672 (CPUID_FMA): Likewise
17673 (HAS_FMA): Defined with bit_FMA_Usable.
17674
51367701
RM
176752012-10-01 Roland McGrath <roland@hack.frob.com>
17676
17677 * bits/types.h (__swblk_t): Type removed.
17678 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17679 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17681 (__SWBLK_T_TYPE): Likewise.
17682 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17683 (__SWBLK_T_TYPE): Likewise.
17684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17685 (__SWBLK_T_TYPE): Likewise.
17686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17687 (__SWBLK_T_TYPE): Likewise.
17688
4d57bf63 176892012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17690 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17691
17692 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17693 (xdr_mapname): Use YPMAXMAP as maxsize.
17694 (xdr_peername): Use YPMAXPEER as maxsize.
17695 (xdr_keydat): Use YPAXRECORD as maxsize.
17696 (xdr_valdat): Use YPMAXRECORD as maxsize.
17697
93c65d43
RM
176982012-10-01 Roland McGrath <roland@hack.frob.com>
17699
497a03d6
RM
17700 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17701
93c65d43
RM
17702 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17703 * csu/init-first.c: ... here.
17704 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17705 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17706 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17707 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17708 * sysdeps/i386/init-first.c: File removed.
17709 * sysdeps/sh/init-first.c: File removed.
17710
bec749fd
JM
177112012-10-01 Joseph Myers <joseph@codesourcery.com>
17712
17713 [BZ #14645]
17714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17715 if x * y might underflow to zero and z is zero.
17716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17717 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17718 * math/libm-test.inc (min_subnorm_value): New variable.
17719 (fma_test): Add more tests.
17720 (fma_test_towardzero): Likewise.
17721 (fma_test_downward): Likewise
17722 (fma_test_upward): Likewise.
17723 (initialize): Set min_subnorm_value.
17724
8ec5b013
JM
177252012-09-29 Joseph Myers <joseph@codesourcery.com>
17726
17727 [BZ #14638]
17728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17729 0 + 0.
17730 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17731 mode for addition resulting in exact zero.
17732 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17734 exact 0 + 0.
17735 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17737 * math/libm-test.inc (fma_test): Add more tests.
17738 (fma_test_towardzero): New function.
17739 (fma_test_downward): Likewise.
17740 (fma_test_upward): Likewise.
17741 (main): Call the new functions.
17742
b1fa802e
DM
177432012-09-28 David S. Miller <davem@davemloft.net>
17744
17745 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17746
d3b9fd9e
RM
177472012-09-28 Roland McGrath <roland@hack.frob.com>
17748
ea4d37b3
RM
17749 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17750 instead of SIGALRM.
17751
ac51c949
RM
17752 * sysdeps/gnu/_G_config.h: Moved to ...
17753 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17754 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17755 * sysdeps/generic/_G_config.h: ... here.
17756
28c195f7
RM
17757 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17758
848917f9
RM
17759 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17760
6bacf05b
RM
17761 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17762 Conditionalize target on [libnss_test1.so-version].
17763
91363dbb
RM
17764 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17765
cc87f7d8
RM
17766 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17767 (elfobjdir): Move out of conditionals.
17768
b1c608fe
RM
17769 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17770 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17771 (__nss_lookup_function): Conditionalize label remove_from_tree on
17772 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17773
1d9a6d96
DM
177742012-09-28 David S. Miller <davem@davemloft.net>
17775
17776 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17777 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17778 file.
17779 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17780 sysdep_routines.
17781 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17782 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17783 when HWCAP_SPARC_CRYPTO is present.
17784
72581615
PT
177852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17786
17787 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17788
715a900c
JL
177892012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17790
17791 [BZ #6530]
17792 * stdio-common/vfprintf.c (process_string_arg): Revert
17793 2000-07-22 change.
17794
177952011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17796
17797 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17798 for testcase.
17799 * stdio-common/tst-sprintf.c: Include <locale.h>
17800 (main): Test sprintf's handling of incomplete multibyte
17801 characters.
17802
9bac1d86
L
178032012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17804
17805 * elf/dl-runtime.c (VERSYMIDX): Removed.
17806 * elf/dl-version.c (VERSYMIDX): Likewise.
17807 * elf/do-rel.h (VERSYMIDX): Likewise.
17808 (VALIDX): Likewise.
17809 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17810 * elf/rtld.c (VALIDX): Likewise.
17811 (ADDRIDX): Likewise.
9bac1d86
L
17812 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17813 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17814 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17815 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17816 (VALIDX): Likewise.
17817 (ADDRIDX): Likewise.
9bac1d86 17818
b31606c0
PT
178192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17820
17821 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17822
11541177
JL
178232012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17824
17825 [BZ #11438]
17826 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17827 to global scope.
17828 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17829 addresses are in the same scope as 192.0.2/24.
17830 * posix/gai.conf: Document new scope table defaults.
17831
adb26fae
SP
178322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17833
17834 [BZ #5298]
17835 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17836 for ftell. Compute offsets from write pointers instead.
17837 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17838
4573c6b0
SP
178392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17840
17841 [BZ #14543]
17842 * libio/Makefile (tests): New test case tst-fseek.
17843 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17844 combination works in wide mode.
17845 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17846 state when the external buffer state changes.
17847
aa9bbfe6
DM
178482012-09-27 David S. Miller <davem@davemloft.net>
17849
17850 [BZ #14376]
17851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17852 pass reloc->r_addend in as the 'high' argument to
17853 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17854
784421e7
DM
17855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17856
c39bc8b8
PT
178572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17858
17859 * rt/tst-aio2.c: Include <pthread.h>.
17860 * rt/tst-aio3.c: Likewise.
17861
1ccc2399
SE
178622012-09-27 Steve Ellcey <sellcey@mips.com>
17863
17864 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17865
31ed4153
L
178662012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17867
25f5f885
L
17868 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17869 contents on [SHARED].
31ed4153 17870
b7bfe116
MP
178712012-09-26 Marek Polacek <polacek@redhat.com>
17872
17873 [BZ #14530]
17874 [BZ #13741]
17875 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17876 for C++ and GCC <4.3 as well as for non GCC compilers.
17877
43c4edba
MT
178782012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17879
17880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17881
6a1bf82f
RM
178822012-09-25 Roland McGrath <roland@hack.frob.com>
17883
17884 * Makefile.in (all, install): Declare with .PHONY.
17885 Reported by Michael Hope <michael.hope@linaro.org>.
17886
8ad11b9a
TMQMF
178872012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17888
17889 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17890 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17891 system header.
17892 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17893 Likewise.
17894 (sydep_routines): Add the new and the internal functions.
17895 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17896 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17898 (GLIBC_2.17): Add the new function.
17899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17900 (GLIBC_2.17): Likewise.
17901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17902 (GLIBC_2.17): Likewise.
17903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17904 (GLIBC_2.17): Likewise.
17905 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17906
7e2fca8d
AM
179072012-09-25 Alan Modra <amodra@gmail.com>
17908
17909 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17910 Add release barrier before setting once_control to say
17911 initialisation is done. Add hints on lwarx. Use macro in
17912 place of isync.
17913 (clear_once_control): Add release barrier.
17914
b87c4b24
JM
179152012-09-25 Joseph Myers <joseph@codesourcery.com>
17916
d032e0d2
JM
17917 [BZ #13629]
17918 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17919 specially.
17920 * math/s_clog10.c (__clog10): Likewise.
17921 * math/s_clog10f.c (__clog10f): Likewise.
17922 * math/s_clog10l.c (__clog10l): Likewise.
17923 * math/s_clogf.c (__clogf): Likewise.
17924 * math/s_clogl.c (__clogl): Likewise.
17925 * math/Makefile (libm-calls): Add x2y2m1.
17926 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17927 (__x2y2m1): Likewise.
17928 (__x2y2m1l): Likewise.
17929 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17930 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17931 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17932 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17933 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17934 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17935 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17936 * sysdeps/i386/fpu/libm-test-ulps: Update.
17937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17938
b87c4b24
JM
17939 [BZ #14621]
17940 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17941 int as type of variable DEPTH.
17942 (glob): Use size_t instead of int as type of variables NEWCOUNT
17943 and OLD_PATHC.
17944
6d3bf199
LD
179452012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17946
22bf5c17
LD
17947 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17948 Add s_sincosf-sse2.
17949 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17950 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17951 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17952 macros for using routine as __sincosf_ia32.
17953 Use macro for function declaration and weak_alias.
17954 * sysdeps/i386/fpu/libm-test-ulps: Update.
17955
17956 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17958
17959 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17960 subnormal argument.
17961 * math/s_cexpf.c (__cexpf): Likewise.
17962 * math/s_csinf.c (__csinf): Likewise.
17963 * math/s_csinhf.c (__csinhf): Likewise.
17964 * math/s_ctanf.c (__ctanf): Likewise.
17965 * math/s_ctanhf.c (__ctanhf): Likewise.
17966 * math/s_ccosh.c (__ccoshf): Likewise.
17967 * math/s_cexp.c (__cexpl): Likewise.
17968 * math/s_csin.c (__csin): Likewise.
17969 * math/s_csinh.c (__csinh): Likewise.
17970 * math/s_ctan.c (__ctan): Likewise.
17971 * math/s_ctanh.c (ctanh): Likewise.
17972 * math/s_ccoshl.c (__ccoshl): Likewise.
17973 * math/s_cexpl.c (__cexpl): Likewise.
17974 * math/s_csinl.c (__csinl): Likewise.
17975 * math/s_csinhl.c (__csinhl): Likewise.
17976 * math/s_ctanl.c (__ctanl): Likewise.
17977 * math/s_ctanhl.c (__ctanhl): Likewise.
17978
203e5603
JM
179792012-09-25 Joseph Myers <joseph@codesourcery.com>
17980
17981 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17982 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17983 (_IO_off_t): Define to __off_t, not _G_off_t.
17984 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17985 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17986 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17987 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17988 type of __dummy and __dummy2 fields.
17989 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17990 (_G_ssize_t): Likewise.
17991 (_G_off_t): Likewise.
17992 (_G_pid_t): Likewise.
17993 (_G_uid_t): Likewise.
17994 (_G_wchar_t): Likewise.
17995 (_G_wint_t): Likewise.
17996 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17997 (_G_ssize_t): Likewise.
17998 (_G_off_t): Likewise.
17999 (_G_pid_t): Likewise.
18000 (_G_uid_t): Likewise.
18001 (_G_wchar_t): Likewise.
18002 (_G_wint_t): Likewise.
18003 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18004 (_G_ssize_t): Likewise.
18005 (_G_off_t): Likewise.
18006 (_G_pid_t): Likewise.
18007 (_G_uid_t): Likewise.
18008 (_G_wchar_t): Likewise.
18009 (_G_wint_t): Likewise.
18010
9fab36eb
SP
180112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18012
18013 * malloc/arena.c: Include malloc-sysdep.h.
18014 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18015 is sufficient to shrink the heap or an unmap is needed.
18016 * sysdeps/generic/malloc-sysdep.h: New file. Define
18017 new function check_may_shrink_heap.
18018 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18019 new function check_may_shrink_heap.
18020
2b4f00d1
SP
180212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18022
18023 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18024 comments.
18025
9a9028b1
DL
180262012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18027
57c69bef
DL
18028 * catgets/test-gencat.sh: Add "set -e".
18029 * elf/tst-pathopt.sh: Likewise.
18030 * grp/tst_fgetgrent.sh: Likewise.
18031 * iconvdata/run-iconv-test.sh: Likewise.
18032 * intl/tst-gettext.sh: Likewise.
18033 * intl/tst-gettext2.sh: Likewise.
18034 * intl/tst-gettext4.sh: Likewise.
18035 * intl/tst-gettext6.sh: Likewise.
18036 * intl/tst-translit.sh: Likewise.
18037 * io/ftwtest-sh: Likewise.
18038 * libio/test-freopen.sh: Likewise.
18039 * malloc/tst-mtrace.sh: Likewise.
18040 * posix/globtest.sh: Likewise.
18041 * posix/tst-getconf.sh: Likewise.
18042 * posix/wordexp-tst.sh: Likewise.
18043 * stdio-common/tst-printf.sh: Likewise.
18044 * stdio-common/tst-unbputc.sh: Likewise.
18045 * stdlib/tst-fmtmsg.sh: Likewise.
18046 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18047 * catgets/Makefile: Do not specify -e option when running
18048 testsuite shell scripts.
18049 * elf/Makefile: Likewise.
18050 * grp/Makefile: Likewise.
18051 * iconvdata/Makefile: Likewise.
18052 * intl/Makefile: Likewise.
18053 * io/Makefile: Likewise.
18054 * libio/Makefile: Likewise.
18055 * malloc/Makefile: Likewise.
18056 * posix/Makefile: Likewise.
18057 * stdio-common/Makefile: Likewise.
18058 * stdlib/Makefile: Likewise.
18059 * sysdeps/x86_64/Makefile: Likewise.
18060
9a9028b1
DL
18061 * io/ftwtest-sh: Add copyright header.
18062 * posix/globtest.sh: Likewise.
18063 * posix/tst-getconf.sh: Likewise.
18064 * posix/wordexp-tst.sh: Likewise.
18065 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18066
ced6f16e
L
180672012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18068
94b32c39
L
18069 [BZ #13679]
18070 * Makeconfig (+link): Defined as $(+link-static) if
18071 $(build-shared) isn't yes.
18072 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18073 isn't yes.
18074 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18075
189e935b
L
18076 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18077
ced6f16e
L
18078 [BZ #14562]
18079 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18080 new chunk size with MALLOC_ALIGN_MASK.
18081
a9f8e53a
JM
180822012-09-24 Joseph Myers <joseph@codesourcery.com>
18083
18084 [BZ #5044]
18085 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18086 <rounding-mode.h>.
18087 (__printf_fphex): Determine rounding using get_rounding_mode and
18088 round_away.
18089 * stdio-common/tst-printf-round.c (struct hex_test): New
18090 structure.
18091 (hex_tests): New variable.
18092 (test_hex_in_one_mode): New function.
18093 (do_test): Also run tests for hex float output.
18094
43153109
JM
180952012-09-21 Joseph Myers <joseph@codesourcery.com>
18096
18097 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18098 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18099 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18100 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18101 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18102 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18103 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18104 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18105
8a26625d
JM
181062012-09-20 Joseph Myers <joseph@codesourcery.com>
18107
18108 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18109 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18110 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18111 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18112
f3fd569c
DL
181132012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18114
18115 [BZ #14579]
18116 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18117 mode only.
18118 * elf/tst-rtld-load-self.sh: New test.
18119 * elf/Makefile: Run it.
18120
63bbedd4
JM
181212012-09-18 Joseph Myers <joseph@codesourcery.com>
18122
18123 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18124 (tst-writev-ENV): Remove.
18125 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18126
626f8b6a
CM
181272012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18128
18129 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18130
b7aaa4d6
JM
181312012-09-17 Joseph Myers <joseph@codesourcery.com>
18132
18133 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18134 unconditional.
18135 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18136 Likewise.
18137 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18138 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18139 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18140 Likewise.
18141
65513990
L
181422012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18143
18144 [BZ #14587]
18145 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18146 * config.make.in (have-cpp-asm-debuginfo): Removed.
18147 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18148 * configure: Regenerated.
18149
784761be
JM
181502012-09-14 Joseph Myers <joseph@codesourcery.com>
18151
18152 [BZ #5044]
18153 * stdio-common/printf_fp.c: Include <stdbool.h> and
18154 <rounding-mode.h>.
18155 (___printf_fp): Determine rounding using get_rounding_mode and
18156 round_away.
18157 * stdio-common/tst-printf-round.c: New file.
18158 * stdio-common/Makefile (tests): Add tst-printf-round.
18159 (link-libm): New variable.
18160 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18161
9503345f
L
181622012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18163
18164 [BZ #14576]
18165 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18166 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18167 Likewise.
18168 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18169 Likewise.
18170
ad35fc00
JM
181712012-09-13 Joseph Myers <joseph@codesourcery.com>
18172
18173 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18174 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18175 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18176 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18177
6c9b0f68
JM
181782012-09-12 Joseph Myers <joseph@codesourcery.com>
18179
18180 [BZ #14518]
18181 * include/rounding-mode.h: New file.
18182 * sysdeps/generic/get-rounding-mode.h: Likewise.
18183 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18184 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18185 (MAX_VALUE): New macro.
18186 (MIN_VALUE): Likewise.
18187 (overflow_value): New function.
18188 (underflow_value): Likewise.
18189 (round_and_return): Use overflow_value and underflow_value to
18190 determine return values in overflow and underflow cases. Use
18191 round_away to determine rounding depending on rounding mode.
18192 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18193 determine return values in overflow and underflow cases.
18194 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18195 (struct test_results): New structure.
18196 (struct test): Use struct test_results to store expected results
18197 for all rounding modes.
18198 (TEST): Include expected results for all rounding modes.
18199 (test_in_one_mode): New function.
18200 (do_test): Use test_in_one_mode to compute and check results.
18201 Check results for all rounding modes.
18202 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18203 $(link-libm).
18204
19fcedd5
AM
182052012-12-09 Allan McRae <allan@archlinux.org>
18206
1e9d84cd 18207 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18208
8bbfd2f1
JM
182092012-09-11 Joseph Myers <joseph@codesourcery.com>
18210
18211 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18212 (_G_int32_t): Likewise.
18213 (_G_uint16_t): Likewise.
18214 (_G_uint32_t): Likewise.
18215 (_G_HAVE_BOOL): Likewise.
18216 (_G_HAVE_ATEXIT): Likewise.
18217 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18218 (_G_HAVE_IO_FILE_OPEN): Likewise.
18219 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18220 (_G_int32_t): Likewise.
18221 (_G_uint16_t): Likewise.
18222 (_G_uint32_t): Likewise.
18223 (_G_HAVE_BOOL): Likewise.
18224 (_G_HAVE_ATEXIT): Likewise.
18225 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18226 (_G_HAVE_IO_FILE_OPEN): Likewise.
18227 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18228 (_G_int32_t): Likewise.
18229 (_G_uint16_t): Likewise.
18230 (_G_uint32_t): Likewise.
18231 (_G_HAVE_BOOL): Likewise.
18232 (_G_HAVE_ATEXIT): Likewise.
18233 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18234 (_G_HAVE_IO_FILE_OPEN): Likewise.
18235
b1dc5912
L
182362012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18237
18238 * csu/libc-tls.c: Update copyright years.
18239
0e886ef9
JM
182402012-09-10 Joseph Myers <joseph@codesourcery.com>
18241
28361c5e
JM
18242 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18243 [!_G_USING_THUNKS]: Remove conditional code.
18244 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18245 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18246
0e886ef9
JM
18247 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18248 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18249 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18250 (_G_VTABLE_LABEL_PREFIX): Likewise.
18251 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18252 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18253 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18254 (_G_VTABLE_LABEL_PREFIX): Likewise.
18255 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18256 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18257 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18258 (_G_VTABLE_LABEL_PREFIX): Likewise.
18259 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18260
bcba7aa2
L
182612012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18262
18263 * libio/Makefile: Include ../Makeconfig before tests.
18264 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18265 only if $(build-shared) is yes.
18266
06585ee8
L
18267 * iconv/gconv_db.c: Update copyright years.
18268
80ccd52c
LD
182692012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18270
18271 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18272 unwind info if defined PIC. Fix special cases description.
18273 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18274
18275 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18276 DP_HI_MASK entry.
18277 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18278
691bc9c1
L
182792012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18280
3d9b46b3
L
18281 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18282
de2139a9
L
18283 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18284 is NULL.
18285
5ca78dd0
L
18286 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18287 (LDLIBS-tst-chk4): This.
18288 (LDFLAGS-tst-chk5): Renamed to ...
18289 (LDLIBS-tst-chk5): This.
18290 (LDFLAGS-tst-chk6): Renamed to ...
18291 (LDLIBS-tst-chk6): This.
18292 (LDFLAGS-tst-lfschk4): Renamed to ...
18293 (LDLIBS-tst-lfschk4): This.
18294 (LDFLAGS-tst-lfschk5): Renamed to ...
18295 (LDLIBS-tst-lfschk5): This.
18296 (LDFLAGS-tst-lfschk6): Renamed to ...
18297 (LDLIBS-tst-lfschk6): This.
18298
691bc9c1
L
18299 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18300 on $(common-objpfx)soversions.mk.
18301
65cafb1c
JM
183022012-09-07 Joseph Myers <joseph@codesourcery.com>
18303
18304 [BZ #10014]
18305 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18306 example host name.
18307
c78ab094
SP
183082012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18309
18310 * malloc/arena.c (arena_get_retry): New function that gets
18311 another arena for the caller to try its request on.
18312 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18313 current arena cannot fulfill the request.
18314 (__libc_memalign): Likewise.
18315 (__libc_memalign): Likewise.
18316 (__libc_pvalloc): Likewise.
18317 (__libc_calloc): Likewise.
18318
01f49f59
JT
183192012-09-05 John Tobey <john.tobey@gmail.com>
18320
18321 [BZ #13542]
18322 * manual/arith.texi (Operations on Complex): Fix description
18323 of carg branch cut.
18324
4c23fed5
JM
183252012-09-06 Joseph Myers <joseph@codesourcery.com>
18326
1d3c8572
JM
18327 [BZ #10014]
18328 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18329 host name.
18330
4c23fed5
JM
18331 [BZ #10038]
18332 * manual/memory.texi (Memory): Make order of menu items match
18333 order of sections.
18334
04570aaa
L
183352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18336
18337 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18338 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18339 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18340
b80af2f4
L
183412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18342
18343 * csu/libc-tls.c (static_dtv): Renamed to ...
18344 (_dl_static_dtv): This. Make it global.
18345 (_dl_initial_dtv): Removed.
18346 (__libc_setup_tls): Updated.
18347 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18348 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18349 DL_INITIAL_DTV.
18350
2abe9f15
PM
183512012-09-06 Petr Machata <pmachata@redhat.com>
18352
18353 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18354 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18355 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18356 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18357
0948c3af
L
183582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18359
18360 [BZ #14545]
18361 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18362 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18363 freeing dtv[-1].
18364
a5055ad1
L
183652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18366
18367 [BZ #14544]
18368 * Makeconfig (link-static-before-libc): Replace $(+prector)
18369 with $(+prectorT).
18370 (link-static-after-libc): Replace $(+postctor) with
18371 $(+postctorT).
18372 (link-bounded): Replace $(+prector)/$(+postctor) with
18373 $(+prectorT)/$(+postctorT).
18374 (+prectorT): New macro.
18375 (+postctorT): Likewise.
18376
ed8c2ecd
JM
183772012-09-06 Joseph Myers <joseph@codesourcery.com>
18378
18379 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18380 (round_str): Handle values above the maximum for IBM long double
18381 as inexact.
18382 * stdlib/tst-strtod-round.c (tests): Regenerated.
18383
14c996c8
AK
183842012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18385
18386 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18387 assembler flag.
18388 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18389 zarch_nohighgprs around the zarch optimized routines.
18390 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18391 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18392 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18393 for zarch.
18394
430d6ce6
DM
183952012-09-05 David S. Miller <davem@davemloft.net>
18396
18397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18398
ff04dda4
DM
18399 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18400 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18401 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18402 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18403 entries.
18404
24d4e01b
AO
184052012-09-05 Alexandre Oliva <aoliva@redhat.com>
18406
18407 * malloc/arena.c: Fold copyright years.
18408 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18409
61d58174
AO
184102012-09-05 Alexandre Oliva <aoliva@redhat.com>
18411
18412 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18413
20196a5e
AO
184142012-09-05 Alexandre Oliva <aoliva@redhat.com>
18415
18416 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18417
5c447383
AO
184182012-09-05 Alexandre Oliva <aoliva@redhat.com>
18419
18420 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18421 change internal state upon failure.
18422
fad64255
AO
184232012-09-05 Alexandre Oliva <aoliva@redhat.com>
18424
18425 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18426 * malloc/memusage.c (mmap): Likewise.
18427 (mmap64, mremap): Likewise. Adjust name in comment.
18428
1ffb8c90
SP
184292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18430
18431 * libio/fileops.c: Fix typos in comments.
18432 * libio/oldfileops.c: Likewise.
18433 * libio/wfileops.c: Likewise.
18434
6ef9cc37
SP
184352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18436
18437 [BZ #1349]
18438 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18439 (tst-malloc-usable-ENV): Set environment for test case.
18440 * malloc/hooks.c (malloc_check_get_size): New function to get
18441 requested size.
18442 * malloc/malloc.c (musable): Use malloc_check_get_size.
18443 * malloc/tst-malloc-usable.c: New test case.
18444
4d038ae3
AS
184452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18446
18447 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18448
c4e85184
AM
184492012-09-05 Allan McRae <allan@archlinux.org>
18450
b9dafc56 18451 [BZ #13966]
c4e85184
AM
18452 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18453 determine header location.
18454 * configure: Regenerated.
18455
e1343020
AS
184562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18457
18458 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18459 float format.
18460 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18461 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18462 format.
e1343020
AS
18463 (test): Regenerate.
18464
0a9f1987
DM
184652012-09-04 David S. Miller <davem@davemloft.net>
18466
18467 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18468 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18469 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18470
29237804
FW
184712012-09-04 Florian Weimer <fweimer@redhat.com>
18472
18473 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18474 failures.
18475
edb3cb88
FW
18476 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18477
60160d83
JM
184782012-09-04 Joseph Myers <joseph@codesourcery.com>
18479
18480 [BZ #9914]
18481 * libio/iogetdelim.c: Include <limits.h>.
18482 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18483 + len + 1 would overflow.
18484
bcd6c8dc
AJ
184852012-09-03 Andreas Jaeger <aj@suse.de>
18486
18487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18488 * sysdeps/i386/fpu/libm-test-ulps: Update.
18489
4ffffbd2
LD
184902012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18491
18492 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18493 Add s_sinf-sse2, s_conf-sse2.
18494
18495 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18496 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18497 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18498 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18499
18500 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18501 for using routine as __sinf_ia32.
18502 Use macro for function declaration and weak_alias.
18503 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18504 for using routine as __cosf_ia32.
18505 Use macro for function declaration and weak_alias.
18506
18507 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18508 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18509
18510 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18511 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18513
18514 * math/libm-test.inc (cos_test): Add more test cases.
18515 (sin_test): Likewise.
18516 (sincos_test): Likewise.
18517
511fa286
AK
185182012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18519
18520 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18521 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18522 hidden.
18523 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18524
5f30cfec
L
185252012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18526
18527 [BZ #14538]
18528 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18529 first element of the GOT.
18530 (elf_machine_load_address): Return the difference between
18531 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18532
0786794f
AM
185332012-09-01 Allan McRae <allan@archlinux.org>
18534
5f30cfec
L
18535 [BZ #13412]
18536 * configure.in (AWK): Require gawk version 3.0 or later.
18537 * configure: Regenerated.
0786794f 18538
26889eac
JM
185392012-09-01 Joseph Myers <joseph@codesourcery.com>
18540
18541 * sysdeps/unix/sysv/linux/kernel-features.h
18542 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18543 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18544 [__NR_clock_getres]: Make code unconditional.
18545 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18546 (clock_getcpuclockid): Remove code left unreachable by removal of
18547 conditionals.
18548 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18549 code unconditional.
18550 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18551 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18552 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18553 Make code unconditional.
18554 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18555 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18556 * sysdeps/unix/sysv/linux/clock_settime.c
18557 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18558 conditional code.
18559 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18560 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18561
d22e28b0
L
185622012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18563
18564 [BZ #14476]
18565 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18566 scripts/test-installation.pl.
18567
18568 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18569 and $ld_so_version if it is set.
18570
050af9c4
SP
185712012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18572
18573 [BZ #14516]
18574 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18575 failure if reading from procfs failed.
18576 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18577
ad845c0b
JM
185782012-08-27 Joseph Myers <joseph@codesourcery.com>
18579
18580 * sysdeps/unix/sysv/linux/kernel-features.h
18581 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18582 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18583 Remove conditional code.
18584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18585 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18586 Remove conditional code.
18587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18588 * sysdeps/unix/sysv/linux/i386/fxstat.c
18589 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18591 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18592 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18594 * sysdeps/unix/sysv/linux/i386/lxstat.c
18595 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18597 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18598 Remove conditional code.
18599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18600 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18601 Remove conditional code.
18602 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18603 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18604 <kernel-features.h>.
18605 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18606 Remove.
18607 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18608 Remove conditional code.
18609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18610 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18611 Remove conditional.
18612
5dbf56af
MF
186132012-08-27 Mike Frysinger <vapier@gentoo.org>
18614
18615 [BZ #5400]
18616 * NEWS: Add fixed bug number.
18617
d6e70f43
JM
186182012-08-27 Joseph Myers <joseph@codesourcery.com>
18619
7efb4737
JM
18620 [BZ #14519]
18621 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18622 underflowing exponent in case of negative sign.
18623 * stdlib/tst-strtod-round-data: Add more tests.
18624 * stdlib/tst-strtod-round.c (tests): Regenerated.
18625
af92131a
JM
18626 [BZ #3479]
18627 * stdlib/strtod_l.c (NDIG): Remove.
18628 (HEXNDIG): Likewise.
18629 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18630 smallest representable value.
18631 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18632 lie within an exact representation of 1/2 ulp of the result.
18633 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18634 unconditionally.
18635 (TENS_P9_IDX): Define unconditionally.
18636 (TENS_P9_SIZE): Likewise.
18637 (TENS_P10_IDX): Likewise.
18638 (TENS_P10_SIZE): Likewise.
18639 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18640 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18641 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18642 entries for 10^2^13 and 10^2^14.
18643 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18644 (TENS_P13_IDX): Define.
18645 (TENS_P13_SIZE): Likewise.
18646 (TENS_P14_IDX): Likewise.
18647 (TENS_P14_SIZE): Likewise.
18648 (_fpioconst_pow10): Change array size to
18649 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18650 unconditional.
18651 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18652 1024]: Add entries for 10^2^13 and 10^2^14.
18653 [LAST_POW10 > _LAST_POW10]: Remove #error.
18654 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18655 (_fpioconst_pow10): Change array size to
18656 FPIOCONST_POW10_ARRAY_SIZE.
18657 * stdlib/gen-fpioconst.c: New file.
18658 * stdlib/gen-tst-strtod-round.c: Likewise.
18659 * stdlib/tst-strtod-round-data: Likewise.
18660 * stdlib/tst-strtod-round.c: Likewise.
18661 * stdlib/Makefile (tests): Add tst-strtod-round.
18662
d6e70f43
JM
18663 [BZ #14459]
18664 * stdlib/strtod_l.c: Include <stdint.h>.
18665 (NDEBUG): Do not define.
18666 (round_and_return): Change EXPONENT parameter to type intmax_t.
18667 Rearrange calculations to avoid internal overflow possibilities.
18668 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18669 Rearrange calculations to avoid internal overflow possibilities.
18670 Assert that number fits inside MPNSIZE limbs.
18671 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18672 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18673 calculations and add assertions to avoid internal overflow
18674 possibilities. Add casts to avoid signed/unsigned operations.
18675 * stdlib/tst-strtod-overflow.c: New file.
18676 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18677
1f529f7d
MP
186782012-08-25 Marek Polacek <polacek@redhat.com>
18679
18680 * time/time.h: Fix some typos in comments.
18681
59a629f1
RM
186822012-08-23 Roland McGrath <roland@hack.frob.com>
18683
18684 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18685 * posix/tst-rfc3484-2.c: Likewise.
18686 * posix/tst-rfc3484-3.c: Likewise.
18687
d3bafbc9
SM
186882012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18689
18690 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18691 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18692
4efcc022
JM
186932012-08-23 Joseph Myers <joseph@codesourcery.com>
18694
18695 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18696 #include of fxstatat64.c.
18697
3cc3ef96
RM
186982012-08-22 Roland McGrath <roland@hack.frob.com>
18699
f04e2132
RM
18700 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18701 * shadow/getspent_r.c: Likewise.
18702 * shadow/getspnam.c: Likewise.
18703 * shadow/getspnam_r.c: Likewise.
18704 * gshadow/getsgent.c: Likewise.
18705 * gshadow/getsgent_r.c: Likewise.
18706 * gshadow/getsgnam.c: Likewise.
18707 * gshadow/getsgnam_r.c: Likewise.
18708 * inet/getnetbyad.c: Likewise.
18709 * inet/getnetbyad_r.c: Likewise.
18710 * inet/getnetbynm.c: Likewise.
18711 * inet/getnetbynm_r.c: Likewise.
18712 * inet/getnetent.c: Likewise.
18713 * inet/getnetent_r.c: Likewise.
18714 * inet/getproto.c: Likewise.
18715 * inet/getproto_r.c: Likewise.
18716 * inet/getprtent.c: Likewise.
18717 * inet/getprtent_r.c: Likewise.
18718 * inet/getprtname.c: Likewise.
18719 * inet/getprtname_r.c: Likewise.
18720 * inet/getrpcbyname.c: Likewise.
18721 * inet/getrpcbyname_r.c: Likewise.
18722 * inet/getrpcbynumber.c: Likewise.
18723 * inet/getrpcbynumber_r.c: Likewise.
18724 * inet/getrpcent.c: Likewise.
18725 * inet/getrpcent_r.c: Likewise.
18726 * inet/getaliasent.c: Likewise.
18727 * inet/getaliasent_r.c: Likewise.
18728 * inet/getaliasname.c: Likewise.
18729 * inet/getaliasname_r.c: Likewise.
18730 * nscd/getgrgid_r.c: Likewise.
18731 * nscd/getgrnam_r.c: Likewise.
18732 * nscd/gethstbyad_r.c: Likewise.
18733 * nscd/gethstbynm3_r.c: Likewise.
18734 * nscd/getpwnam_r.c: Likewise.
18735 * nscd/getpwuid_r.c: Likewise.
18736 * nscd/getsrvbynm_r.c: Likewise.
18737 * nscd/getsrvbypt_r.c: Likewise.
18738 * nscd/gai.c: Likewise.
18739
c53d909c
RM
18740 * configure.in (build_nscd): New substituted variable, set
18741 by --disable-build-nscd and defaults to $use_nscd.
18742 * configure: Regenerated.
18743 * config.make.in (build-nscd): New substituted variable.
18744 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18745 Change conditional to require [$(build-nscd) = yes] as well.
18746 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18747
3cc3ef96
RM
18748 [BZ# 13696]
18749 * configure.in (use_nscd): New substituted variable, set by
18750 --disable-nscd. If enabled, define USE_NSCD.
18751 * configure: Regenerated.
18752 * config.h.in: Add USE_NSCD.
18753 * config.make.in (use-nscd): New substituted variable.
18754 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18755 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18756 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18757 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18758 (CFLAGS-getgrnam_r.c): Likewise.
18759 (CFLAGS-initgroups.c): Likewise.
18760 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18761 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18762 Variables removed.
18763 * inet/getnetgrent_r.c
18764 (nscd_setnetgrent): New function, broken out of ...
18765 (setnetgrent): ... here. Call it.
18766 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18767 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18768 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18769 * nscd/Makefile (routines, aux): Move definitions after include of
18770 Makeconfig. Conditionalize on [$(use-nscd) != no].
18771 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18772 Conditionalize on [USE_NSCD].
18773 (is_nscd, nscd_init_cb): Likewise.
18774 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18775 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18776 * nss/nss_db/db-init.c: Likewise.
18777 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18778 [USE_NSCD].
18779 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18780 (make_request): Use it.
18781 (cache_valid_p): New function.
18782 (__check_pf): Use it.
18783 * NEWS: Add item for --disable-nscd.
18784
07e51550
DL
187852012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18786
18787 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18788 to support sed >= 4.2.1-20-ga9bf076.
18789 * configure: Regenerated.
18790
35a5b08b
RM
187912012-08-22 Roland McGrath <roland@hack.frob.com>
18792
18793 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18794 Conditionalize whole body on [IREL].
18795
8479f23a
JL
187962012-08-22 Jeff Law <law@redhat.com>
18797
18798 [BZ #14505]
18799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18800 if the family is PF_UNSPEC.
18801
48da0b21
MF
188022012-08-22 Mike Frysinger <vapier@gentoo.org>
18803
18804 * Makerules (lib-version): Rename from V.
18805 (install-lib-nosubdir): Change V to lib-version.
18806
15d0da8c
WS
188072012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18808
18809 [BZ #14252]
18810 * powerpc32/power6/wcschr.c: New file.
18811 * powerpc32/power6/wcscpy.c: New file.
18812 * powerpc32/power6/wcsrchr.c: New file.
18813 * powerpc64/power6/wcschr.c: New file.
18814 * powerpc64/power6/wcscpy.c: New file.
18815 * powerpc64/power6/wcsrchr.c: New file.
18816
bcca0895
MK
188172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18818
18819 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18820 (two_way_short_needle): Use it.
5a4aaa33
RM
18821 * string/strstr.c (AVAILABLE1_USES_J): Define.
18822 * string/strcasestr.c: Likewise.
99677e57
MK
18823
18824 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18825 array references.
18826 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18827
400726de
MK
18828 [BZ #11607]
18829 * NEWS: Add an entry.
18830 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18831 define their defaults.
18832 (two_way_short_needle): Detect end-of-string on-the-fly.
18833 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18834 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18835 * string/bug-strcasestr1.c: New test.
18836 * string/Makefile: Run it.
18837
20a71f2c
MK
188382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18839
18840 [BZ #11607]
18841 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18842 the first character.
18843
21ad0558
RM
188442012-08-21 Roland McGrath <roland@hack.frob.com>
18845
18846 * csu/elf-init.c (__libc_csu_irel): Function removed.
18847 * csu/libc-start.c (apply_irel): New function.
18848 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18849
0e1d9911
JM
188502012-08-21 Joseph Myers <joseph@codesourcery.com>
18851
18852 * sysdeps/unix/sysv/linux/kernel-features.h
18853 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18854 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18855 <kernel-features.h>.
18856 [__NR_fadvise64_64]: Make code unconditional.
18857 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18858 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18859 !__NR_fadvise64_64)]: Likewise.
18860 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18861 !__NR_fadvise64_64))]: Likewise.
18862 [__NR_fadvise64]: Make code unconditional.
18863 [!__NR_fadvise64]: Remove conditional code.
18864 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18865 <kernel-features.h>.
18866 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18867 unconditional.
18868 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18869 conditional code.
18870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18871 not include <kernel-features.h>.
18872 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18873 unconditional.
18874 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18875 conditional code.
18876 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18877 include <kernel-features.h>.
18878 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18879 unconditional.
18880 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18881 conditional code.
18882
14a50c9d
WS
188832012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18884
18885 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18886 slight instruction rearrangements per scrollpipe analysis.
18887 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18888
c0f4faf0
RM
188892012-08-20 Roland McGrath <roland@hack.frob.com>
18890
696da859
RM
18891 * manual/syslog.texi (syslog; vsyslog, closelog):
18892 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18893 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18894
c0f4faf0
RM
18895 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18896 DSOCAPS to match condition on defining it.
18897
348363b2
JM
188982012-08-20 Joseph Myers <joseph@codesourcery.com>
18899
a35cbf28
JM
18900 * sysdeps/unix/sysv/linux/kernel-features.h
18901 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18903 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18904 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18906 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18907 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18909 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18910 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18911
445f7ecd
JM
18912 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18913 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18914
348363b2
JM
18915 * sysdeps/unix/sysv/linux/kernel-features.h
18916 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18917 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18918 unconditional.
18919 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18920 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18921 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18922 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18923 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18924 Make code unconditional.
18925 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18926 (__mmap64) [!__NR_mmap2]: Likewise.
18927 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18928 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18929 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18930 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18931 [__NR_mmap2]: Make code unconditional.
18932 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18933 (__mmap64) [!__NR_mmap2]: Likewise.
18934
bc5bc0e5
AK
189352012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18936
18937 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18938
88d506de
AJ
189392012-08-18 Andreas Jaeger <aj@suse.de>
18940
18941 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18942
493387d2
MF
189432012-08-18 Mike Frysinger <vapier@gentoo.org>
18944
18945 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18946 * include/unistd.h (__have_sock_cloexec): Likewise.
18947 (__have_pipe2): Likewise.
18948 (__have_dup3): Likewise.
18949
a277af22
MF
189502012-08-18 Mike Frysinger <vapier@gentoo.org>
18951
18952 [BZ #9685]
18953 * include/unistd.h (__have_pipe2): Change define into an extern int.
18954 (__have_dup3): Likewise.
18955 * socket/have_sock_cloexec.c: Include fcntl.h.
18956 (__have_pipe2): New variable.
18957 (__have_dup3): Likewise.
18958
fdab8fd3
MF
189592012-08-17 Mike Frysinger <vapier@gentoo.org>
18960
18961 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18962
31035e80
MP
189632012-08-17 Marek Polacek <polacek@redhat.com>
18964
18965 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18966 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18967
3bd9e993
RM
189682012-08-17 Roland McGrath <roland@hack.frob.com>
18969
c91c505f
RM
18970 * configure.in: Add AC_SUBST for sysheaders.
18971 * configure: Regenerated.
18972 * config.make.in (sysheaders): New substituted variable.
18973
7c6f9d53
RM
18974 * sysdeps/unix/mkfifo.c: Moved ...
18975 * sysdeps/posix/mkfifo.c: ... here.
18976 * sysdeps/unix/mkfifoat.c: Moved ...
18977 * sysdeps/posix/mkfifoat.c: ... here.
18978
18979 * sysdeps/unix/utime.c: Moved ...
18980 * sysdeps/posix/utime.c: ... here.
18981
18982 * sysdeps/unix/time.c: Moved ...
18983 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18984 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18985 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18986
18987 * sysdeps/unix/nice.c: Moved ...
18988 * sysdeps/posix/nice.c: ... here.
18989
18990 * sysdeps/unix/alarm.c: Moved ...
18991 * sysdeps/posix/alarm.c: ... here.
18992
3bd9e993
RM
18993 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18994
d1f09384
JL
189952012-08-17 Jeff Law <law@redhat.com>
18996
18997 * intl/Makefile (codeset_mo): New variable.
18998 ($(codeset_mo)): New target.
18999 (tst-codeset.out): Depend on that. Remove explicit rule.
19000 (tst-gettext3.out, tst-gettext5.out): Likewise.
19001 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19002 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19003 * intl/tst-codeset.sh: Remove.
19004 * intl/tst-gettext3.sh: Likewise.
19005 * intl/tst-gettext5.sh: Likewise.
19006
2ae1ae5c
RM
190072012-08-17 Roland McGrath <roland@hack.frob.com>
19008
c31fdb83
RM
19009 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19010 * sysdeps/unix/syscalls.list: ... here.
19011
a0844057
RM
19012 * sysdeps/posix/getaddrinfo.c
19013 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19014 (gaiconf_init, gaiconf_reload): Use them.
19015 [!_STATBUF_ST_NSEC]
19016 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19017 Define using time_t rather than struct timespec.
19018
750c1f2a
RM
19019 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19020 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19021 Macros removed.
19022 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19023 [!NO_THREADS].
19024 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19025 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19026 Likewise.
19027
2ae1ae5c
RM
19028 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19029 __libc_cleanup_push argument.
19030
e66a42f5
RM
19031 * bits/param.h: New file.
19032 * misc/sys/param.h: New file.
19033 * include/sys/param.h: New file.
19034 * misc/Makefile (headers): Add bits/param.h.
19035 * sysdeps/generic/sys/param.h: File removed.
19036 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19037 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19038 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19039 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19040
b7c08a66
RM
19041 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19042 last change.
19043
b2e1c562
RM
19044 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19045 [_IO_MTSAFE_IO].
19046 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19047 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19048 New macros.
19049
c75ccd4c
RM
19050 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19051 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19052 rather than -D_IO_MTSAFE_IO conditionally.
19053 * stdio-common/Makefile (CPPFLAGS): Likewise.
19054 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19055 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19056 Use $(libio-mtsafe).
19057 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19058 of -D_IO_MTSAFE_IO.
19059 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19060 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19061 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19062 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19063 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19064 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19065 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19066 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19067 (CFLAGS-fread_u_chk.c): Likewise.
19068 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19069 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19070 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19071 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19072 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19073 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19074 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19075 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19076 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19077
19078 * libio/Makefile: Test [$(libc-reentrant) = yes]
19079 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19080
19081 * Makeconfig
19082 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19083 * sysdeps/pthread/configure: File removed.
19084 * sysdeps/pthread/Makeconfig: New file.
19085 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19086 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19087
d9195db8
GB
190882012-08-16 Gary Benson <gbenson@redhat.com>
19089
19090 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19091 unmapping the first object in a namespace.
19092
86466cd9
RM
190932012-08-16 Roland McGrath <roland@hack.frob.com>
19094
19095 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19096 (__internal_setnetgrent): ... this. Add internal_function to
19097 definition. Add libc_hidden_def.
19098 (setnetgrent): Update caller.
19099 (internal_endnetgrent): Renamed to ...
19100 (__internal_endnetgrent): ... this. Add internal_function to
19101 definition. Add libc_hidden_def.
19102 (endnetgrent): Update caller.
19103 (internal_getnetgrent_r): Renamed to ...
19104 (__internal_getnetgrent_r): ... this. Add internal_function to
19105 definition. Add libc_hidden_def.
19106 (__getnetgrent_r): Update caller.
19107 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19108
c3c8283c
JM
191092012-08-16 Joseph Myers <joseph@codesourcery.com>
19110
19111 * stdlib/longlong.h: Update from GCC.
19112
db1ee0a8
RM
191132012-08-16 Roland McGrath <roland@hack.frob.com>
19114
19115 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19116 on _QL, which is set by umul_ppmm but never used.
19117 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19118 variables, which are set by GMP macros but never used.
19119 * stdio-common/_itowa.c (_itowa): Likewise.
19120 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19121 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19122
30f69637
CD
191232012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19124
19125 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19126 struct La_sh_regs is not constant.
19127 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19128 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19129 and struct La_sparc64_regs are not constant.
19130
93a78ac4
JM
191312012-08-16 Joseph Myers <joseph@codesourcery.com>
19132
19133 * sysdeps/unix/sysv/linux/kernel-features.h
19134 (__ASSUME_POSIX_TIMERS): Remove.
19135 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19136 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19137 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19138 Make code unconditional.
19139 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19140 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19141 Make code unconditional.
19142 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19143 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19144 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19145 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19146 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19147 Make code unconditional.
19148 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19149 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19150 (__libc_missing_posix_timers): Remove.
19151
dd924cd7
RM
191522012-08-15 Roland McGrath <roland@hack.frob.com>
19153
4b4f2771
RM
19154 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19155 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19156
601c888b
RM
19157 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19158
176790a7
RM
19159 * elf/dl-sym.c: Include <stdlib.h>.
19160
329bc018
RM
19161 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19162 constants, which avoids warnings in 32-bit builds.
19163
e04e272d
RM
19164 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19165 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19166
952bf94a
RM
19167 * misc/lseek.c: File moved to ...
19168 * io/lseek.c: ... here.
19169
7c99b50a
RM
19170 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19171
dd924cd7
RM
19172 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19173 shifting LEN more than 31 bits at once.
19174
b3f479a8
LD
191752012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19176
19177 [BZ #14195]
8c4ae0d4
RM
19178 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19179 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19180 * string/test-strncasecmp.c (check1): Renamed to...
19181 (bz12205): ...this.
19182 (bz14195): Add new testcase for two empty input strings and N > 0.
19183 (test_main): Call new testcase, adapt for renamed function.
19184
9c55864e
AJ
191852012-08-15 Andreas Jaeger <aj@suse.de>
19186
19187 [BZ #14090]
19188 * crypt/md5test2.c: New test, based on test supplied by Serge
19189 Belyshev <belyshev@depni.sinp.msu.ru>.
19190 * crypt/Makefile (xtests): Add md5test-giant..
19191 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19192
02dcb6c5
PE
191932012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19194
19195 [BZ #14090]
19196 * crypt/md5.c (md5_process_block): Don't assume the buffer
19197 length is less than 2**32.
19198 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19199 length is less than 2**64.
19200
a3f95dcc
RM
192012012-08-15 Roland McGrath <roland@hack.frob.com>
19202
be75d758
RM
19203 * string/str-two-way.h: Include <sys/param.h>.
19204 (MAX): Macro removed.
19205
7312ca90
RM
19206 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19207 Move #define and #undef of memmove to just before and after
19208 including <string.h>.
19209
9a0a5486
RM
19210 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19211 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19212 and after including <string.h>. Move declarations of
19213 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19214 to before #include "string/memmove.c".
19215
67cc348d
RM
19216 * include/dirent.h: Declare __getdirentries.
19217
a3f95dcc
RM
19218 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19219 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19220
ca98e171
MF
192212012-08-14 Mike Frysinger <vapier@gentoo.org>
19222
19223 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19224 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19225 * sysdeps/i386/configure: Regenerated.
19226 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19227 STABS_CURRENT_FILE, and STABS_FUN.
19228 (END): Remove call to STABS_FUN_END.
19229 (STABS_CURRENT_FILE1): Delete.
19230 (STABS_CURRENT_FILE): Likewise.
19231 (STABS_FUN): Likewise.
19232 (STABS_FUN_END): Likewise.
19233 (STABS_FUN2): Likewise.
19234 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19235 * sysdeps/x86_64/configure: Regenerated.
19236
5908bf46
RM
192372012-08-14 Roland McGrath <roland@hack.frob.com>
19238
19239 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19240 * elf/dl-lookup.c: Likewise.
5908bf46 19241
f2c05b9e
JM
192422012-08-14 Joseph Myers <joseph@codesourcery.com>
19243
19244 * sysdeps/unix/sysv/linux/kernel-features.h
19245 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19246 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19247 unconditionally.
19248 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19249 unconditionally.
19250 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19251 condition on __ASSUME_CLONE_THREAD_FLAGS.
19252
e11f5155
AJ
192532012-08-14 Andreas Jaeger <aj@suse.de>
19254
19255 * sysdeps/i386/fpu/libm-test-ulps: Update.
19256
51a9ba86
MK
192572012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19258
2fdd4f78
AJ
19259 * include/atomic.h (atomic_exchange_and_add): Split into ...
19260 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19261 New atomic macros.
51a9ba86 19262
ba6cba9e
MT
192632012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19264
19265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19266
42443a47
JL
192672012-08-13 Jeff Law <law@redhat.com>
19268
19269 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19270 null byte in the output string.
19271
121dce05
JM
192722012-08-10 Joseph Myers <joseph@codesourcery.com>
19273
19274 * sysdeps/unix/sysv/linux/kernel-features.h
19275 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19276 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19277 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19278 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19279 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19280 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19281 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19282
bf51f568
JL
192832012-08-09 Jeff Law <law@redhat.com>
19284
19285 [BZ #13939]
19286 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19287 When avoid_arena is set, don't retry in the that arena. Pick the
19288 next one, whatever it might be.
19289 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19290 (arena_lock): Pass in new parameter to arena_get2.
19291 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19292 arena_get2.
19293 (__libc_malloc): Unify retrying after main arena failure with
19294 __libc_memalign version.
19295 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19296
f85fa270
L
192972012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19298
19299 [BZ #14166]
19300 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19301 to __redirect_strstr.
19302 (__strstr_sse42): Use typeof __redirect_strstr.
19303 (__strstr_ia32): Likewise.
19304 (__libc_strstr): New prototype.
19305 (strstr): Renamed to ...
19306 (__libc_strstr): This.
19307 (strstr): New strong alias of __libc_strstr.
19308 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19309 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19310 __redirect_time.
19311 Include <time.h>.
19312 (__libc_time): New prototype.
19313 (time_ifunc): Replace time with __libc_time.
19314 (time): New strong alias and hidden definition of __libc_time.
19315 (__GI_time): Remove strong alias.
19316 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19317 Include <stddef.h>.
19318 (memmove): Redefined to __redirect_memmove.
19319 (__memmove_sse2): Use typeof __redirect_memmove.
19320 (__memmove_ssse3): Likewise.
19321 (__memmove_ssse3_back): Likewise.
19322 (__libc_memmove): New prototype.
19323 (memmove): Renamed to ...
19324 (__libc_memmove): This.
19325 (memmove): New strong alias of __libc_memmove.
19326
33b4a91e
MS
193272012-08-08 Mark Salter <msalter@redhat.com>
19328
19329 * elf/elf.h
19330 (R_MN10300_TLS_GD): Define.
19331 (R_MN10300_TLS_LD): Likewise.
19332 (R_MN10300_TLS_LDO): Likewise.
19333 (R_MN10300_TLS_GOTIE): Likewise.
19334 (R_MN10300_TLS_IE): Likewise.
19335 (R_MN10300_TLS_LE): Likewise.
19336 (R_MN10300_TLS_DTPMOD): Likewise.
19337 (R_MN10300_TLS_DTPOFF): Likewise.
19338 (R_MN10300_TLS_TPOFF): Likewise.
19339 (R_MN10300_SYM_DIFF): Likewise.
19340 (R_MN10300_ALIGN): Likewise.
19341 (R_MN10300_NUM): Update.
19342
b36137f1
JM
193432012-08-08 Joseph Myers <joseph@codesourcery.com>
19344
19345 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19346 Remove.
19347
cdd915fd
RM
193482012-08-08 Roland McGrath <roland@hack.frob.com>
19349
a2433aac
RM
19350 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19351
cdd915fd
RM
19352 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19353 sysdeps/unix -> sysdeps/posix move.
19354 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19355
bf9b740a
AM
193562012-08-07 Allan McRae <allan@archlinux.org>
19357
19358 [BZ #14303]
19359 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19360 (SUNOS_CPP): Likewise.
19361 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19362 not found.
19363 (open_input): Call CPP using execvp.
19364
93df14ee
JM
193652012-08-07 Joseph Myers <joseph@codesourcery.com>
19366
19367 * sysdeps/unix/sysv/linux/kernel-features.h
19368 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19369 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19370 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19371 (__ASSUME_WAITID_SYSCALL): Likewise.
19372 * sysdeps/unix/sysv/linux/dl-execstack.c
19373 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19374 code unconditional.
19375 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19376 conditional code.
19377 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19378 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19379 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19380 code.
19381 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19382 unconditional.
19383 [__ASSUME_WAITID_SYSCALL]: Likewise.
19384 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19385
d34689de
RM
193862012-08-07 Roland McGrath <roland@hack.frob.com>
19387
a281decc
RM
19388 * sysdeps/unix/closedir.c: Renamed to ...
19389 * sysdeps/posix/closedir.c: ... here.
19390 * sysdeps/unix/dirfd.c: Renamed to ...
19391 * sysdeps/posix/dirfd.c: ... here.
19392 * sysdeps/unix/dirstream.h: Renamed to ...
19393 * sysdeps/posix/dirstream.h: ... here.
19394 * sysdeps/unix/fdopendir.c: Renamed to ...
19395 * sysdeps/posix/fdopendir.c: ... here.
19396 * sysdeps/unix/opendir.c: Renamed to ...
19397 * sysdeps/posix/opendir.c: ... here.
19398 * sysdeps/unix/readdir.c: Renamed to ...
19399 * sysdeps/posix/readdir.c: ... here.
19400 * sysdeps/unix/readdir_r.c: Renamed to ...
19401 * sysdeps/posix/readdir_r.c: ... here.
19402 * sysdeps/unix/rewinddir.c: Renamed to ...
19403 * sysdeps/posix/rewinddir.c: ... here.
19404 * sysdeps/unix/seekdir.c: Renamed to ...
19405 * sysdeps/posix/seekdir.c: ... here.
19406 * sysdeps/unix/telldir.c: Renamed to ...
19407 * sysdeps/posix/telldir.c: ... here.
19408 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19409 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19410 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19411 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19412
22895b47
RM
19413 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19414 * bits/fcntl.h: ... here.
19415
707a53b6
RM
19416 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19417 not 0.
19418 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19419 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19420 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19421 (struct flock): Move l_start, l_len to the beginning.
19422 Use __pid_t for l_pid.
19423 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19424 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19425 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19426 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19427 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19428 [__USE_LARGEFILE64] (struct flock64): New type.
19429 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19430
f0bd3e25
RM
19431 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19432 * bits/dirent.h: ... here.
19433
d34689de
RM
19434 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19435 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19436
6dad2c06
JM
194372012-08-07 Joseph Myers <joseph@codesourcery.com>
19438
19439 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19440 Change from 2.6.0 to 2.6.16.
19441 * sysdeps/unix/sysv/linux/configure: Regenerated.
19442 * sysdeps/unix/sysv/linux/kernel-features.h
19443 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19444 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19445 version.
19446 (__ASSUME_UTIMES): Likewise.
19447 (__ASSUME_CLONE_STOPPED): Remove.
19448 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19449 architectures, not kernel version.
19450 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19451 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19452 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19453 (__ASSUME_WAITID_SYSCALL): Likewise.
19454 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19455 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19456 * README: State 2.6.16 as minimum Linux kernel version. Do not
19457 refer to older versions.
19458
03af9520
RM
194592012-08-06 Roland McGrath <roland@hack.frob.com>
19460
8e49df1d
RM
19461 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19462 Define alphasort64 as an alias.
19463 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19464 Define versionsort64 as an alias.
19465 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19466 Define scandir64 as an alias.
19467 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19468 Define scandirat64 as an alias.
19469 * dirent/alphasort64.c (alphasort64):
19470 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19471 * dirent/versionsort64.c: Likewise.
19472 * dirent/scandir64.c: Likewise.
19473 * dirent/scandirat64.c: Likewise.
19474 * sysdeps/wordsize-64/alphasort.c: File removed.
19475 * sysdeps/wordsize-64/alphasort64.c: File removed.
19476 * sysdeps/wordsize-64/scandir.c: File removed.
19477 * sysdeps/wordsize-64/scandir64.c: File removed.
19478 * sysdeps/wordsize-64/scandirat.c: File removed.
19479 * sysdeps/wordsize-64/scandirat64.c: File removed.
19480 * sysdeps/wordsize-64/versionsort.c: File removed.
19481 * sysdeps/wordsize-64/versionsort64.c: File removed.
19482 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19483 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19484 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19485 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19486 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19487 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19488 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19489 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19490
19491 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19492 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19493 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19495 [defined __arch64__ || defined __sparcv9]
19496 (__INO_T_MATCHES_INO64_T): New macro.
19497 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19498 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19499 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19500 * sysdeps/unix/sysv/linux/bits/dirent.h
19501 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19502 (_DIRENT_MATCHES_DIRENT64): New macro.
19503
03af9520
RM
19504 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19505 Define lockf64 as an alias.
19506 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19507 Define fseeko64 as an alias.
19508 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19509 Define ftello64 as an alias.
19510 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19511 Define _IO_fgetpos64 and fgetpos64 as aliases.
19512 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19513 Define _IO_fsetpos64 and fsetpos64 as aliases.
19514 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19515 Conditionalize body on this.
19516 * libio/fseeko64.c: Likewise.
19517 * libio/ftello64.c: Likewise.
19518 * libio/iofgetpos64.c: Likewise.
19519 * libio/iofsetpos64.c: Likewise.
19520 * sysdeps/wordsize-64/lockf.c: File removed.
19521 * sysdeps/wordsize-64/lockf64.c: File removed.
19522 * sysdeps/wordsize-64/fseeko.c: File removed.
19523 * sysdeps/wordsize-64/fseeko64.c: File removed.
19524 * sysdeps/wordsize-64/ftello.c: File removed.
19525 * sysdeps/wordsize-64/ftello64.c: File removed.
19526 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19527 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19528 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19529 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19530 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19531 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19532 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19533 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19534 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19535 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19536 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19537 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19538 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19539 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19540
19541 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19542 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19543 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19545 [defined __arch64__ || defined __sparcv9]
19546 (__OFF_T_MATCHES_OFF64_T): New macro.
19547 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19548 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19550 (__OFF_T_MATCHES_OFF64_T): New macro.
19551
c5757acd
L
195522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19553
19554 * stdlib/secure-getenv.c (__secure_getenv): Replace
19555 GLIBC_2_16 with GLIBC_2_17.
19556
3a31811e
L
195572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19558
19559 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19560 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19561
faa2bccb
DM
195622012-08-03 David S. Miller <davem@davemloft.net>
19563
19564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19565
85fe1997
JM
195662012-08-03 Joseph Myers <joseph@codesourcery.com>
19567
19568 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19569 Remove.
19570 (__ASSUME_CORRECT_SI_PID): Likewise.
19571 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19572 (__ASSUME_TMPFS_NAME): Likewise.
19573 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19574 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19575 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19576 (HAVE_AUX_SECURE): Make definition unconditional.
19577 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19578 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19579
4f75b7a0
RM
195802012-08-03 Roland McGrath <roland@hack.frob.com>
19581
19582 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19583 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19584 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19585 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19586 __eloop_threshold instead of SYMLOOP_MAX.
19587
19588 * sysdeps/generic/eloop-threshold.h: New file.
19589 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19590 of MAXSYMLINKS.
19591 * elf/chroot_canon.c (chroot_canon): Likewise.
19592
7aab07e4
JM
195932012-08-03 Joseph Myers <joseph@codesourcery.com>
19594
19595 [BZ #13717]
19596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19597 Change to 2.6.0 everywhere.
19598 * sysdeps/unix/sysv/linux/configure: Regenerated.
19599 * sysdeps/unix/sysv/linux/kernel-features.h
19600 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19601 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19602 kernel versions.
19603 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19604 (__ASSUME_FUTEX_REQUEUE): Remove.
19605 (__ASSUME_STATFS64): Define unconditionally.
19606 (__ASSUME_AT_SECURE): Likewise.
19607 (__ASSUME_CORRECT_SI_PID): Likewise.
19608 (__ASSUME_TGKILL): Define without depending on kernel version for
19609 i386.
19610 (__ASSUME_UTIMES): Likewise.
19611 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19612 kernel version.
19613 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19614 (__ASSUME_TMPFS_NAME): Likewise.
19615 * README: Update reference to Linux kernel versions.
19616
b67e9372
MP
196172012-08-02 Marek Polacek <polacek@redhat.com>
19618
1f529f7d 19619 [BZ# 14150]
b67e9372
MP
19620 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19621 libc_cv_asm_type_prefix with %.
19622 * configure: Regenerated.
d2441631
RM
19623 * include/libc-symbols.h: Remove comment about
19624 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19625 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19626 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19627 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19628 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19629 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19630 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19631 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19632 * elf/tst-unique2mod1.c: Likewise.
19633 * elf/tst-unique1mod2.c: Likewise.
19634 * elf/tst-unique1mod1.c: Likewise.
19635 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19636 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19637 Replace ASM_TYPE_DIRECTIVE with .type.
19638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19639 * sysdeps/i386/sysdep.h: Likewise.
19640 * sysdeps/x86_64/sysdep.h: Likewise.
19641 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19643 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19644 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19645 * sysdeps/powerpc/powerpc32/sysdep.h:
19646 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19647 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19648 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19649 * sysdeps/i386/fpu/e_powf.S: Likewise.
19650 * sysdeps/i386/fpu/e_expl.S: Likewise.
19651 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19652 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19653 * sysdeps/i386/fpu/e_pow.S: Likewise.
19654 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19655 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19656 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19657 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19658 * sysdeps/i386/fpu/e_log2.S: Likewise.
19659 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19660 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19661 * sysdeps/i386/fpu/e_powl.S: Likewise.
19662 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19663 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19664 * sysdeps/i386/fpu/e_logl.S: Likewise.
19665 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19666 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19667 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19668 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19669 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19670 * sysdeps/i386/fpu/e_log.S: Likewise.
19671 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19672 * sysdeps/i386/fpu/e_logf.S: Likewise.
19673 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19674 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19675 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19676 * sysdeps/i386/fpu/e_log10.S: Likewise.
19677 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19678 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19679 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19680 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19681 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19682 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19683 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19684 * sysdeps/i386/i686/strtok.S: Likewise.
19685 * sysdeps/i386/i386-mcount.S: Likewise.
19686 * sysdeps/i386/strtok.S: Likewise.
19687 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19688 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19689 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19690 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19691 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19692 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19693 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19694 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19695 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19696 * sysdeps/x86_64/_mcount.S: Likewise.
19697 * sysdeps/x86_64/strtok.S: Likewise.
19698 * sysdeps/sh/_mcount.S: Likewise.
19699
2747bf9a
RM
197002012-08-01 Roland McGrath <roland@hack.frob.com>
19701
19702 * libio/iofopen.c: Include <fcntl.h>.
19703 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19704 (_IO_fopen64, fopen64): Define as aliases.
19705 * libio/iofopen64.c: Include <fcntl.h>.
19706 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19707 Conditionalize body on this.
19708 * sysdeps/wordsize-64/iofopen.c: File removed.
19709 * sysdeps/wordsize-64/iofopen64.c: File removed.
19710
3fb791b8
MP
197112012-08-01 Marek Polacek <polacek@redhat.com>
19712
19713 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19714 Use dlfcn directly instead of a variable.
19715 (binfmt-subdir): Do not define.
19716 (dlfcn): Likewise.
19717
a9f1039f
JM
197182012-08-01 Joseph Myers <joseph@codesourcery.com>
19719
23bddc06
JM
19720 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19721 Remove all definitions.
19722 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19723 <kernel-features.h>.
19724 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19725 (miss_F_GETOWN_EX): Remove all definitions.
19726 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19727 macro definition.
19728 [!__ASSUME_FCNTL64]: Remove conditional code.
19729 [__ASSUME_FCNTL64]: Make code unconditional.
19730 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19731 <kernel-features.h>.
19732 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19733 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19734 (lockf64) [__NR_fcntl64]: Make code unconditional.
19735 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19736
a9f1039f
JM
19737 * sysdeps/unix/sysv/linux/kernel-features.h
19738 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19739 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19740 Make code unconditional.
19741 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19742 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19744 [__NR_vfork]: Make code unconditional.
19745 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19746 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19748 [__NR_vfork]: Make code unconditional.
19749 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19750 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19751
09c0ee5f
RM
197522012-08-01 Roland McGrath <roland@hack.frob.com>
19753
48aec5b9
RM
19754 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19755 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19756
cd97c966
RM
19757 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19758 Define mkstemp64 as an alias.
3f55550c
RM
19759 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19760 Define mkstemps64 as an alias.
cd97c966
RM
19761 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19762 Define mkostemp64 as an alias.
b8625cfc
RM
19763 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19764 Define mkostemps64 as an alias.
cd97c966
RM
19765 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19766 Conditionalize body on this.
19767 * misc/mkostemp64.c: Likewise.
b8625cfc 19768 * misc/mkostemps64.c: Likewise.
3f55550c 19769 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19770 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19771 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19772 * sysdeps/wordsize-64/mkostemp.c: File removed.
19773 * sysdeps/wordsize-64/mkstemp.c: File removed.
19774 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19775 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19776 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19777 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19778
09c0ee5f
RM
19779 [BZ #14138]
19780 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19781 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19782 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19783 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19784
19785 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19786 compat_symbol macros from <shlib-compat.h> rather than the underlying
19787 default_symbol_version and symbol_version macros, so that DEFAULT
19788 lines in shlib-versions are respected.
19789 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19790
7e66ee51
FW
197912012-08-01 Florian Weimer <fweimer@redhat.com>
19792
19793 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19794 Declare with warn_unused_result.
19795 (setgid, setregid, setegid, setresgid): Likewise.
19796 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19797 Likewise.
19798 * WUR-REPORT: Remove set*id functions.
19799
d2a54255
PT
198002012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19801
19802 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19803
7ecdb005
RM
198042012-07-31 Roland McGrath <roland@hack.frob.com>
19805
b4180a5e 19806 [BZ #10191]
789bd351
RM
19807 * include/sys/socket.h (__libc_accept, __libc_accept4):
19808 Add attribute_hidden.
19809 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19810
40ce302d
RM
19811 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19812 use of PTR_MANGLE.
19813 * inet/getnetgrent_r.c (setup): Likewise.
19814
7ecdb005
RM
19815 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19816
e2eabb2c
DM
198172012-07-31 David S. Miller <davem@davemloft.net>
19818
19819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19820
d0419dbf
JM
198212012-07-31 Joseph Myers <joseph@codesourcery.com>
19822
19823 [BZ #13629]
19824 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19825 value between 1.0 and 2.0 and smaller part has absolute value less
19826 than 1.0.
19827 * math/s_clog10.c (__clog10): Likewise.
19828 * math/s_clog10f.c (__clog10f): Likewise.
19829 * math/s_clog10l.c (__clog10l): Likewise.
19830 * math/s_clogf.c (__clogf): Likewise.
19831 * math/s_clogl.c (__clogl): Likewise.
19832 * math/libm-test.inc (clog_test): Add more tests.
19833 (clog10_test): Likewise.
19834 * sysdeps/i386/fpu/libm-test-ulps: Update.
19835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19836
2bc13872
FW
198372012-07-31 Florian Weimer <fweimer@redhat.com>
19838
19839 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19840 Exit with zero in case no suitable GID is found, and write a
19841 message to standard error.
19842
bea9b193
RM
198432012-07-30 Roland McGrath <roland@hack.frob.com>
19844
19845 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19846 rather than to 1.
19847 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19848 (MAXPATHLEN): Removed.
19849 (NOGROUP, NODEV): New macros.
19850 (setbit, clrbit, isset, isclr): New macros.
19851 (howmany, roundup, powerof2): New macros.
19852 (DEV_BSIZE): New macro.
19853
19854 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19855 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19856
19857 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19858 definition on [!__NO_LONG_DOUBLE_MATH].
19859
19860 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19861 PTR_MANGLE and PTR_DEMANGLE.
19862
19863 * socket/accept4.c (accept4): Rename to __libc_accept4.
19864 Define accept4 as a weak alias.
19865
19866 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19867 on [_DIRENT_HAVE_D_TYPE].
19868 * io/ftw.c (ftw_dir): Likewise.
19869
19870 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19871
19872 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19873
19874 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19875 Use the BSD numbers rather than the arbitrary ones we had.
19876 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19877 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19878 (SIGXCPU, SIGXFSZ): New macros.
19879 (_NSIG): Now 32.
19880
19881 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19882 initializer on [_LIBC_REENTRANT].
19883
19884 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19885 definitions inside [_POSIX_MAPPED_FILES].
19886
19887 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19888
19889 * dirent/opendir.c: Include <fcntl.h>.
19890
19891 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19892 (__libc_getspecific): Likewise.
19893 (__libc_key_create): Likewise.
19894
19895 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19896 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19897 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19898 (tmpfile64): Define as alias.
19899 * sysdeps/wordsize-64/tmpfile.c: File removed.
19900 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19901 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19902 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19903
19904 * stdio-common/vfscanf.c: Include <stdbool.h>.
19905 * nss/makedb.c: Likewise.
19906 * stdio-common/_i18n_number.h: Likewise.
19907 * argp/argp-help.c: Likewise.
19908 * posix/wordexp.c: Likewise.
19909 * sysdeps/posix/spawni.c: Likewise.
19910 * nss/nss_files/files-initgroups.c: Likewise.
19911 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19912 * nss/nss_files/files-initgroups.c: Likewise.
19913 * nss/nss_db/db-netgrp.c: Likewise.
19914 * nss/nss_db/db-initgroups.c: Likewise.
19915 * io/fchmodat.c: Include <sys/stat.h>.
19916
19917 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19918 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19919
19920 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19921 [HAVE_MMAP].
19922
19923 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19924 Add multiple inclusion protection.
19925
e5abc686
DM
199262012-07-27 David S. Miller <davem@davemloft.net>
19927
19928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19929
815e6fa3
GB
199302012-07-27 Gary Benson <gbenson@redhat.com>
19931
19932 [BZ #14298]
19933 * elf/rtld.c: Include <stap-probe.h>.
19934 (dl_main): Added static probes "init_start" and "init_complete".
19935 * elf/dl-load.c: Include <stap-probe.h>.
19936 (lose): Take new parameter "nsid".
19937 Added static probe "map_failed".
19938 (_dl_map_object_from_fd): Pass namespace id to lose.
19939 Added static probe "map_start".
19940 (open_verify): Pass namespace id to lose.
19941 * elf/dl-open.c: Include <stap-probe.h>.
19942 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19943 and "reloc_complete".
19944 * elf/dl-close.c: Include <stap-probe.h>.
19945 (_dl_close_worker): Added static probes "unmap_start" and
19946 "unmap_complete".
19947 * elf/rtld-debugger-interface.txt: New file documenting the above.
19948
9f98c16c
RM
199492012-07-26 Roland McGrath <roland@hack.frob.com>
19950
19951 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19952 rather than a string variable.
19953 * sunrpc/rpc_main.c (h_output): Likewise.
19954 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19955
f3c22df3
PT
199562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19957
19958 * inet/check_native.c: New file.
19959
3129cfc6
JM
199602012-07-26 Joseph Myers <joseph@codesourcery.com>
19961
da865e95
JM
19962 [BZ #13629]
19963 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19964 if larger part has absolute value 1.0.
19965 * math/s_clog10.c (__clog10): Likewise.
19966 * math/s_clog10f.c (__clog10f): Likewise.
19967 * math/s_clog10l.c (__clog10l): Likewise.
19968 * math/s_clogf.c (__clogf): Likewise.
19969 * math/s_clogl.c (__clogl): Likewise.
19970 * math/libm-test.inc (clog_test): Add more tests.
19971 (clog10_test): Likewise.
19972 * sysdeps/i386/fpu/libm-test-ulps: Update.
19973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19974
3129cfc6
JM
19975 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19976 (pltexit): Likewise.
19977 (La_regs): Likewise.
19978 (La_retval): Likewise.
19979 (int_retval): Likewise.
19980 Update #error for removed macros to refer only to definitions in
19981 tst-audit.h.
19982 * elf/tst-auditmod3b.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-auditmod4b.c (pltenter): Remove all definitions of
19989 macro.
19990 (pltexit): Likewise.
19991 (La_regs): Likewise.
19992 (La_retval): Likewise.
19993 (int_retval): Likewise.
19994 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19995 macro.
19996 (pltexit): Likewise.
19997 (La_regs): Likewise.
19998 (La_retval): Likewise.
19999 (int_retval): Likewise.
20000 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20001 macro.
20002 (pltexit): Likewise.
20003 (La_regs): Likewise.
20004 (La_retval): Likewise.
20005 (int_retval): Likewise.
20006 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20007 macro.
20008 (pltexit): Likewise.
20009 (La_regs): Likewise.
20010 (La_retval): Likewise.
20011 (int_retval): Likewise.
20012 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20013 macro.
20014 (pltexit): Likewise.
20015 (La_regs): Likewise.
20016 (La_retval): Likewise.
20017 (int_retval): Likewise.
20018 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20019 macro definitions in tst-audit.h.
20020 * sysdeps/i386/tst-audit.h: New file.
20021 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20022 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20023 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20024 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20025 * sysdeps/sh/tst-audit.h: Likewise.
20026 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20027 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20028 * sysdeps/x86_64/tst-audit.h: Likewise.
20029
bfc07087
AJ
200302012-07-26 Andreas Jaeger <aj@suse.de>
20031
b1b2aaf8
AJ
20032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20033 ptrace.
20034
20035 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20036 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20037 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20038 PTRACE_O_MASK.
20039 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20040 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20041 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20042
bfc07087
AJ
20043 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20044 value.
20045
20046 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20047 _sigsys.
20048 (si_call_addr, si_syscall, si_arch): Define new macro.
20049 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20050 _sigsys.
20051 (si_call_addr, si_syscall, si_arch): Define new marcro.
20052 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20053 _sigsys.
20054 (si_call_addr, si_syscall, si_arch): Define new macro.
20055 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20056 _sigsys.
20057 (si_call_addr, si_syscall, si_arch): Define new macro.
20058
89b4b02f
JM
200592012-07-25 Joseph Myers <joseph@codesourcery.com>
20060
20061 [BZ #13717]
20062 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20063 Change to 2.4.21 where previously 2.4.1.
20064 * sysdeps/unix/sysv/linux/configure: Regenerated.
20065 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20066 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20067 Linux kernel version.
20068 (__ASSUME_STD_AUXV): Remove.
20069 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20070 kernel version.
20071 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20072 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20073 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20074 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20075 (__ASSUME_NETLINK_SUPPORT): Likewise.
20076 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20077 (__no_netlink_support): Remove conditional definition.
20078 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20079 Remove.
20080 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20081 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20082 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20083 (if_nameindex_ioctl): Remove.
20084 (if_nameindex_netlink): Do not handle __no_netlink_support.
20085 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20086 code.
20087 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20088 Remove conditional code.
20089 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20090 code.
20091 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20092 unconditional.
20093 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20094 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20095 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20096 Remove.
20097 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20098 [!__ASSUME_STD_AUXV]: Remove conditional code.
20099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20100 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20101 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20103 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20104 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20105 code.
20106 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20108 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20109 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20110 conditional code.
20111 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20113 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20114 code.
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20116 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20117 conditional code.
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20119 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20120 code unconditional.
20121 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20122 conditional code.
20123 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20124 unconditional.
20125 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20126 conditional code.
20127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20128 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20129 unconditional.
20130 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20131 conditional code.
20132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20133 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20134 code unconditional.
20135 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20136 conditional code.
20137 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20138 unconditional.
20139 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20140 conditional code.
20141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20142 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20143 code unconditional.
20144 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20145 conditional code.
20146 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20147 unconditional.
20148 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20149 conditional code.
20150
842a39cd
AS
201512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20152
20153 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20154 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20155 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20156 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20157 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20158 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20159 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20160 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20161 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20162 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20163 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20164 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20165 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20166 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20167 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20168 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20169 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20170 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20171 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20173 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20174 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20175 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20176
84b3fd84
FW
201772012-07-25 Florian Weimer <fweimer@redhat.com>
20178
20179 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20180 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20181 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20182 Introduce __libc_secure_getenv.
0c7936d5
FW
20183 * stdlib/Versions (2.17): Add secure_getenv
20184 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20185 * stdlib/secure-getenv.c: Rename __secure_getenv to
20186 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20187 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20188 * stdlib/tst-secure-getenv.c: New.
20189 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20190 * manual/startup.texi (Environment Access): Document
20191 secure_getenv.
84b3fd84
FW
20192 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20193 __libc_secure_getenv.
20194 * inet/ruserpass.c (ruserpass): Likewise.
20195 * malloc/mtrace.c (mtrace): Likewise.
20196 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20197 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20198 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20199 * sysdeps/posix/tempname.c: Likewise. Evaluate
20200 HAVE_SECURE_GETENV.
20201 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20202 __secure_getenv to __libc_secure_getenv.
84b3fd84 20203 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20205 Likewise.
20206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20207 Likewise.
20208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20210 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20215
56e49b71
JM
202162012-07-25 Joseph Myers <joseph@codesourcery.com>
20217
20218 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20219 (struct La_i86_retval): Likewise.
20220 (struct La_x86_64_regs): Likewise.
20221 (struct La_x86_64_retval): Likewise.
20222 (struct La_x32_regs): Likewise.
20223 (struct La_x32_retval): Likewise.
20224 (struct La_ppc32_regs): Likewise.
20225 (struct La_ppc32_retval): Likewise.
20226 (struct La_ppc64_regs): Likewise.
20227 (struct La_ppc64_retval): Likewise.
20228 (struct La_sh_regs): Likewise.
20229 (struct La_sh_retval): Likewise.
20230 (struct La_s390_32_regs): Likewise.
20231 (struct La_s390_32_retval): Likewise.
20232 (struct La_s390_64_regs): Likewise.
20233 (struct La_s390_64_retval): Likewise.
20234 (struct La_sparc32_regs): Likewise.
20235 (struct La_sparc32_retval): Likewise.
20236 (struct La_sparc64_regs): Likewise.
20237 (struct La_sparc64_retval): Likewise.
20238 (struct audit_ifaces): Remove architecture-specific pltenter and
20239 pltexit members.
20240 * sysdeps/i386/ldsodefs.h: New file.
20241 * sysdeps/powerpc/ldsodefs.h: Likewise.
20242 * sysdeps/s390/ldsodefs.h: Likewise.
20243 * sysdeps/sh/ldsodefs.h: Likewise.
20244 * sysdeps/sparc/ldsodefs.h: Likewise.
20245 * sysdeps/x86_64/ldsodefs.h: Likewise.
20246
354691b7
MP
202472012-07-25 Marek Polacek <polacek@redhat.com>
20248
20249 [BZ #6808]
20250 * math/libm-test.inc (yn_test): Add another test.
20251 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20252 to ERANGE when the result is +-Inf.
20253 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20254 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20255 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20256 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20257
bf9e2071
JM
202582012-07-24 Joseph Myers <joseph@codesourcery.com>
20259
20260 * conform/data/time.h-data (NULL): Use macro-constant. Require
20261 equal to 0.
20262 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20263 clock_t.
20264 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20265
57633811
TS
202662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20267
20268 * configure.in <sysdeps resolving>: Correct printing
20269 Implies_before.
20270 * configure: Regenerate.
20271
c23c33b0
TS
202722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20273
20274 * math/w_ilogb.c: Include <limits.h>.
20275 * math/w_ilogbl.c: Likewise.
20276
b5982523
JM
202772012-07-20 Joseph Myers <joseph@codesourcery.com>
20278
20279 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20280 va_copy. Document allowing for unavailable va_copy only as
20281 pre-C99 compatibility.
20282 * manual/string.texi (Copying and Concatenation): Use va_copy
20283 instead of __va_copy in concat example.
20284
ac4ea442
PT
202852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20286
20287 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20288 (__sendto): Use create_address_port. Initialize APORT and deallocate
20289 it if not null.
20290
f98eafbd
PT
20291 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20292 with O_NOLINK passed to __file_name_lookup.
20293
898c7aab
PT
20294 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20295 with O_NOLINK passed to __file_name_lookup.
20296
0ced335a
PT
20297 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20298 negative N or less than NGIDS.
20299
b3404dbd
PT
20300 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20301 type to string_t. Set ERANGE as errno and return it if NAME is not big
20302 enough. Use memcpy instead of strncpy.
20303
0f48659e
JM
203042012-07-20 Joseph Myers <joseph@codesourcery.com>
20305
20306 * elf/Makefile (check-data): Remove.
20307 (localplt.data): New vpath directive.
20308 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20309 instead of $(check-data).
20310 * scripts/data/localplt-generic.data: Move to ...
20311 * sysdeps/generic/localplt.data: ... here.
20312 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20313 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20314 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20316 ... here.
20317 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20319 ... here.
20320 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20322 ... here.
20323 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20325 ... here.
20326 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20328 ... here.
20329 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20331 ... here.
20332
d37cbdaa
AZ
203332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20334
20335 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20336 PPC32 and PPC64 files.
20337 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20338 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20339
46f85fc2
AK
203402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20341
20342 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20343 __makecontext_ret to ...
20344 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20345 ... here and call exit if uc_link is NULL. New file.
20346 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20347 __makecontext_ret.S.
20348 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20349 __makecontext_ret to ...
20350 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20351 ... here and call exit if uc_link is NULL. New file.
20352 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20353 __makecontext_ret.S.
20354
08f43f9b
AK
203552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20356
20357 * elf/elf.h (R_390_IRELATIVE): New definition.
20358 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20359 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20360 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20361 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20362 (elf_machine_lazy_rel): Likewise.
20363 * sysdeps/s390/dl-irel.h: New file.
20364 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20365 * sysdeps/s390/s390-64/memset.S: New asm code.
20366 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20367 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20368 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20369 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20370 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20371 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20372 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20373 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20374 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20375 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20376 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20377 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20378 * sysdeps/s390/s390-32/memset.S: New asm code.
20379 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20380
3b05db33
MP
203812012-07-17 Marek Polacek <polacek@redhat.com>
20382
20383 [BZ #14349]
20384 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20385 * sysdeps/s390/s390-64/configure.in: Likewise.
20386 * sysdeps/sparc/configure.in: Likewise.
20387 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20388 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20389 * sysdeps/i386/configure.in: Likewise.
20390 * sysdeps/x86_64/configure.in: Likewise.
20391 * sysdeps/sh/configure.in: Likewise.
20392 * sysdeps/s390/s390-32/configure: Regenerated.
20393 * sysdeps/s390/s390-64/configure: Likewise.
20394 * sysdeps/x86_64/configure: Likewise.
20395 * sysdeps/sh/configure: Likewise.
20396 * sysdeps/powerpc/powerpc64/configure: Likewise.
20397 * sysdeps/powerpc/powerpc32/configure: Likewise.
20398 * sysdeps/sparc/configure: Likwise.
20399 * sysdeps/i386/configure: Likewise.
20400
a66877c6
MP
20401 * elf/dl-open.c: Comment fixes.
20402
cfc82fd8
JM
204032012-07-17 Joseph Myers <joseph@codesourcery.com>
20404
bd29910a
JM
20405 * Makefile [CXX] (check-data): Remove.
20406 [CXX] (c++-types.data): New vpath directive.
20407 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20408 vpath. Do not allow for C++ type data being missing.
20409 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20410 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20411 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20412 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20413 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20414 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20415 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20417 ... here.
20418 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20420 ... here.
20421 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20423 ... here.
20424 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20426 ... here.
20427 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20429 ... here.
20430 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20432 ... here.
20433 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20435 ... here.
20436 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20438
cfc82fd8
JM
20439 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20440 definitions to architecture-specific files.
20441 (TLS_IE): Likewise.
20442 (TLS_LD): Likewise.
20443 (TLS_GD): Likewise.
20444 * sysdeps/i386/tls-macros.h: New file.
20445 * sysdeps/powerpc/tls-macros.h: Likewise.
20446 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20447 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20448 * sysdeps/sh/tls-macros.h: Likewise.
20449 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20450 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20451 * sysdeps/x86_64/tls-macros.h: Likewise.
20452
f7db3170
TS
204532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20454
07cbfc23
TS
20455 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20456 zero value for regular exit case.
20457
f7db3170
TS
20458 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20459 (__start_context): Preserve zero value for regular exit case.
20460
dc97c227
TS
204612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20462 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20463
20464 * manual/setjmp.texi (setcontext): Clarify normal process
20465 termination when uc_link is the null pointer.
20466 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20467 exit call.
20468
d0cd7d02
AS
204692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20470
20471 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20472 preprocessor. Test for each exception mask separately.
20473
dd318934
AJ
204742012-07-16 Andreas Jaeger <aj@suse.de>
20475
20476 * po/ru.po: Update from translation team.
20477
8048311a
JM
204782012-07-15 Joseph Myers <joseph@codesourcery.com>
20479
20480 * conform/data/string.h-data (NULL): Use macro-constant. Require
20481 equal to 0.
20482 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20483 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20484 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20485 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20487
b637d46e
AJ
204882012-07-13 Andreas Jaeger <aj@suse.de>
20489
20490 * po/fr.po: Update from translation team.
20491
541428fe
MP
204922012-07-12 Marek Polacek <polacek@redhat.com>
20493
20494 [BZ #14173]
20495 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20496 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20497 loop condition.
20498
ec332e94
JM
204992012-07-12 Joseph Myers <joseph@codesourcery.com>
20500
20501 [BZ #13717]
20502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20503 Change to 2.4.1 where previously 2.4.0.
20504 * sysdeps/unix/sysv/linux/configure: Regenerated.
20505 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20506 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20507 version.
20508 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20509 (__ASSUME_AT_CLKTCK): Remove.
20510 (__ASSUME_AT_PAGESIZE): Likewise.
20511 (__ASSUME_AT_XID): Likewise.
20512 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20513 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20514 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20515 unconditionally.
20516 (HAVE_AUX_PAGESIZE): Likewise.
20517 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20518 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20519 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20520
7b6e99be
JB
205212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20522
20523 [BZ #14307]
20524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20525 the temporary buffer used to invoke __gethostbyname2_r,
20526 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20527 host_data / struct gaih_addrtuple.
20528 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20529 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20530 header file nss/nsswitch.h.
20531 * nss/nsswitch.h (global scope): Add definition of implementation
20532 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20533 resolv/nss_dns/dns-host.c).
20534
608404eb
AJ
205352012-07-11 Andreas Jaeger <aj@suse.de>
20536
20537 * po/fr.po: Update from translation team.
20538
71220aca
AJ
20539 * po/sv.po: Update from translation team
20540 * po/fr.po: Another update from translation team.
20541
28cfe843
AZ
205422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20543
20544 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20545 for subnormals or multiply small sinh result by itself.
20546 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20548
6b90f981
DM
205492012-07-11 David S. Miller <davem@davemloft.net>
20550
20551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20552
c6825772
AS
205532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20554
20555 [BZ #14347]
20556 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20557 (INTERNAL_MARK): Shift it here.
20558
7b8e0d49
MP
205592012-07-10 Marek Polacek <polacek@redhat.com>
20560
20561 [BZ #14151]
20562 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20563 libc_cv_asm_global_directive with .globl.
20564 * configure: Regenerated.
20565 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20566 with .globl.
20567 * sysdeps/i386/configure: Regenerated.
20568 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20569 with .globl.
20570 * sysdeps/x86_64/configure: Regenerated.
20571 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20572 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20573 * elf/tst-unique2mod2.c: Likewise.
20574 * elf/tst-unique2mod1.c: Likewise.
20575 * elf/tst-unique1mod2.c: Likewise.
20576 * elf/tst-unique1mod1.c: Likewise.
20577 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20578 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20580 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20581 * sysdeps/mach/sysdep.h: Likewise.
20582 * sysdeps/i386/sysdep.h: Likewise.
20583 * sysdeps/i386/i386-mcount.S: Likewise.
20584 * sysdeps/x86_64/_mcount.S: Likewise.
20585 * sysdeps/x86_64/sysdep.h: Likewise.
20586 * sysdeps/sh/_mcount.S: Likewise.
20587 * sysdeps/sh/sysdep.h: Likewise.
20588 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20589 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20590 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20591 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20592 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20593 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20594 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20595 * locale/localeinfo.h: Likewise.
20596 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20597 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20598
6c55cda3
RM
205992012-07-09 Roland McGrath <roland@hack.frob.com>
20600
20601 [BZ #14336]
20602 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20603 system".
20604 * manual/message.texi (The Uniforum approach): Likewise.
20605 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20606 (glibc iconv Implementation): Likewise.
20607
638a572e
JM
206082012-07-09 Joseph Myers <joseph@codesourcery.com>
20609
20610 [BZ #14337]
20611 * math/s_clog.c (__clog): Avoid scaling a value down where that
20612 could result in underflow.
20613 * math/s_clog10.c (__clog10): Likewise.
20614 * math/s_clog10f.c (__clog10f): Likewise.
20615 * math/s_clog10l.c (__clog10l): Likewise.
20616 * math/s_clogf.c (__clogf): Likewise.
20617 * math/s_clogl.c (__clogl): Likewise.
20618 * math/libm-test.inc (clog_test): Add more tests.
20619 (clog10_test): Likewise.
20620 * sysdeps/i386/fpu/libm-test-ulps: Update.
20621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20622
261f4859
AS
206232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20624
0abaf3e4
AS
20625 [BZ #14283]
20626 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20627 by 7 not 8 to examine high bit of fractional part.
20628
261f4859
AS
20629 [BZ #14042]
20630 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20631 for call to __mcount_internal.
20632 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20633 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20634 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20635
f17ac40d
JM
206362012-07-06 Joseph Myers <joseph@codesourcery.com>
20637
9ad63c23
JM
20638 [BZ #14154]
20639 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20640 approximation for values within 0x1p-13f of an odd multiple of
20641 pi/4.
20642 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20643 exception. Add more tests.
20644 * sysdeps/i386/fpu/libm-test-ulps: Update.
20645
f17ac40d
JM
20646 [BZ #6778]
20647 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20648 inputs and return -1 for them. Do not check for +Inf in case not
20649 reachable for +Inf.
20650 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20651 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20652 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20653 and return -1 for them. Do not check for +Inf in case not
20654 reachable for +Inf.
20655 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20656 define.
20657 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20658 and return -1 for them. Do not check for +Inf in case not
20659 reachable for +Inf.
20660 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20661 spurious underflow.
20662 * sysdeps/i386/fpu/libm-test-ulps: Update.
20663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20664
fb21f89b
MF
206652012-07-06 Mike Frysinger <vapier@gentoo.org>
20666
20667 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20668
cdfe2c5e
JM
206692012-07-05 Joseph Myers <joseph@codesourcery.com>
20670
20671 [BZ #14157]
20672 [BZ #14331]
20673 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20674 could result in spurious underflow. Scale down values above
20675 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20676 * math/s_csqrtf.c (__csqrtf): Likewise.
20677 * math/s_csqrtl.c (__csqrtl): Likewise.
20678 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20679 spurious underflow.
20680 * sysdeps/i386/fpu/libm-test-ulps: Update.
20681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20682
70d35b67
AS
206832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20684
704bc459
AS
20685 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20686 xopen-msg.sed.
20687 * catgets/xopen-msg.awk: New file.
20688 * catgets/xopen-msg.sed: Removed.
20689
70d35b67
AS
20690 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20691 po2text.sed.
20692 * intl/po2test.awk: New file.
20693 * intl/po2test.sed: Removed.
20694
ca61cf32
JM
206952012-07-04 Joseph Myers <joseph@codesourcery.com>
20696
20697 [BZ #14328]
20698 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20699 or multiply small sinh result by itself.
20700 * math/s_ctanf.c (__ctanf): Likewise.
20701 * math/s_ctanh.c (__ctanh): Likewise.
20702 * math/s_ctanhf.c (__ctanhf): Likewise.
20703 * math/s_ctanhl.c (__ctanhl): Likewise.
20704 * math/s_ctanl.c (__ctanl): Likewise.
20705 * math/libm-test.inc (ctan_test_tonearest): New function.
20706 (ctan_test_towardzero): Likewise.
20707 (ctan_test_downward): Likewise.
20708 (ctan_test_upward): Likewise.
20709 (ctanh_test_tonearest): Likewise.
20710 (ctanh_test_towardzero): Likewise.
20711 (ctanh_test_downward): Likewise.
20712 (ctanh_test_upward): Likewise.
20713 (main): Call these new functions.
20714 * sysdeps/i386/fpu/libm-test-ulps: Update.
20715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20716
ca48a46a
MF
207172012-07-03 Mike Frysinger <vapier@gentoo.org>
20718
20719 * .gitignore: Delete /ports entry.
20720
9d63d37d
AJ
207212012-07-03 Andreas Jaeger <aj@suse.de>
20722
20723 * po/bg.po: Update from translation team.
20724 * po/cs.po: Likewise.
20725 * po/de.po: Likewise.
20726 * po/hr.po: Likewise.
20727 * po/nl.pl: Likewise.
20728 * po/pl.po: Likewise.
20729 * po/vi.po: Likewise.
20730
370ca3d2
JM
207312012-07-03 Joseph Myers <joseph@codesourcery.com>
20732
95f5a9a8
JM
20733 * Makeconfig [!+link] (+link-before-libc): New variable.
20734 [!+link] (+link-after-libc): Likewise.
20735 [!+link] (+link-tests): Likewise.
20736 [!+link] (+link): Define in terms of $(+link-before-libc) and
20737 $(+link-after-libc).
20738 [!+link-static] (+link-static-before-libc): New variable.
20739 [!+link-static] (+link-static-after-libc): Likewise.
20740 [!+link-static] (+link-static-tests): Likewise.
20741 [!+link-static] (+link-static): Define in terms of
20742 $(+link-static-before-libc) and $(+link-static-after-libc).
20743 [build-shared] (link-libc-before-gnulib): New variable.
20744 [build-shared] (link-libc-tests): Likewise.
20745 [build-shared] (link-libc): Define in terms of
20746 $(link-libc-before-gnulib).
20747 [!build-shared] (link-libc-tests): New variable.
20748 (link-libc-static-tests): New variable.
20749 [!gnulib] (gnulib-arch): New variable.
20750 [!gnulib] (gnulib-tests): Likewise.
20751 [!gnulib] (static-gnulib-arch): Likewise.
20752 [!gnulib] (static-gnulib-tests): Likewise.
20753 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20754 Define with "=" instead of ":=".
20755 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20756 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20757 * Rules (binaries-all-notests): New variable.
20758 (binaries-all-tests): Likewise.
20759 (binaries-static-notests): Likewise.
20760 (binaries-static-tests): Likewise.
20761 (binaries-all): Define using $(binaries-all-notests) and
20762 $(binaries-all-tests).
20763 (binaries-static): Define using $(binaries-static-notests) and
20764 $(binaries-static-tests).
20765 (binaries-shared-tests): New variable.
20766 (binaries-shared-notests): Likewise.
20767 (binaries-shared): Remove variable.
20768 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20769 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20770 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20771 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20772 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20773 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20774 * elf/Makefile (sln-modules): New variable.
20775 (extra-objs): Add $(sln-modules:=.o).
20776 (ldconfig-modules): Add static-stubs.
20777 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20778 * elf/static-stubs.c: New file.
20779
7a845b2c
JM
20780 [BZ #14283]
20781 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20782 by 7 not 8 to examine high bit of fractional part. Use volatile
20783 variables when splitting into final array of floats if
20784 __FLT_EVAL_METHOD__ != 0.
20785 * math/libm-test.inc (cos_test): Add another test.
20786 (sin_test): Likewise.
20787 * sysdeps/i386/fpu/libm-test-ulps: Update.
20788
e2283f38
JM
20789 [BZ #14273]
20790 * math/libm-test.inc (cosh_test): Add more tests.
20791
370ca3d2
JM
20792 * version.h (RELEASE): Set to "development".
20793 (VERSION): Set to "2.16.90".
20794
ee9247c3
CD
207952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20796
20797 * NEWS: Update copyright. Remove last-updated date.
20798 Mention math library bug fixes and timezone data changes.
20799 * README: Mention GNU/Hurd, x32, and HPPA support status.
20800
4648c381
TS
208012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20802
20803 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20804
aac78a43
AJ
208052012-06-27 Andreas Jaeger <aj@suse.de>
20806
20807 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20808
ed3dbfad
AJ
208092012-06-25 Andreas Jaeger <aj@suse.de>
20810
20811 * sysdeps/s390/fpu/libm-test-ulps: Update.
20812
4d0ee855
AS
208132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20814 Thomas Schwinge <thomas@codesourcery.com>
20815
20816 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20817 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20818 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20819 fanotify_mark.
20820
af1bce34
TS
208212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20822
a9fa33ba
TS
20823 * sysdeps/mach/start.c: Remove file.
20824 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20825 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20826 * sysdeps/sh/init-first.c: Likewise.
20827
58f902b8
TS
20828 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20829 registers for frame unwinding purposes, add CFI directives.
20830 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20831 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20832 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20833 Likewise.
20834
1518f58b
TS
20835 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20836 __fortify_fail returning.
20837 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20838
db9b5059
TS
20839 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20840 sysdeps/sh/____longjmp_chk.S.
20841 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20842 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20843 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20844 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20845
967705fe
TS
20846 * sysdeps/sh/abort-instr.h: New file.
20847 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20848 process in case exit returns.
20849
a9def8c4
TS
20850 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20851 initialize the GOT register before use.
20852
2a649725
TS
20853 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20854 calculation of ARGC > 4.
20855
af1bce34
TS
20856 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20857 meaningful names to some local labels.
20858
d230f50a
KK
208592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20860 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20861
20862 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20863 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20864 (__arch_compare_and_exchange_val_16_acq): Likewise.
20865 (__arch_compare_and_exchange_val_32_acq): Likewise.
20866 (atomic_exchange_and_add): Fix gUSA sequence.
20867 (atomic_add): Likewise.
20868 (atomic_add_negative): Likewise.
20869 (atomic_add_zero): Likewise.
20870 (atomic_bit_test_set): Likewise.
20871
0479b305
AS
208722012-06-22 Andreas Schwab <schwab@redhat.com>
20873
20874 [BZ #13579]
20875 * include/link.h (struct link_map): Add l_free_initfini.
20876 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20877 l_initfini.
20878 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20879 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20880 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20881 set.
20882
0e3933b9
CD
208832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20884
20885 * configure.in: Use AC_LANG_SOURCE.
20886 * configure: Regenerate.
20887
4248b1b1
RM
208882012-06-22 Roland McGrath <roland@hack.frob.com>
20889
20890 * configure.in (libc_cv_localstatedir): New substituted variable.
20891 * configure: Regenerated.
20892 * config.make.in (localstatedir): New variable, substituted from
20893 libc_cv_localstatedir.
20894 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20895 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20896 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20897 * sysdeps/gnu/configure: Regenerated.
20898
006dd861
JL
208992012-06-21 Jeff Law <law@redhat.com>
20900
20901 [BZ #14277]
20902 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20903 free. Simplify list management for _LIBC case.
20904
79662d42
JM
209052012-06-21 Joseph Myers <joseph@codesourcery.com>
20906
b7abb4bf
JM
20907 [BZ #14273]
20908 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20909 Clear sign bit of 64-bit integer value before comparing against
20910 overflow value.
20911
79662d42
JM
20912 * sysdeps/mach/configure: Regenerated.
20913
1f150908
L
209142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20915
20916 [BZ #14278]
20917 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20918
28363bbf
JL
209192012-06-21 Jeff Law <law@redhat.com>
20920
20921 [BZ #13882]
20922 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20923 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20924 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20925 * elf/dl-open.c (dl_open_worker): Likewise.
20926
09615db4
CD
209272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20928
20929 * scripts/list-sources.sh: Scan PORTS for translations.
20930 * po/libc.pot: Regenerated.
20931
2174c6dd
AJ
209322012-06-21 Andreas Jaeger <aj@suse.de>
20933
20934 [BZ #12194]
20935 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20936 warning.
20937 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20938 * bits/byteswap-16.h (__bswap_16): Likewise.
20939 * bits/byteswap.h (__bswap_constant_16): Likewise.
20940
3ee947b1
L
209412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20942
20943 [BZ #14117]
a2f34833
L
20944 * sysdeps/i386/fpu_control.h: Removed.
20945 * sysdeps/x86_64/fpu_control.h: Moved to ...
20946 * sysdeps/x86/fpu_control.h: Here.
20947
3ee947b1
L
20948 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20949 (_FPU_SETCW): Likewise.
20950
ed1825f8
L
209512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20952
25f1282a
L
20953 [BZ #14117]
20954 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20955 * sysdeps/x86/fpu/bits/mathinline.h: This.
20956 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20957
ed1825f8
L
20958 [BZ #14050]
20959 [BZ #14117]
20960 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20961 functions if __x86_64__ is defined.
20962
36d54b74
CLT
209632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20964
20965 * string/endian.h: Add !__ASSEMBLER__ condition for including
20966 conversion interfaces.
20967
10285c21
JM
209682012-06-15 Joseph Myers <joseph@codesourcery.com>
20969
20970 [BZ #14241]
20971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20972 of ABS(x) in calculating zero to negative powers other than odd
20973 integers.
20974 * math/libm-test.inc (pow_test): Add more tests.
20975
06c5abbd
AJ
209762012-06-15 Andreas Jaeger <aj@suse.de>
20977
20978 * manual/contrib.texi (Contributors): Update entry of Liubov
20979 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20980 Machado Filho.
20981
a3aeac40
CH
209822012-06-15 Cyril Hrubis <metan@ucw.cz>
20983
20984 * string/string.h: Add __wur to GNU version of strerror_r.
20985
49bdf4c1
L
209862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20987
20988 [BZ #14229]
20989 * string/Makefile (tests): Add tst-strtok_r.
20990 * string/tst-strtok_r.c: New file.
20991 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20992 RAX_LP/RDX_LP on SAVE_PTR.
20993
834f9b8d
RM
209942012-06-14 Roland McGrath <roland@hack.frob.com>
20995
20996 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20997
75fa1921
JM
209982012-06-14 Joseph Myers <joseph@codesourcery.com>
20999
21000 * libm_test.inc (csqrt_test): Allow more spurious underflow
21001 exceptions.
21002 (j0_test): Likewise.
21003 (j1_test): Likewise.
21004 (y0_test): Likewise.
21005 (y1_test): Likewise.
21006
771766df
CD
210072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21008
21009 * po/Makefile (libc.pot): Use UTF-8 charset.
21010
ceb9e56b
PP
210112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21012
21013 [BZ #14210]
21014 Suppress sign-conversion warning from FD_SET.
21015 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21016 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21017 not unsigned long int.
21018 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21019
ddb28975
L
210202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21021
21022 [BZ #14050]
21023 [BZ #14117]
21024 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21025 __extern_always_inline instead of __extern_inline.
21026 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21027 (__signbit): Likewise.
21028 (__signbitl): Support C++ namespace.
21029 (lrintf): New inline function.
21030 (lrint): Likewise.
21031 (llrintf): Likewise.
21032 (llrint): Likewise.
21033 (fmaxf): Likewise.
21034 (fmax): Likewise.
21035 (fminf): Likewise.
21036 (fmin): Likewise.
21037 (rint): Likewise.
21038 (rintf): Likewise.
21039 (ceil): Likewise.
21040 (ceilf): Likewise.
21041 (floor): Likewise.
21042 (floorf): Likewise.
21043 (nearbyint): Likewise.
21044 (nearbyintf): Likewise.
21045
d7b4fb26
TS
210462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21047
21048 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21049 non-default versions.
21050
eb55f5c2
RM
210512012-06-11 Roland McGrath <roland@hack.frob.com>
21052
21053 [BZ #14218]
21054 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21055
366af02c
TS
210562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21057
99ff6e5c
TS
21058 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21059 (FE_UPWARD, FE_DOWNWARD): Don't define.
21060 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21061 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21062
366af02c
TS
21063 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21064 reading it.
21065 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21066 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21067
793ea851
KK
210682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21069
21070 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21071 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21072 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21073 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21074
a728a38f
L
210752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21076
21077 [BZ #14117]
c08010c7
L
21078 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21079 * sysdeps/i386/fpu/Implies: New file.
21080 * sysdeps/x86_64/fpu/Implies: Likewise.
21081 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21082 * sysdeps/x86/fpu/bits/fenv.h: This.
21083
a728a38f
L
21084 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21085 __SSE_MATH__.
21086
6e230d11
SP
210872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21088
21089 [BZ #14134]
21090 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21091 character 0xffff that matches the last element of the
21092 conversion table.
21093
1b671feb
AZ
210942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21095
21096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21097 fmodl commit.
21098
6043738b
AZ
210992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21100
21101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21102 values higher than 25.6283.
21103
34ae0b32
AZ
211042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21105
21106 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21107 subnormal exponent extraction and add some __builtin_expect.
21108 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21109 Fix for subnormal mantissa calculation.
21110
1214ec8f
MF
211112012-06-04 Mike Frysinger <vapier@gentoo.org>
21112
21113 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21114 cpu2 is -1 and errno is not ENOSYS.
21115
f3d1f93c
L
211162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21117
21118 [BZ #14117]
0e4a3cd7
L
21119 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21120 * sysdeps/x86/bits/string.h: This.
21121 * sysdeps/x86_64/bits/string.h: Removed.
21122
6704c645
L
21123 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21124 if not compiling for x86-64, but compiling for >= i486.
21125
48495318
L
21126 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21127 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21128
14adcbfc
L
21129 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21130 New macro from Linux kernel 3.4.0.
21131 (FP_XSTATE_MAGIC2): Likewise.
21132 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21133 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21134 (struct _fpx_sw_bytes): New struct.
21135 (struct _xsave_hdr): Likewise.
21136 (struct _ymmh_state): Likewise.
21137 (struct _xstate): Likewise.
21138
68e408ab
L
21139 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21140 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21141 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21142 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21143 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21144 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21145
f3d1f93c
L
21146 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21147 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21148 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21149 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21150 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21151 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21152
d9dc34cd
TMQMF
211532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21154
21155 [BZ #13743]
21156 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21157 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21158 (sysdep_headers): Include sys/platform/ppc.h.
21159 * sysdeps/powerpc/test-gettimebase.c: Test for
21160 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21161 * manual/Makefile (appendices): Include platform.texi.
21162 * manual/contrib.texi (Contributors): Update @node pointers.
21163 * manual/maint.texi (Maintenance): Likewise.
21164 (Platform): New node.
21165 * manual/platform.texi: New file. Document the new features.
21166
4af3879c
SP
211672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21168 Jakub Jelinek <jakub@redhat.com>
21169
21170 [BZ #14188]
21171 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21172 where __builtin_expect is unavailable.
21173
2fd6ff13
DM
211742012-06-03 David S. Miller <davem@davemloft.net>
21175
21176 * stdlib/longlong.h: Updated from GCC.
21177
173f7220
AS
211782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21179
21180 [BZ #14042]
21181 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21182 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21183 __mcount_internal.
21184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21185 (GLIBC_2.16): Likewise.
21186
f34a1c6f
L
211872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21188
21189 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21190
88a4576f
JM
211912012-06-01 Joseph Myers <joseph@codesourcery.com>
21192
ea32bcdd
JM
21193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21194 (default-abi): New variable.
21195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21196 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21197 variable.
21198 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21199 Likewise.
21200 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21201 Likewise.
21202 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21203 Likewise.
21204
88a4576f
JM
21205 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21206 definition. Document in comment.
21207
402fe938
DM
212082012-06-01 David S. Miller <davem@davemloft.net>
21209
21210 * stdlib/longlong.h: Updated from GCC.
21211
3553723f
L
212122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21213
21214 [BZ #14117]
3bd872c4
L
21215 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21216 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21217 sys/debugreg.h sys/io.h here.
21218 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21219 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21220 sys/io.h.
21221 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21222 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21223 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21224 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21225 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21226 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21227
3553723f
L
21228 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21229 Define only if __x86_64__ is defined.
21230
4842e4fe
JM
212312012-06-01 Joseph Myers <joseph@codesourcery.com>
21232
c5bfe3d5
JM
21233 [BZ #14048]
21234 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21235 Use int64_t for variable i.
21236 * math/libm-test.inc (fmod_test): Add more tests.
21237
4842e4fe
JM
21238 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21239 z computation is not scheduled after fetestexcept.
21240 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21241 Use math_force_eval instead of asm to ensure calculation scheduled
21242 before exception test.
21243 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21244 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21245
efb73488
AJ
212462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21247
21248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21249 computation is not scheduled after fetestexcept.
21250
29bcce7c
L
212512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21252
21253 [BZ #14117]
21254 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21255 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21256
73a68f94
AZ
212572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21258
21259 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21260 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21261
67b6df78
L
212622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21263
edf2933a 21264 [BZ #14117]
ebc64a18
L
21265 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21266 <bits/wordsize.h>.
21267 (__WCHAR_MIN): Support __WORDSIZE == 64.
21268 (__WCHAR_MAX): Likewise.
21269
edf2933a
L
21270 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21271 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21272
57c6cf40
L
21273 [BZ #14183]
21274 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21275 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21276
67b6df78 21277 [BZ #14117]
8eb6281e
L
21278 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21279 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21280
aac639f4
L
21281 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21282 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21283
67b6df78
L
21284 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21285 Defined to 1 if __x86_64__ isn't defined.
21286 (_STAT_VER_LINUX_OLD): New.
21287 (st_atime): Remove duplicate.
21288 (st_mtime): Likewise.
21289 (st_ctime): Likewise.
21290
1c2cfe81
DM
212912012-05-31 David S. Miller <davem@davemloft.net>
21292
21293 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21294 entries.
21295
5be8418c
AS
212962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21297
e7725326
AS
21298 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21299 gen-libm-test.pl.
21300
5be8418c
AS
21301 [BZ #14132]
21302 * elf/dl-reloc.c: Include <_itoa.h>.
21303 (_dl_reloc_bad_type): Remove use of INTUSE.
21304 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21305 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21306 * stdio-common/psiginfo.c (psiginfo): Likewise.
21307 * stdio-common/psignal.c (psignal): Likewise.
21308 * string/strsignal.c (strsignal): Likewise.
21309 * include/signal.h (_sys_siglist): Declare hidden proto.
21310 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21311 INTVARDEF with libc_hidden_data_def.
21312 * stdio-common/itoa-udigits.c: Likewise.
21313 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21314 (_itoa_lower_digits_internal): Remove declaration.
21315 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21316 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21317 (_sys_sigabbrev_internal): Remove aliases.
21318 (_sys_siglist): Define hidden alias.
21319
507352f1
MT
213202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21321
21322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21323 bits/sysctl.h.
21324
42bbb1c3
L
213252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21326
21327 [BZ #14117]
6bd784b6
L
21328 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21329 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21330
8bca20f0
L
21331 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21332 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21333 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21334 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21335 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21336 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21337
f9e890a9
L
21338 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21339 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21340 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21341
471101a1
L
21342 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21343 with __addr.
21344 (insw): Likewise.
21345 (insl): Likewise.
21346 (outsb): Likewise.
21347 (outsw): Likewise.
21348 (outsl): Likewise.
21349
6451c862
L
21350 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21351 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21352 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21353
a254b8c9
L
21354 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21355 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21356 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21357 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21358 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21359 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21360
b8dfdd92
L
21361 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21362 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21363
578cd270
L
21364 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21365 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21366
de662f5f
L
21367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21368 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21369 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21370
25653439
L
21371 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21372 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21373 to ...
21374 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21375
6bad24a0
L
21376 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21377 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21378 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21379
42bbb1c3
L
21380 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21381 for x86-64.
21382 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21383
2d10d547
JM
213842012-05-31 Joseph Myers <joseph@codesourcery.com>
21385
21386 * math/math.h (M_El): Use two more decimal places.
21387 (M_LOG2El): Likewise.
21388 (M_LOG10El): Likewise.
21389 (M_LN2l): Likewise.
21390 (M_LN10l): Likewise.
21391 (M_PIl): Likewise.
21392 (M_PI_2l): Likewise.
21393 (M_PI_4l): Likewise.
21394 (M_1_PIl): Likewise.
21395 (M_2_PIl): Likewise.
21396 (M_2_SQRTPIl): Likewise.
21397 (M_SQRT2l): Likewise.
21398 (M_SQRT1_2l): Likewise.
21399
f230c29b
DM
214002012-05-31 David S. Miller <davem@davemloft.net>
21401
21402 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21403 values between float registers.
21404 * sysdeps/sparc/sparc64/memset.S: Likewise.
21405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21406
fed806c3
MF
214072012-05-31 Mike Frysinger <vapier@gentoo.org>
21408
21409 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21410 -D_FORTIFY_SOURCE=1.
21411 (CPPFLAGS-tst-longjmp_chk.c): Define.
21412 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21413 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21414 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21415 CFLAGS-tst-wchar-h.c.
21416
30917259
MP
214172012-05-31 Marek Polacek <polacek@redhat.com>
21418
21419 [BZ #14132]
21420 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21421 __endmntent_internal): Remove declaration.
21422 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21423 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21424 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21425
1c58d5dc
DM
214262012-05-30 David S. Miller <davem@davemloft.net>
21427
21428 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21429 (___Q_simulate_exceptions): Use real FP ops rather than writing
21430 into the %fsr.
21431 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21432 Likewise.
21433
7dc00e0d
L
214342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21435
21436 [BZ #14117]
0bd53985
L
21437 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21438 * sysdeps/x86/bits/xtitypes.h: This.
21439
3a257e66
L
21440 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21441 * sysdeps/x86/bits/wordsize.h: This.
21442
62f62904
L
21443 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21444 * sysdeps/x86/bits/huge_vall.h: This.
21445
404fe9d9
L
21446 * sysdeps/i386/bits/select.h: Removed.
21447 * sysdeps/x86_64/bits/select.h: Renamed to ...
21448 * sysdeps/x86/bits/select.h: This.
21449
d48d0446
L
21450 * sysdeps/i386/bits/setjmp.h: Removed.
21451 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21452 * sysdeps/x86/bits/setjmp.h: This.
21453
7dc00e0d
L
21454 * sysdeps/i386/bits/mathdef.h: Removed.
21455 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21456 * sysdeps/x86/bits/mathdef.h: This.
21457
03277f8f
AS
214582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21459
21460 [BZ #14132]
21461 * include/sys/socket.h (__connect_internal)
21462 (__libc_sa_len_internal): Remove declaration.
21463 (__connect, __libc_sa_len): Declare hidden_proto.
21464 (SA_LEN): Remove use of INTUSE.
21465 * socket/connect.c: Add libc_hidden_def.
21466 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21467 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21468 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21469 alias.
21470 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21471 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21472 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21473 of adding _internal alias.
21474
13764867
L
214752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21476
21477 [BZ #14117]
6bd97696
L
21478 * sysdeps/i386/bits/link.h: Removed.
21479 * sysdeps/i386/bits/linkmap.h: Likewise.
21480 * sysdeps/x86_64/bits/link.h: Renamed to ...
21481 * sysdeps/x86/bits/link.h: This.
21482 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21483 * sysdeps/x86/bits/linkmap.h: This.
21484
f726f0bb
L
21485 * sysdeps/i386/bits/endian.h: Removed.
21486 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21487 * sysdeps/x86/bits/endian.h: This.
21488
13764867
L
21489 * sysdeps/i386/bits/byteswap.h: Removed.
21490 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21491 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21492 * sysdeps/x86/bits/byteswap.h: This.
21493 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21494 * sysdeps/x86/bits/byteswap-16.h: This.
21495 * sysdeps/i386/Implies: Add x86.
21496 * sysdeps/x86_64/Implies: Likewise.
21497
ae251b0b
DM
214982012-05-30 David S. Miller <davem@davemloft.net>
21499
21500 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21501 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21502 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21503 (FP_TRAPPING_EXCEPTIONS): Define.
21504 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21505 (FP_TRAPPING_EXCEPTIONS): Define.
21506 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21507 subnormals only when inexact has been signalled or underflow
21508 exceptions are enabled.
21509 (_FP_PACK_CANONICAL): Likewise.
21510
d5c90867
L
215112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21512
21513 [BZ #14183]
21514 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21515 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21516
63f1549e
RH
215172012-05-30 Richard Henderson <rth@twiddle.net>
21518
8d8f2279
RH
21519 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21520 with #ifndef NOT_IN_libc.
21521
63f1549e
RH
21522 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21523 marked to avoid plt entry.
21524
0ab0291b
L
215252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21526
21527 [BZ #14112]
21528 * Makeconfig (default-abi): New macro.
21529 (abi-includes): Likewise.
21530 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21531 $(abi-$(default-abi)-lib-soname) for soname if defined.
21532 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21533 abi-variants.
21534 * Makefile (installed-stubs): Likewise.
21535 * include/stubs-biarch.h: Removed.
21536 * scripts/lib-names.awk: Only handle one library at a time.
21537 * scripts/soversions.awk: Remove WORDSIZE support.
21538 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21539 entries.
21540 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21541 Removed.
21542 (syscall-list-default-condition): Likewise.
21543 (syscall-list-default-condition): Likewise.
21544 (syscall-list-includes): Likewise.
21545 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21546 syscall-list-* with abi-*. Handle undefined abi-variants.
21547 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21548 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21549 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21550 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21551 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21552 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21553 Removed.
21554 (syscall-list-32-options): Likewise.
21555 (syscall-list-32-condition): Likewise.
21556 (syscall-list-64-options): Likewise.
21557 (syscall-list-64-condition): Likewise.
21558 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21559 macro.
21560 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21561 Renamed to ...
21562 (abi-*): This.
21563 (abi-64-ld-soname): New macro.
21564 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21565 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21566 Renamed to ...
21567 (abi-*): This.
21568 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21569 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21570
4da0431d
JM
215712012-05-30 Joseph Myers <joseph@codesourcery.com>
21572
3a85279c
JM
21573 * sysdeps/unix/sysv/linux/kernel-features.h
21574 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21575 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21576 include <kernel-features.h>.
21577 [!__NR_ftruncate64]: Remove conditional code.
21578 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21579 [__NR_ftruncate64]: Make code unconditional.
21580 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21581 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21582 include <kernel-features.h>.
21583 [!__NR_ftruncate64]: Remove conditional code.
21584 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21585 [__NR_ftruncate64]: Make code unconditional.
21586 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21588 include <kernel-features.h>.
21589 [!__NR_ftruncate64]: Remove conditional code.
21590 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21591 [__NR_ftruncate64]: Make code unconditional.
21592 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21594 include <kernel-features.h>.
21595 [!__NR_ftruncate64]: Remove conditional code.
21596 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21597 [__NR_ftruncate64]: Make code unconditional.
21598 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21599
4da0431d
JM
21600 * configure.in (libc_cv_fpie): Weaken to a compile test using
21601 LIBC_TRY_CC_OPTION.
21602 * configure: Regenerated.
21603
11ef492c
AK
216042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21605
21606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21610 Refreshed.
21611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21617 Refreshed.
21618
d66ef399
DM
216192012-05-27 David S. Miller <davem@davemloft.net>
21620
21621 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21622 (___Q_zero): New.
21623 (__Q_simulate_exceptions): Return void. Change to simulate
21624 exceptions by writing into the %fsr.
21625 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21626 (__Qp_handle_exceptions): Likewise.
21627 (numbers): Delete.
21628 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21629 __Qp_handle_exceptions.
21630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21631 __Qp_handle_exceptions.
21632 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21633 as unused and give dummy FP_RND_NEAREST initializer.
21634 (FP_INHIBIT_RESULTS): Define.
21635 (___Q_simulate_exceptions): Update declaration.
21636 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21637 formatting.
21638 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21639 as unused and give dummy FP_RND_NEAREST initializer.
21640 (__Qp_handle_exceptions): Update declaration.
21641 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21642 formatting.
21643
04fb54b5
TS
216442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21645
21646 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21647 the temporary FPU control word.
21648 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21649 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21650 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21651 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21652 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21653 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21654 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21655 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21656 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21657 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21658 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21659
3f99608f
KK
216602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21661
21662 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21663 fields.
21664
65a4de4e
CLT
216652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21666
21667 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21668 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21669 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21670 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21671 Likewise.
21672 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21673 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21674 Likewise.
21675
15749d40
UD
216762012-05-27 Ulrich Drepper <drepper@gmail.com>
21677
21678 * po/h.po: Update from translation team.
21679
25dbcb27
AS
216802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21681
3d3f8e55
AS
21682 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21683
25dbcb27
AS
21684 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21685 handling of denormals.
21686 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21687 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21688 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21689 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21690 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21693 Likewise.
21694
7ad47a80 216952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21696
21697 [BZ #14152]
21698 * math/libm-test.inc (fma_test): Don't always expect underflow
21699 exception.
21700
9c6ea9fa
SP
217012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21702
21703 [BZ #12416]
21704 * elf/tst-execstack.c: Include stackinfo.h.
21705 (do_test): Adjust test case to ensure that pthread_getattr_np
21706 behaviour remains the same after marking stack executable.
21707
a8239222
JM
217082012-05-25 Joseph Myers <joseph@codesourcery.com>
21709
21710 * sysdeps/unix/sysv/linux/kernel-features.h
21711 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21712 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21713 kernel-features.h.
21714 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21715 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21716 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21717 kernel-features.h.
21718 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21719 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21720
918b5606
L
217212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21722
21723 * configure.in: Define the default includes to being none.
21724 * configure: Regenerated.
21725
3a097cc7
RM
217262012-05-25 Roland McGrath <roland@hack.frob.com>
21727
8422c9a5
RM
21728 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21729 * sysdeps/x86_64/setjmp.S: Likewise.
21730 * sysdeps/i386/bsd-setjmp.S: Likewise.
21731 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21732 * sysdeps/i386/setjmp.S: Likewise.
21733 * sysdeps/i386/__longjmp.S: Likewise.
21734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21735 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21736
3a097cc7
RM
21737 * include/stap-probe.h: New file.
21738 * configure.in: Handle --enable-systemtap.
21739 * configure: Regenerated.
21740 * config.h.in (USE_STAP_PROBE): New #undef.
21741 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21742 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21743 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21744
21708942
JM
217452012-05-25 Joseph Myers <joseph@codesourcery.com>
21746
21747 [BZ #13717]
21748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21749 to 2.4.0 where earlier.
21750 * sysdeps/unix/sysv/linux/configure: Regenerated.
21751 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21752 <kernel-features.h>.
21753 [__ASSUME_32BITUIDS]: Make code unconditional.
21754 [!__ASSUME_32BITUIDS]: Remove conditional code.
21755 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21756 <kernel-features.h>.
21757 [__ASSUME_32BITUIDS]: Make code unconditional.
21758 [!__ASSUME_32BITUIDS]: Remove conditional code.
21759 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21760 [__ASSUME_32BITUIDS]: Make code unconditional.
21761 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21762 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
21779 <kernel-features.h>.
21780 [__ASSUME_32BITUIDS]: Make code unconditional.
21781 [!__ASSUME_32BITUIDS]: Remove conditional code.
21782 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21783 <kernel-features.h>.
21784 [__ASSUME_32BITUIDS]: Make code unconditional.
21785 [!__ASSUME_32BITUIDS]: Remove conditional code.
21786 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21787 <kernel-features.h>.
21788 [__ASSUME_32BITUIDS]: Make code unconditional.
21789 [!__ASSUME_32BITUIDS]: Remove conditional code.
21790 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21791 <kernel-features.h>.
21792 [__ASSUME_32BITUIDS]: Make code unconditional.
21793 [!__ASSUME_32BITUIDS]: Remove conditional code.
21794 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21795 <kernel-features.h>.
21796 [__ASSUME_32BITUIDS]: Make code unconditional.
21797 [!__ASSUME_32BITUIDS]: Remove conditional code.
21798 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21799 <kernel-features.h>.
21800 [__ASSUME_32BITUIDS]: Make code unconditional.
21801 [!__ASSUME_32BITUIDS]: Remove conditional code.
21802 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21803 <kernel-features.h>.
21804 [__NR_setresgid] (__setresgid): Do not declare.
21805 [__ASSUME_32BITUIDS]: Make code unconditional.
21806 [!__ASSUME_32BITUIDS]: Remove conditional code.
21807 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21808 <kernel-features.h>.
21809 [__NR_setresuid] (__setresuid): Do not declare.
21810 [__ASSUME_32BITUIDS]: Make code unconditional.
21811 [!__ASSUME_32BITUIDS]: Remove conditional code.
21812 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
21829 <kernel-features.h>.
21830 [__ASSUME_32BITUIDS]: Make code unconditional.
21831 [!__ASSUME_32BITUIDS]: Remove conditional code.
21832 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21833 <kernel-features.h>.
21834 [__ASSUME_32BITUIDS]: Make code unconditional.
21835 [!__ASSUME_32BITUIDS]: Remove conditional code.
21836 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21837 <kernel-features.h>.
21838 [__ASSUME_32BITUIDS]: Make code unconditional.
21839 [!__ASSUME_32BITUIDS]: Remove conditional code.
21840 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21841 <kernel-features.h>.
21842 [__ASSUME_32BITUIDS]: Make code unconditional.
21843 [!__ASSUME_32BITUIDS]: Remove conditional code.
21844 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21845 <kernel-features.h>.
21846 [__ASSUME_32BITUIDS]: Make code unconditional.
21847 [!__ASSUME_32BITUIDS]: Remove conditional code.
21848 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21849 <kernel-features.h>.
21850 [__ASSUME_32BITUIDS]: Make code unconditional.
21851 [!__ASSUME_32BITUIDS]: Remove conditional code.
21852 * sysdeps/unix/sysv/linux/kernel-features.h
21853 (__ASSUME_SETRESUID_SYSCALL): Remove.
21854 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21855 (__ASSUME_32BITUIDS): Likewise.
21856 (__ASSUME_LDT_WORKS): Likewise.
21857 (__ASSUME_O_DIRECTORY): Likewise.
21858 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21859 architecture but not kernel version.
21860 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21861 (__ASSUME_MMAP2_SYSCALL): Likewise.
21862 (__ASSUME_STAT64_SYSCALL): Likewise.
21863 (__ASSUME_IPC64): Likewise.
21864 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21865 <kernel-features.h>.
21866 [__ASSUME_32BITUIDS]: Make code unconditional.
21867 [!__ASSUME_32BITUIDS]: Remove conditional code.
21868 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21869 <kernel-features.h>.
21870 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21871 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21872 132096]: Remove conditional code.
21873 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21874 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21875 <kernel-features.h>.
21876 [__ASSUME_32BITUIDS]: Make code unconditional.
21877 [!__ASSUME_32BITUIDS]: Remove conditional code.
21878 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21879 <kernel-features.h>.
21880 [__ASSUME_32BITUIDS]: Make code unconditional.
21881 [!__ASSUME_32BITUIDS]: Remove conditional code.
21882 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21883 <kernel-features.h>.
21884 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21885 unconditional.
21886 (__setresgid): Do not declare.
21887 [__ASSUME_32BITUIDS]: Make code unconditional.
21888 [!__ASSUME_32BITUIDS]: Remove conditional code.
21889 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21890 <kernel-features.h>.
21891 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21892 unconditional.
21893 (__setresuid): Do not declare.
21894 [__ASSUME_32BITUIDS]: Make code unconditional.
21895 [!__ASSUME_32BITUIDS]: Remove conditional code.
21896 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21897 <kernel-features.h>.
21898 [__ASSUME_32BITUIDS]: Make code unconditional.
21899 [!__ASSUME_32BITUIDS]: Remove conditional code.
21900 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21901 <kernel-features.h>.
21902 [__ASSUME_32BITUIDS]: Make code unconditional.
21903 [!__ASSUME_32BITUIDS]: Remove conditional code.
21904
a386f1cc
RH
219052012-05-25 Richard Henderson <rth@twiddle.net>
21906
21907 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21908 dl_hwcap to ifunc resolver.
21909 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21910 elf_ifunc_invoke.
21911 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21912 dl_hwcap to ifunc resolver.
21913 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21914
b6550497
JM
219152012-05-24 Joseph Myers <joseph@codesourcery.com>
21916
21917 [BZ #14153]
21918 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21919 for |x| <= 2**-26, not 2**-57.
21920 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21921 exception.
21922
b0bc23a1
JL
219232012-05-24 Jeff Law <law@redhat.com>
21924
21925 * stdio-common/Makefile (tests): Add bug25.
21926 * stdio-common/bug25.c: New test.
21927
347c92e9
L
219282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21929
21930 [BZ #13576]
21931 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21932 multiple of MALLOC_ALIGNMENT in size.
21933 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21934
6bcc8b3f
JM
219352012-05-24 Joseph Myers <joseph@codesourcery.com>
21936
21937 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21938 Require >= 256.
21939 (FILENAME_MAX): Use macro-int-constant.
21940 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21941 (_IOFBF): Use macro-int-constant.
21942 (_IOLBF): Likewise.
21943 (_IONBF): Likewise.
21944 (SEEK_CUR): Likewise.
21945 (SEEK_END): Likewise.
21946 (SEEK_SET): Likewise.
21947 (TMP_MAX): Likewise.
21948 (EOF): Use macro-int-constant. Require < 0.
21949 (NULL): Use macro-constant. Require == 0.
21950 (stdin): Require type to be FILE *.
21951 (stdout): Likewise.
21952 (stderr): Likewise.
21953 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21954 macro-int-constant.
21955 (EXIT_SUCCESS): Likewise.
21956 (NULL): Use macro-constant. Require == 0.
21957 (RAND_MAX): Use macro-int-constant.
21958 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21959 [C99-based standards] (strtof): Require function.
21960 [C99-based standards] (strtold): Likewise.
21961 [C99-based standards] (strtoll): Likewise.
21962 [C99-based standards] (strtoull): Likewise.
21963 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21964 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21965 [ISO || ISO99 || ISO11] (math.h): Likewise.
21966 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21967 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21969
d18ea0c5
AS
219702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21971
21972 [BZ #14132]
56d25bb8
AS
21973 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21974 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21975 * intl/dgettext.c (DCGETTEXT): Likewise.
21976 * intl/gettext.c (DCGETTEXT): Likewise.
21977 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21978 * posix/regex_internal.h (gettext): Likewise.
21979 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21980 Remove declaration.
21981 * include/argz.h (__argz_count_internal)
21982 (__argz_stringify_internal): Remove declaration.
21983 (__argz_count, __argz_stringify): Declare hidden proto.
21984 * intl/dcgettext.c: Remove use of INTDEF.
21985 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21986 * string/argz-stringify.c: Likewise.
21987 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21988 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21989 Declare hidden proto.
d18ea0c5
AS
21990 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21991 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21992 Declare hidden proto.
21993 * include/stdio.h (__asprintf_internal): Don't declare.
21994 (__asprintf): Don't define as macro. Declare hidden proto.
21995 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21996 (__fsetlocking): Declare hidden proto.
21997 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21998 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21999 hidden proto.
22000 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22001 (_IO_setlinebuf): Remove use of INTUSE.
22002 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22003 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22004 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22005 Remove declaration.
22006 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22007 (_IO_do_flush): Remove use of INTUSE.
22008 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22009 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22010 (_IO_adjust_column, _IO_least_wmarker)
22011 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22012 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22013 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22014 (_IO_default_doallocate, _IO_wdefault_doallocate)
22015 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22016 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22017 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22018 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22019 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22020 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22021 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22022 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22023 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22024 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22025 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22026 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22027 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22028 proto.
22029 (_IO_flush_all_internal, _IO_adjust_column_internal)
22030 (_IO_default_uflow_internal, _IO_default_finish_internal)
22031 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22032 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22033 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22034 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22035 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22036 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22037 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22038 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22039 (_IO_file_close_internal, _IO_file_close_it_internal)
22040 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22041 (_IO_file_init_internal, _IO_file_attach_internal)
22042 (_IO_file_fopen_internal, _IO_file_read_internal)
22043 (_IO_file_sync_internal, _IO_file_seek_internal)
22044 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22045 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22046 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22047 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22048 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22049 (_IO_list_all_internal, _IO_link_in_internal)
22050 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22051 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22052 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22053 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22054 (_IO_do_write_internal, _IO_padn_internal)
22055 (_IO_getline_info_internal, _IO_getline_internal)
22056 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22057 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22058 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22059 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22060 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22061 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22062 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22063 with libc_hidden_ver, remove use of INTUSE.
22064 * libio/genops.c: Likewise.
22065 * libio/freopen.c: Likewise.
22066 * libio/freopen64.c: Likewise.
22067 * libio/iofclose.c: Likewise.
22068 * libio/iofdopen.c: Likewise.
22069 * libio/iofflush.c: Likewise.
22070 * libio/iofflush_u.c: Likewise.
22071 * libio/iofgets.c: Likewise.
22072 * libio/iofgets_u.c: Likewise.
22073 * libio/iofopen.c: Likewise.
22074 * libio/iofopncook.c: Likewise.
22075 * libio/iofread.c: Likewise.
22076 * libio/iofread_u.c: Likewise.
22077 * libio/ioftell.c: Likewise.
22078 * libio/iofwrite.c: Likewise.
22079 * libio/iogetline.c: Likewise.
22080 * libio/iogets.c: Likewise.
22081 * libio/iogetwline.c: Likewise.
22082 * libio/iopadn.c: Likewise.
22083 * libio/iopopen.c: Likewise.
22084 * libio/ioseekoff.c: Likewise.
22085 * libio/ioseekpos.c: Likewise.
22086 * libio/iosetbuffer.c: Likewise.
22087 * libio/iosetvbuf.c: Likewise.
22088 * libio/ioungetc.c: Likewise.
22089 * libio/ioungetwc.c: Likewise.
22090 * libio/iovdprintf.c: Likewise.
22091 * libio/iovsprintf.c: Likewise.
22092 * libio/iovsscanf.c: Likewise.
22093 * libio/memstream.c: Likewise.
22094 * libio/obprintf.c: Likewise.
22095 * libio/oldfileops.c: Likewise.
22096 * libio/oldiofclose.c: Likewise.
22097 * libio/oldiofdopen.c: Likewise.
22098 * libio/oldiofopen.c: Likewise.
22099 * libio/oldiopopen.c: Likewise.
22100 * libio/oldstdfiles.c: Likewise.
22101 * libio/putc.c: Likewise.
22102 * libio/setbuf.c: Likewise.
22103 * libio/setlinebuf.c: Likewise.
22104 * libio/stdfiles.c: Likewise.
22105 * libio/strops.c: Likewise.
22106 * libio/vasprintf.c: Likewise.
22107 * libio/vscanf.c: Likewise.
22108 * libio/vsnprintf.c: Likewise.
22109 * libio/vswprintf.c: Likewise.
22110 * libio/wfiledoalloc.c: Likewise.
22111 * libio/wfileops.c: Likewise.
22112 * libio/wgenops.c: Likewise.
22113 * libio/wmemstream.c: Likewise.
22114 * libio/wstrops.c: Likewise.
22115 * libio/__fpurge.c: Likewise.
22116 * libio/__fsetlocking.c: Likewise.
22117 * assert/assert.c: Likewise.
22118 * debug/fgets_chk.c: Likewise.
22119 * debug/fgets_u_chk.c: Likewise.
22120 * debug/fread_chk.c: Likewise.
22121 * debug/fread_u_chk.c: Likewise.
22122 * debug/gets_chk.c: Likewise.
22123 * debug/obprintf_chk.c: Likewise.
22124 * debug/vasprintf_chk.c: Likewise.
22125 * debug/vdprintf_chk.c: Likewise.
22126 * debug/vsnprintf_chk.c: Likewise.
22127 * debug/vsprintf_chk.c: Likewise.
22128 * malloc/mtrace.c: Likewise.
22129 * misc/error.c: Likewise.
22130 * misc/syslog.c: Likewise.
22131 * stdio-common/asprintf.c: Likewise.
22132 * stdio-common/fxprintf.c: Likewise.
22133 * stdio-common/getw.c: Likewise.
22134 * stdio-common/isoc99_fscanf.c: Likewise.
22135 * stdio-common/isoc99_scanf.c: Likewise.
22136 * stdio-common/isoc99_vfscanf.c: Likewise.
22137 * stdio-common/isoc99_vscanf.c: Likewise.
22138 * stdio-common/isoc99_vsscanf.c: Likewise.
22139 * stdio-common/printf-prs.c: Likewise.
22140 * stdio-common/printf_fp.c: Likewise.
22141 * stdio-common/printf_fphex.c: Likewise.
22142 * stdio-common/printf_size.c: Likewise.
22143 * stdio-common/putw.c: Likewise.
22144 * stdio-common/scanf.c: Likewise.
22145 * stdio-common/sprintf.c: Likewise.
22146 * stdio-common/tmpfile.c: Likewise.
22147 * stdio-common/vfprintf.c: Likewise.
22148 * stdio-common/vfscanf.c: Likewise.
22149 * stdlib/strfmon_l.c: Likewise.
22150 * sunrpc/openchild.c: Likewise.
22151 * sunrpc/xdr_stdio.c: Likewise.
22152 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22153 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22154
d6c33fda
RM
221552012-05-24 Roland McGrath <roland@hack.frob.com>
22156
c1487492
RM
22157 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22158
22159 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22160 in the third column, to generate for the shared library an IFUNC
22161 that uses _dl_vdso_vsym.
22162 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22163 * Makeconfig (object-suffixes-noshared): New variable.
22164
22165 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22166 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22167 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22168 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22169
d6c33fda
RM
22170 [BZ #14132]
22171 * include/sys/time.h (__gettimeofday): Remove macro.
22172 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22173 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22174 Remove INTDEF.
22175 (__gettimeofday): Add libc_hidden_def.
22176 (gettimeofday): Add libc_hidden_weak.
22177 * sysdeps/mach/gettimeofday.c: Likewise.
22178 * sysdeps/posix/gettimeofday.c: Likewise.
22179 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22180 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22181 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22182 (__gettimeofday_internal): Remove strong_alias.
22183 (__gettimeofday): Add libc_hidden_def.
22184 (gettimeofday): Add libc_hidden_weak.
22185 * sysdeps/unix/syscalls.list (gettimeofday):
22186 Remove __gettimeofday_internal alias.
22187
b5a2bbe6
L
221882012-05-24 Daniel Jacobowitz <drow@false.org>
22189 H.J. Lu <hongjiu.lu@intel.com>
22190
22191 [BZ #12495]
22192 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22193 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22194 (largebin_index_32_big): New.
22195 (largebin_index): Use it for 16-byte alignment.
22196 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22197 correction with front_misalign.
22198
cfba4fda
L
221992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22200
7f907421
L
22201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22203 Likewise.
22204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22205 Likewise.
22206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22207 Likewise.
22208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22209 Likewise.
22210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22211 Likewise.
22212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22213 Likewise.
22214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22215 Likewise.
22216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22217 Likewise.
22218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22219 Likewise.
22220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22221 Likewise.
22222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22223 Likewise.
22224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22225 Likewise.
22226
cfba4fda
L
22227 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22228 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22229
80bad0cc
JM
222302012-05-24 Joseph Myers <joseph@codesourcery.com>
22231
7a25eb06
JM
22232 [BZ #10846]
22233 [BZ #14036]
22234 * math/libm-test.inc (exp_test): Add test from bug 14036.
22235 (pow_test): Add test from bug 10846.
22236
795405f9
JM
22237 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22238 and other flags.
22239 (special_function): Do not include flags in test name.
22240 (parse_args): Likewise.
22241 * sysdeps/i386/fpu/libm-test-ulps: Update.
22242 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22243 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22244 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22246
80bad0cc
JM
22247 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22248 exceptions.
22249 * math/libm-test.inc ("Philosophy"): Update comment about
22250 exception testing.
22251 (UNDERFLOW_EXCEPTION): New macro.
22252 (UNDERFLOW_EXCEPTION_OK): Likewise.
22253 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22254 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22255 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22256 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22257 (INVALID_EXCEPTION_OK): Update value.
22258 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22259 (OVERFLOW_EXCEPTION_OK): Likewise.
22260 (IGNORE_ZERO_INF_SIGN): Likewise.
22261 (test_exceptions): Handle underflow exceptions.
22262 (acos_test): Update for underflow exception expectations.
22263 (cexp_test): Likewise.
22264 (clog_test): Likewise.
22265 (clog10_test): Likewise.
22266 (csqrt_test): Likewise.
22267 (ctan_test): Likewise.
22268 (ctanh_test): Likewise.
22269 (exp_test): Likewise.
22270 (exp10_test): Likewise.
22271 (exp2_test): Likewise.
22272 (expm1_test): Likewise.
22273 (fma_test): Likewise.
22274 (j0_test): Likewise.
22275 (jn_test): Likewise.
22276 (nexttoward_test): Likewise.
22277 (pow_test): Likewise.
22278 (scalbn_test): Likewise.
22279 (scalbln_test): Likewise.
22280 (tan_test): Likewise.
22281 (y1_test): Likewise.
22282 * sysdeps/i386/fpu/libm-test-ulps: Update.
22283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22284
9e0e3d0b
DM
222852012-05-23 David S. Miller <davem@davemloft.net>
22286
22287 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22288 (__libc_sigaction): Remove unused local variables.
22289
ccd0a08f
L
222902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22291
22292 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22293
62bdf9a6
PE
222942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22295
f8591f80
PE
22296 mktime: avoid signed integer overflow
22297 * time/mktime.c (__mktime_internal): Do not mishandle the case
22298 where diff == INT_MIN.
22299
94c7d826
PE
22300 mktime: simplify computation of average
22301 * time/mktime.c (ranged_convert): Use new time_t_avg function
22302 instead of rolling our own (probably-slower) code.
22303
ce73d683
PE
22304 mktime: do not assume signed right shift propagates sign bit
22305 * time/mktime.c (isdst_differ): New static function.
22306 (__mktime_internal): No need to normalize tm_isdst now.
22307 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22308 tm_isdst values.
22309
72a22e59
PE
22310 mktime: merge another wrapv change from gnulib
22311 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22312 from some compilers.
22313
68605433
PE
22314 mktime: remove incorrect attempt at unusual arithmetics
22315 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22316 The code didn't really work on such machines anyway.
22317 (TYPE_MINIMUM): Assume two's complement.
22318 (twos_complement_arithmetic): Verify that long_int and time_t
22319 are two's complement (or unsigned, in the latter case).
22320
03cf7fe3
PE
22321 mktime: check signed shifts on long_int and time_t, too
22322 * time/mktime.c (SHR): Check that shifts work as desired
22323 on the types long_int and time_t too, as SHR is used on
22324 such types.
22325
f04dfbc2
PE
22326 mktime: do not assume 'long' is wide enough
22327 * time/mktime.c (verify): Move decl up.
22328 (long_int): New type.
22329 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22330 to remove assumption in the code that 'long' is wide enough to
22331 store year values. This assumption is not true on x32 and on
22332 some non-glibc platforms.
22333
62bdf9a6
PE
22334 mktime: merge wrapv change from gnulib
22335 * time/mktime.c (WRAPV): New macro.
22336 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22337 (guess_time_tm, __mktime_internal): Do not assume that signed
22338 integer overflow wraps around; modern compilers generate code
22339 where this assumption is no longer valid.
22340
5e292e4f
L
223412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22342
22343 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22344 Replace "jmp L(pseudo_end)" with "ret".
22345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22346 Likewise.
22347
8caf8c87
AJ
223482012-05-23 Andreas Jaeger <aj@suse.de>
22349
22350 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22351 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22352
1a09dc56
AJ
223532012-05-23 Andreas Jaeger <aj@suse.de>
22354 Maximilian Attems <max@stro.at>
22355
22356 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22357 New macros.
22358
1c87aba0
L
223592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22360
22361 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22362 code so that pseudo_end is just ret and the stack pointer is
22363 correct also for static library in error case.
22364
40e45bd5
JM
223652012-05-23 Joseph Myers <joseph@codesourcery.com>
22366
c2670533
JM
22367 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22368 move to syscalls.list.
22369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22373
40e45bd5
JM
22374 * manual/install.texi (Running make install): Do not mention Linux
22375 kernel version for which pt_chown is not needed.
22376 (Linux): Do not mention problems with nscd with 2.0 kernels.
22377 * INSTALL: Regenerated.
22378
be08eda5
AJ
223792012-05-23 Andreas Jaeger <aj@suse.de>
22380
22381 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22382 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22383 macro.
22384 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22385 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22386 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22387 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22388 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22389 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22390 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22391 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22392 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22393 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22394 * sysdeps/unix/sysv/linux/bits/in.h
22395 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22396
a6a056bb
RM
223972012-05-22 Roland McGrath <roland@hack.frob.com>
22398
22399 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22400 (PREPARE_VERSION): Just use assert instead, it will be elided
22401 under [NDEBUG] anyway.
22402
c9009328
L
224032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22404
22405 * sysdeps/unix/sysv/linux/Makefile: Include
22406 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 22407 (sysdep_routines): Remove sysctl.
c9009328
L
22408 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22409 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22410 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22411 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22412 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22413
73338355
AJ
224142012-05-22 Andreas Jaeger <aj@suse.de>
22415
22416 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22417 that pseudo_end is just ret and the stack pointer is correct also
22418 for static library in error case.
22419
d44638b0
PP
224202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22421
22422 [BZ #14122]
22423 * nss/nsswitch.c (defconfig_entries): New variable.
22424 (__nss_database_lookup): Don't leak defconfig entries.
22425 (nss_parse_service_list): Don't leak on error paths.
22426 (free_database_entries): New function.
22427 (free_defconfig): New function.
22428 (free_mem): Move common code to free_database_entries.
22429
31a39bd8
L
224302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22431
da0331a8
L
22432 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22433 Add arch_prctl.
22434 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22435
31a39bd8
L
22436 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22437 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22439 New macro.
22440 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22441 (INTERNAL_SYSCALL_TYPES): Likewise.
22442 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22443 (LOAD_REGS_TYPES_[1-6]): Likewise.
22444 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22445 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22446
45470df3
AZ
224472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22448
22449 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22450 copysignl for GLIBC_2_0.
22451 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22452 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22454 logbl for GLIBC_2_0.
22455 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22456 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22457
98a61bcb
L
224582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22459
a4f6e481
L
22460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22461 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22462
f63d5db6
L
22463 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22464 Use "neg %eax".
22465
98a61bcb
L
22466 * time/mktime.c: Update copyright years.
22467
95770f14
PE
224682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22469
6226efbd
PE
22470 mktime: merge comment-quoting-style change from gnulib
22471 * time/mktime.c: Quote 'like this' in comments.
22472 The GNU coding standards suggest that we no longer quote `like this',
22473 as "`" and "'" are typically rendered asymmetrically nowadays.
22474 The typical gnulib style is to quote 'like this' when quoting
22475 code, and "like this" when quoting English.
22476
b99e4f78
PE
22477 * time/mktime.c (compile-command): Add "-I.".
22478
643e01e6
PE
22479 mktime: merge mktime-internal.h change from gnulib
22480 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22481
2554247d
PE
22482 mktime: merge time_r change from gnulib
22483 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22484
826dd0ab
PE
22485 mktime: merge DEBUG change from gnulib
22486 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22487 case system <time.h> has a #define.
22488
bd83aabe
PE
22489 mktime: merge <sys/types.h> change from gnulib
22490 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22491 since <time.t> is now guaranteed to define time_t.
22492
95770f14
PE
22493 mktime: merge HAVE_CONFIG_H change from gnulib
22494 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22495
5e1a27a9
L
224962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22497
0e44a77e
L
22498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22499 Use "neg %eax".
22500
5e1a27a9
L
22501 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22502 __rlim_t cast.
22503 (struct rusage): Use anonymous union to pad each field to
22504 __syscall_slong_t.
22505
46259bec
DM
225062012-05-21 David S. Miller <davem@davemloft.net>
22507
22508 * Makefules (o-iterator): Remove .s cases.
22509 (compile-command.s): Delete.
22510 (COMPILE.s): Delete.
22511 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22512
59f0c22e
JM
225132012-05-21 Joseph Myers <joseph@codesourcery.com>
22514
22515 * configure.in (libc_cv_predef_stack_protector): Only consider
22516 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22517 * configure: Regenerated.
22518
20c07380
L
225192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22520
bbb3154b
L
22521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22522 New macro. Use R*LP on int and pointer.
22523 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22524 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22525 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22526 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22527
20c07380
L
22528 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22529 [__WORDSIZE_TIME64_COMPAT32] instead of
22530 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22531 (struct utmp): Likewise.
22532 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22533 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22534 Renamed to ...
22535 (__WORDSIZE_TIME64_COMPAT32): This.
22536 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22537 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22538 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22539 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22540 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22541 (__WORDSIZE_TIME64_COMPAT32): New macro.
22542
d8d1017e
AJ
225432012-05-21 Andreas Jaeger <aj@suse.de>
22544
22545 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22546 only if [SHARED]. Add prototype for __wcschr_ia32.
22547
6c7fb145
RM
225482012-05-21 Roland McGrath <roland@hack.frob.com>
22549
22550 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22551 of %rbp unmolested in the jmp_buf while mangling the low bits.
22552 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22553 unmolested high bits of %rbp while demangling the low bits.
22554 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22555
66274218
AJ
225562012-05-21 Andreas Jaeger <aj@suse.de>
22557
07c58f8f
AJ
22558 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22559 * sunrpc/svc_simple.c: Use it for registerrpc.
22560 * sunrpc/xcrypt.c: Use it for passwd2des.
22561
66274218
AJ
22562 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22563
61f65140
L
225642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22565
22566 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22567 Don't define if [__SYSCALL_WORDSIZE != 32].
22568 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22569 New macro.
22570
5fefb436
AJ
225712012-05-21 Bruno Haible <bruno@clisp.org>
22572 Andreas Jaeger <aj@suse.de>
22573
22574 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22575 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22576 inptr and inend for must_buffer_ch.
22577 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22578 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22579 * stdio-common/Makefile (tests): Remove bug15.
22580 (bug15-ENV): Remove macro.
22581 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22582 anymore.
22583
d8e272ab
AJ
225842012-05-19 Andreas Jaeger <aj@suse.de>
22585 Roland McGrath <roland@hack.frob.com>
22586
22587 * manual/contrib.texi: Completely rewritten. It contains now an
22588 alphabetical list of contributors and their contributions.
22589
4a56a162
RH
225902012-05-21 Richard Henderson <rth@twiddle.net>
22591
22592 * misc/getauxval.c (__getauxval): Use unsigned long int.
22593 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22594 (getauxval): Use unsigned long int.
22595
d024d23c
L
225962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22597
22598 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22599
cbc00a03
RM
226002012-05-21 Roland McGrath <roland@hack.frob.com>
22601
22602 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22603 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22604 __alignof__ (long double).
22605
478143fa
AZ
226062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22607
22608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22609
c7683a6d
RH
226102012-05-20 Richard Henderson <rth@twiddle.net>
22611
22612 * misc/getauxval.c: New file.
22613 * misc/sys/auxv.h: New file.
22614 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22615 (routines): Add getauxval.
22616 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22617 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22618 * elf/dl-sysdep.c (_dl_auxv): Remove.
22619 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22620 * elf/dl-support.c (_dl_auxv): New variable.
22621 (_dl_aux_init): Initialize it.
22622 * manual/startup.texi (Auxiliary Vector): New node.
22623 * sysdeps/generic/bits/hwcap.h: New file.
22624 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22625 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22626 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22627 * sysdeps/sparc/sysdep.h: ... here. Include it.
22628 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22629 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22631 Update.
c7683a6d
RH
22632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22635 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22640
a6f1845d
AZ
226412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22642
22643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22644
cbcbe830
DM
226452012-05-19 David S. Miller <davem@davemloft.net>
22646
22647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22648
e0b16cc2
JM
226492012-05-19 Joseph Myers <joseph@codesourcery.com>
22650
22651 [BZ #14123]
22652 * math/s_ccosh.c: Include <float.h>
22653 (__ccosh): Avoid internal overflow calculating sinh and cosh
22654 values before multiplying by sin and cos values.
22655 * math/s_ccoshf.c: Likewise.
22656 * math/s_ccoshl.c: Likewise.
22657 * math/s_csin.c: Likewise.
22658 * math/s_csinf.c: Likewise.
22659 * math/s_csinl.c: Likewise.
22660 * math/s_csinh.c: Likewise.
22661 * math/s_csinhf.c: Likewise.
22662 * math/s_csinhl.c: Likewise.
22663 * math/libm-test.inc (ccos_test): Add more tests.
22664 (ccosh_test): Likewise.
22665 (csin_test): Likewise.
22666 (csinh_test): Likewise.
22667 * sysdeps/i386/fpu/libm-test-ulps: Update.
22668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22669
6ad13e08
L
226702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22671
f66f0ce8
L
22672 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22673 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22674
6ad13e08
L
22675 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22676
b1d072a7
JM
226772012-05-19 Joseph Myers <joseph@codesourcery.com>
22678
22679 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22680 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22681 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22682 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22683 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22684 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22685 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22686 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22687 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22688 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22689 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22690 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22691 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22692 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22693 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22694 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22695 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22696 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22697 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22698 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22699 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22700 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22701 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22702 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22703 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22704 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22705 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22706 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22707 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22708 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22709 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22710
9eae47cb
AJ
227112012-05-18 Andreas Jaeger <aj@suse.de>
22712
22713 * csu/.gitignore: Delete.
22714
bb07f69f
L
227152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22716
22717 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22718 (timex): Use __syscall_slong_t.
22719
e6bdb741
AJ
227202012-05-18 Andreas Jaeger <aj@suse.de>
22721 Carlos O'Donell <carlos_odonell@mentor.com>
22722
22723 * manual/install.texi (Configuring and compiling): Update
22724 description about files modified in the source directory.
d6c33fda 22725 * INSTALL: Regenerated.
e6bdb741 22726
1b74487e
L
227272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22728
22729 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22730 value. Use "or" to set return value to -1.
22731 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22732 negate return value.
22733
a88b64b9
TMQMF
227342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22735
22736 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22737 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22738 failure if the compiler has Graphite support disabled.
22739 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22740 Likewise.
22741 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22742 CFLAGS-memmove.c): Likewise.
22743 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22744 Likewise.
22745
3707636e
L
227462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22747
610b8622
L
22748 * sysdeps/x86_64/x32/_itoa.h: New file.
22749
7cd195df
L
22750 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22751 getdents system call only if kernel and user dirents have the
22752 same d_ino and d_off.
22753
94b07d20
L
22754 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22755 LLONG_MAX != LONG_MAX.
22756 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22757 (_fitoa_word): Likewise.
22758
18298070
L
22759 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22760 years.
22761 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22762 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22763 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22764
553c7ea4
L
22765 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22766 include <bits/wordsize.h>. Check __x86_64__ instead of
22767 __WORDSIZE.
22768 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22769 if __x86_64__ is defined. Use anonymous union on fpstate.
22770
3707636e
L
22771 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22772 anonymous union.
22773
b53ef01a
AS
227742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22775
37fb1dc0
AS
22776 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22777 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22778 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22779 Refer to _rtld_local_ro instead of _rtld_global_ro.
22780 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22781 Likewise.
22782 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22783 Likewise.
22784 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22785 Likewise.
22786 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22787 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22788 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22789
b53ef01a
AS
22790 * sysdeps/powerpc/powerpc32/dl-machine.c
22791 (__elf_machine_runtime_setup) [PROF]: Don't reference
22792 _dl_prof_resolve.
22793
7a185db2
AJ
227942012-05-18 Andreas Jaeger <aj@suse.de>
22795
22796 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22797 function only available for GCCs before 3.4 since GCC 3.4
22798 introduced a builtin.
22799 (lrint): Likewise.
22800 (llrintf): Likewise.
22801 (llrint): Likewise.
22802 (fmaxf): Likewise.
22803 (fmax): Likewise.
22804 (fminf): Likewise.
22805 (fmin): Likewise.
22806 (rint): Likewise.
22807 (rintf): Likewise.
22808 (nearbyint): Likewise.
22809 (nearbyintf): Likewise.
22810 (ceil): Likewise.
22811 (ceilf): Likewise.
22812 (floor): Likewise.
22813 (floorf): Likewise.
22814
3e5aef87
L
228152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22816
428bd707
L
22817 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22818 on both fields and cast pointer to __syscall_ulong_t.
22819
3e5aef87
L
22820 * bits/types.h (__fsword_t): New type.
22821 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22822 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22824 (__FSWORD_T_TYPE): Likewise.
22825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22826 (__FSWORD_T_TYPE): Likewise.
22827 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22828 (__FSWORD_T_TYPE): Likewise.
22829 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22830 (__FSWORD_T_TYPE): Likewise.
22831 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22832 __SWORD_TYPE with __fsword_t.
22833 (statfs64): Likewise.
22834
1ba7c3dc
DM
228352012-05-17 David S. Miller <davem@davemloft.net>
22836
22837 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22838
59910343
AJ
228392012-05-17 Andreas Jaeger <aj@suse.de>
22840
22841 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22842 warning.
22843
2e4c1e9e
L
228442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22845
22846 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22847
de7f5ce7
AJ
228482012-05-17 Andreas Jaeger <aj@suse.de>
22849
22850 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22851 when it is used.
22852
286abc3d
CM
228532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22854
22855 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22856
477cc68e
L
228572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22858
22859 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22860 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22861
1a0994f5
CD
228622012-05-17 Andreas Jaeger <aj@suse.de>
22863 Carlos O'Donell <carlos_odonell@mentor.com>
22864
22865 [BZ #14059]
22866 * sysdeps/x86_64/multiarch/init-arch.h
22867 (bit_YMM_Usable): Rename to...
22868 (bit_AVX_Usable): ... this.
22869 (bit_FMA4_Usable): New macro.
22870 (bit_XMM_state): New macro.
22871 (bit_YMM_state): New macro.
22872 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22873 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22874 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22875 (CPUID_OSXSAVE): New macro.
22876 (CPUID_AVX): New macro.
22877 (CPUID_FMA4): New macro.
22878 (index_YMM_Usable): Rename to...
22879 (index_AVX_Usable): ... this.
22880 (HAS_AVX): Use HAS_ARCH_FEATURE.
22881 (HAS_FMA4): Likewise.
22882 (HAS_YMM_USABLE): Remove.
22883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22884 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22885 are present.
22886 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22887 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22888 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22889 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22890 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22891
0af797de
CM
228922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22893
22894 * math/libm-test.c: Support platforms without multiple rounding modes.
22895 * math/bug-nextafter.c: Support platforms without FP exceptions.
22896 * math/bug-nexttoward.c: Likewise.
22897 * math/test-fenv.c: Likewise.
22898 * math/test-misc.c: Likewise.
22899 * stdlib/bug-getcontext.c: Likewise.
22900
e39745ff
AJ
229012012-05-17 Andreas Jaeger <aj@suse.de>
22902
22903 * manual/examples/search.c (critter_cmp): Change signature to
22904 avoid warnings.
22905 * manual/string.texi (Collation Functions): Likewise.
22906
48970aba
L
229072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22908
22909 * bits/types.h: Fold copyright years.
22910 * bits/typesizes.h: Likewise.
22911 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22913 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22914 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22915 * time/time.h: Likewise.
22916
bedee953
PP
229172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22918
22919 [BZ #208]
22920 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22921 in instead of returning them. Return void.
22922 (__libc_mallinfo): Accumulate over all arenas.
22923 (__malloc_stats): Adjust for change in int_mallinfo interface.
22924
61653dfb
RM
229252012-05-16 Roland McGrath <roland@hack.frob.com>
22926
30b99d79
RM
22927 [BZ #10375]
22928 * configure.in (NM): Add AC_CHECK_TOOL for it.
22929 (libc_extra_cflags): New substituted variable.
22930 Check for -fstack-protector being used implicitly.
22931 * configure: Regenerated.
22932 * config.make.in (config-extra-cflags): New variable,
22933 gets @libc_extra_cflags@.
22934 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22935
61653dfb
RM
22936 [BZ #10375]
22937 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22938 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22939 * configure: Regenerated.
22940 * config.make.in (CPPUNDEFS): New substituted variable.
22941 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22942 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22943 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22944
661768bb
L
229452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22946
22947 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22948 (mq_attr): Use __syscall_slong_t.
22949
d4261567
L
229502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22951
22952 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22953 Check __x86_64__ instead of __WORDSIZE.
22954 (_STAT_VER_LINUX): Likewise.
22955 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22956 __syscall_ulong_t and __syscall_slong_t.
22957 (stat64): Likewise.
22958
cf3ff365
L
229592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22960
22961 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22962
76cf3e4d
L
229632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22964
22965 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22966
a637753a
L
229672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22968
22969 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22970 __syscall_ulong_t.
22971
d5e05119
L
22972 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22973 include <bits/wordsize.h>. Check __x86_64__ instead of
22974 __WORDSIZE.
22975 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22976 defined.
22977 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22978
f62ee380
L
22979 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22980 include <bits/wordsize.h>. Check __x86_64__ instead of
22981 __WORDSIZE.
22982 (user_regs_struct): Use "__extension__ unsigned long long"
22983 instead of "unsigned long" if __x86_64__ is defined.
22984 (user): Likewise. Pad after pointer field if __ILP32__ is
22985 defined.
22986
4e124ced
JM
229872012-05-16 Joseph Myers <joseph@codesourcery.com>
22988
6a3951a0
JM
22989 * configure.in (makeinfo): Require version 4.5 or later. Allow
22990 versions 5 to 9.
22991 * configure: Regenerated.
22992 * manual/install.texi (texinfo): Increase version requirement to
22993 4.5 or later.
22994 * INSTALL: Regenerated.
22995
4e124ced
JM
22996 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22997
953ca31a
L
229982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22999
23000 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23001
617aca05
L
23002 * sysdeps/x86_64/x32/ffs.c: New file.
23003
5762f7ae
L
23004 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23005 __syscall_ulong_t.
23006 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23007 defined. Use __syscall_ulong_t.
23008 (shminfo): Use __syscall_ulong_t.
23009 (shm_info): Likewise.
23010
a26b6856
L
23011 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23012 __syscall_ulong_t.
23013
cb2b9ef7
L
23014 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23015 <bits/wordsize.h>.
23016 (msgqnum_t): Use __syscall_ulong_t.
23017 (msglen_t): Likewise.
23018 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23019 __syscall_ulong_t.
23020
34683bb0
L
23021 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23022 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23023
84a68786
L
23024 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23025
48baa5f1
L
23026 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23027 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23028
180be88b
L
23029 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23030 __syscall_slong_t.
23031
5e90c8ad
L
23032 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23033 include <bits/wordsize.h>. Check __x86_64__ instead of
23034 __WORDSIZE.
23035
23dfb58b
L
23036 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23037 "unsigned long long int" if __x86_64__ is defined.
23038 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23039
ce5d54b0
L
23040 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23041 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23042 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23043
13dc9eac
L
23044 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23045 <stdint.h>.
23046 (GET_PC): Cast to uintptr_t first.
23047 (GET_FRAME): Likewise.
23048 (GET_STACK): Likewise.
23049
a7895d15
L
23050 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23051 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23052 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23053 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23054 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23055 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23056 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23057 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23058 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23059 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23060 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23061 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23062 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23063 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23064 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23065 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23066 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23067 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23068 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23069 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23070 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23071 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23072 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23073 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23074 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23075 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23076 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23078 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23079
656416c9
AS
230802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23081
5bd66283
AS
23082 * Makerules (+depfiles): Also collect depfiles from .oS in
23083 $(extra-objs).
23084 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23085 .oS, $(libnldbl-routines)).
23086
656416c9
AS
23087 * Makerules (native-compile-mkdep-flags): Define.
23088 * sunrpc/Makefile (extra-objs): Add $(addprefix
23089 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23090 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23091 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23092 calling $(make-target-directory).
23093
a46f2169
L
230942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23095
23096 * bits/types.h (__snseconds_t): Removed.
23097 * time/time.h (struct timespec): Replace __snseconds_t with
23098 __syscall_slong_t.
23099 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23100 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23101 Likewise.
23102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23103 (__SNSECONDS_T_TYPE): Likewise.
23104 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23105 (__SNSECONDS_T_TYPE): Likewise.
23106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23107 (__SNSECONDS_T_TYPE): Likewise.
23108
6af6528b
L
231092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23110
23111 * sysdeps/mach/hurd/bits/typesizes.h
23112 (__SYSCALL_SLONG_TYPE): New macro.
23113 (__SYSCALL_ULONG_TYPE): Likewise.
23114
de986b56
L
231152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23116
23117 * bits/types.h (__syscall_slong_t): New type.
23118 (__syscall_ulong_t): Likewise.
23119
23120 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23121 (__SYSCALL_ULONG_TYPE): Likewise.
23122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23123 (__SYSCALL_SLONG_TYPE): Likewise.
23124 (__SYSCALL_ULONG_TYPE): Likewise.
23125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23126 (__SYSCALL_SLONG_TYPE): Likewise.
23127 (__SYSCALL_ULONG_TYPE): Likewise.
23128 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23129 (__SYSCALL_SLONG_TYPE): Likewise.
23130 (__SYSCALL_ULONG_TYPE): Likewise.
23131
85736dc7
L
231322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23133
23134 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23135 Add sigaltstack-offsets.sym.
23136 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23137 <sigaltstack-offsets.h>.
23138 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23139 longjmp_msg pointer.
23140 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23141 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23142 signal stack.
23143 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23144
cc03b296
JM
231452012-05-15 Joseph Myers <joseph@codesourcery.com>
23146
a9538892
JM
23147 * elf/stackguard-macros.h: Remove file.
23148 * sysdeps/generic/stackguard-macros.h: New file.
23149 * sysdeps/i386/stackguard-macros.h: Likewise.
23150 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23151 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23152 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23153 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23154 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23155 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23156 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23157 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23158 <elf/stackguard-macros.h>.
23159
cc03b296
JM
23160 [BZ #14109]
23161 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23162 __aligned__ in attribute.
23163 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23164 (gregset_t): Likewise.
23165
93171016
L
231662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23167
23168 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23169 * sysdeps/x86_64/64/Implies-after: Here. New file.
23170 * sysdeps/x86_64/x32/Implies-after: New file.
23171
d86813a0
L
231722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23173
23174 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23175 and access return value for _dl_profile_fixup. Use R10_LP to
23176 load frame size.
23177
2953ec75
L
231782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23179
23180 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23181
3b550e9e
L
231822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23183
23184 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23185 * sysdeps/x86_64/x32/sysdep.h: New file.
23186
eda41706
L
231872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23188
23189 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23190 * sysdeps/x86_64/setjmp.S: Likewise.
23191
9ea01d93
AZ
231922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23193
23194 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23195 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23196 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23197 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23198 remove unused global constant.
23199
02a91938
CM
232002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23201
23202 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23203 include of <not-cancel.h>.
23204
6540185f
RM
232052012-05-15 Roland McGrath <roland@hack.frob.com>
23206
23207 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23208
509072a0
AJ
232092012-05-15 Jeff Law <law@redhat.com>
23210 Andreas Jaeger <aj@suse.de>
23211
23212 [BZ #13594]
23213 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23214 out from...
23215 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23216 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23217 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23218 code changing __hst_map_handle.map.
23219
ba75122d
RM
232202012-05-15 Roland McGrath <roland@hack.frob.com>
23221
23222 * configure.in (sysnames): Look for Implies-before and Implies-after
23223 files.
23224 * configure: Regenerated.
23225
890d8bd8
L
232262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23227
23228 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23229 8-byte data alignment with LP_SIZE alignment.
23230
f6ee6623
L
232312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23232
23233 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23234 into R10_LP.
23235
ea2626f6
L
232362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23237
23238 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23239
085f715e
L
232402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23241
23242 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23243 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23244 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23245 Likewise.
23246 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23247
be8498fc
L
232482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23249
23250 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23251 (stackinfo_sub_sp): Likewise.
23252
70bc83b9
L
232532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23254
23255 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23256 RAX_LP.
23257
9bc0b730
L
232582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23259
23260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23261 into R*_LP.
23262
6d2850e7
L
232632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23264
23265 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23266 sizes into R*_LP.
23267
3cb84561
L
232682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23269
23270 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23271
54e2ed81
L
232722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23273
23274 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23275 into R11_LP and load __x86_64_shared_cache_size_half into
23276 R8_LP.
23277
8a17f349
L
232782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23279
23280 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23281 R8_LP.
23282
777b1eea
AZ
232832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23284
23285 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23286 logb for POWER7.
23287 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23288 logbf for POWER7.
23289 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23290 logbl for POWER7.
23291 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23292 powerpc32/power7/fpu/s_logb.c via #include.
23293 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23294 powerpc32/power7/fpu/s_logbf.c via #include.
23295 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23296 powerpc32/power7/fpu/s_logbl.c via #include.
23297
d20d4ac2
JM
232982012-05-15 Joseph Myers <joseph@codesourcery.com>
23299
23300 * README.libm: Remove file.
23301
6cdef1ab
L
233022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23303
23304 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23305 count for x32. Use R*_LP and omit operand-size suffix.
23306
0b254d8f
L
233072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23308
23309 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23310 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23311 * sysdeps/x86_64/x32/shlib-versions: New file.
23312
ceb809dc
RM
233132012-05-14 Roland McGrath <roland@hack.frob.com>
23314
23315 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23316 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23317 Use _dl_fatal_printf instead.
23318
37f1abd4
JM
233192012-05-14 Joseph Myers <joseph@codesourcery.com>
23320
23321 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23322 set if not set by the user. Do not allow for being unset.
23323 * sysdeps/unix/sysv/linux/configure: Regenerated.
23324
11de3a33
L
233252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23326
23327 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23328 the `q' suffix from lea and replace .quad with ASM_ADDR.
23329
e02f153a
L
233302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23331
23332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23333 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23334 instead of $17.
23335 (PTR_DEMANGLE): Likewise.
23336
520ae0fd
L
233372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23338
23339 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23340 (LP_OP): Likewise.
23341 (ASM_ADDR): Likewise.
23342 (RAX_LP): Likewise.
23343 (RBP_LP): Likewise.
23344 (RBX_LP): Likewise.
23345 (RCX_LP): Likewise.
23346 (RDI_LP): Likewise.
23347 (RSI_LP): Likewise.
23348 (RSP_LP): Likewise.
23349 (R8_LP): Likewise.
23350 (R9_LP): Likewise.
23351 (R10_LP): Likewise.
23352 (R10_LP): Likewise.
23353 (R11_LP): Likewise.
23354 (R12_LP): Likewise.
23355 (R13_LP): Likewise.
23356 (R14_LP): Likewise.
23357 (R15_LP): Likewise.
23358
b985be81
L
233592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23360
23361 * sysdeps/x86_64/x32/dl-machine.h: New file.
23362
6a4888ff
AJ
233632012-05-14 Andreas Jaeger <aj@suse.de>
23364
23365 * manual/Makefile (subdir): Remove export of subdir.
23366 (all): Remove target.
23367 (.PHONY): Remove all from list.
23368 (mkinstalldirs): Remove.
23369 (.PHONY): Remove installdirs from list.
23370 ($(inst_infodir)/libc.info): Use make-target-directory.
23371 (installdirs): Remove.
23372 (subdir_%): Remove.
23373 (glibc-targets): Remove.
23374 (lib): Remove.
23375 (stubs): Remove.
23376 ($(objpfx)stubs ../po/manual.pot): Remove.
23377 ($(objpfx)stamp%): Remove.
23378 (make-target-directory): Remove.
23379 (subdir_install): Remove.
23380 (routines): Remove.
23381 (aux): Remove.
23382 (sources): Remove.
23383 (objects): Remove.
23384 (headers): Remove.
23385
23386 [BZ #13750]
23387 * manual/.gitignore: Remove, it's not needed anymore.
23388 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23389 all files in it.
23390 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23391 directory.
23392 (texis): Renamed to $(objpfx)texis.
23393 (texis-path): New, contains path to generated files.
23394 (chapters.%): Use texis-path for complete path, add extra argument
23395 libc-texinfo.sh.
23396 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23397 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23398 (summary,texi, stamp-summary): Use complete path of
23399 files. Generate files in build dir.
23400 (dir-add.texi): Build in build dir.
23401 (libm-err.texi,stamp-libm-err): Likewise.
23402 (version.texi, stamp-version): Likewise.
23403 (.%c.texi): Likewise.
23404 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23405 (mostlyclean): Remove target.
23406 (realclean): Remove target.
23407 (generated): Add new variable with contents from mostlyclean and
23408 realclean, remove entries duplicated in common-mostlyclean, add
23409 stamp-libm-err and stamp-version.
23410 (generated-dirs): Add libc directory.
23411 ($(inst_infodir)/libc.info): Install files from build dir.
23412
23413 * manual/install.texi (Configuring and compiling): Adjust since
23414 the info files are not part of the tar ball anymore.
23415
7ac77294
AJ
234162012-05-14 Andreas Jaeger <aj@suse.de>
23417
23418 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23419 variable.
23420
ffb7875d
JM
234212012-05-14 Joseph Myers <joseph@codesourcery.com>
23422
23423 [BZ #13717]
23424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23425 to 2.2.0 where earlier.
23426 * sysdeps/unix/sysv/linux/configure: Regenerated.
23427 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23428 Remove conditional code.
23429 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23430 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23431 Remove conditional code.
23432 [!__NR_lchown]: Likewise.
23433 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23434 [__NR_lchown]: Likewise.
23435 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23436 comment referencing __ASSUME_LCHOWN_SYSCALL.
23437 * sysdeps/unix/sysv/linux/i386/sigaction.c
23438 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23439 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23440 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23441 Remove conditional code.
23442 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23443 (__protocol_available): Remove #if 0 code.
23444 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23445 conditional code.
23446 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23447 * sysdeps/unix/sysv/linux/kernel-features.h
23448 (__ASSUME_GETCWD_SYSCALL): Don't define.
23449 (__ASSUME_REALTIME_SIGNALS): Likewise.
23450 (__ASSUME_PREAD_SYSCALL): Likewise.
23451 (__ASSUME_PWRITE_SYSCALL): Likewise.
23452 (__ASSUME_POLL_SYSCALL): Likewise.
23453 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23454 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23455 non-SPARC.
23456 (__ASSUME_SIOCGIFNAME): Don't define.
23457 (__ASSUME_MSG_NOSIGNAL): Likewise.
23458 (__ASSUME_SENDFILE): Define unconditionally.
23459 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23460 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23461 conditional code.
23462 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23463 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23464 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23465 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23466 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23467 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23468 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23470 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23473 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23476 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23482 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23485 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23488 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23489 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23491 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23493 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23494 Remove conditional code.
23495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23496 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23497 Remove conditional code.
23498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23499 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23500 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23501 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23502 Remove conditional code.
23503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23504 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23505 Remove conditional code.
23506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23507 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23508 Remove conditional code.
23509 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23510 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23511 Remove conditional code.
23512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23513 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23514 Remove conditional code.
23515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23516 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23517 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23519 * sysdeps/unix/sysv/linux/sigaction.c
23520 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23521 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23522 * sysdeps/unix/sysv/linux/sigpending.c
23523 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23524 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23525 * sysdeps/unix/sysv/linux/sigprocmask.c
23526 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23527 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23528 * sysdeps/unix/sysv/linux/sigsuspend.c
23529 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23530 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23531 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23532 (__libc_missing_rt_sigs): Remove.
23533 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23534 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23535 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23536 Remove conditional code.
23537 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23538 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23539 return 1.
23540 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23541 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23542 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23543 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23544
1bfb7291
AJ
235452012-05-14 Andreas Jaeger <aj@suse.de>
23546
caae5a81
AJ
23547 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23548 it's not used in glibc.
23549 (__coshm1): Likewise.
23550 (__acosh1p): Likewise.
23551 (__sgn): Likewise.
23552
1bfb7291
AJ
23553 * manual/string.texi (Copying and Concatenation): Add missing
23554 variable in concat example.
23555 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23556
c044d724
L
235572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23558
144c5467 23559 [BZ #14103]
c044d724
L
23560 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23561 __builtin_clzl with __builtin_clzll.
23562
2523c62b
L
235632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23564
23565 [BZ #14104]
23566 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23567 libc_freeres_ptr.
23568
d7bb4c42
LD
235692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23570
23571 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23572 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23573 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23574 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23575
9dc4e1fb
MF
235762012-05-14 Mike Frysinger <vapier@gentoo.org>
23577
23578 * NEWS: Update ia64 info.
23579
c7df0112
AS
235802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23581
23582 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23583 used as bcopy.
23584
dc70356c
TS
235852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23586
23587 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23588 * sysdeps/unix/syscalls.list (dup3): Likewise.
23589 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23590 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23591
9fb1a21f
L
235922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23593
23594 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23595 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23596
4822a2a5
L
235972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23598
23599 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23600 thread pointer.
23601 (TLS_IE): Use mov/add instead of movq/addq to load thread
23602 pointer.
23603 (TLS_GD_PREFIX): New.
23604 (TLS_GD): Use it.
23605
842b81d6
DM
236062012-05-11 David S. Miller <davem@davemloft.net>
23607
23608 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23609 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23610 (_FPU_SETCW): Likewise.
23611
1cf463cd
L
236122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23613
23614 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23615 is 32-byte aligned.
23616
60cc4a18
AS
236172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23618
23619 [BZ #11837]
23620 * iconvdata/gb18030.c: Update tables.
23621 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23622 characters specially.
23623 (BODY for TO_LOOP): Add encoding of missing ranges.
23624
febb44a4
TS
236252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23626
23627 [BZ #13673]
23628 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23629 * sysdeps/mach/hurd/dup3.c: Likewise.
23630 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23631 * sysdeps/powerpc/memmove.c:: Likewise.
23632
0a10fb9e
L
236332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23634
23635 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23636 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23637
df8a552f
L
236382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23639
23640 * elf/elf.h (R_X86_64_RELATIVE64): New.
23641 (R_X86_64_NUM): Updated.
23642 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23643 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23644 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23645 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23646 tst-quad1pie tst-quad2pie
23647 (modules-names): Add tst-quadmod1 tst-quadmod2.
23648 ($(objpfx)tst-quad1): New dependency.
23649 ($(objpfx)tst-quad2): Likewise.
23650 ($(objpfx)tst-quad1pie): Likewise.
23651 ($(objpfx)tst-quad2pie): Likewise.
23652 * sysdeps/x86_64/tst-quad1.c: New file.
23653 * sysdeps/x86_64/tst-quad1pie.c: New file.
23654 * sysdeps/x86_64/tst-quad2.c: Likewise.
23655 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23656 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23657 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23658 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23659 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23660
f34d6f84
ST
236612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23662
f42d41d1
ST
23663 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23664 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23665 * streams/stropts.h (t_scalar_t): Define type.
23666
3c3571fc
ST
23667 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23668 (_PATH_PRESERVE): Set to "/var/lib".
23669 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23670
61f06bd3
ST
23671 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23672 instead of int.
23673
918d4d71
ST
23674 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23675 if __dir_mkfile succeeded.
23676
f34d6f84
ST
23677 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23678 checking for _hurd_dtablesize. Unlock it right after having
23679 finished _hurd_dtable allocation.
23680
10589b4a
TS
236812012-05-10 Thomas Schwinge <thomas@schwinge.name>
23682
674cdbc7
TS
23683 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23684 * sysdeps/mach/hurd/configure: Regenerated.
23685 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23686 special-casing to...
23687 * sysdeps/gnu/configure.in: ... this new file.
23688 * sysdeps/unix/sysv/linux/configure: Regenerated.
23689 * sysdeps/gnu/configure: New generated file.
23690
8e41b99f
TS
23691 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23692 for Linux: use nsec instead of usec, as well as:
23693 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23694 members of type struct timespec.
23695 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23696 New macros.
23697 (struct stat64): Likewise.
23698 (_STATBUF_ST_NSEC): New macro.
23699 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23700
10589b4a
TS
23701 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23702 __strtoul_internal rather than strtoul.
23703
63643c85
PT
237042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23705
23706 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23707 and reject them.
23708
3faebe6a
ST
237092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23710
23711 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23712 which preserves existing values.
23713 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23714
c6474b07
PT
237152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23716
23717 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23718 TIMEOUT values. Return EINVAL for NFDS values either negative or
23719 greater than FD_SETSIZE.
23720
1043890b
ST
237212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23722
23723 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23724 allocated, call __vm_protect to finish enabling the existing space, and
23725 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23726 allocate the remainder.
23727
37ed8b9b
PT
237282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23729
23730 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23731 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23732
db653660
ST
237332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23734
37ed8b9b
PT
23735 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23736 sysdeps/mach/hurd/readlink.c.
b29d4053 23737
db653660
ST
23738 * posix/tst-sysconf.c (posix_options): Only use
23739 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23740 _POSIX_SYNCHRONIZED_IO when they are defined
23741 * sysdeps/mach/hurd/bits/posix_opt.h:
23742 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23743 (_XOPEN_REALTIME): Undefine macro.
23744 (_XOPEN_REALTIME_THREADS): Undefine macro.
23745 (_XOPEN_SHM): Undefine macro.
23746 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23747 macro to -1.
23748 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23749 macro to -1.
23750 (_POSIX_ASYNC_IO): Undefine macro.
23751 (_POSIX_PRIORITIZED_IO): Undefine macro.
23752 (_POSIX_SPIN_LOCKS): Define macro to -1.
23753
ee16e894
ST
23754 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23755 SA_NODEFER, SA_RESETHAND.
23756 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23757 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23758 F_DUPFD_CLOEXEC.
23759
6103ae3b
TS
237602012-05-10 Thomas Schwinge <thomas@schwinge.name>
23761
23762 * elf/Makefile (pldd-modules): Define unconditionally.
23763
80b4e5f3
TS
237642012-05-10 Thomas Schwinge <thomas@schwinge.name>
23765
23766 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23767
edadcbd6
ST
237682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23769
23770 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23771 Return ENOENT when name is empty.
23772 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23773
80694780
TS
237742012-05-10 Thomas Schwinge <thomas@schwinge.name>
23775
1792c087
TS
23776 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23777
80694780
TS
23778 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23779
6b645f0d
ST
237802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23781
80694780
TS
23782 Fix mlock in all cases except non-readable pages.
23783 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23784 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23785
6b645f0d
ST
23786 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23787 (__mkdir): When path is `/', just fail with EEXIST.
23788 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23789
e468f8a3
TS
237902012-05-10 Thomas Schwinge <thomas@schwinge.name>
23791
23792 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23793 <sys/uio.h> (for writev).
23794 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23795 and <sys/param.h> (for MIN).
23796
a4186cff
PT
237972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23798
23799 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23800 REQUESTED_TIME. Properly set the remaining time and return EINTR
23801 if interrupted.
23802
510bbf14
TS
238032012-05-10 Thomas Schwinge <thomas@schwinge.name>
23804
23805 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23806 Depend on against $(link-rpcuserlibs).
23807
5d5722e8
ST
238082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23809
a4186cff
PT
23810 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23811 (__libc_stack_end): Do not use attribute_relro.
23812 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23813 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23814 to libthread-provided value.
a4186cff
PT
23815 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23816 attribute_relro.
5d5722e8 23817
37233df9
TS
238182012-05-10 Thomas Schwinge <thomas@schwinge.name>
23819
be971a2b
TS
23820 [BZ #3748]
23821 * bits/libc-lock.h (__libc_once_get): New macro.
23822 * sysdeps/mach/bits/libc-lock.h: Likewise.
23823 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23824 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23825 instead of using implementation details.
23826
37233df9
TS
23827 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23828 * libio/freopen.c: Likewise.
23829 * libio/freopen64.c: Likewise.
23830 * misc/syslog.c: Likewise.
23831 * nscd/connections.c: Likewise.
23832 * nscd/netgroupcache.c: Likewise.
23833 * sysdeps/posix/getcwd.c: Likewise.
23834
38de94a5
RM
238352012-05-10 Roland McGrath <roland@hack.frob.com>
23836
23837 * math/w_ilogbf.c: Add #include <limits.h>.
23838
67530489
ST
238392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23840
a4186cff 23841 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23842 path instead of returning without unlocking.
23843
67530489
ST
23844 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23845 immediate-write ioctls.
23846 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23847
5aa3a74a
TS
238482012-05-10 Thomas Schwinge <thomas@schwinge.name>
23849
18bad2ae
TS
23850 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23851 __builtin_frame_address instead of making assumptions about the
23852 location of the return address relative to DATA. Force early load of
23853 the return address.
23854 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23855 __builtin_frame_address.
23856
5aa3a74a
TS
23857 dup3 for GNU Hurd.
23858 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23859 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23860 implement dup3 and do some further code clean-ups.
23861 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23862 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23863
ecd0de9a
ST
238642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23865
cd9fa985
ST
23866 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23867
a4186cff
PT
23868 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23869 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23870 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23871 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23872 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23873 d->port.lock.
802ca5a5 23874
a4186cff
PT
23875 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23876 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23877 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23878
bcf55240
TS
238792012-05-10 Thomas Schwinge <thomas@schwinge.name>
23880
6960eb42
TS
23881 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23882 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23883 definitions.
23884
eb43375f
TS
23885 accept4 for GNU Hurd.
23886 * include/sys/socket.h (__libc_accept4): New prototype.
23887 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23888 to implement __libc_accept4.
23889 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23890 __libc_accept4.
23891 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23892
bcf55240
TS
23893 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23894 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23895 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23896 signal-defines.sym.
23897
6178c55b
ST
238982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23899
a4186cff 23900 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23901
6f080c2f
TS
239022012-05-10 Thomas Schwinge <thomas@schwinge.name>
23903
23904 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23905 assertion on O_CLOEXEC flag.
23906 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23907 * hurd/intern-fd.c: Likewise.
23908 * hurd/port2fd.c: Likewise.
23909
bcfe3a54
ST
239102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23911
23912 [BZ #3906]
23913 * bits/in.h (IPV6_PKTINFO): Define new macro.
23914 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23915
89c9aa49
AZ
239162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23917
23918 [BZ #13954]
23919 [BZ #13955]
23920 [BZ #13956]
23921 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23923 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23924 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23925 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23926 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23927 * math/libm-test.inc (logb_test) : Additional logb tests.
23928
021db4be
AJ
239292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23930 Andreas Jaeger <aj@suse.de>
23931
23932 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23933 * configure: Regenerated.
23934 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23935 * config.make.in (link-obsolete-rpc): New substituted variable.
23936 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23937 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23938 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23939 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23940 so that libc.a contains the symbols.
23941 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23942 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23943 * sunrpc/auth_none.c: Likewise.
23944 * sunrpc/auth_unix.c: Likewise.
23945 * sunrpc/authdes_prot.c: Likewise.
23946 * sunrpc/authuxprot.c: Likewise.
23947 * sunrpc/clnt_gen.c: Likewise.
23948 * sunrpc/clnt_perr.c: Likewise.
23949 * sunrpc/clnt_raw.c: Likewise.
23950 * sunrpc/clnt_simp.c: Likewise.
23951 * sunrpc/clnt_tcp.c: Likewise.
23952 * sunrpc/clnt_udp.c: Likewise.
23953 * sunrpc/clnt_unix.c: Likewise.
23954 * sunrpc/des_crypt.c: Likewise.
23955 * sunrpc/des_soft.c: Likewise.
23956 * sunrpc/get_myaddr.c: Likewise.
23957 * sunrpc/key_call.c: Likewise.
23958 * sunrpc/key_prot.c: Likewise.
23959 * sunrpc/netname.c: Likewise.
23960 * sunrpc/pm_getmaps.c: Likewise.
23961 * sunrpc/pm_getport.c: Likewise.
23962 * sunrpc/pmap_clnt.c: Likewise.
23963 * sunrpc/pmap_prot.c: Likewise.
23964 * sunrpc/pmap_prot2.c: Likewise.
23965 * sunrpc/pmap_rmt.c: Likewise.
23966 * sunrpc/publickey.c: Likewise.
23967 * sunrpc/rpc_cmsg.c: Likewise.
23968 * sunrpc/rpc_common.c: Likewise.
23969 * sunrpc/rpc_dtable.c: Likewise.
23970 * sunrpc/rpc_prot.c: Likewise.
23971 * sunrpc/rpc_thread.c: Likewise.
23972 * sunrpc/rtime.c: Likewise.
23973 * sunrpc/svc.c: Likewise.
23974 * sunrpc/svc_auth.c: Likewise.
23975 * sunrpc/svc_raw.c: Likewise.
23976 * sunrpc/svc_run.c: Likewise.
23977 * sunrpc/svc_tcp.c: Likewise.
23978 * sunrpc/svc_udp.c: Likewise.
23979 * sunrpc/svc_unix.c: Likewise.
23980 * sunrpc/svcauth_des.c: Likewise.
23981 * sunrpc/xcrypt.c: Likewise.
23982 * sunrpc/xdr.c: Likewise.
23983 * sunrpc/xdr_array.c: Likewise.
23984 * sunrpc/xdr_float.c: Likewise.
23985 * sunrpc/xdr_intXX_t.c: Likewise.
23986 * sunrpc/xdr_mem.c: Likewise.
23987 * sunrpc/xdr_rec.c: Likewise.
23988 * sunrpc/xdr_ref.c: Likewise.
23989 * sunrpc/xdr_sizeof.c: Likewise.
23990 * sunrpc/xdr_stdio.c: Likewise.
23991
b5c086a2
RM
239922012-05-10 Roland McGrath <roland@hack.frob.com>
23993
23994 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23995 change. Update copyright years.
23996
6d74dd09
JM
239972012-05-10 Joseph Myers <joseph@codesourcery.com>
23998
23999 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24000
28e72501
MK
240012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24002 Joseph Myers <joseph@codesourcery.com>
24003 Paul Pluzhnikov <ppluzhnikov@google.com>
24004
24005 [BZ #14012]
24006 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24007 requiring rpcgen.
24008 [cross-compiling] (extra-libs): Likewise.
24009 [cross-compiling] (extra-libs-others): Likewise.
24010 [cross-compiling] (librpcsvc-routines): Likewise.
24011 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24012 [cross-compiling] (omit-deps): Likewise.
24013 (sunrpc-CPPFLAGS): New variable.
24014 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24015 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24016 (cross-rpcgen-objs): New variable.
24017 (extra-objs): Append $(cross-rpcgen-objs).
24018 ($(cross-rpcgen-objs)): New rule.
24019 ($(objpfx)cross-rpcgen): Likewise.
24020 (rpcgen-cmd): Define to use $(built-program-file). Expand
24021 comment.
24022 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24023 ($(objpfx)x%.stmp): Likewise.
24024 * sunrpc/proto.h [IS_IN_build] (_): Define.
24025 [IS_IN_build] (_libc_intl_domainname): Likewise.
24026
c8c59454
L
240272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24028
24029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24030 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24031 and R_X86_64_TPOFF64.
24032
6f27cd16
JM
240332012-05-10 Joseph Myers <joseph@codesourcery.com>
24034
24035 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24036 sysdeps/unix/sysv/syscalls.list.
24037 (stime): Likewise.
24038 (utime): Likewise.
24039 * sysdeps/unix/sysv/syscalls.list: Remove file.
24040
02467e1c
PE
240412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24042
24043 [BZ #3440]
24044 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24045 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24046 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24047 (__LC_IDENTIFICATION): Make these macros useful in #if
24048 expressions, as required by C99.
24049
da392631
AS
240502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24051
24052 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24053 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24054 after this.
24055
8115f29b
L
240562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24057
24058 * stdlib/longlong.h: Updated from GCC.
24059
bdd74070
AJ
240602012-05-09 Andreas Jaeger <aj@suse.de>
24061
edfe0dbe
AJ
24062 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24063 default is first entry.
24064 (run_mode): Set type.
24065 (main): Remove informal message about syslog.
24066 (options): Fix typo.
24067
bcfe3a54
ST
24068 [BZ #14053]
24069 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24070 to asm.
bcfe3a54
ST
24071 (lrint): Likewise.
24072 (llrintf): Likewise.
24073 (llrint): Likewise.
24074 (rint): Likewise.
24075 (rintf): Likewise.
24076 (nearbyint): Likewise.
24077 (nearbyintf): Likewise.
bdd74070 24078
91d8d69e
AJ
240792012-05-09 Andreas Jaeger <aj@suse.de>
24080 Pedro Alves <palves@redhat.com>
24081
24082 * nscd/nscd.c (run_mode): Use enum.
24083 (main): Cleanup coding style issue.
24084
bb90b80b
AJ
240852012-05-09 Alexandre Oliva <aoliva@redhat.com>
24086 Andreas Jaeger <aj@suse.de>
24087
bcfe3a54
ST
24088 * nscd/nscd.c (go_background): Replaced with...
24089 (run_mode): ... this.
bb90b80b 24090 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24091 (options): Add -F --foreground.
24092 (main): Implement it.
24093 (parse_opt): Parse it.
bb90b80b 24094
1a4b75a1
AJ
240952012-05-09 Andreas Jaeger <aj@suse.de>
24096
24097 [BZ #14083]
24098 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24099 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24100 -Wconversion warning.
24101 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24102 Likewise.
24103
b1cc2472
JM
241042012-05-09 Joseph Myers <joseph@codesourcery.com>
24105
24106 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24107 == 0.
24108 (LC_ALL): Use macro-int-constant.
24109 (LC_COLLATE): Likewise.
24110 (LC_CTYPE): Likewise.
24111 (LC_MESSAGES): Likewise.
24112 (LC_MONETARY): Likewise.
24113 (LC_NUMERIC): Likewise.
24114 (LC_TIME): Likewise.
24115 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24116 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24118 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24119 Specify type.
24120 [C99-based standards] (float_t): Expect type.
24121 [C99-based standards] (double_t): Expect type.
24122 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24123 type.
24124 [C99-based standards] (HUGE_VALL): Likewise.
24125 [C99-based standards] (INFINITY): Likewise.
24126 [C99-based standards] (NAN): Likewise.
24127 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24128 [C99-based standards] (FP_NAN): Likewise.
24129 [C99-based standards] (FP_NORMAL): Likewise.
24130 [C99-based standards] (FP_SUBNORMAL): Likewise.
24131 [C99-based standards] (FP_ZERO): Likewise.
24132 [C99-based standards] (FP_FAST_FMA): Use
24133 optional-macro-int-constant. Specify type. Require == 1.
24134 [C99-based standards] (FP_FAST_FMAF): Likewise.
24135 [C99-based standards] (FP_FAST_FMAL): Likewise.
24136 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24137 [C99-based standards] (FP_ILOGBNAN): Likewise.
24138 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24139 Specify type.
24140 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24141 [C99-based standards] (math_errhandling): Specify type.
24142 [ISO99 || ISO11] (signgam): Do not allow.
24143 [non-C99-based standards] (copysignf): Do not allow.
24144 [non-C99-based standards] (exp2f): Likewise.
24145 [non-C99-based standards] (log2f): Likewise.
24146 [non-C99-based standards] (modff): Allow.
24147 [non-C99-based standards] (erff): Do not allow.
24148 [non-C99-based standards] (erfcf): Likewise.
24149 [non-C99-based standards] (gammaf): Likewise.
24150 [non-C99-based standards] (hypotf): Likewise.
24151 [non-C99-based standards] (j0f): Likewise.
24152 [non-C99-based standards] (j1f): Likewise.
24153 [non-C99-based standards] (jnf): Likewise.
24154 [non-C99-based standards] (lgammaf): Likewise.
24155 [non-C99-based standards] (tgammaf): Likewise.
24156 [non-C99-based standards] (y0f): Likewise.
24157 [non-C99-based standards] (y1f): Likewise.
24158 [non-C99-based standards] (ynf): Likewise.
24159 [non-C99-based standards] (isnanf): Likewise.
24160 [non-C99-based standards] (acoshf): Likewise.
24161 [non-C99-based standards] (asinhf): Likewise.
24162 [non-C99-based standards] (atanhf): Likewise.
24163 [non-C99-based standards] (cbrtf): Likewise.
24164 [non-C99-based standards] (expm1f): Likewise.
24165 [non-C99-based standards] (ilogbf): Likewise.
24166 [non-C99-based standards] (log1pf): Likewise.
24167 [non-C99-based standards] (logbf): Likewise.
24168 [non-C99-based standards] (nextafterf): Likewise.
24169 [non-C99-based standards] (remainderf): Likewise.
24170 [non-C99-based standards] (rintf): Likewise.
24171 [non-C99-based standards] (scalbf): Likewise.
24172 [non-C99-based standards] (copysignl): Likewise.
24173 [non-C99-based standards] (exp2l): Likewise.
24174 [non-C99-based standards] (log2l): Likewise.
24175 [non-C99-based standards] (modfl): Allow.
24176 [non-C99-based standards] (erfl): Do not allow.
24177 [non-C99-based standards] (erfcl): Likewise.
24178 [non-C99-based standards] (gammal): Likewise.
24179 [non-C99-based standards] (hypotl): Likewise.
24180 [non-C99-based standards] (j0l): Likewise.
24181 [non-C99-based standards] (j1l): Likewise.
24182 [non-C99-based standards] (jnl): Likewise.
24183 [non-C99-based standards] (lgammal): Likewise.
24184 [non-C99-based standards] (tgammal): Likewise.
24185 [non-C99-based standards] (y0l): Likewise.
24186 [non-C99-based standards] (y1l): Likewise.
24187 [non-C99-based standards] (ynl): Likewise.
24188 [non-C99-based standards] (isnanl): Likewise.
24189 [non-C99-based standards] (acoshl): Likewise.
24190 [non-C99-based standards] (asinhl): Likewise.
24191 [non-C99-based standards] (atanhl): Likewise.
24192 [non-C99-based standards] (cbrtl): Likewise.
24193 [non-C99-based standards] (expm1l): Likewise.
24194 [non-C99-based standards] (ilogbl): Likewise.
24195 [non-C99-based standards] (log1pl): Likewise.
24196 [non-C99-based standards] (logbl): Likewise.
24197 [non-C99-based standards] (nextafterl): Likewise.
24198 [non-C99-based standards] (remainderl): Likewise.
24199 [non-C99-based standards] (rintl): Likewise.
24200 [non-C99-based standards] (scalbl): Likewise.
24201 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24202 [non-C99-based standards] (FP_*): Do not allow.
24203 [C99-based standards] (FP_*): Change to
24204 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24205 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24206 allow.
24207 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24208 (SIG_ERR): Likewise.
24209 [X/Open-based standards] (SIG_HOLD): Likewise.
24210 (SIG_IGN): Likewise.
24211 (SIGABRT): Use macro-int-constant. Specify type. Require
24212 positive value.
24213 (SIGFPE): Likewise.
24214 (SIGILL): Likewise.
24215 (SIGINT): Likewise.
24216 (SIGSEGV): Likewise.
24217 (SIGTER): Likewise.
24218 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24219 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24220 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24221 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24222 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24223 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24224 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24225 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24226 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24227 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24228 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24229 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24230 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24231 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24232 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24233 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24234 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24235 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24236 [X/Open-based standards] (SIGTRAP): Likewise.
24237 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24238 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24239 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24240 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24241 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24242 allow.
24243
b9f1922d
IW
242442012-05-08 Ian Wienand <ianw@vmware.com>
24245
24246 [BZ #14080]
24247 * time/tzset.c (__tzset_parse_tz): Update default rules for
24248 daylight time changes in the Energy Policy Act of 2005.
24249
1db86e88
AJ
242502012-05-09 Andreas Jaeger <aj@suse.de>
24251
24252 [BZ #13983]
24253 * elf/ldconfig.c (parse_conf): Change string to make clear that
24254 ldconfig only issued a warning if ld.so.conf does not exist.
24255
dee4a4e3
DM
242562012-05-08 David S. Miller <davem@davemloft.net>
24257
ee0db190
DM
24258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24259 movxtod instead of popping the value on the stack.
24260
dee4a4e3
DM
24261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24262
6a43ec98
CD
242632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24264
24265 * config.h.in: Add HAVE_ARM_PCS_VFP.
24266
05c2c961
RMG
242672012-05-08 Roland Mc Grath <roland@hack.frob.com>
24268
bcfe3a54
ST
24269 [BZ #13979]
24270 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24271 checking but the checks are disabled for any reason.
05c2c961 24272
4b30f61a
L
242732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24274
24275 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24276 and ELF64_R_TYPE with ELFW(R_TYPE).
24277
eee2bc67
JM
242782012-05-08 Joseph Myers <joseph@codesourcery.com>
24279
7ea5391a
JM
24280 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24281 (ulimit): Likewise.
24282
eee2bc67
JM
24283 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24284 (settimeofday): Likewise.
24285
abb66a67
MF
242862012-05-08 Mike Frysinger <vapier@gentoo.org>
24287
24288 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24289 a struct th_u2 inside the union, and move tu_block/tu_code into
24290 a new th_u3 union of tu_block/tu_code inside of that. Move
24291 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24292 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24293 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24294 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24295 (th_stuff): Change to th_u1.tu_stuff.
24296 (th_data): Define.
24297 (th_msg): Change to th_u1.th_u2.tu_data.
24298
7f18b530
DM
242992012-05-07 David S. Miller <davem@davemloft.net>
24300
05760585
DM
24301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24302
7f18b530
DM
24303 [BZ #14074]
24304 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24305 (SETUP_PIC_REG): Use it.
24306 (SETUP_PIC_REG_LEAF): Use it.
24307
495fd99f
JM
243082012-05-07 Joseph Myers <joseph@codesourcery.com>
24309
24310 [BZ #13885]
24311 [BZ #13923]
24312 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24313 USE_AS_EXPM1L.
24314 (EXPL_FINITE): Likewise.
24315 (FLDLOG): Likewise.
24316 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24317 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24318 e_expl.S.
24319 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24320 USE_AS_EXPM1L.
24321 (EXPL_FINITE): Likewise.
24322 (FLDLOG): Likewise.
24323 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24324 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24325 e_expl.S.
24326 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24327 test of -max_value argument for long double.
24328 * sysdeps/i386/fpu/libm-test-ulps: Update.
24329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24330
6693d694
DM
243312012-05-06 David S. Miller <davem@davemloft.net>
24332
24333 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24334 quad soft-float symbols whose references which are compiler
24335 generated.
24336 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24337
6c23e11c
JM
243382012-05-06 Joseph Myers <joseph@codesourcery.com>
24339
d8b82cad
JM
24340 [BZ #13884]
24341 [BZ #13914]
24342 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24343 USE_AS_EXP10L.
24344 (EXPL_FINITE): Likewise.
24345 (FLDLOG): Likewise.
24346 (c0): Likewise.
24347 (c1): Likewise.
24348 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24349 Adjust comments for base varying.
24350 (__expl_finite): Change alias to EXPL_FINITE.
24351 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24352 e_expl.S.
24353 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24354 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24355 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24356 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24357 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24358 USE_AS_EXP10L.
24359 (EXPL_FINITE): Likewise.
24360 (FLDLOG): Likewise.
24361 (c0): Likewise.
24362 (c1): Likewise.
24363 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24364 Adjust comments for base varying.
24365 (__expl_finite): Change alias to EXPL_FINITE.
24366 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24367 tests for bugs.
24368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24369
6c23e11c
JM
24370 [BZ #14064]
24371 * math/libm-test.inc (check_float_internal): Correct ulp
24372 calculation for subnormal expected results.
24373
29ba805c
AJ
243742012-05-06 Andreas Jaeger <aj@suse.de>
24375
24376 * Makeconfig (+math-flags): New, set to -frounding-math.
24377 (+cflags): Add +math-flags so that all of glibc gets compiled with
24378 it.
24379
24380 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24381
7b17aeda
JM
243822012-05-05 Joseph Myers <joseph@codesourcery.com>
24383
5779f134
JM
24384 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24385 Disable one test.
24386
41498f4d
JM
24387 [BZ #13787]
24388 [BZ #13922]
24389 [BZ #14036]
24390 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24391 (__ieee754_expl): Allow for and saturate large arguments.
24392 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24393 (u_threshold): Likewise.
24394 (__exp): Call __ieee754_exp before checking for overflow and
24395 underflow.
24396 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24397 (u_threshold): Likewise.
24398 (__expf): Call __ieee754_expf before checking for overflow and
24399 underflow.
24400 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24401 (u_threshold): Likewise.
24402 (__expl): Call __ieee754_expl before checking for overflow and
24403 underflow.
24404 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24405 (__ieee754_expl): Allow for and saturate large arguments.
24406 * math/libm-test.inc (exp_test): Add another test. Do not allow
24407 missing overflow exception on overflow.
24408 (expm1_test): Do not allow missing overflow exception on overflow.
24409
6698b8bf
JM
24410 * sysdeps/i386/fpu/e_expl.c: Move to ...
24411 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24412 rather than using inline asm.
24413 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24414 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24415 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24416
7b17aeda
JM
24417 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24418 (nice): Likewise.
24419 (poll): Likewise.
24420 (signal): Likewise.
24421 (time): Likewise.
24422 (times): Likewise.
24423
f7c85819
JM
244242012-05-04 Joseph Myers <joseph@codesourcery.com>
24425
24426 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24427 sysdeps/unix/common/syscalls.list.
24428 (fchmod): Likewise.
24429 (fchown): Likewise.
24430 (ftruncate): Likewise.
24431 (getrusage): Likewise.
24432 (gettimeofday): Likewise.
24433 (setpgid): Likewise.
24434 (setregid): Likewise.
24435 (setreuid): Likewise.
24436 (sigaction): Likewise.
24437 (truncate): Likewise.
24438 (vhangup): Likewise.
24439 * sysdeps/unix/common/syscalls.list: Remove file.
24440 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24441 * sysdeps/unix/sysv/linux/Implies: Likewise.
24442
336270d0
L
244432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24444
24445 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24447 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24448 Moved to ...
24449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24450 Here.
24451 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24452 to ...
24453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24454 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24455 to ...
24456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24457 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24458 to ...
24459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24460 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24461 to ...
24462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24463 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24464 to ...
24465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24466 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24467 to ...
24468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24469 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24470 to ...
24471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24472 Here.
24473 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24474 to ...
24475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24476 Here.
24477 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24478 to ...
24479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24480 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24481 Moved to ...
24482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24483 Here.
24484 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24485 to ...
24486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24487
d128e450
JM
244882012-05-04 Joseph Myers <joseph@codesourcery.com>
24489
fa8ee516
JM
24490 * sysdeps/unix/common/bits/dirent.h: Remove file.
24491 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24492
d128e450
JM
24493 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24494 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24495 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24496 * sysdeps/unix/bsd/isatty.c: Likewise.
24497 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24498 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24499 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24500
ff8faaf0 245012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24502
62881be4 24503 [BZ #13563]
31dc8730
AZ
24504 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24505 long double comparison inaccuracies.
24506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24508
6fef930c
AS
245092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24510
24511 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24512 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24513
8f203e6c
JM
245142012-05-04 Joseph Myers <joseph@codesourcery.com>
24515
24516 [BZ #14049]
24517 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24518 nonzero digits before rounding a hex value.
24519 * stdlib/tst-strtod.c (tests): Add another test.
24520
5197d9c2
AK
245212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24522
24523 * sysdeps/s390/fpu/libm-test-ulps: Update.
24524
f0c1dedf
AJ
245252012-05-03 Andreas Jaeger <aj@suse.de>
24526
24527 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24528 does not get optimized out.
24529 (malloc_opt_barrier): New.
24530
a65ef2ae 245312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24532 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24533
2b942cb7 24534 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24535 intermediate file deletion.
2b942cb7 24536 (generated): Add .symlist files.
a65ef2ae 24537
54b71e02
JM
245382012-05-03 Joseph Myers <joseph@codesourcery.com>
24539
24540 [BZ #13775]
24541 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24542 Redirect under this condition.
24543 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24544 [__USE_GNU] (__dprintf_chk): Not under this condition.
24545 [__USE_GNU] (__vdprintf_chk): Likewise.
24546 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24547 under this condition.
24548 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24549 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24550 [__USE_XOPEN2K8] (vdprintf): Likewise.
24551 [__USE_GNU] (__dprintf_chk): Not under this condition.
24552 [__USE_GNU] (__vdprintf_chk): Likewise.
24553 [__USE_GNU] (dprintf): Likewise.
24554 [__USE_GNU] (vdprintf): Likewise.
24555
d3dfcc41
RM
245562012-05-03 Roland McGrath <roland@hack.frob.com>
24557
24558 * elf/Makefile (common-generated): Set this instead of generated for
24559 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24560 $(all-built-dso)-derived lists.
24561
7ac30cc5
AJ
245622012-05-03 Andreas Jaeger <aj@suse.de>
24563
0c51e550
AJ
24564 * sysdeps/i386/fpu/libm-test-ulps: Update.
24565
7ac30cc5
AJ
24566 * FAQ: Removed.
24567 * FAQ.in: Likewise.
24568 * scripts/gen-FAQ.pl: Likewise.
24569 * manual/install.texi (Installation): Point to online location of
24570 FAQ.
24571 * Makefile (files-for-dist): Remove FAQ.
24572 (FAQ): Remove.
24573
d4c2917f
AM
245742012-05-02 Allan McRae <allan@archlinux.org>
24575
24576 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24577 (LDFLAGS-reldepmod5.so): Likewise.
24578 (LDFLAGS-reldep6mod1.so): Likewise.
24579 (LDFLAGS-reldep6mod4.so): Likewise.
24580 (LDFLAGS-reldep8mod3.so): Likewise.
24581 (LDFLAGS-unload4mod1.so): Likewise.
24582 (LDFLAGS-unload4mod2.so): Likewise.
24583 (LDFLAGS-tst-initorder): Likewise.
24584 (LDFLAGS-tst-initordera2.so): Likewise.
24585 (LDFLAGS-tst-initordera3.so): Likewise.
24586 (LDFLAGS-tst-initordera4.so): Likewise.
24587 (LDFLAGS-tst-initorderb2.so): Likewise.
24588 (LDFLAGS-noload): Likewise.
24589 (LDFLAGS-next): Likewise.
24590 (LDFLAGS-order2mod1.so): Likewise.
24591 (LDFLAGS-order2mod2.so): Likewise.
24592 (LDFLAGS-tst-initorder2): Likewise.
24593 (LDFLAGS-tst-initorder2a.so): Likewise.
24594 (LDFLAGS-tst-initorder2b.so): Likewise.
24595 (LDFLAGS-tst-initorder2c.so): Likewise.
24596 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24597
d77f993f
DM
245982012-05-02 David S. Miller <davem@davemloft.net>
24599
24600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24601
171a70b4
PP
246022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24603
24604 [BZ #14055]
24605 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24606
0be196ad
AJ
246072012-05-02 Andreas Jaeger <aj@suse.de>
24608
24609 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24610 since we manipulate rounding mode.
24611 (CPPFLAGS-test-idouble.c): Likewise.
24612 (CPPFLAGS-test-ifloat.c): Likewise.
24613 (CFLAGS-test-ldouble.c): Likewise.
24614 (CFLAGS-test-double.c): Likewise.
24615 (CFLAGS-test-float.c): Likewise.
24616 (CFLAGS-test-misc.c): Likewise.
24617 (CFLAGS-test-test-fenv.c): Likewise.
24618
4f9d04aa
AZ
246192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24620
2b942cb7
RM
24621 [BZ #2550]
24622 [BZ #2570]
24623 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24624 comparisons to determine direction to adjust input.
4f9d04aa 24625
82a79e7d
RM
246262012-05-01 Roland McGrath <roland@hack.frob.com>
24627
f5a01ca9
RM
24628 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24629 output to the target.
24630
90fe4186
RM
24631 * scripts/localplt.awk: New file.
24632 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24633 (check-localplt-CFLAGS): Variable removed.
24634 ($(all-built-dso:=.jmprel)): New static pattern rule.
24635 (generated): Add those targets.
24636 (localplt-built-dso): New variable.
24637 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24638
24639 * elf/check-localplt.c: File removed.
24640
82397ed6
RM
24641 * scripts/check-execstack.awk: New file.
24642 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24643 (check-execstack-CFLAGS): Variable removed.
24644 ($(objpfx)check-execstack.h): Target removed.
24645 ($(objpfx)execstack-default): New target.
24646 (generated): Add that instead of check-execstack.h.
24647 ($(all-built-dso:=.phdr)): New static pattern rule.
24648 (generated): Add those targets.
24649 * elf/check-execstack.c: File removed.
24650
82a79e7d
RM
24651 * scripts/check-textrel.awk: New file.
24652 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24653 (check-textrel-CFLAGS): Variable removed.
24654 (all-built-dso): Use := to define.o
24655 ($(all-built-dso:=.dyn)): New static pattern rule.
24656 (generated): Add those targets.
24657 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24658 * config.make.in (READELF): New substituted variable.
24659 * elf/check-textrel.c: File removed.
24660
62fde54f 246612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24662
615605c9
JM
24663 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24664 allow.
24665 * conform/data/ctype.h-data [C99-based standards] (isblank):
24666 Expect function.
24667 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24668 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24670 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24671 Specify type. Require positive value.
24672 (EILSEQ): Likewise.
24673 (ERANGE): Likewise.
24674 [ISO || POSIX] (EILSEQ): Do not expect.
24675 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24676 Specify type. Require positive value.
24677 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24678 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24679 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24680 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24681 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24682 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24683 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24684 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24685 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24686 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24687 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24688 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24689 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24690 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24691 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24692 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24693 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24694 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24695 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24696 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24697 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24698 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24699 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24700 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24701 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24702 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24703 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24704 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24705 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24706 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24707 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24708 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24709 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24710 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24711 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24712 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24713 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24714 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24715 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24716 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24717 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24718 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24719 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24720 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24721 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24722 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24723 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24724 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24725 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24726 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24727 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24728 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24729 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24730 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24731 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24732 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24733 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24734 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24735 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24736 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24737 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24738 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24739 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24740 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24741 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24742 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24743 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24744 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24745 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24746 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24747 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24748 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24749 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24750 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24751 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24752 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24753 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24754 Require >= 2.
24755 (FLT_ROUNDS): Expect as macro, not constant.
24756 (FLT_MANT_DIG): Use macro-int-constant.
24757 (DBL_MANT_DIG): Likewise.
24758 (LDBL_MANT_DIG): Likewise.
24759 (FLT_DIG): Likewise.
24760 (DBL_DIG): Likewise.
24761 (LDBL_DIG): Likewise.
24762 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24763 (DBL_MIN_EXP): Likewise.
24764 (LDBL_MIN_EXP): Likewise.
24765 (FLT_MAX_EXP): Use macro-int-constant.
24766 (DBL_MAX_EXP): Likewise.
24767 (LDBL_MAX_EXP): Likewise.
24768 (FLT_MAX_10_EXP): Likewise.
24769 (DBL_MAX_10_EXP): Likewise.
24770 (LDBL_MAX_10_EXP): Likewise.
24771 (FLT_MAX): Use macro-constant.
24772 (DBL_MAX): Likewise.
24773 (LDBL_MAX): Likewise.
24774 (FLT_EPSILON): Use macro-constant. Give upper bound.
24775 (DBL_EPSILON): Likewise.
24776 (LDBL_EPSILON): Likewise.
24777 (FLT_MIN): Likewise.
24778 (DBL_MIN): Likewise.
24779 (LDBL_MIN): Likewise.
24780 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24781 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24782 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24783 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24784 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24785 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24786 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24787 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24788 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24789 [ISO11] (FLT_TRUE_MIN): Likewise.
24790 [ISO11] (LDBL_TRUE_MIN): Likewise.
24791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24792 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24793 (SCHAR_MIN): Use macro-int-constant. Specify type.
24794 (SCHAR_MAX): Likewise.
24795 (UCHAR_MAX): Likewise.
24796 (CHAR_MIN): Likewise.
24797 (CHAR_MAX): Likewise.
24798 (MB_LEN_MAX): Use macro-int-constant.
24799 (SHRT_MIN): Use macro-int-constant. Specify type.
24800 (SHRT_MAX): Likewise.
24801 (USHRT_MAX): Likewise.
24802 (INT_MAX): Likewise.
24803 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24804 bound negative.
24805 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24806 bound with "U".
24807 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24808 bound with "L".
24809 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24810 bound negative. Suffix upper bound with "L".
24811 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24812 bound with "UL".
24813 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24814 Specify type.
24815 [C99-based standards] (LLONG_MAX): Likewise.
24816 [C99-based standards] (ULLONG_MAX): Likewise.
24817 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24818 == 0.
24819 [ISO11] (max_align_t): Require type.
24820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24821
c9140a62
JM
24822 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24823 from $CFLAGS, without defining away __attribute__ calls.
24824 (checknamespace): Use $CFLAGS_namespace.
24825
9af0bf29
JM
24826 * conform/conformtest.pl (@keywords): Only include C99 keywords
24827 for standards based on C99 or C11.
24828
343222a2
JM
24829 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24830 Disable tests.
24831 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24832 UNIX98]: Likewise.
24833
661f8cf0
JM
24834 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24835 usability of symbols in #if.
24836
ee74b9cb
JM
24837 * conform/conformtest.pl: If macro or constant types start
24838 "promoted:", expect the symbol to be of the following type
24839 promoted by the integer promotions.
62fde54f 24840
aafc49b3
JM
24841 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24842 in one place. Also handle "macro-constant".
24843
fefdf574
JM
24844 * conform/conformtest.pl: Only accept expected macro values with
24845 "==". Parse all "macro" lines in one place.
24846 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24847
f2d922fe
JM
24848 * conform/conformtest.pl: Handle braced types on "constant" lines
24849 instead of handling "typed-constant".
24850 * conform/data/signal.h-data: Use "constant" instead of
24851 "typed-constant".
24852
d22956c9
JM
24853 * conform/conformtest.pl: Handle "optional-" at start of lines in
24854 one place rather than duplicating several cases. Handle each
24855 format of "macro" line with initial "optional-".
24856
028e2e38
JM
24857 * conform/conformtest.pl: Only accept expected constant or
24858 optional-constant values with "==". Parse all "constant" lines in
24859 one place. Parse all "optional-constant" lines in one place.
24860 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24861 * conform/data/fmtmsg.h-data: Likewise.
24862 * conform/data/netinet/in.h-data: Likewise.
24863 * conform/data/tar.h-data: Likewise.
24864 * conform/data/limits.h-data: Use "==" form on "constant" and
24865 "optional-constant" lines.
24866
1b8f2850
JM
24867 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24868 Use -std=c99 for XOPEN2K.
24869 (@knownproblems): Remove.
24870 (newtoken): Don't check %isknown.
24871
a05a144b
JM
24872 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24873 Do not expect macro.
24874 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24875 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24876 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24877 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24878 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24879 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24880 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24881 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24882 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24883 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24884 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24885 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24886 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24887 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24888 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24889 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24890 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24891 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24892 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24893 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24894 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24895 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24896 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24897 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24898 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24899 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24900 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24901 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24902 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24903 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24904 [XPG3] (acosh): Likewise.
24905 [XPG3] (asinh): Likewise.
24906 [XPG3] (atanh): Likewise.
24907 [XPG3] (cbrt): Likewise.
24908 [XPG3] (expm1): Likewise.
24909 [XPG3] (ilogb): Likewise.
24910 [XPG3] (log1p): Likewise.
24911 [XPG3] (logb): Likewise.
24912 [XPG3] (nextafter): Likewise.
24913 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24914 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24915 [XPG3] (remainder): Likewise.
24916 [XPG3] (rint): Likewise.
24917 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24918 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24919 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24920 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24921 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24922 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24923 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24924 [UNIX98 || XOPEN2K] (scalb): Expect.
24925 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24926 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24927 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24928 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24929 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24930 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24931 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24932 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24933 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24934 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24935 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24936 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24937 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24938 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24939 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24940 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24941 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24942 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24943 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24944 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24945 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24946 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24947 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24948 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24949 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24950 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24951 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24952 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24953 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24954 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24955 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24956 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24957 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24958 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24959 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24960 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24961 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24962 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24963 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24964 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24965 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24966 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24967 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24968 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24969 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24970 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24971 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24972 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24973 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24974 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24975 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24976 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24977 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24978 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24979 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24980 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24981 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24982 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24983 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24984 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24985 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24986 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24987 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24988 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24989 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24990 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24991 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24992 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24993 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24994 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24995 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24996 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24997 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24998 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24999 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25000 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25001 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25002 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25003 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25004 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25005 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25006 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25007 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25008 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25009 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25010 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25011 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25012 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25013 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25014 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25015 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25016 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25017 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25018 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25019 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25020 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25021 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25022 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25023 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25024 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25025 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25026 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25027 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25028 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25029 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25030 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25031 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25032 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25033 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25034 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25035 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25036 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25037 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25038 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25039 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25040 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25041 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25042 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25043 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25044 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25045 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25046 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25047 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25048 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25049 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25050 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25051 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25052 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25053 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25054 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25055 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25056 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25057 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25058 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25059 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25060 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25061 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25062
73c5ebe3
JM
25063 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25064 _XOPEN_SOURCE_EXTENDED for XPG4.
25065
39c33b6c
JM
25066 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25067
62fde54f
JM
25068 * Makeconfig (localtime): Remove variable.
25069 (inst_localtime-file): Likewise.
25070
0741d64c
AS
250712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25072
25073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25074 Update.
25075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25076 Update.
25077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25078 Update.
25079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25080 Update.
25081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25082 Update.
25083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25084 Update.
25085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25086 Update.
25087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25088 Update.
25089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25090 Update.
25091
7cb029ee
JM
250922012-05-01 Joseph Myers <joseph@codesourcery.com>
25093
25094 [BZ #2550]
25095 [BZ #2570]
25096 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25097 comparisons to determine direction to adjust input.
25098 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25099 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25100 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25101 Likewise.
25102 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25103 Likewise.
25104 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25105 Likewise.
25106 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25107 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25108 Likewise.
25109 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25110 Likewise.
25111 * math/libm-test.inc (nexttoward_test): Add more tests.
25112
412bd966
AS
251132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25114
25115 [BZ #14040]
25116 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25117 in version GLIBC_2.1, not GLIBC_2.0.
25118 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25119 Likewise.
25120
9568c0c2
JM
251212012-04-30 Joseph Myers <joseph@codesourcery.com>
25122
adfbc8ac
JM
25123 [BZ #13942]
25124 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25125 (1 - x) * (1 + x).
25126 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25127 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25128 * math/libm-test.inc (acos_test): Add more tests.
25129 (asin_test): Likewise.
25130 * sysdeps/i386/fpu/libm-test-ulps: Update.
25131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25132
5ba3cc69
JM
25133 [BZ #14034]
25134 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25135 of square root.
25136 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25137 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25138 * math/libm-test.inc (acos_test_tonearest): New function.
25139 (acos_test_towardzero): Likewise.
25140 (acos_test_downward): Likewise.
25141 (acos_test_upward): Likewise.
25142 (asin_test_tonearest): Likewise.
25143 (asin_test_towardzero): Likewise.
25144 (asin_test_downward): Likewise.
25145 (asin_test_upward): Likewise.
25146 (main): Call the new functions.
25147 * sysdeps/i386/fpu/libm-test-ulps: Update.
25148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25149
9568c0c2
JM
25150 [BZ #13884]
25151 [BZ #13924]
25152 * math/e_exp10.c: Include <float.h>.
25153 (__ieee754_exp10): Handle underflow here rather than multiplying
25154 large negative argument by M_LN10.
25155 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25156 of __ieee754_expf.
25157 * math/e_exp10l.c: Include <float.h>.
25158 (__ieee754_exp10l): Handle underflow here rather than multiplying
25159 large negative argument by M_LN10l.
25160 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25161 spurious overflow exception on underflow.
25162
5ac3ea17
MP
251632012-04-29 Marek Polacek <polacek@redhat.com>
25164
25165 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25166 (__fortify_function): New macro.
25167 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25168 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25169 __extern_always_inline.
25170 * libio/bits/stdio2.h: Likewise.
25171 * libio/bits/stdio.h: Likewise.
25172 * string/string.h: Likewise.
25173 * string/bits/string3.h: Likewise.
25174 * include/stdio.h: Likewise.
25175 * stdlib/bits/stdlib.h: Likewise.
25176 * stdlib/stdlib.h: Likewise.
25177 * rt/bits/mqueue2.h: Likewise.
25178 * rt/mqueue.h: Likewise.
25179 * posix/bits/unistd.h: Likewise.
25180 * posix/unistd.h: Likewise.
25181 * io/bits/poll2.h: Likewise.
25182 * io/bits/fcntl2.h: Likewise.
25183 * io/fcntl.h: Likewise.
25184 * io/sys/poll.h: Likewise.
25185 * misc/bits/syslog.h: Likewise.
25186 * misc/bits/syslog-ldbl.h: Likewise.
25187 * misc/sys/syslog.h: Likewise.
25188 * socket/bits/socket2.h: Likewise.
25189 * socket/sys/socket.h: Likewise.
25190 * debug/tst-chk1.c: Likewise.
25191 * wcsmbs/bits/wchar2.h: Likewise.
25192 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25193 * wcsmbs/wchar.h: Likewise.
25194
ecf0ebfb
AJ
251952012-04-29 Andreas Jaeger <aj@suse.de>
25196
25197 * Makerules (tests): Remove enable-check-abi protection.
25198 (check-abi-warn): Remove.
25199 (check-abi-%): Remove check-abi-warn usage.
25200
25201 * configure.in: Remove check-abi configure option.
25202 * configure: Regenerated.
25203 * config.make.in (enable-check-abi): Remove.
25204
6d5c57fa
AS
252052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25206
24c5d07e 25207 [BZ #14033]
ded5180a
AS
25208 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25209 double functions to double *_finite functions.
25210
7e0d315d
AS
25211 [BZ #13941]
25212 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25213 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25214 LDBL_MIN_EXP.
25215 * stdio-common/Makefile (tests): Add tst-sprintf3.
25216 * stdio-common/tst-sprintf3.c: New file.
25217
6d5c57fa
AS
25218 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25219 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25220
0749ff8b
JM
252212012-04-28 Joseph Myers <joseph@codesourcery.com>
25222
25223 * conform/conformtest.pl: Remove duplicate typed-constant
25224 handling.
25225
8dbd5d7b
DM
252262012-04-28 David S. Miller <davem@davemloft.net>
25227
25228 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25229 (check-abi-%): Remove AWK script prerequisite and explicit
25230 abilist directory.
25231 (check-abi): Rewrite to just diff the symlist with the abilist.
25232 (config-tls, config-abi-config): Delete, no longer used.
25233 (update-abi-%): Remove AWK script and explicit abilist directory.
25234 (update-abi): Rewrite to simply compare and conditionally copy the
25235 symlist and the sysdep abilist file. Remove update-abi-config
25236 checks.
25237 * abilist/ld.abilist: Remove.
25238 * abilist/libBrokenLocale.abilist: Remove.
25239 * abilist/libanl.abilist: Remove.
25240 * abilist/libcrypt.abilist: Remove.
25241 * abilist/libdl.abilist: Remove.
25242 * abilist/librt.abilist: Remove.
25243 * abilist/libthread_db.abilist: Remove.
25244 * abilist/libutil.abilist: Remove.
25245 * scripts/extract-abilist.awk: Remove.
25246 * scripts/merge-abilist.awk: Remove.
25247 * sysdeps/generic/libcidn.abilist: New file.
25248 * sysdeps/generic/libnss_compat.abilist: New file.
25249 * sysdeps/generic/libnss_db.abilist: New file.
25250 * sysdeps/generic/libnss_dns.abilist: New file.
25251 * sysdeps/generic/libnss_files.abilist: New file.
25252 * sysdeps/generic/libnss_hesiod.abilist: New file.
25253 * sysdeps/generic/libnss_nis.abilist: New file.
25254 * sysdeps/generic/libnss_nisplus.abilist: New file.
25255 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25256 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25257 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25258 file.
25259 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25260 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25261 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25262 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25263 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25264 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25265 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25266 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25267 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25268 file.
25269 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25270 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25271 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25272 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25273 file.
25274 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25275 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25276 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25277 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25278 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25279 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25280 file.
25281 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25282 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25283 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25284 file.
25285 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25287 New file.
25288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25289 New file.
25290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25291 New file.
25292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25293 New file.
25294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25295 New file.
25296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25297 New file.
25298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25299 New file.
25300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25301 New file.
25302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25303 New file.
25304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25305 New file.
25306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25307 New file.
25308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25309 New file.
25310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25311 New file.
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25313 file.
25314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25315 New file.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25317 New file.
25318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25319 file.
25320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25321 New file.
25322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25323 New file.
25324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25325 file.
25326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25327 New file.
25328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25329 New file.
25330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25331 New file.
25332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25333 New file.
25334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25335 New file.
25336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25337 New file.
25338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25340 file.
25341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25342 New file.
25343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25344 file.
25345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25346 file.
25347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25348 file.
25349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25350 file.
25351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25352 file.
25353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25354 New file.
25355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25356 file.
25357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25358 file.
25359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25360 New file.
25361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25362 file.
25363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25365 file.
25366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25367 New file.
25368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25369 file.
25370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25371 file.
25372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25373 file.
25374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25375 file.
25376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25377 file.
25378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25379 New file.
25380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25381 file.
25382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25383 file.
25384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25385 New file.
25386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25387 file.
25388 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25389 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25390 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25391 file.
25392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25393 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25394 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25395 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25396 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25397 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25398 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25399 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25400 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25401 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25404 file.
25405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25406 New file.
25407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25408 file.
25409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25410 file.
25411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25412 file.
25413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25414 file.
25415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25416 file.
25417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25418 New file.
25419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25420 New file.
25421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25422 file.
25423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25424 New file.
25425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25426 file.
25427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25429 file.
25430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25431 New file.
25432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25433 file.
25434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25435 file.
25436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25437 file.
25438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25439 file.
25440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25441 file.
25442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25443 New file.
25444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25445 New file.
25446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25447 file.
25448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25449 New file.
25450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25451 file.
25452
41d73a1b
JM
254532012-04-28 Joseph Myers <joseph@codesourcery.com>
25454
25455 * conform/conformtest.pl: Fix typo in handling typed-constant from
25456 allow-header.
25457
28aeeda4
JM
254582012-04-27 Joseph Myers <joseph@codesourcery.com>
25459
adae8f5e
JM
25460 * README: Cut down references to pre-2.6 Linux kernels and
25461 Linuxthreads. Update lists of configurations in libc and ports
25462 and sort alphabetically. Say "or newer" with Linux kernel version
25463 requirements.
25464
28aeeda4
JM
25465 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25466
a462cb63
RA
254672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25468
25469 [BZ #887]
25470 * math/libm-test.inc (logb_test_downward): New test to expose
25471 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25472 rounding mode.
25473
6ad3493e
JM
254742012-04-27 Joseph Myers <joseph@codesourcery.com>
25475
25476 [BZ #14027]
25477 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25478 to be done.
25479 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25480 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25481
2ce4f015
JM
254822012-04-26 Joseph Myers <joseph@codesourcery.com>
25483
5aeb141a
JM
25484 * sysdeps/unix/i386/brk.S: Remove file.
25485 * sysdeps/unix/i386/dl-brk.S: Likewise.
25486 * sysdeps/unix/i386/pipe.S: Likewise.
25487 * sysdeps/unix/i386/sigreturn.S: Likewise.
25488 * sysdeps/unix/i386/syscall.S: Likewise.
25489 * sysdeps/unix/i386/vfork.S: Likewise.
25490 * sysdeps/unix/i386/wait.S: Likewise.
25491
7143acae
JM
25492 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25493 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25494
2ce4f015
JM
25495 * configure.in (arm*-none*): Do not allow without
25496 --enable-hacker-mode.
25497 (netbsd*): Remove case setting base_os.
25498 (386bsd*): Likewise.
25499 (freebsd*): Likewise.
25500 (bsdi*): Likewise.
25501 (osf*): Likewise.
25502 (sunos*): Likewise.
25503 (ultrix*): Likewise.
25504 (newsos*): Likewise.
25505 (dynix*): Likewise.
25506 (*bsd*): Likewise.
25507 (sysv*): Likewise.
25508 (isc*): Likewise.
25509 (esix*): Likewise.
25510 (sco*): Likewise.
25511 (minix*): Likewise.
25512 (irix4*): Likewise.
25513 (irix6*): Likewise.
25514 (solaris[2-9]*): Likewise.
25515 (none): Likewise.
25516 * configure: Regenerated.
25517
0ac229c8
AZ
255182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25519
25520 [BZ #11521]
25521 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25522 overflow or cancellation in calculating denominator.
25523 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25524 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25525 down expression to avoid unexpected rounding in newer GCCs.
25526 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25527
33f244f4
DM
255282012-04-26 David S. Miller <davem@davemloft.net>
25529
25530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25531 long-double compat symbols.
25532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25545
cfa1f3e8
DM
255462012-04-25 David S. Miller <davem@davemloft.net>
25547
25548 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25549 HWCAP_* values only after the memory barriers have been defined.
25550 (atomic_full_barrier): Define.
25551 (atomic_read_barrier): Define.
25552 (atomic_write_barrier): Define.
25553
6e236b92
SP
255542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25555
25556 * shlib-versions: Add libgcc_s version information.
25557 * sysdeps/generic/libgcc_s.h: Remove.
25558 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25559 libgcc_s.h.
25560 * sysdeps/gnu/unwind-resume.c: Likewise.
25561 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25562
aab39a09
DM
255632012-04-25 David S. Miller <davem@davemloft.net>
25564
25565 * sysdeps/unix/sparc/brk.S: Delete.
25566 * sysdeps/unix/sparc/dl-brk.S: Delete.
25567 * sysdeps/unix/sparc/pipe.S: Delete.
25568 * sysdeps/unix/sparc/sysdep.S: Delete.
25569 * sysdeps/unix/sparc/sysdep.h: Delete.
25570 * sysdeps/unix/sparc/vfork.S: Delete.
25571 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25572 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25573 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25574 ret_ERRVAL, r0, r1, MOVE): Define.
25575 (JUMPTARGET): Remove.
25576 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25577 sysdeps/unix/sparc/sysdep.h
25578 (ENTRY, END): Remove.
25579 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25580
a3cc4f48
JM
255812012-04-25 Joseph Myers <joseph@codesourcery.com>
25582
2ed8cda2
JM
25583 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25584 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25585 -DIS_IN_build.
25586
35d76d59
JM
25587 * timezone/README: Update upstream location and email address for
25588 tzcode and tzdata.
25589 * timezone/zdump.c: Update from tzcode 2012b.
25590 * timezone/zic.c: Likewise.
25591
a3cc4f48
JM
25592 * configure.in (libc_cv_as_needed): Remove test.
25593 * configure: Regenerated.
25594 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25595 conditional definition.
25596 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25597 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25598 * config.make.in (have-as-needed): Remove variable.
25599
ceab42c3
SP
256002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25601 Paul Pluzhnikov <ppluzhnikov@google.com>
25602
25603 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25604 strings correctly.
25605
3ce2865f
CLT
256062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25607
25608 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25609 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25610 * sysdeps/sh/strlen.S: Likewise.
25611
f37e0d68
JM
256122012-04-24 Joseph Myers <joseph@codesourcery.com>
25613
ae186e9a
JM
25614 * sysdeps/unix/fork.S: Remove file.
25615 * sysdeps/unix/i386/fork.S: Likewise.
25616 * sysdeps/unix/sparc/fork.S: Likewise.
25617
b96914af
JM
25618 * sysdeps/unix/system.c: Remove file.
25619 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25620
f37e0d68
JM
25621 * sysdeps/unix/getegid.S: Remove file.
25622 * sysdeps/unix/geteuid.S: Likewise.
25623
87ef29ca
RM
256242012-04-24 Roland McGrath <roland@hack.frob.com>
25625
83bcd236
RM
25626 * scripts/check-localplt.awk: New file.
25627 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25628 of diff.
25629 * scripts/data/localplt-generic.data: Add a comment.
25630
87ef29ca
RM
25631 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25632 NODE when __dir_mkfile failed.
25633 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25634 Reported by Ludovic Courtès <ludo@gnu.org>.
25635
e5a6e567
AJ
256362012-04-24 Andreas Jaeger <aj@suse.de>
25637
25638 * Makerules (common-clean): Also remove gen-as-const-headers
25639 files.
25640
c1820385
JM
256412012-04-24 Joseph Myers <joseph@codesourcery.com>
25642
25643 * Makerules (native-compile): Do not change working directory for
25644 build. Use $(OUTPUT_OPTION) in command.
25645 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25646
94e02fc4
AZ
256472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25648
25649 [BZ #13886]
25650 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25651 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25652 * math/libm-test.inc (floor_test): Add more tests.
25653 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25654
3a533ca3
JM
256552012-04-24 Joseph Myers <joseph@codesourcery.com>
25656
940ab4b3
JM
25657 * sysdeps/unix/getdents.c: Remove file.
25658 * sysdeps/unix/sysv/getdents.c: Likewise.
25659 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25660
90e037bd
JM
25661 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25662 sysdeps/unix/mman/syscalls.list.
25663 (mmap): Likewise.
25664 (mprotect): Likewise.
25665 (msync): Likewise.
25666 (munmap): Likewise.
25667 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25668 * sysdeps/unix/mman/syscalls.list: Remove.
25669 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25670
3a533ca3
JM
25671 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25672 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25673 * configure: Regenerated.
25674 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25675 $(libgcc_s_suffix).
25676 * config.make.in (libgcc_s_suffix): Remove variable.
25677
1ad743de
JM
256782012-04-23 Joseph Myers <joseph@codesourcery.com>
25679
4ad451e2
JM
25680 * sysdeps/unix/sysv/gethostname.c: Move to ...
25681 * sysdeps/posix/gethostname.c: ... here.
25682
5e37ce39
JM
25683 * sysdeps/unix/execve.S: Remove file.
25684
1ad743de
JM
25685 * sysdeps/unix/_exit.S: Remove file.
25686
4e681b5b
AJ
256872012-04-23 Andreas Jaeger <aj@suse.de>
25688
25689 [BZ #13739]
25690 * manual/Makefile: Remove make dist support, there's no
25691 need for a stand-alone documentation tar ball.
25692 (TEXI2DVI): Define always, it's not in Makeconfig.
25693 (dist): Removed.
25694 (tar-it): Removed.
25695 (edition): Removed.
25696 (glibc-doc-$(edition).tar): Removed
25697 (%.Z): Removed.
25698 (%.gz): Removed.
25699 (%.uu): Removed.
25700 (ETAGS): Remove, it's in Makeconfig.
25701 (move-if-change): Remove, it's in Makeconfig.
25702
38686a03 257032012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25704
25705 [BZ #13970]
25706 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25707 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25708 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25709 (strtod_l, strtof_l, strtold_l): Remove __wur.
25710 It is not necessarily an error to ignore strtol's return value.
25711 One can reliably look at the stored endptr to decide whether
25712 the number had valid syntax.
25713
7c0616fa
AJ
257142012-04-21 Andreas Jaeger <aj@suse.de>
25715
803cb6b7 25716 [BZ #13739]
7c0616fa
AJ
25717 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25718
b0fe253f
JM
257192012-04-21 Joseph Myers <joseph@codesourcery.com>
25720
25721 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25722 * sysdeps/unix/sysv/Versions: Remove file.
25723
8280f22d
MT
257242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25725
25726 [BZ #13927]
25727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25728
75ce411f 257292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25730
25731 [BZ #7064]
25732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25733 version from __vm86.
25734
097d59fa
JM
257352012-04-20 Joseph Myers <joseph@codesourcery.com>
25736
a90f3bcb
JM
25737 * sysdeps/unix/common/lxstat.c: Remove file.
25738 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25739
edc7ea78
JM
25740 * sysdeps/unix/sysv/Makefile: Remove file.
25741
cb78c221
JM
25742 * sysdeps/unix/sysv/direct.h: Remove file.
25743
efa6a45f
JM
25744 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25745 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25746 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25747 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25748 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25749 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25750 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25751
9c9f2d0c
JM
25752 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25753
4541c83b
JM
25754 * sysdeps/unix/xmknod.c: Remove file.
25755 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25756
f5d153a0
JM
25757 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25758
aa746595
JM
25759 * sysdeps/unix/sysv/i386/time.S: Remove file.
25760
cce5905e
JM
25761 * sysdeps/unix/fxstat.c: Remove file.
25762 * sysdeps/unix/xstat.c: Likewise.
25763 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25764
37fa3841
JM
25765 * sysdeps/unix/sysv/sigaction.c: Remove file.
25766
ff1962a3
JM
25767 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25768 (sysdep_headers): Remove variable.
25769 [termio.h not in sysdep_headers] (generated): Likewise.
25770 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25771 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25772 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25773 * sysdeps/unix/sysv/tcflow.c: Likewise.
25774 * sysdeps/unix/sysv/tcflush.c: Likewise.
25775 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25776 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25777 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25778 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25779 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25780
e7740d31
JM
25781 * sysdeps/unix/siglist.c: Remove file.
25782
ee06f18b
JM
25783 * sysdeps/unix/getppid.S: Remove file.
25784
097d59fa
JM
25785 * sysdeps/unix/mkdir.c: Remove file.
25786 * sysdeps/unix/rmdir.c: Likewise.
25787
ff3d51ec
AS
257882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25789
25790 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25791 ERR_MAX value.
25792 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25793 errlist-compat value.
25794
50f81fd7
DM
257952012-04-18 David S. Miller <davem@davemloft.net>
25796
25797 * sysdeps/generic/memcopy.h (reg_char): Delete.
25798 * debug/strcat_chk.c: Use char, not reg_char.
25799 * debug/strcpy_chk.c: Likewise.
25800 * debug/strncat_chk.c: Likewise.
25801 * debug/strncpy_chk.c: Likewise.
25802 * string/memchr.c: Likewise.
25803 * string/memrchr.c: Likewise.
25804 * string/rawmemchr.c: Likewise.
25805 * string/strcat.c: Likewise.
25806 * string/strchr.c: Likewise.
25807 * string/strchrnul.c: Likewise.
25808 * string/strcmp.c: Likewise.
25809 * string/strcpy.c: Likewise.
25810 * string/strncat.c: Likewise.
25811 * string/strncmp.c: Likewise.
25812 * string/strncpy.c: Likewise.
25813
8ff41c46
WS
258142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25815
25816 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25817 __builtin_memcopy is called when src and dest ranges are known to not
25818 overlap.
25819
6b652f46
WS
258202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25821
25822 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25823 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25824 fwd_align_merge macro call.
25825 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25826 bwd_align_merge macro call.
25827 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25828
b282631e
WS
258292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25830
25831 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25832 bwd_align_merge macros.
25833 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25834 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25835 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25836
95aa737c
DM
258372012-04-18 David S. Miller <davem@davemloft.net>
25838
25839 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25840
7a99a614
AJ
258412012-04-18 Andreas Jaeger <aj@suse.de>
25842
25843 [BZ# 6794]
25844 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25845 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25846 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25847
25848 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25849 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25850 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25851
25852 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25853 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25854 Adjust for changed ldbl-128 files.
25855
25856 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25857 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25858 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25859
e5270c23
DM
258602012-04-17 David S. Miller <davem@davemloft.net>
25861
25862 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25863
fb5e92c9
AS
258642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25865
25866 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25867 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25868 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25869 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25870 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25871 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25872
76da7265
AZ
258732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25874
25875 [BZ #6794]
25876 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25877 * math/libm-test.inc: Add ilogb errno and exception tests.
25878 * math/w_ilogb.c: New file: ilogb wrapper.
25879 * math/w_ilogbf.c: New file: ilogbf wrapper.
25880 * math/w_ilogbl.c: New file: ilogbl wrapper.
25881 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25882 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25883 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25884 exception being thrown with 0.0 as argument.
25885 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25886 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25887 exception being thrown with 0.0 as argument.
25888 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25889 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25890 exception being thrown with 0.0 as argument.
25891 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25892 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25893 exception being thrown with 0.0 as argument.
25894 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25895 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25896 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25897 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25898 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25899 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25900 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25901 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25902 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25903
0396e69d
PB
259042012-04-17 Petr Baudis <pasky@ucw.cz>
25905
25906 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25907 with altivec.
25908
750b5926
MP
259092012-04-16 Marek Polacek <polacek@redhat.com>
25910
25911 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25912
751728a1
MP
259132012-04-16 Marek Polacek <polacek@redhat.com>
25914
25915 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25916 operands of fdivp instruction.
25917
34a27407
L
259182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25919
25920 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25921 * elf/tst-auditmod3b.c: Likewise.
25922 * elf/tst-auditmod4b.c: Likewise.
25923 * elf/tst-auditmod5b.c: Likewise.
25924 * elf/tst-auditmod6b.c: Likewise.
25925 * elf/tst-auditmod6c.c: Likewise.
25926 * elf/tst-auditmod7b.c: Likewise.
25927 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25928 * sysdeps/x86_64/preconfigure.in: Likewise.
25929 * sysdeps/x86_64/preconfigure: Regenerated.
25930
7e73e17d
L
259312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25932
25933 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25934 __ILP32__.
25935
c7a6ab72
AB
259362012-04-13 Antoine Balestrat <merkil33@gmail.com>
25937
25938 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25939 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25940
a9e8e0e0
CL
259412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25942
25943 [BZ #13973]
25944 * locale/iso-639.def: Fix gl language name. Spotted by
25945 Yaron Shahrabani.
25946
ec98af7d
RM
259472012-04-12 Roland McGrath <roland@hack.frob.com>
25948
25949 [BZ #2074]
25950 * libio/libio.h (__io_write_fn): Update comment.
25951
247c3ede
PB
259522012-04-12 Petr Baudis <pasky@ucw.cz>
25953
25954 [BZ #2074]
25955 * stdio.texi (Hook Functions): The user provided writer function
25956 is not allowed to return -1.
25957
55939d6d
DM
259582012-04-11 David S. Miller <davem@davemloft.net>
25959
25960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25961
90020f5a
MF
259622012-04-11 Mike Frysinger <vapier@gentoo.org>
25963
25964 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25965 Add a leading slash to rtkaio.
25966
288f9098
JM
259672012-04-11 Jim Meyering <meyering@redhat.com>
25968
90020f5a
MF
25969 [BZ #11959]
25970 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25971 It is not necessarily an error to ignore fwrite's return
25972 value. One can reliably use ferror to test for errors after
25973 the fact.
288f9098 25974
4be2b570
L
259752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25976
25977 * bits/types.h (__snseconds_t): New type.
25978 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25979
25980 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25981 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25982 (__SNSECONDS_T_TYPE): Likewise.
25983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25984 (__SNSECONDS_T_TYPE): Likewise.
25985 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25986 (__SNSECONDS_T_TYPE): Likewise.
25987
288f9098 259882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25989
25990 [BZ #2636]
25991 * manual/time.texi (Processor Time): Return type of times is
25992 elapsed real time since an arbitrary point in the past.
25993 (CPU Time): Move CLK_TCK from here...
25994 (Processor Time): ...to here. Correct description.
25995 * manual/conf.texi (Constants for Sysconf): Correct description of
25996 _SC_CLK_TCK.
25997
d7dd4413
DM
259982012-04-10 David S. Miller <davem@davemloft.net>
25999
26000 [BZ #13967]
26001 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26002 where the is a gap between DT_REL(A) and DT_JMPREL.
26003
b46068fc
L
260042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26005
26006 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26007 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26008 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26009
73d65cc3
SP
260102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26011
26012 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26013 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26014 (dl_main): Handle --inhibit-cache.
26015 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26016 _dl_inhibit_cache.
26017 * elf/dl-load.c (_dl_map_object): Use it.
26018 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26019
bcc8d661
JM
260202012-04-09 Joseph Myers <joseph@codesourcery.com>
26021
8f9a2fae
JM
26022 [BZ #13872]
26023 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26024 (__ieee754_powl): Saturate large exponents rather than testing for
26025 overflow of y*log2(x).
26026 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26027 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26028 exceptions.
26029
bcc8d661
JM
26030 [BZ #11521]
26031 * math/s_ctan.c: Include <float.h>.
26032 (__ctan): Avoid internal overflow or cancellation in calculating
26033 denominator.
26034 * math/s_ctanf.c: Likewise.
26035 * math/s_ctanl.c: Likewise.
26036 * math/s_ctanh.c: Likewise.
26037 * math/s_ctanhf.c: Likewise.
26038 * math/s_ctanhl.c: Likewise.
26039 * math/libm-test.inc (ctan_test): Add more tests.
26040 (ctanh_test): Likewise.
26041 * sysdeps/i386/fpu/libm-test-ulps: Update.
26042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26043
823fbbb4
AJ
260442012-04-09 Andreas Jaeger <aj@suse.de>
26045
03879793
AJ
26046 [BZ #6894]
26047 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26048 is an optional BSD extension.
26049
823fbbb4
AJ
26050 [BZ #10254]
26051 * manual/stdio.texi (Opening Streams): Document additional fopen
26052 parameters.
26053
8de131cb
RM
260542012-04-09 Roland McGrath <roland@hack.frob.com>
26055
26056 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26057 %eax without telling the compiler.
26058
c0ed9d7d
CD
260592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26060
26061 [BZ # 13963]
26062 * manual/install.texi: Use sourceware.org.
26063
c483f6b4
JM
260642012-04-09 Joseph Myers <joseph@codesourcery.com>
26065
d7dd9453
JM
26066 [BZ #13873]
26067 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26068 (__ieee754_pow): Generate overflow and underflow using huge*huge
26069 and tiny*tiny rather than just returning constant infinity or zero
26070 for large exponents.
26071 * math/libm-test.inc (pow_test): Require overflow exceptions for
26072 applicable cases of large exponents.
26073
c483f6b4
JM
26074 [BZ #706]
26075 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26076 (__ieee754_pow): Use iterative multiplication algorithm only for
26077 integer exponents with absolute value below 1024. Check for odd
26078 integer exponents when using algorithm for real exponents.
26079 * math/libm-test.inc (pow_test): Add more tests.
26080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26081
d2de7579
JM
260822012-04-08 Joseph Myers <joseph@codesourcery.com>
26083
26084 [BZ #13705]
26085 * math/libm-test.inc (exp_test): Do not allow overflow exception
26086 on underflow test.
26087
f77f1232
AJ
260882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26089
26090 [BZ #13705]
26091 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26092 instead of __kernel_standard_f.
26093
3884932b
MF
260942012-04-08 Mike Frysinger <vapier@gentoo.org>
26095
26096 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26097 * sysdeps/x86_64/memset_chk.S: Likewise.
26098
54472e9c
AJ
260992012-04-08 Andreas Jaeger <aj@suse.de>
26100
6ab0fbfc
AJ
26101 [BZ #10153]
26102 * manual/startup.texi (Environment Access): Describe return value
26103 for putenv and setenv.
26104
61efba8c
AJ
26105 [BZ #6895]
26106 * manual/filesys.texi (Directory Entries): Add description for
26107 DT_LNK.
26108
95c3f29a
AJ
26109 [BZ #6890]
26110 * manual/filesys.texi (Directory Entries): Clarify that it's file
26111 system not operating system in the description of DT_UNKNOWN.
26112
54472e9c
AJ
26113 [BZ #6578]
26114 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26115
624254b1
SC
261162012-04-08 Stephen Compall <s11@member.fsf.org>
26117
26118 [BZ #6649]
26119 * manual/llio.texi (Opening and Closing Files): Add cross
26120 reference to explain mode argument.
26121
1e4920e0
MF
261222012-04-07 Mike Frysinger <vapier@gentoo.org>
26123
26124 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26125 * sysdeps/x86_64/memset_chk.S: Likewise.
26126
5ed848f3
DM
261272012-04-07 David S. Miller <davem@davemloft.net>
26128
26129 * elf/elf.h (R_SPARC_WDISP10): Define.
26130 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26131 R_SPARC_SIZE32.
26132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26133 R_SPARC_SIZE64 and R_SPARC_H34.
26134
96154cd8
CD
261352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26136
26137 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26138 conditions and remove no longer applicable assertion.
26139
9904dc47
L
261402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26141
26142 * bits/byteswap.h: Include <features.h>.
26143 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26144 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26145
f8887d0a
L
261462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26147
26148 * bits/byteswap.h (__bswap_16): Removed.
26149 Include <bits/byteswap-16.h> to get __bswap_16.
26150 * sysdeps/i386/bits/byteswap.h: Likewise.
26151 * sysdeps/s390/bits/byteswap.h: Likewise.
26152 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26153 * bits/byteswap-16.h: New file.
26154 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26155 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26156 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26157 * string/Makefile (headers): Add bits/byteswap-16.h.
26158
62470f60
PP
261592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26160
26161 [BZ #13895]
26162 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26163 extra indirection.
26164 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26165 * nss/tst-nss-static.c: New.
26166
4dad7bab
RM
261672012-04-06 Robert Millan <rmh@gnu.org>
26168
26169 [BZ #6486]
26170 * manual/llio.texi (File Position Primitive): lseek
26171 refers to WHENCE when it really means OFFSET.
26172
e9142a17
AJ
261732012-04-06 Andreas Jaeger <aj@suse.de>
26174
2c040eff
AJ
26175 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26176 strncmp declarations.
26177
e9142a17
AJ
26178 * abilist/libc.abilist: Add __poll and __ppoll.
26179
ff9f1c5f
DM
261802012-04-05 David S. Miller <davem@davemloft.net>
26181
dcd2ae90
DM
26182 * scripts/check-local-headers.sh: Accept a host triplet in the
26183 path matched by the exclude regexp.
26184
993eb054
DM
26185 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26186 definition.
26187 * sysdeps/powerpc/powerpc32/dl-machine.h
26188 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26189 * sysdeps/s390/s390-32/dl-machine.h
26190 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26191 * sysdeps/sparc/sparc32/dl-machine.h
26192 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26193 * sysdeps/sparc/sparc64/dl-machine.h
26194 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26195
ff9f1c5f
DM
26196 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26197 lazy binding.
48e2e132 26198 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26199 undefined symbol errors.
26200
48e2e132 26201 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26202 DT_NEEDED entries.
26203
e80d6f94
MM
262042012-04-05 Michael Matz <matz@suse.de>
26205
26206 [BZ #13592]
26207 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26208
349fa79f
AJ
262092012-04-05 Andreas Jaeger <aj@suse.de>
26210
26211 [BZ #13908]
26212 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26213 comment.
26214
f402708f
KK
262152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26216
26217 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26218 which ROUND is no valid rounding mode.
26219
2ecccfc9
KK
262202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26221
26222 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26223 read again.
26224 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26225
8a53f50f
KK
262262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26227
26228 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26229 an exception using FPU order intentionally.
26230
262312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26232
26233 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26234 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26235 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26236 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26237
d653abb7
SJ
262382012-04-05 Simon Josefsson <simon@josefsson.org>
26239
26240 [BZ #12340]
26241 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26242 EINVAL when BUFLEN is too smal.
26243
c3b1bf7d
TS
262442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26245
26246 [BZ #13553]
26247 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26248 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26249
b1aa60f3
AJ
262502012-04-03 Andreas Jaeger <aj@suse.de>
26251
c3b1bf7d 26252 [BZ #13938]
67f60a26
AJ
26253 * manual/setjmp.texi (System V contexts): Fix sentence.
26254
b1aa60f3
AJ
26255 [BZ #13926]
26256 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26257 New macro for this case.
26258 [!__GNUC__] (__bswap_64): New inline function for this case.
26259 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26260 * bits/byteswap.h: Likewise.
26261 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26262 ull, guard with __GLIBC_HAVE_LONG_LONG.
26263
26264 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26265 __GLIBC_HAVE_LONG_LONG.
26266
26267 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26268 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26269
39c59c35
TMQMF
262702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26271
26272 [BZ #13691]
26273 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26274 inptr and inend, rather than using last_ch.
26275
135ffda8
DM
262762012-04-02 David S. Miller <davem@davemloft.net>
26277
26278 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26279 * stdio-common/printf-parse.h (read_int): Change return type to
26280 'int', return -1 on INT_MAX overflow.
26281 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26282 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26283 overflows INT_MAX. Check for overflow of in-format-string precision
26284 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26285 SIZE_MAX not INT_MAX for integer overflow test.
26286 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26287 skip the construct in the format string but do not record anything.
26288 * stdio-common/bug22.c: Adjust to test both width/prevision
26289 INT_MAX overflow as well as total length INT_MAX overflow. Check
26290 explicitly for proper errno values.
26291
228c019e
TS
262922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26293
302cadd3
TS
26294 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26295 CHAR_MAX.
26296 * string/test-strcmp.c [! WIDE]: Likewise.
26297 * time/tst-mktime2.c: Likewise for INT_MAX.
26298 * string/test-string.h: #include <sys/param.h> for MIN.
26299
228c019e
TS
26300 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26301 * sysdeps/i386/init-first.c (init): Likewise.
26302 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26303 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26304 * sysdeps/sh/init-first.c (init): Likewise.
26305
cfa633f5
UD
263062012-04-01 Ulrich Drepper <drepper@gmail.com>
26307
26308 * po/ru.po: Update from translation team.
d1635ef8 26309 * po/vi.po: Likewise.
cfa633f5 26310
6cd0a5ea
SP
263112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26312
26313 * resolv/nss_dns/dns-host.c: Merge copyright years.
26314
4b43400f
LD
263152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26316
26317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26318 Optimize memcpy with prefetch if
26319 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26320 src, dst pointers have unequal 16 byte alignments.
26321
48c41d04
SP
263222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26323
26324 [BZ #13928]
26325 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26326 from a CNAME entry and return the minimum ttl for the query.
26327 (gaih_getanswer_slice): Likewise.
26328
b8dc394d
JL
263292012-03-30 Jeff Law <law@redhat.com>
26330
26331 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26332 due to long keys.
26333 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26334 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26335
2f5a5ed0
JL
26336 * resolv/nss_dns/dns-host.c: Update copyright year.
26337
1d39e359
UD
263382012-03-30 Ulrich Drepper <drepper@gmail.com>
26339
c030f70c 26340 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26341 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26342
1d39e359
UD
26343 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26344 comments for sendmmsg.
26345
263462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26347
26348 [BZ #13691]
26349 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26350 with only 1 character between 0x0041 and 0x01b0.
26351 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26352 * wcsmbs/tst-mbsnrtowcs.c: New file.
26353
20fde227
DM
263542012-03-29 David S. Miller <davem@davemloft.net>
26355
26356 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26357 small copies by hand.
26358
984a4237
JL
263592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26360
26361 [BZ #13761]
26362 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26363 _nss_compat_initgroups_dyn): Fall back to malloc/free
26364 for large group memberships.
26365
18c9d62b
DM
263662012-03-28 David S. Miller <davem@davemloft.net>
26367
88d85d4f
DM
26368 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26369 that branches into memcpy.
26370 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26371 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26372 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26373 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26375 bits.
26376 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26377 implementation too.
26378 * sysdeps/sparc/mempcpy.S: New file.
26379
e5aa83e1
DM
26380 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26381 the IFUNC routine in the libc case.
26382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26383
88570753
DM
26384 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26385 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26386 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26387 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26388 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26389 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26390 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26391 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26392
249d7567
DM
26393 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26394 loop to 256 bytes instead of 64 bytes and fix test signedness.
26395
18c9d62b
DM
26396 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26397 * sysdeps/sparc/sparc32/Makefile: rather than here...
26398 * sysdeps/sparc/sparc64/Makefile: and here.
26399
05f3d1f6
UD
264002012-03-28 Ulrich Drepper <drepper@gmail.com>
26401
26402 * malloc/mallocbug.c: Avoid warnings about unused variables.
26403
86ae07a8
JL
264042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26405
26406 [BZ #13760]
26407 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26408 in the right place. Discard and retry query if response is
26409 larger than input buffer size.
26410
41bf21a1
JM
264112012-03-28 Joseph Myers <joseph@codesourcery.com>
26412
d6270972
JM
26413 [BZ #369]
26414 [BZ #2678]
26415 [BZ #3866]
26416 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26417 x for large integer exponent.
26418 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26419 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26420 sign of result as needed afterwards.
26421 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26422 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26423 result for underflowing pow the same as for overflow.
26424 (__kernel_standard_l): Handle powl overflow and underflow here
26425 rather than calling __kernel_standard.
26426 * math/libm-test.inc (pow_test): Add more tests.
26427
414fca03 26428 [BZ #3868]
41bf21a1
JM
26429 [BZ #13879]
26430 [BZ #13910]
26431 [BZ #13911]
26432 [BZ #13912]
26433 [BZ #13913]
26434 [BZ #13915]
26435 [BZ #13916]
26436 [BZ #13917]
26437 [BZ #13918]
26438 [BZ #13919]
26439 [BZ #13920]
26440 [BZ #13921]
26441 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26442 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26443 (__kernel_standard_l): New function.
26444 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26445 __kernel_standard.
26446 * math/w_acosl.c (__acosl): Likewise.
26447 * math/w_asinl.c (__asinl): Likewise.
26448 * math/w_atan2l.c (__atan2l): Likewise.
26449 * math/w_atanhl.c (__atanhl): Likewise.
26450 * math/w_coshl.c (__coshl): Likewise.
26451 * math/w_exp10l.c (__exp10l): Likewise.
26452 * math/w_exp2l.c (__exp2l): Likewise.
26453 * math/w_fmodl.c (__fmodl): Likewise.
26454 * math/w_hypotl.c (__hypotl): Likewise.
26455 * math/w_j0l.c (__j0l, __y0l): Likewise.
26456 * math/w_j1l.c (__j1l, __y1l): Likewise.
26457 * math/w_jnl.c (__jnl, __ynl): Likewise.
26458 * math/w_lgammal.c (__lgammal): Likewise.
26459 * math/w_log10l.c (__log10l): Likewise.
26460 * math/w_log2l.c (__log2l): Likewise.
26461 * math/w_logl.c (__logl): Likewise.
26462 * math/w_powl.c (__powl): Likewise.
26463 * math/w_remainderl.c (__remainderl): Likewise.
26464 * math/w_scalbl.c (sysv_scalbl): Likewise.
26465 * math/w_sinhl.c (__sinhl): Likewise.
26466 * math/w_sqrtl.c (__sqrtl): Likewise.
26467 * math/w_tgammal.c (__tgammal): Likewise.
26468 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26469 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26470 * math/libm-test.inc (acos_test): Add more tests.
26471 (acosh_test): Likewise.
26472 (asin_test): Likewise.
26473 (atanh_test): Likewise.
26474 (exp_test): Likewise.
26475 (exp10_test): Likewise.
26476 (exp2_test): Likewise.
26477 (expm1_test): Likewise.
26478 (lgamma_test): Likewise.
26479 (log_test): Likewise.
26480 (log10_test): Likewise.
26481 (log1p_test): Likewise.
26482 (log2_test): Likewise.
26483 (pow_test): Do not allow some spurious overflow exceptions.
26484 (sqrt_test): Add more tests.
26485 (tgamma_test): Likewise.
26486 (y0_test): Likewise.
26487 (y1_test): Likewise.
26488 (yn_test): Likewise.
26489
dd62fda6
AB
264902012-03-27 Anton Blanchard <anton@samba.org>
26491
26492 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26493 MAP_HUGETLB.
26494 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26495 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26496 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26497
1e3cdfda
AJ
264982012-03-27 David S. Miller <davem@davemloft.net>
26499
b855ab85
DM
26500 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26501
1e3cdfda
AJ
26502 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26503 have-as-vis3 check.
26504
265052012-03-27 Andreas Jaeger <aj@suse.de>
26506
26507 * sysdeps/x86_64/elf/configure.in: Moved to ...
26508 * sysdeps/x86_64/configure.in: ... here.
26509 * sysdeps/x86_64/elf/start.S: Moved to ...
26510 * sysdeps/x86_64/start.S: ... here.
26511 * sysdeps/x86_64/elf/configure: Delete.
26512
26513 * sysdeps/x86_64/configure.in: Merge contents from
26514 sysdeps/i386/configure.in (without i686 check).
26515
26516 * sysdeps/i386/elf/Versions: Merge into ...
26517 * sysdeps/i386/Versions: ... this.
26518 * sysdeps/i386/elf/Versions: Delete file.
26519 * sysdeps/i386/elf/start.S: Moved to ...
26520 * sysdeps/i386/start.S: ...here.
26521 * sysdeps/i386/elf/configure.in: Merge into...
26522 * sysdeps/i386/configure.in: ...here.
26523 * sysdeps/i386/elf/configure.in: Delete file.
26524 * sysdeps/i386/elf/configure: Delete file.
26525
26526 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26527 * debug/backtracesyms.c: ... here.
26528 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26529 * debug/backtracesymsfd.c: ... here.
26530 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26531 * sysdeps/generic/ifunc-sel.h: ... here.
26532
26533 * sysdeps/unix/i386/start.c: Delete file.
26534 * sysdeps/unix/sparc/start.c: Delete file.
26535 * sysdeps/unix/start.c: Delete file.
26536
26537 * sysdeps/sh/elf/configure.in: Moved to ...
26538 * sysdeps/sh/configure.in: ... here.
26539 * sysdeps/sh/elf/start.S: Moved to ...
26540 * sysdeps/sh/start.S: ... here.
26541 * sysdeps/sh/elf/configure: Delete file.
26542
26543 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26544 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26545 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26546 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26547 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26548 * sysdeps/powerpc/powerpc64/start.S: here.
26549 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26550 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26551 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26552 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26553 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26554
26555 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26556 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26557 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26558 * sysdeps/powerpc/powerpc32/start.S: ... here.
26559 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26560 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26561 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26562
26563 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26564 * sysdeps/powerpc/ifunc-sel.h: ... here.
26565 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26566 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26567
26568 * sysdeps/sparc/elf/configure.in: Moved to ...
26569 * sysdeps/sparc/configure.in: ... here.
26570 * sysdeps/sparc/elf/configure: Delete file.
26571 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26572 * sysdeps/sparc/sparc32/start.S: ... here.
26573 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26574 * sysdeps/sparc/sparc64/start.S: ... here.
26575 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26576 * sysdeps/sparc/sparc32/Makefile: ... this.
26577 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26578 * sysdeps/sparc/sparc64/Makefile: ... this.
26579
26580 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26581 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26582 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26583 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26584 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26585 * sysdeps/s390/s390-32/setjmp.S: ... here.
26586 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26587 * sysdeps/s390/s390-32/configure.in: ... here.
26588 * sysdeps/s390/s390-32/elf/configure: Delete file.
26589 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26590 * sysdeps/s390/s390-32/start.S: ... here.
26591
26592 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26593 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26594 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26595 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26596 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26597 * sysdeps/s390/s390-64/setjmp.S: ... here.
26598 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26599 * sysdeps/s390/s390-64/configure.in: ... here
26600 * sysdeps/s390/s390-64/elf/configure: Delete file.
26601 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26602 * sysdeps/s390/s390-64/start.S: ... here.
26603 * sysdeps/s390/s390-64/elf/configure: Delete.
26604
26605 * configure.in: Remove support for elf directories in sysdeps.
26606
26607 * configure: Regenerated.
26608 * sysdeps/i386/configure: Regenerated.
26609 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26610 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26611 * sysdeps/s390/s390-32/configure: Regenerated.
26612 * sysdeps/s390/s390-64/configure: Regenerated.
26613 * sysdeps/sh/configure: Regenerated.
26614 * sysdeps/sparc/configure: Regenerated.
26615 * sysdeps/x86_64/configure: Regenerated.
26616
a3f61311
AS
266172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26618
c876e002
AS
26619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26620
a3f61311
AS
26621 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26622 denormal result into account.
26623
ac4c54f0
RM
266242012-03-25 Roland McGrath <roland@hack.frob.com>
26625
26626 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26627 Reported by Allan McRae <allan@archlinux.org>.
26628
6a9b9c02
JL
266292012-03-23 Jeff Law <law@redhat.com>
26630
26631 * nss/getnssent.c (__nss_getent): Fix typo.
26632
4c42a0c1
DM
266332012-03-23 David S. Miller <davem@davemloft.net>
26634
26635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26636
1532c7ac
L
266372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26638
26639 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26640 to pad to uint64_t for each field.
26641 (dl_tls_index): Replace unsigned long with uint64_t.
26642
3ff42526
PP
266432012-03-23 Daniel Jacobowitz <dmj@google.com>
26644 Paul Pluzhnikov <ppluzhnikov@google.com>
26645
26646 [BZ #6528]
26647 * grp/Makefile (otherlibs): Don't set it.
26648 * inet/Makefile (otherlibs): Likewise.
26649 * login/Makefile (otherlibs): Likewise.
26650 * nscd/Makefile (otherlibs): Likewise.
26651 * posix/Makefile (otherlibs): Likewise.
26652 * pwd/Makefile (otherlibs): Likewise.
26653 * rt/Makefile (otherlibs): Likewise.
26654 * sunrpc/Makefile (otherlibs): Likewise.
26655 * nss/Makefile (otherlibs): Likewise.
26656 Add libnss_files to routines and static-only-routines.
26657 ($(objpfx)getent): Remove rule.
26658 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26659 static-only-routines.
26660
7c69cd14
JM
266612012-03-22 Joseph Myers <joseph@codesourcery.com>
26662
26663 [BZ #13892]
26664 * math/s_cexp.c: Include <float.h>.
26665 (__cexp): Handle exp result overflowing not necessarily
26666 overflowing both real and imaginary parts of result.
26667 * math/s_cexpf.c: Likewise.
26668 * math/s_cexpl.c: Likewise.
26669 * math/libm-test.inc (cexp_test): Add more tests.
26670 * sysdeps/i386/fpu/libm-test-ulps: Update.
26671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26672
81b035fe
L
266732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26674
26675 * include/link.h (ELFW): New macro.
26676 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26677 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26678
1da7940c
L
266792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26680
26681 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26682 with uint64_t.
26683
b749dbb9
L
266842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26685
26686 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26687 declaration.
26688 (struct La_x32_retval): Likewise.
26689
2ff87f3f
L
266902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26691
26692 * sysdeps/x86_64/preconfigure.in: New file.
26693 * sysdeps/x86_64/preconfigure: New generated file.
26694
c0df8e69
JM
266952012-03-22 Joseph Myers <joseph@codesourcery.com>
26696
48e44791
JM
26697 [BZ #13824]
26698 * math/e_exp2l.c: Include <float.h>.
26699 (__ieee754_exp2l): Handle overflow and underflow cases
26700 separately. Only pass fractional part of argument to
26701 __ieee754_expl.
26702 * math/libm-test.inc (exp2_test): Add more tests.
26703
c0df8e69
JM
26704 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26705 negating x to take absolute value.
26706 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26707 Likewise.
26708 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26709 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26710 Likewise.
26711 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26712 computing low part if x was negated.
26713 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26714
c8e43ba7
L
267152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26716
26717 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26718 la_x32_gnu_pltexit.
26719 (pltexit): Cast int_retval to ptrdiff_t.
26720 * elf/tst-auditmod3b.c: Likewise.
26721 * elf/tst-auditmod4b.c: Likewise.
26722 * elf/tst-auditmod5b.c: Likewise.
26723 * elf/tst-auditmod6b.c: Likewise.
26724 * elf/tst-auditmod6c.c: Likewise.
26725 * elf/tst-auditmod7b.c: Likewise.
26726
26727 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26728 and x32_gnu_pltexit.
26729
26730 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26731 __ELF_NATIVE_CLASS.
26732 (La_x32_regs): New macro.
26733 (La_x32_retval): Likewise.
26734 (la_x32_gnu_pltenter): New function prototype.
26735 (la_x32_gnu_pltexit): Likewise.
26736
7998fa78
AS
267372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26738
dcb33988
AS
26739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26740 exponent.
26741
233fc563
AS
26742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26743
7998fa78
AS
26744 * configure.in (libc_cv_cc_nofma): Check for option to disable
26745 generation of FMA instructions.
26746 * configure: Regenerate.
26747 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26748 * sysdeps/ieee754/dbl-64/Makefile: New file.
26749 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26750 Remove brandred-fma4.
26751 (CFLAGS-brandred-fma4.c): Remove.
26752 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26753 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26754 define.
26755 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26756 define.
26757
8e95c99a
L
267582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26759
26760 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26761 LLONG_MAX != LONG_MAX.
26762 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26763 (_fitoa_word): Likewise.
26764 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26765 LLONG_MAX != LONG_MAX.
26766 * stdio-common/_itowa.h: Include <_itoa.h>.
26767 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26768 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26769 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26770 only if not defined.
26771 (_ITOA_WORD_TYPE): Likewise.
26772 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26773 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26774
6f4db457
DM
267752012-03-21 David S. Miller <davem@davemloft.net>
26776
26777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26778
7785fe5a
L
267792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26780
26781 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26782 of x86_64 when setting libc_cv_slibdir, libdir and
26783 libc_cv_localedir.
26784 * sysdeps/unix/sysv/linux/configure: Regenerated.
26785
4535cd55
JM
267862012-03-21 Joseph Myers <joseph@codesourcery.com>
26787
26788 * manual/lang.texi (Old Varargs): Remove section.
26789 (How Variadic): Update menu.
26790 (va_start): Do not mention varargs.h.
26791
17228132
TS
267922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26793 Joseph Myers <joseph@codesourcery.com>
26794
26795 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26796 link test.
26797 * configure: Regenerated.
26798
8149f976
TS
267992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26800
05f3d1f6
UD
26801 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26802 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26803 conformtest.pl
8149f976 26804
1a4ac776
JM
268052012-03-21 Joseph Myers <joseph@codesourcery.com>
26806
be22ce65
JM
26807 * NOTES: Remove.
26808 * Makefile (files-for-dist): Remove NOTES.
26809 (NOTES): Remove rule.
26810 * README: Don't refer to NOTES.
26811 * manual/creature.texi: Don't include macros.texi.
26812 * manual/intro.texi (creature.texi): Remove comment referring to
26813 NOTES.
26814
40b601fb
JM
26815 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26816 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26817 * configure: Regenerated.
26818 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26819 LIBC_TRY_CC_OPTION.
26820 (libc_cv_as_i686): Likewise.
26821 (libc_cv_cc_avx): Likewise.
26822 (libc_cv_cc_sse2avx): Likewise.
26823 (libc_cv_cc_fma4): Likewise.
26824 (libc_cv_cc_novzeroupper): Likewise.
26825 * sysdeps/i386/configure: Regenerated.
26826
1a4ac776
JM
26827 [BZ #13883]
26828 * sysdeps/i386/fpu/s_cexp.S: Remove.
26829 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26830 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26831 * math/libm-test.inc (cexp_test): Add more tests.
26832 * sysdeps/i386/fpu/libm-test-ulps: Update.
26833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26834
a458e7fe
AM
268352012-03-21 Allan McRae <allan@archlinux.org>
26836
26837 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26838
0cb7efc5
JM
268392012-03-21 Joseph Myers <joseph@codesourcery.com>
26840
26841 [BZ #13871]
26842 * math/w_exp2.c: Do not include <float.h>.
26843 (o_threshold, u_threshold): Remove.
26844 (__exp2): Calculate result before checking finiteness and calling
26845 __kernel_standard.
26846 * math/w_exp2f.c: Likewise.
26847 * math/w_exp2l.c: Likewise.
26848 * math/libm-test.inc (exp2_test): Require overflow exception for
26849 1e6 input.
2460d3aa
JM
26850
26851 [BZ #3866]
26852 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26853 range of signed 64-bit integers before using fistpll. Remove
26854 checks for whether integers fit in mantissa bits.
26855 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26856 the range of signed 32-bit integers before using fistpl. Remove
26857 checks for whether integers fit in mantissa bits.
26858 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26859 (__ieee754_powl): Test for y outside the range of signed 64-bit
26860 integers before using fistpll. Reduce 64-bit values to 63-bit
26861 ones as needed.
26862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26863 divide-by-zero is raised for zero to large negative powers.
26864 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26865 (__ieee754_powl): Test for y outside the range of signed 64-bit
26866 integers before using fistpll. Reduce 64-bit values to 63-bit
26867 ones as needed.
26868 * math/libm-test.inc (pow_test): Add more tests.
26869
eb96ffb0
L
268702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26871
26872 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26873 <stdio-common/_itoa.h>.
26874 * debug/segfault.c: Likewise.
26875 * elf/dl-cache.c: Likewise.
26876 * elf/dl-minimal.c: Likewise.
26877 * elf/dl-misc.c: Likewise.
26878 * elf/dl-sysdep.c: Likewise.
26879 * elf/dl-version.c: Likewise.
26880 * elf/rtld.c: Likewise.
26881 * hurd/hurdsock.c: Likewise.
26882 * hurd/lookup-retry.c: Likewise.
26883 * malloc/malloc.c: Likewise.
26884 * malloc/mtrace.c: Likewise.
26885 * nscd/nscd_getgr_r.c: Likewise.
26886 * nscd/nscd_getpw_r.c: Likewise.
26887 * nscd/nscd_getserv_r.c: Likewise.
26888 * posix/getopt_init.c: Likewise.
26889 * posix/wordexp.c: Likewise.
26890 * stdio-common/_itoa.c: Likewise.
26891 * stdio-common/printf_fphex.c: Likewise.
26892 * stdio-common/vfprintf.c: Likewise.
26893 * string/_strerror.c: Likewise.
26894 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26895 * sysdeps/i386/i686/hp-timing.h: Likewise.
26896 * sysdeps/mach/_strerror.c: Likewise.
26897 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26898 * sysdeps/mach/hurd/sethostid.c: Likewise.
26899 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26900 * sysdeps/mach/xpg-strerror.c: Likewise.
26901 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26902 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26903 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26904 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26905 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26906 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26907 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26908 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26909 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26910 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26911 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26912 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26913 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26914 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26915 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26916 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26917 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26918 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26919 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26920 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26921 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26922
26923 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26924
26925 * stdio-common/_itoa.h: Moved to ...
26926 * sysdeps/generic/_itoa.h: Here.
26927
26928 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26929
26930 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26931 instead of "_itoa.h" and "_itowa.h".
26932 * stdio-common/vfprintf.: Likewise.
26933
d1af992d
L
269342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26935
26936 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26937 <bits/wordsize.h>.
26938 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26939 (__signbit): Likwise.
26940 (llrintf): Likwise.
26941 (llrint): Likwise.
26942
114883e0
L
269432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26944
26945 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26946 __WORDSIZE != 64.
26947
c135cc1b
JM
269482012-03-20 Joseph Myers <joseph@codesourcery.com>
26949
26950 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26951 OVERFLOW_EXCEPTION_OK.
26952 * math/libm-test.inc ("Philosophy"): Update comment about
26953 exception testing.
26954 (OVERFLOW_EXCEPTION): Define.
26955 (OVERFLOW_EXCEPTION_OK): Likewise.
26956 (INVALID_EXCEPTION_OK): Renumber.
26957 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26958 (IGNORE_ZERO_INF_SIGN): Likewise.
26959 (test_exceptions): Handle FE_OVERFLOW.
26960 (exp10_test): Expect overflow exceptions.
26961 (exp2_test): Likewise.
26962 (expm1_test): Likewise.
26963 (nextafter_test): Likewise.
26964 (pow_test): Likewise.
26965 (scalbn_test): Likewise.
26966 (scalbln_test): Likewise.
26967
95443d88
L
269682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26969
26970 * sysdeps/x86_64/bits/atomic.h
26971 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26972 64bit integer.
26973 (atomic_exchange_acq): Likewise.
26974 (__arch_exchange_and_add_body): Likewise.
26975 (__arch_add_body): Likewise.
26976 (atomic_add_negative): Likewise.
26977 (atomic_add_zero): Likewise.
26978
490df6c4
L
269792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26980
c2722551 26981 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26982 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26983
5e52b189
L
269842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26985
26986 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26987 Check __x86_64__ instead of __WORDSIZE.
26988
a9879d4c
L
269892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26990
26991 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26992
5df98260
DM
269932012-03-19 David S. Miller <davem@davemloft.net>
26994
e1497744
DM
26995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26996
5df98260
DM
26997 * sysdeps/sparc/fpu/fenv_private.h: New file.
26998 * sysdeps/sparc/fpu/math_private.h: Use it.
26999 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27000 Remove.
27001 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27002 (libc_feholdexcept_setroundl): Remove.
27003 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27004 Remove.
27005 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27006 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27007
b4c35121
L
270082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27009
27010 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27011 int64_t instead of long int.
27012 (INSERT_WORDS64): Likwise.
27013
56965fd7
L
270142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27015
27016 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27017 _Unwind_GetCFA return to _Unwind_Ptr first.
27018
83d1aec8
JM
270192012-03-19 Joseph Myers <joseph@codesourcery.com>
27020
1897ad44
JM
27021 [BZ #13629]
27022 * math/s_clog.c: Include <float.h>.
27023 (__clog): Scale large or subnormal inputs.
27024 * math/s_clogf.c: Likewise.
27025 * math/s_clogl.c: Likewise.
27026 * math/s_clog10.c: Include <float.h>.
27027 (M_LOG10_2): Define.
27028 (__clog10): Scale large or subnormal inputs.
27029 * math/s_clog10f.c: Likewise.
27030 * math/s_clog10l.c: Likewise.
27031 * math/libm-test.inc (clog_test): Add more tests.
27032 (clog10_test): Likewise.
27033 * sysdeps/i386/fpu/libm-test-ulps: Update.
27034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27035
7726d6a9
JM
27036 [BZ #11451]
27037 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27038 x and y.
27039 * math/libm-test.inc (atan2_test): Add another test.
27040
83d1aec8
JM
27041 * Makerules (common-objdir-compile): Remove.
27042 * sysdeps/unix/Makefile (config-generated): Do not add
27043 $(unix-generated) to variable.
27044 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27045 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27046 Remove rule.
27047 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27048 Likewise.
27049 [generic bits/local_lim.h] (before-compile): Do not append to
27050 variable.
27051 [generic bits/local_lim.h] (common-generated): Likewise.
27052 [generic sys/param.h] (before-compile): Do not append to variable.
27053 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27054 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27055 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27056 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27057 include.
27058 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27059 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27060 [generic sys/param.h] ($(addprefix
27061 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27062 [generic sys/param.h] (common-generated): Do not append to
27063 variable.
27064 [generic sys/param.h] (sysdep_headers): Likewise.
27065 [generic bits/errno.h] (before-compile): Do not append to
27066 variable.
27067 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27068 rule.
27069 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27070 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27071 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27072 [generic bits/errno.h] (common-generated): Do not append to
27073 variable.
27074 [generic bits/ioctls.h] (before-compile): Do not append to
27075 variable.
27076 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27077 rule.
27078 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27079 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27080 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27081 rule.
27082 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27083 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27084 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27085 [generic bits/ioctls.h] (common-generated): Do not append to
27086 variable.
27087 [generic sys/syscall.h] (syscall.h): Remove variable.
27088 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27089 rule.
27090 [generic sys/syscall.h] (before-compile): Do not append to
27091 variable.
27092 [generic sys/syscall.h] (common-generated): Likewise.
27093 * sysdeps/unix/errnos-tmpl.c: Remove file.
27094 * sysdeps/unix/errnos.awk: Likewise.
27095 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27096 * sysdeps/unix/ioctls.awk: Likewise.
27097 * sysdeps/unix/mk-local_lim.c: Likewise.
27098 * sysdeps/unix/snarf-ioctls: Likewise.
27099
4851a949
RH
271002012-03-19 Richard Henderson <rth@twiddle.net>
27101
bd37f2ee
RH
27102 * sysdeps/i386/fpu/fenv_private.h: New file.
27103 * sysdeps/i386/fpu/math_private.h: Use it.
27104 (math_opt_barrier, math_force_eval): Remove.
27105 (libc_feholdexcept_setround_53bit): Remove.
27106 (libc_feupdateenv_53bit): Remove.
27107 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27108 (math_opt_barrier, math_force_eval): Remove.
27109 (libc_feholdexcept): Remove.
27110 (libc_feholdexcept_setround): Remove.
27111 (libc_fetestexcept, libc_fesetenv): Remove.
27112 (libc_feupdateenv_test): Remove.
27113 (libc_feupdateenv, libc_feholdsetround): Remove.
27114 (libc_feresetround): Remove.
27115
d0adc922
RH
27116 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27117 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27118
0fe0f1f8
RH
27119 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27120 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27121 (libc_feupdateenv_testl): New.
27122 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27123 (libc_feupdateenv_testf): New.
27124 (libc_feupdateenv): Use libc_feupdateenv_test.
27125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27126 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27127
eb92c487
RH
27128 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27129 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27130 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27131 (libc_feresetround_noex): New.
27132 (libc_feresetround_noexf): New.
27133 (libc_feresetround_noexl): New.
27134 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27135 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27136 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27137 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27138 SET_RESTORE_ROUND.
27139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27141 (__cos): Likewise.
27142 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27143 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27144 SET_RESTORE_ROUND_NOEX.
27145 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27146 SET_RESTORE_ROUND_NOEXF.
27147 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27148 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27149 (libc_feholdsetroundf): New.
27150 (libc_feresetround, libc_feresetroundf): New.
27151
7d2e8012
RH
27152 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27153 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27154 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27155
b4dabbb4
RH
27156 * sysdeps/generic/math_private.h: Include <fenv.h>.
27157 (default_libc_feholdexcept): New.
27158 (default_libc_feholdexcept_setround): New.
27159 (default_libc_fesetenv, default_libc_feupdateenv): New.
27160 (libc_feholdexcept): Only define if undefined.
27161 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27162 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27163 (libc_feholdexcept_setroundl): Likewise.
27164 (libc_feholdexcept_setround_53bit): Likewise.
27165 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27166 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27167 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27168 (libc_feupdateenv_53bit): Likewise.
27169 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27170 (libc_feholdexcept): Convert from macro to inline function.
27171 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27172 (libc_fesetenv, libc_feupdateenv): Likewise.
27173
4851a949
RH
27174 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27175 not previously defined.
27176 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27177 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27178 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27179 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27180 * sysdeps/ieee754/flt-32/math_private.h: New file.
27181 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27182 math_private.h below SET_FLOAT_WORD.
27183 (__isnan, __isinf_ns, __finite): Remove.
27184 (__isnanf, __isinf_nsf, __finitef): Remove.
27185
e79d442e
AS
271862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27187
27188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27189
90b80344
DM
271902012-03-17 David S. Miller <davem@davemloft.net>
27191
27192 [BZ #6471]
27193 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27194 for 2.16.
27195
edc21804
DM
271962012-03-16 David S. Miller <davem@davemloft.net>
27197
77e927af
DM
27198 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27199 warnings.
27200
374976dd
DM
27201 [BZ #6471]
27202 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27203 properly.
27204 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27205 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27206 sysdep_routines when subdir is sysvipc.
27207 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27208 __getshmlba helper.
27209
edc21804
DM
27210 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27211
473c3ef3
L
272122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27213
27214 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27215 [__LP64__].
27216
eb0f39b6
L
272172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27218
27219 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27220 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27221 (__lround): Renamed to ...
27222 (__llround): This. Replace long int with long long int.
27223 Define lround functions as aliases of llround functions.
27224 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27225
6b6cd74b
L
272262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27227
27228 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27229 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27230 adresses to uintptr_t. Replace "long int" and "unsigned long
27231 int" with "greg_t" on va_arg.
27232
f1a77b01
L
272332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27234
27235 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27236 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27237
27238 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27239 Move e_machine check before EI_CLASS check. Handle x32
27240 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27241 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27242 SKIP_EM_IA_64 and include
27243 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27244
27245 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27246 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27247 (add_system_dir): New macro.
27248
27249 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27250 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27251
11b90b9f
JM
272522012-03-16 Joseph Myers <joseph@codesourcery.com>
27253
c36e1d23
JM
27254 [BZ #2551]
27255 [BZ #2552]
27256 [BZ #2553]
27257 [BZ #2554]
27258 [BZ #2562]
27259 [BZ #2563]
27260 [BZ #2565]
27261 [BZ #2566]
27262 [BZ #2576]
27263 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27264 (y0): Likewise.
27265 * math/w_j0f.c (j0f): Likewise.
27266 (y0f): Likewise.
27267 * math/w_j0l.c (__j0l): Likewise.
27268 (__y0l): Likewise.
27269 * math/w_j1.c (j1): Likewise.
27270 (y1): Likewise.
27271 * math/w_j1f.c (j1f): Likewise.
27272 (y1f): Likewise.
27273 * math/w_j1l.c (__j1l): Likewise.
27274 (__y1l): Likewise.
27275 * math/w_jn.c (jn): Likewise.
27276 (yn): Likewise.
27277 * math/w_jnf.c (jnf): Likewise.
27278 (ynf): Likewise.
27279 * math/w_jnl.c (__jnl): Likewise.
27280 (__ynl): Likewise.
27281 * math/libm-test.inc (j0_test): Add more tests.
27282 (j1_test): Likewise.
27283 (jn_test): Likewise. Add trailing semicolon to existing test.
27284 (y0_test): Likewise.
27285 (y1_test): Likewise.
27286 * sysdeps/i386/fpu/libm-test-ulps: Update.
27287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27288
11b90b9f
JM
27289 [BZ #13851]
27290 [BZ #13854]
27291 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27292 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27293 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27294 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27295 (__tanl): Set errno for infinite argument.
27296 * sysdeps/i386/fpu/mptan.c: Remove.
27297 * sysdeps/i386/fpu/s_tan.S: Likewise.
27298 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27299 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27300 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27301 * math/libm-test.inc (tan_test): Add more tests and enable more
27302 tests for double and long double.
27303 * sysdeps/i386/fpu/libm-test-ulps: Update.
27304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27305
6a1bd2a1
JK
273062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27307
27308 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27309 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27310
10a803e0
RM
273112012-03-16 Roland McGrath <roland@hack.frob.com>
27312
27313 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27314 * configure.in: Use it for both main tree and add-ons.
27315 * configure: Regenerated.
27316
f196c7f7
L
273172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27318
27319 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27320
8848d99d
JM
273212012-03-16 Joseph Myers <joseph@codesourcery.com>
27322
96cbe7f4
JM
27323 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27324 in comment.
27325
8848d99d
JM
27326 [BZ #13851]
27327 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27328 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27329 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27330 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27331 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27332 infinite argument.
27333 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27334 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27335 != 0 for prec == 2.
27336 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27337 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27338 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27339 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27340 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27341 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27342 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27343 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27344 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27345 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27346 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27347 * math/libm-test.inc (cos_test): Add more tests and enable more
27348 tests for long double.
27349 (sin_test): Likewise.
27350 (sincos_test): Likewise.
27351 * sysdeps/i386/fpu/libm-test-ulps: Update.
27352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27353
dd7f4703
DM
273542012-03-16 David S. Miller <davem@davemloft.net>
27355
27356 * sysdeps/sparc/fpu/math_private.h: New file.
27357
006f1daa
DM
273582012-03-15 David S. Miller <davem@davemloft.net>
27359
c0c83bc8
DM
27360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27361 file.
e6a62e18 27362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27364 file.
e6a62e18
DM
27365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27370 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27371 sysdep routines.
27372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27373
88cb87d9
DM
27374 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27375 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27376
006f1daa 27377 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27379 sparc-ifunc.h
006f1daa 27380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27382 Likewise.
27383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27384 Likewise.
006f1daa
DM
27385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27389 Likewise.
006f1daa
DM
27390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27395 Likewise.
27396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27397 Likewise.
006f1daa
DM
27398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27404 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27405 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27417 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27419 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27421 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27422
11e0098e
AS
274232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27424
27425 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27426 scaling.
27427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27428
e85b09d0
AJ
274292012-03-15 Andreas Jaeger <aj@suse.de>
27430
27431 [BZ #13852]
27432 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27433 ieee754/flt-32 implementation for sin, cos and sincos.
27434 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27435 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27436 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27437 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27438 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27439 ieee754/flt-32 implementation for tan.
27440
27441 * math/libm-test.inc (cos_test): Enable some large input tests for
27442 float as well
27443 (sin_test): Likewise.
27444 (sincos_test): Likewise.
27445 (tan_test): Add tests for large input.
27446
27447 * sysdeps/i386/fpu/libm-test-ulps: Update.
27448
81c64153
AJ
274492012-03-15 Andreas Jaeger <aj@suse.de>
27450
27451 [BZ #13658]
27452 * math/libm-test.inc (cos_test): Add more test cases.
27453 (sin_test): Likewise.
27454 (sincos_test): Likewise.
27455
7bbfa5c6
AJ
274562012-03-15 Andreas Jaeger <aj@suse.de>
27457
27458 [BZ #13837]
27459 * math/libm-test.inc (cos_test): Add a test case for large input
27460 value.
27461 (sin_test): Likewise.
27462 (sincos_test): Likewise.
27463
274642012-03-15 Andreas Jaeger <aj@suse.de>,
27465 Joseph Myers <joseph@codesourcery.com>
27466
27467 [BZ #13658]
0671f479 27468 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27469 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27470 * sysdeps/i386/fpu/branred.c: Likewise.
27471 * sysdeps/i386/fpu/dosincos.c: Likewise.
27472 * sysdeps/i386/fpu/mpa.c: Likewise.
27473 * sysdeps/i386/fpu/s_cos.S: Likewise.
27474 * sysdeps/i386/fpu/s_sin.S: Likewise.
27475 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27476 * sysdeps/i386/fpu/sincos32.c: Likewise.
27477
27478 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27479 Define.
27480 (libc_feupdateenv_53bit): Define.
27481 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27482 Define.
27483 (libc_feupdateenv_53bit): Define.
27484
27485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27486 53 bit (without extend i386 double precision).
27487
27488 * math/libm-test.inc (sincos_test): Add tests for large input.
27489 (sin): Likewise.
27490 (cos): Likewise.
27491
27492 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27493
9cad04ea
AS
274942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27495
27496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27497
f7062b9a
DM
274982012-03-15 David S. Miller <davem@davemloft.net>
27499
27500 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27501 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27502 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27503 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27516 file.
f7062b9a 27517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27519 file.
f7062b9a 27520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27522 file.
f7062b9a 27523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27525 file.
f7062b9a
DM
27526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27527 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27528 fmin/fmax sysdep routines.
27529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27530
7bd951ff
DM
275312012-03-14 David S. Miller <davem@davemloft.net>
27532
559398ab
DM
27533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27537 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27538 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27554 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27558 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27562 routines.
27563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27564 file.
559398ab 27565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27567 file.
559398ab 27568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27570 file.
559398ab 27571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27573 file.
559398ab 27574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27576 file.
559398ab 27577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27579 file.
27580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27581 file.
27582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27583 file.
27584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27585 file.
27586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27587 New file.
27588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27589 file.
27590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27591 file.
559398ab 27592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27594 file.
559398ab 27595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27597 file.
559398ab 27598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27600 file.
559398ab 27601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27603 VIS3 routines.
559398ab
DM
27604
27605 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27606 New file.
27607
5a1c1e32
DM
27608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27609
eae47a36
DM
27610 * sysdeps/sparc/configure.in: New file.
27611 * sysdeps/sparc/configure: Generate.
27612 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27613 * configure: Regenerate.
27614 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27615 * config.make.in (have-as-vis3): New.
27616 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27617 available use -Av9d instead of -Av9a.
27618 * sysdeps/sparc/sparc64/Makefile: Likewise.
27619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27621 New file.
27622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27623 file.
27624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27625 New file.
27626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27627 file.
eae47a36
DM
27628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27630 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27631 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27632 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27633
c0c83bc8
DM
27634 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27635 fzeros/fnegs to load 0x80000000 into a float register instead of
27636 using the stack.
7bd951ff
DM
27637 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27638
bd951ccb
JM
276392012-03-14 Joseph Myers <joseph@codesourcery.com>
27640
27641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27642 bits/syscall.h.
27643 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27644 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27645 ($(inst_includedir)/bits/syscall.h): Remove rule.
27646 ($(objpfx)bits/syscall.d): Include instead of
27647 $(objpfx)syscall-list.d.
27648 (generated): Change syscall-list.h and syscall-list.d to
27649 bits/syscall.h and bits/syscall.d.
27650
bb4e6db2
RM
276512012-03-14 Roland McGrath <roland@hack.frob.com>
27652
27653 [BZ #13846]
27654 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27655
aa4a2ae1
JM
276562012-03-14 Joseph Myers <joseph@codesourcery.com>
27657
e456826d
JM
27658 [BZ #13841]
27659 * math/s_csqrt.c: Include <float.h>.
27660 (__csqrt): Scale large or subnormal inputs.
27661 * math/s_csqrtf.c: Likewise.
27662 * math/s_csqrtl.c: Likewise.
27663 * math/libm-test.inc (csqrt_test): Add more tests.
27664 * sysdeps/i386/fpu/libm-test-ulps: Update.
27665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27666
aa4a2ae1
JM
27667 [BZ #13840]
27668 * math/libm-test.inc (hypot_test): Add more tests.
27669
7c10fd35
DM
276702012-03-13 David S. Miller <davem@davemloft.net>
27671
27672 [BZ #13840]
27673 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27674 double-precision for the calculation instead of scaling.
27675
f453b98b
JM
276762012-03-13 Joseph Myers <joseph@codesourcery.com>
27677
27678 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27679 manipulate bits before adding and subtracting TWO52[sx].
27680 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27681 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27682 Likewise.
27683 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27684
09a3453f
DM
276852012-03-13 David S. Miller <davem@davemloft.net>
27686
8e59da90
DM
27687 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27688 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27690 rtld-global-offsets.h
27691 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27692
2a8ab7f2
DM
27693 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27694 large parameters.
27695
10f62770
DM
27696 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27697
5f0bdb18
DM
27698 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27699 'err' in the ifdef scope in which it is actually used.
27700
09a3453f
DM
27701 * nss/nss_db/db-init.c: Include string.h
27702
b4b2eb5e
DM
277032012-03-12 David S. Miller <davem@davemloft.net>
27704
98bb2f1c
DM
27705 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27706 masking out of the most significant byte of random value used.
27707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27708 Fix coding style in previous change.
27709
b4b2eb5e
DM
27710 * sysdeps/unix/sysv/linux/kernel-features.h
27711 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27712 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27713 expression.
27714 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27715 later.
27716
6e226b09
DM
277172012-03-11 David S. Miller <davem@davemloft.net>
27718
a1bcbd40
DM
27719 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27720 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27721 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27722 for 'resultvar' otherwise things get truncated on 64-bit.
27723
cb9d6174
DM
27724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27725 Fix masking out of the most significant byte of random value used.
27726
6e226b09
DM
27727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27728
058c132d
AS
277292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27730
27731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27732
2d2cd515
DM
277332012-03-09 David S. Miller <davem@davemloft.net>
27734
27735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27736 variables with appropriate CPP guards.
27737 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27738 frame pointer, not the stack pointer. Correct layout comments. Fix test
27739 on resulting framesize and the management of the outregs buffer for pltexit.
27740 Preserve floating point return values across _dl_call_pltexit call.
27741 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27742 framesize and the management of the outregs buffer for pltexit.
27743 Preserve floating point return values across _dl_call_pltexit
27744 call.
27745 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27746 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27747 (print_exit): Fix format string for return register value.
27748
9a07f9d0
JM
277492012-03-10 Joseph Myers <joseph@codesourcery.com>
27750
27751 * sunrpc/Makefile (others): Add rpcgen.
27752 ($(objpfx)rpcgen): Remove special build rule and dependency on
27753 libc.
27754 * sunrpc/rpcgen.c: New file.
27755
547b5e30
PE
277562012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27757
c524201a
PE
27758 [BZ #13673]
27759 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27760 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27761 * sysdeps/i386/crti.S: Likewise.
27762 * sysdeps/i386/crtn.S: Likewise.
27763 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27764 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27765 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27766 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27767 * sysdeps/sh/crti.S: Likewise.
27768 * sysdeps/sh/crtn.S: Likewise.
27769 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27770
7b6235f2
PE
27771 [BZ #13673]
27772 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27773 with URL.
27774 * locale/programs/locfile-kw.gperf: Likewise.
27775 * locale/programs/charmap-kw.h: Regenerated.
27776 * locale/programs/locfile-kw.h: Likewise.
27777
547b5e30
PE
27778 [BZ #13673]
27779 * intl/plural.y: Replace FSF snail mail address with URL.
27780 * intl/plural.c: Regenerated.
27781
5f0a5dae
RH
277822012-03-09 Richard Henderson <rth@twiddle.net>
27783
27784 * include/math_private.h: Remove file.
27785 * math/math_private.h: Move file ...
27786 * sysdeps/generic/math_private.h: ... here.
27787
b8c03620
RH
27788 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27789 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27790 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27791
4e234f5d 27792 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27793 and <math_private.h>.
27794 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27795 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27796 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27797 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27798 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27799 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27800 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27802 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27803 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27805 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27806 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27807 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27808 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27809 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27810 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27811 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27812 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27813 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27815 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27816 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27818 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27819 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27820 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27821 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27823 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27824 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27826 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27827 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27828 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27829 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27830 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27831 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27832 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27833 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27834 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27835 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27836 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27837 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27838 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27839 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27840 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27841 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27842 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27843 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27844 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27845 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27846 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27847 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27848 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27849 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27850 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27851 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27852 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27853 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27854 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27855 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27857 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27858 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27859 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27860 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27861 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27862 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27863 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27864 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27865 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27866 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27867 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27868 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27870 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27872 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27873 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27874 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27875 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27876 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27877 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27878 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27880 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27881 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27882 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27883 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27884 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27885 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27886 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27887 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27888 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27889 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27890 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27891 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27892 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27893 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27894 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27895 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27896 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27897 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27898 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27899 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27900 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27901 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27902 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27903 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27904 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27905 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27906 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27907 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27908 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27909 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27910 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27911 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27912 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27913 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27914 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27915 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27916 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27917 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27918 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27919 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27920 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27921 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27922 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27923 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27924 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27925 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27926 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27927 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27928 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27929 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27930 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27931 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27932 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27933 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27934 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27935 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27937 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27938 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27939 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27940 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27941 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27942 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27943 * sysdeps/ieee754/k_standard.c: Likewise.
27944 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27945 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27946 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27947 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27948 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27949 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27950 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27951 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27952 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27953 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27954 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27957 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27958 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27961 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27962 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27963 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27964 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27965 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27966 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27967 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27968 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27969 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27970 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27971 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27972 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27973 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27974 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27975 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27976 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27977 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27978 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27979 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27980 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27981 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27982 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27983 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27984 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27985 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27986 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27987 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27988 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27989 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27990 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27991 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27992 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27993 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27994 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27995 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27996 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27997 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27998 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27999 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28000 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28001 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28002 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28003 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28004 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28005 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28006 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28007 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28008 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28009 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28010 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28011 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28012 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28013 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28014 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28016 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28017 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28018 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28020 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28021 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28023 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28024 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28025 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28026 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28027 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28028 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28029 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28030 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28031 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28032 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28033 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28034 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28035 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28036 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28037 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28038 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28039 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28040 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28041 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28042 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28043 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28044 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28045 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28046 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28047 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28048 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28049 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28050 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28051 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28052 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28053 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28054 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28055 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28056 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28057 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28058 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28059 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28060 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28061 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28062 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28063 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28064 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28065 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28066 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28067 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28068 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28069 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28070 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28071 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28072 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28073 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28074 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28075 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28076 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28077 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28078 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28079 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28080 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28081 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28082 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28083 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28084 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28085 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28086 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28087 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28088 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28089 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28090 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28091 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28092 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28093 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28094 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28095 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28096 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28097 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28099 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28100 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28101 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28102 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28103 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28104 * sysdeps/ieee754/s_lib_version.c: Likewise.
28105 * sysdeps/ieee754/s_matherr.c: Likewise.
28106 * sysdeps/ieee754/s_signgam.c: Likewise.
28107 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28108 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28109 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28110 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28111 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28112 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28113 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28114 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28115 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28116 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28117 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28118 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28119 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28120 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28121 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28122 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28123 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28124 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28125 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28127 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28128
1991fa03
JM
281292012-03-09 Joseph Myers <joseph@codesourcery.com>
28130
28131 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28132 * sunrpc/rpc_main.c: Likewise.
28133 * sunrpc/rpc_svcout.c: Likewise.
28134
60d6f5a6
DM
281352012-03-09 David S. Miller <davem@davemloft.net>
28136
28137 * include/math_private.h: New file.
28138
4962050e
JM
281392012-03-09 Joseph Myers <joseph@codesourcery.com>
28140
02a6f887
JM
28141 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28142 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28143 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28144 from <bits/socket_type.h>.
28145 (enum __socket_type): Don't define here.
28146 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28148 bits/socket_type.h.
28149
c6e013c1
JM
28150 [BZ #13566]
28151 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28152 checking __USE_GNU.
28153
4962050e
JM
28154 * Makerules ($(inst_includedir)/%.h): New rule.
28155 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28156 (install-others): Remove variable setting.
28157 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28158
38842f45
RH
281592012-03-08 Richard Henderson <rth@twiddle.net>
28160
67bb6da6
RH
28161 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28162 from macro to inline function; merge with the
28163 !__LIBC_INTERNAL_MATH_INLINES version.
28164 (__ieee754_sqrtf): Likewise.
28165
15194b4b
RH
28166 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28167 to inline function.
28168 (__rintf, __floor, __floorf): Likewise.
28169
64e21ede
RH
28170 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28171 macro to inline function.
28172 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28173
38842f45
RH
28174 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28175 not <math/math_private.h>.
28176
c64bf5fe
DM
281772012-03-08 David S. Miller <davem@davemloft.net>
28178
28179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28180 copyright year.
28181 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28182
82d86f28
TS
281832012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28184
28185 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28186 normalization.
28187 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28188 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28189
aea5d727
UD
281902012-03-08 Ulrich Drepper <drepper@gmail.com>
28191
28192 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28193 be defined individually, they must be defined as a block. Define
28194 S for printing a string instead of hidint the different by using a
28195 macro for adding the 'l'.
28196 * stdio-common/tst-fphex-wide.c: Adjust.
28197
70bca0a3
MP
281982012-03-07 Marek Polacek <polacek@redhat.com>
28199
28200 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28201
65b81130
MP
282022012-03-08 Marek Polacek <polacek@redhat.com>
28203
28204 [BZ #13806]
28205 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28206 * stdio-common/tst-fphex.c: Define a few macros to make the
28207 test reusable. Use them.
28208 * stdio-common/tst-fphex-wide.c: New file.
28209
07037eeb
JM
282102012-03-08 Joseph Myers <joseph@codesourcery.com>
28211
a7a93d50
JM
28212 [BZ #6911]
28213 * manual/macros.texi (gnusystems): New macro.
28214 (nongnusystems): Likewise.
28215 (gnulinuxhurdsystems): Likewise.
28216 (gnuhurdsystems): Likewise..
28217 (gnulinuxsystems): Likewise.
28218 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28219 variants of the GNU system, not "GNU system".
28220 * manual/conf.texi: Likewise.
28221 * manual/errno.texi: Likewise. Update example of errno macro
28222 expansion.
28223 * manual/filesys.texi: Likewise.
28224 (getumask): Document as specific to GNU/Hurd.
28225 * manual/install.texi: Likewise. Reword some references to
28226 GNU/Linux.
28227 * manual/intro.texi: Likewise.
28228 * manual/io.texi: Likewise.
28229 (File Name Portability): Detail which constraints are inapplicable
28230 to all GNU systems and which are only inapplicable to GNU/Hurd.
28231 * manual/job.texi: Likewise.
28232 * manual/llio.texi: Likewise.
28233 (O_NOCTTY): Document as present on GNU/Linux.
28234 * manual/maint.texi: Likewise.
28235 * manual/memory.texi: Likewise.
28236 * manual/pattern.texi: Likewise.
28237 * manual/pipe.texi: Likewise.
28238 * manual/process.texi: Likewise.
28239 * manual/resource.texi: Likewise.
28240 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28241 child on GNU/Hurd.
28242 * manual/setjmp.texi: Likewise.
28243 * manual/signal.texi: Likewise.
28244 * manual/startup.texi: Likewise.
28245 * manual/stdio.texi: Likewise.
28246 * manual/terminal.texi: Likewise.
28247 (ONLCR): Document as POSIX.
28248 (OXTABS): Document availability on GNU/Linux as XTABS.
28249 (ONOEOT): Document availability separately from other bits.
28250 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28251 * manual/time.texi: Likewise.
28252 * manual/users.texi: Likewise.
28253 * INSTALL: Regenerated.
28254 * sysdeps/gnu/errlist.c: Regenerated.
28255
07037eeb
JM
28256 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28257 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28258 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28259 puts.
28260 * configure: Regenerated.
28261
d1d3431a
JM
282622012-03-07 Joseph Myers <joseph@codesourcery.com>
28263
af6a1e37
JM
28264 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28265 default includes instead of AC_HEADER_CHECK.
28266 * sysdeps/i386/configure: Regenerated.
28267
d1d3431a
JM
28268 [BZ #10716]
28269 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28270 * math/s_cacoshf.c (__cacoshf): Likewise.
28271 * math/s_cacoshl.c (__cacoshl): Likewise.
28272 * math/s_casinh.c (__casinh): Set signs of result from argument.
28273 * math/s_casinhf.c (__casinhf): Likewise.
28274 * math/s_casinhl.c (__casinhl): Likewise.
28275 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28276 (casinh_test): Add more tests.
28277 * sysdeps/i386/fpu/libm-test-ulps: Update.
28278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28279
482ff4da
UD
282802012-03-07 Ulrich Drepper <drepper@gmail.com>
28281
872fda05
UD
28282 * po/zh_TW.po: Update from translation team.
28283
a4300c7a
UD
28284 * login/Makefile (distribute): Remove variable.
28285 * catgets/Makefile: Likewise.
28286 * mach/Makefile: Likewise.
28287 * malloc/Makefile: Likewise.
28288 * misc/Makefile: Likewise.
28289 * iconv/Makefile: Likewise.
28290 * nscd/Makefile: Likewise.
28291 * hurd/Makefile: Likewise.
28292 * manual/Makefile: Likewise.
28293 * locale/Makefile: Likewise.
28294 * intl/Makefile: Likewise.
28295 * conform/Makefile: Likewise.
28296 * nss/Makefile: Likewise.
28297 * time/Makefile: Likewise.
28298 * soft-fp/Makefile: Likewise.
28299 * dirent/Makefile: Likewise.
28300 * gmon/Makefile: Likewise.
28301 * po/Makefile: Likewise.
28302 * rt/Makefile: Likewise.
28303 * socket/Makefile: Likewise.
28304 * math/Makefile: Likewise.
28305 * signal/Makefile: Likewise.
28306 * debug/Makefile: Likewise.
28307 * elf/Makefile: Likewise.
28308 * timezone/Makefile: Likewise.
28309 * stdlib/Makefile: Likewise.
28310 * iconvdata/Makefile: Likewise.
28311 * sunrpc/Makefile: Likewise.
28312 * io/Makefile: Likewise.
28313 * argp/Makefile: Likewise.
28314 * inet/Makefile: Likewise.
28315 * hesiod/Makefile: Likewise.
28316 * grp/Makefile: Likewise.
28317 * csu/Makefile: Likewise.
28318 * wctype/Makefile: Likewise.
28319 * crypt/Makefile: Likewise.
28320 * libio/Makefile: Likewise.
28321 * string/Makefile: Likewise.
28322 * nis/Makefile: Likewise.
28323 * resolv/Makefile: Likewise.
28324 * stdio-common/Makefile: Likewise.
28325 * wcsmbs/Makefile: Likewise.
28326 * dlfcn/Makefile: Likewise.
28327 * posix/Makefile: Likewise.
28328
3b7c4e74 28329 [BZ #6959]
482ff4da
UD
28330 * timezone/Makefile: Don't install timezone files, just the programs
28331 and scripts.
28332
f72ed77d
UD
283332012-03-06 Ulrich Drepper <drepper@gmail.com>
28334
a000466f
UD
28335 * nss/databases.def: Add missing gshadow entry.
28336
f72ed77d
UD
28337 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28338
a53b7a4e
MP
283392012-03-06 Marek Polacek <polacek@redhat.com>
28340
28341 [BZ #13726]
28342 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28343 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28344 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28345 * stdio-common/tst-long-dbl-fphex.c: New file.
28346
e9258400
DM
283472012-03-06 David S. Miller <davem@davemloft.net>
28348
28349 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28350 (set_obp_int): New function.
28351 (get_obp_int): New function.
28352 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28353 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28354 Avoid unused variable warnings on 'val' and use builtin_expect.
28355 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28356 __builtin_expect.
e9258400
DM
28357 (INLINE_CLONE_SYSCALL): Likewise.
28358
3bd2c723
DM
283592012-03-05 David S. Miller <davem@davemloft.net>
28360
28361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28362
bbb78d03
AS
283632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28364
884c5db4
AS
28365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28366
bbb78d03
AS
28367 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28368 only for |x| >= 40.
28369 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28370
1c9f702a 283712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28372
28373 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28374 Replace gettimeofday with __vdso_gettimeofday.
28375
7be16f82
RM
28376 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28377 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28378 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28379
28380 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28381 time with __vdso_time.
28382
ed58a00f
JM
283832012-03-05 Joseph Myers <joseph@codesourcery.com>
28384
28385 * manual/lang.texi (size_t): Note types to which size_t may be
28386 equivalent with the GNU C Library, but do not describe when
28387 differences between them are significant.
28388
30ee4ced
AJ
283892012-03-05 Andreas Jaeger <aj@suse.de>
28390
28391 * sysdeps/i386/fpu/libm-test-ulps: Update.
28392
b7cd39e8
JM
283932012-03-05 Joseph Myers <joseph@codesourcery.com>
28394
28395 [BZ #3976]
28396 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28397 (__ieee754_pow): Save and restore rounding mode and use
28398 round-to-nearest for main computations.
28399 * math/libm-test.inc (pow_test_tonearest): New function.
28400 (pow_test_towardzero): Likewise.
28401 (pow_test_downward): Likewise.
28402 (pow_test_upward): Likewise.
28403 (main): Call the new functions.
28404 * sysdeps/i386/fpu/libm-test-ulps: Update.
28405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
28406
28407 [BZ #3976]
28408 * math/libm-test.inc (cosh_test_tonearest): New function.
28409 (cosh_test_towardzero): Likewise.
28410 (cosh_test_downward): Likewise.
28411 (cosh_test_upward): Likewise.
28412 (sinh_test_tonearest): Likewise.
28413 (sinh_test_towardzero): Likewise.
28414 (sinh_test_downward): Likewise.
28415 (sinh_test_upward): Likewise.
28416 (main): Call the new functions.
28417 * sysdeps/i386/fpu/libm-test-ulps: Update.
28418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28419
6c6a98c9
TV
284202012-03-05 Tom de Vries <tom@codesourcery.com>
28421
28422 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28423 default stack guard is set in last bytes.
28424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28425
21bb2d2e 284262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28427
21bb2d2e 28428 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28429
21bb2d2e
AJ
28430 [BZ #13656]
28431 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28432 possibly allocate from heap instead of stack.
28433 * stdio-common/bug-vfprintf-nargs.c: New file.
28434 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28435
c6922934
AS
284362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28437
28438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28439
bc957d53
MP
284402012-03-03 Marek Polacek <polacek@redhat.com>
28441
28442 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28443 * math/math_private.h: Likewise.
28444 * stdlib/tst-strtod.c: Likewise.
28445 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28446 * sysdeps/x86_64/bits/atomic.h: Likewise.
28447
6358490d
DM
284482012-03-02 David S. Miller <davem@davemloft.net>
28449
28450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28454 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28455 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28456 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28457 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28458
01ae168d
RM
284592012-03-02 Roland McGrath <roland@hack.frob.com>
28460
d9a17c07
RM
28461 [BZ #13792]
28462 * manual/examples/README: New file, says the example source files
28463 can be used under GPL>=2.
28464 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28465 line containing just "*/".
28466 * manual/examples/add.c: Add copyright header (GPL>=2).
28467 * manual/examples/argp-ex1.c: Likewise.
28468 * manual/examples/argp-ex2.c: Likewise.
28469 * manual/examples/argp-ex3.c: Likewise.
28470 * manual/examples/argp-ex4.c: Likewise.
28471 * manual/examples/atexit.c: Likewise.
28472 * manual/examples/db.c: Likewise.
28473 * manual/examples/dir.c: Likewise.
28474 * manual/examples/dir2.c: Likewise.
28475 * manual/examples/execinfo.c: Likewise.
28476 * manual/examples/filecli.c: Likewise.
28477 * manual/examples/filesrv.c: Likewise.
28478 * manual/examples/fmtmsgexpl.c: Likewise.
28479 * manual/examples/genpass.c: Likewise.
28480 * manual/examples/inetcli.c: Likewise.
28481 * manual/examples/inetsrv.c: Likewise.
28482 * manual/examples/isockad.c: Likewise.
28483 * manual/examples/longopt.c: Likewise.
28484 * manual/examples/memopen.c: Likewise.
28485 * manual/examples/memstrm.c: Likewise.
28486 * manual/examples/mkfsock.c: Likewise.
28487 * manual/examples/mkisock.c: Likewise.
28488 * manual/examples/mygetpass.c: Likewise.
28489 * manual/examples/pipe.c: Likewise.
28490 * manual/examples/popen.c: Likewise.
28491 * manual/examples/rprintf.c: Likewise.
28492 * manual/examples/search.c: Likewise.
28493 * manual/examples/select.c: Likewise.
28494 * manual/examples/setjmp.c: Likewise.
28495 * manual/examples/sigh1.c: Likewise.
28496 * manual/examples/sigusr.c: Likewise.
28497 * manual/examples/stpcpy.c: Likewise.
28498 * manual/examples/strdupa.c: Likewise.
28499 * manual/examples/strftim.c: Likewise.
28500 * manual/examples/strncat.c: Likewise.
28501 * manual/examples/subopt.c: Likewise.
28502 * manual/examples/swapcontext.c: Likewise.
28503 * manual/examples/termios.c: Likewise.
28504 * manual/examples/testopt.c: Likewise.
28505 * manual/examples/testpass.c: Likewise.
28506 * manual/examples/timeval_subtract.c: Likewise.
28507
01ae168d
RM
28508 [BZ #13792]
28509 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28510 function to ...
28511 * manual/timeval_subtract.c.texi: ... here, new file.
28512
49efa33d
DM
285132012-03-02 David S. Miller <davem@davemloft.net>
28514
28515 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28516
28afd92d
JM
285172012-03-02 Joseph Myers <joseph@codesourcery.com>
28518
804360ed
JM
28519 [BZ #3976]
28520 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28521 (__sin): Save and restore rounding mode and use round-to-nearest
28522 for all computations.
28523 (__cos): Save and restore rounding mode and use round-to-nearest
28524 for all computations.
28525 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28526 <fenv.h>.
28527 (tan): Save and restore rounding mode and use round-to-nearest for
28528 all computations.
28529 * math/libm-test.inc (cos_test_tonearest): New function.
28530 (cos_test_towardzero): Likewise.
28531 (cos_test_downward): Likewise.
28532 (cos_test_upward): Likewise.
28533 (sin_test_tonearest): Likewise.
28534 (sin_test_towardzero): Likewise.
28535 (sin_test_downward): Likewise.
28536 (sin_test_upward): Likewise.
28537 (tan_test_tonearest): Likewise.
28538 (tan_test_towardzero): Likewise.
28539 (tan_test_downward): Likewise.
28540 (tan_test_upward): Likewise.
28541 (main): Call the new functions.
28542 * sysdeps/i386/fpu/libm-test-ulps: Update.
28543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28544
a6d06d7b
JM
28545 [BZ #10135]
28546 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28547 small n, then large n, before computing and testing k+n.
28548 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28549 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28550 Likewise.
28551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28552 Likewise.
28553 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28554 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28555 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28556 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28557 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28558 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28559 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28560 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28561 * math/libm-test.inc (scalbn_test): Add more tests.
28562 (scalbln_test): Likewise.
28563
07e12bb3
JM
28564 * manual/filesys.texi (mode_t): Describe constraints on size and
28565 signedness, not exact equivalence to a particular type.
28566 (ino_t): Likewise.
28567 (ino64_t): Likewise.
28568 (dev_t): Likewise.
28569 (nlink_t): Likewise.
28570 (blkcnt_t): Likewise.
28571 (blkcnt64_t): Likewise.
28572 * manual/llio.texi (off_t): Likewise.
28573
28afd92d
JM
28574 [BZ #3976]
28575 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28576 (__ieee754_exp): Save and restore rounding mode and use
28577 round-to-nearest for all computations.
28578 * math/libm-test.inc (exp_test_tonearest): New function.
28579 (exp_test_towardzero): Likewise.
28580 (exp_test_downward): Likewise.
28581 (exp_test_upward): Likewise.
28582 (main): Call the new functions.
28583 * sysdeps/i386/fpu/libm-test-ulps: Update.
28584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28585
b1eeb65d
CD
285862012-03-01 Chris Demetriou <cgd@google.com>
28587
28588 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28589 have predictable order.
28590
53362a4b
DM
285912012-03-01 David S. Miller <davem@davemloft.net>
28592
3c969083
DM
28593 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28594
759707de
DM
28595 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28596 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28597 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28598 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28599
dfdb8ff2
DM
28600 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28601 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28602 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28604 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28605 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28606 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28607 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28608 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28609
ead89f96
DM
28610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28611
7f66bd07
DM
28612 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28613 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28614 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28615
53362a4b
DM
28616 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28617 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28618 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28619 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28620 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28622 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28623 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28624 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28625 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28626 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28627 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28628 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28629 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28630 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28631 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28632 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28633 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28634 * sysdeps/sparc/elf/configure: Regenerated.
28635
7b1902cb
JM
286362012-03-01 Joseph Myers <joseph@codesourcery.com>
28637
bec039bc
JM
28638 * configure.in (AS, LD): Require binutils 2.20 or later.
28639 * configure: Regenerated.
28640 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28641 as required minimum version.
28642 * INSTALL: Regenerated.
28643
7b1902cb
JM
28644 [BZ #2541]
28645 [BZ #4108]
28646 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28647 before squaring exponent.
28648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28649 bottom long double and 27 bits of top long double before squaring
28650 exponent.
28651 * math/libm-test.inc (erfc_test): Add more tests.
28652 * sysdeps/i386/fpu/libm-test-ulps: Update.
28653 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28655
f775c276
KT
286562012-03-01 Kai Tietz <ktietz@redhat.com>
28657
28658 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28659 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28660 containing bit-fields.
28661 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28662 * soft-fp/single.h (_FP_UNION_S): Likewise.
28663 * soft-fp/double.h (_FP_UNION_D): Likewise.
28664
5b8a4d4a
JM
286652012-02-29 Joseph Myers <joseph@codesourcery.com>
28666
0bab47b6
JM
28667 [BZ #13786]
28668 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28669 not include ../strcmp.S.
28670 [USE_AS_STRNCASECMP_L]: Likewise.
28671 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28672 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28673 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28674 (__strncasecmp_l_ia32): Define as alias to
28675 __strncasecmp_l_nonascii.
28676
0fcad3e2
JM
28677 [BZ #5794]
28678 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28679 * sysdeps/i386/fpu/libm-test-ulps: Update.
28680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28681
5b8a4d4a
JM
28682 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28684
8fdceb2e
JL
286852012-02-29 Jeff Law <law@redhat.com>
28686
28687 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28688 out of bounds read.
28689
1f393a11
MP
286902012-02-29 Marek Polacek <polacek@redhat.com>
28691
28692 [BZ #13706]
28693 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28694 * elf/Makefile: Add rules to run tst-unused-dep.out.
28695
8847f037
DM
286962012-02-28 David S. Miller <davem@davemloft.net>
28697
28698 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28699 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28700 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28701 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28702 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28703 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28704
169d7f11
JM
287052012-02-29 Joseph Myers <joseph@codesourcery.com>
28706
28707 * math/libm-test.inc (llround_test): Move one test from
28708 lround_test. Use TEST_f_L in moved test.
28709 (lround_test): Move misplaced test to llround_test. Add testcase
28710 from bug 2561.
28711
39adf059
UD
287122012-02-28 Ulrich Drepper <drepper@gmail.com>
28713
28714 * sysdeps/x86_64/fpu/e_expf.S: New file.
28715 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28716
71b5d1c5
SB
287172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28718
28719 [BZ #13637]
28720 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28721 of remain_len that may cause incomplete multi-byte character and
28722 false match.
28723 * posix/bug-regex33.c: New file.
28724 * posix/Makefile (tests): Add bug-regex33.
28725
1f77f049
JM
287262012-02-28 Joseph Myers <joseph@codesourcery.com>
28727
28728 * manual/macros.texi: New file.
28729 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28730 * manual/libc.texinfo: Include macros.texi.
28731 * manual/creatute.texi: Likewise.
28732 * manual/install.texi: Likewise.
28733 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28734 @glibcadj{} in references to the GNU C Library.
28735 * manual/charset.texi: Likewise.
28736 * manual/conf.texi: Likewise.
28737 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28738 when not using those macros.
28739 * manual/creature.texi: Likewise.
28740 * manual/crypt.texi: Likewise.
28741 * manual/errno.texi: Likewise.
28742 * manual/filesys.texi: Likewise.
28743 * manual/header.texi: Likewise.
28744 * manual/install.texi: Likewise.
28745 * manual/intro.texi: Likewise.
28746 * manual/io.texi: Likewise.
28747 * manual/job.texi: Likewise.
28748 * manual/lang.texi: Likewise.
28749 * manual/libc.texiinfo: Likewise.
28750 * manual/llio.texi: Likewise.
28751 * manual/locale.texi: Likewise.
28752 * manual/maint.texi: Likewise.
28753 * manual/math.texi: Likewise.
28754 * manual/memory.texi: Likewise.
28755 * manual/message.texi: Likewise.
28756 * manual/nss.texi: Likewise.
28757 * manual/pattern.texi: Likewise.
28758 * manual/process.texi: Likewise.
28759 * manual/resource.texi: Likewise.
28760 * manual/search.texi: Likewise.
28761 * manual/setjmp.texi: Likewise.
28762 * manual/signal.texi: Likewise.
28763 * manual/socket.texi: Likewise.
28764 * manual/startup.texi: Likewise.
28765 * manual/stdio.texi: Likewise.
28766 * manual/string.texi: Likewise.
28767 * manual/sysinfo.texi: Likewise.
28768 * manual/syslog.texi: Likewise.
28769 * manual/terminal.texi: Likewise.
28770 * manual/time.texi: Likewise.
28771 * manual/users.texi: Likewise.
28772 * INSTALL: Regenerated.
28773 * NOTES: Regenerated.
d40c5d54 28774 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28775
450bf206
AS
287762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28777
28778 * include/dirent.h: Include <dirstream.h> before
28779 <dirent/dirent.h>.
28780
741a235b
DM
287812012-02-28 David S. Miller <davem@davemloft.net>
28782
28783 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28784 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28785 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28786 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28787
d6b5aa58
DM
287882012-02-27 David S. Miller <davem@davemloft.net>
28789
1aff59a3
DM
28790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28792 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28793 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28794
d6b5aa58
DM
28795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28796 frame pointer instead of stack pointer relative arg slot.
28797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28798 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28799 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28800
433f48bf
CD
288012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28802
28803 [BZ #3992]
28804 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28805
d674b76d
DM
288062012-02-27 David S. Miller <davem@davemloft.net>
28807
28808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28812 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28813 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28814 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28815 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28816
0e7727f7
JM
288172012-02-27 Joseph Myers <joseph@codesourcery.com>
28818
28819 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28820 later. Allow versions 5-9.
43be4ca2 28821 * configure: Regenerated.
0e7727f7
JM
28822 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28823 required minimum version and 4.6 as recommended version. Do not
28824 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28825 * INSTALL: Regenerated.
0e7727f7 28826
a78bc654
DM
288272012-02-27 David S. Miller <davem@davemloft.net>
28828
428d5830
DM
28829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28833 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28834 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28835 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28836 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28837
a78bc654
DM
28838 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28839 manipulate bits before adding and subtracting TWO112[sx].
28840 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28841
4579f81c
RM
288422012-02-27 Roland McGrath <roland@hack.frob.com>
28843
36c8acb4
RM
28844 [BZ #13775]
28845 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28846 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28847 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28848 being in POSIX, because they are in 1003.1-2008.
28849
84ad622b
RM
28850 * rt/tst-aio.c: Include <fcntl.h>.
28851 * rt/tst-aio7.c: Likewise.
28852 * rt/tst-aio64.c: Likewise.
28853
4579f81c
RM
28854 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28855
abd923db
JM
288562012-02-27 Joseph Myers <joseph@codesourcery.com>
28857
28858 * manual/install.texi (--with-headers): Describe headers as
28859 interface headers, not private headers.
28860 (Specific advice for GNU/Linux systems): Describe use of headers
28861 from "make headers_install", not private headers from older
28862 kernels.
43be4ca2 28863 * INSTALL: Regenerated.
abd923db
JM
28864 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28865 Change to 2.6.19.
28866 * sysdeps/unix/sysv/linux/configure: Regenerated.
28867
6664049b
JM
28868 * manual/llio.texi (fclean): Remove documentation.
28869
bb8b6697
JM
28870 * manual/Makefile (libc-texi-generated): New variable. Include
28871 version.texi.
28872 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28873 $(libc-texi-generated), not duplicated list of files.
28874 (version.texi, stamp-version): New rules.
28875 (realclean): Remove $(libc-texi-generated), not individual files
28876 from that list. Do not remove dir-add.texinfo.
28877 * manual/libc.texinfo: Comment out uses of edition numbers and
28878 references to printed manual. Remove last-updated dates.
28879 (EDITION): Comment out.
28880 (ISBN): Likewise.
28881 (VERSION, UPDATED): Remove.
28882 (version.texi): Include.
28883
12e5c3b9
AS
288842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28885
28886 * sysdeps/posix/spawni.c: Include <signal.h>.
28887 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28888 * sysdeps/pthread/aio_fsync.c: Likewise.
28889
4efeffc1 288902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28891
ba63ba08
UD
28892 * conform/Makefile (tests): Run only when not cross-compiling and
28893 when fast-check is not defined.
28894
d94a4670
UD
28895 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28896 * conform/data/limits.h-data: Fixes for POSIX2008.
28897 * conform/run-conformtest.sh: Run all tests.
28898 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28899 headers.
28900 * include/bits/dlfcn.h: Likewise.
28901 * include/langinfo.h: Likewise.
28902 * include/monetary.h: Likewise.
28903 * include/sys/poll.h: Likewise.
28904
28905 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28906 for __USE_GNU.
28907 * posix/spawn.h: Define __need_sigset_t.
28908 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28909 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28910 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28911 to get sigevent_t only.
28912 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28913 only for __USE_GNU.
28914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28915 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28916 process_vm_writev only for __USE_GNU.
28917 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28918
28919 * conform/Makefile: For now ignore errors from run-conformtest.
28920 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28921 POSIX to avoid namespace pollution. Don't prepend headers.
28922 * conform/data/aio.h-data: Fixes for POSIX testing.
28923 * conform/data/fcntl.h-data: Likewise.
28924 * conform/data/glob.h-data: Likewise.
28925 * conform/data/grp.h-data: Likewise.
28926 * conform/data/pthread.h-data: Likewise.
28927 * conform/data/pwd.h-data: Likewise.
28928 * conform/data/signal.h-data: Likewise.
28929 * conform/data/spawn.h-data: Likewise.
28930 * conform/data/stdio.h-data: Likewise.
28931 * conform/data/stdlib.h-data: Likewise.
28932 * conform/data/stropts.h-data: Likewise.
28933 * conform/data/sys/mman.h-data: Likewise.
28934 * conform/data/sys/stat.h-data: Likewise.
28935 * conform/data/sys/types.h-data: Likewise.
28936 * conform/data/sys/wait.h-data: Likewise.
28937 * conform/data/time.h-data: Likewise.
28938 * conform/data/unistd.h-data: Likewise.
28939 * conform/data/utime.h-data: Likewise.
28940
28941 * io/sys/stat.h: fchmod was always in POSIX.
28942 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28943 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28944 * rt/aio.h: Define __need_timespec before including <time.h>.
28945 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28946 struct. Add forward declaration of pthread_attr_t and use it in
28947 sigevent.
28948 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28949 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28950 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28951 always remove CLK_TCK definition.
28952
c20105c3
AS
289532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28954
28955 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28956
7a270350
UD
289572012-02-25 Ulrich Drepper <drepper@gmail.com>
28958
31341567
UD
28959 * conform/run-conformtest.sh: New file.
28960 * conform/Makefile: Run run-conformtest for tests.
28961 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28962 support.
28963
28964 * conform/data/uchar.h-data: New file.
28965 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28966 * conform/data/arpa/inet.h-data: Likewise.
28967 * conform/data/assert.h-data: Likewise.
28968 * conform/data/complex.h-data: Likewise.
28969 * conform/data/cpio.h-data: Likewise.
28970 * conform/data/ctype.h-data: Likewise.
28971 * conform/data/dirent.h-data: Likewise.
28972 * conform/data/dlfcn.h-data: Likewise.
28973 * conform/data/errno.h-data: Likewise.
28974 * conform/data/fcntl.h-data: Likewise.
28975 * conform/data/float.h-data: Likewise.
28976 * conform/data/fmtmsg.h-data: Likewise.
28977 * conform/data/fnmatch.h-data: Likewise.
28978 * conform/data/ftw.h-data: Likewise.
28979 * conform/data/glob.h-data: Likewise.
28980 * conform/data/grp.h-data: Likewise.
28981 * conform/data/iconv.h-data: Likewise.
28982 * conform/data/inttypes.h-data: Likewise.
28983 * conform/data/langinfo.h-data: Likewise.
28984 * conform/data/libgen.h-data: Likewise.
28985 * conform/data/limits.h-data: Likewise.
28986 * conform/data/locale.h-data: Likewise.
28987 * conform/data/math.h-data: Likewise.
28988 * conform/data/monetary.h-data: Likewise.
28989 * conform/data/mqueue.h-data: Likewise.
28990 * conform/data/ndbm.h-data: Likewise.
28991 * conform/data/net/if.h-data: Likewise.
28992 * conform/data/netdb.h-data: Likewise.
28993 * conform/data/netinet/in.h-data: Likewise.
28994 * conform/data/nl_types.h-data: Likewise.
28995 * conform/data/poll.h-data: Likewise.
28996 * conform/data/pthread.h-data: Likewise.
28997 * conform/data/pwd.h-data: Likewise.
28998 * conform/data/regex.h-data: Likewise.
28999 * conform/data/sched.h-data: Likewise.
29000 * conform/data/search.h-data: Likewise.
29001 * conform/data/semaphore.h-data: Likewise.
29002 * conform/data/setjmp.h-data: Likewise.
29003 * conform/data/signal.h-data: Likewise.
29004 * conform/data/spawn.h-data: Likewise.
29005 * conform/data/stdarg.h-data: Likewise.
29006 * conform/data/stdio.h-data: Likewise.
29007 * conform/data/stdlib.h-data: Likewise.
29008 * conform/data/string.h-data: Likewise.
29009 * conform/data/strings.h-data: Likewise.
29010 * conform/data/stropts.h-data: Likewise.
29011 * conform/data/sys/ipc.h-data: Likewise.
29012 * conform/data/sys/mman.h-data: Likewise.
29013 * conform/data/sys/msg.h-data: Likewise.
29014 * conform/data/sys/resource.h-data: Likewise.
29015 * conform/data/sys/select.h-data: Likewise.
29016 * conform/data/sys/sem.h-data: Likewise.
29017 * conform/data/sys/shm.h-data: Likewise.
29018 * conform/data/sys/socket.h-data: Likewise.
29019 * conform/data/sys/stat.h-data: Likewise.
29020 * conform/data/sys/statvfs.h-data: Likewise.
29021 * conform/data/sys/time.h-data: Likewise.
29022 * conform/data/sys/timeb.h-data: Likewise.
29023 * conform/data/sys/times.h-data: Likewise.
29024 * conform/data/sys/types.h-data: Likewise.
29025 * conform/data/sys/uio.h-data: Likewise.
29026 * conform/data/sys/un.h-data: Likewise.
29027 * conform/data/sys/utsname.h-data: Likewise.
29028 * conform/data/sys/wait.h-data: Likewise.
29029 * conform/data/syslog.h-data: Likewise.
29030 * conform/data/tar.h-data: Likewise.
29031 * conform/data/termios.h-data: Likewise.
29032 * conform/data/utime.h-data: Likewise.
29033 * conform/data/utmpx.h-data: Likewise.
29034 * conform/data/varargs.h-data: Likewise.
29035 * conform/data/wchar.h-data: Likewise.
29036 * conform/data/wctype.h-data: Likewise.
29037 * conform/data/wordexp.h-data: Likewise.
29038
29039 * include/stropts.h: New file.
29040 * include/uchar.h: New file.
29041 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29042 * include/assert.h: Likewise.
29043 * include/ctype.h: Likewise.
29044 * include/dirent.h: Likewise.
29045 * include/dlfcn.h: Likewise.
29046 * include/fcntl.h: Likewise.
29047 * include/fnmatch.h: Likewise.
29048 * include/glob.h: Likewise.
29049 * include/grp.h: Likewise.
29050 * include/libio.h: Likewise.
29051 * include/locale.h: Likewise.
29052 * include/math.h: Likewise.
29053 * include/net/if.h: Likewise.
29054 * include/netdb.h: Likewise.
29055 * include/netinet/in.h: Likewise.
29056 * include/pthread.h: Likewise.
29057 * include/pwd.h: Likewise.
29058 * include/regex.h: Likewise.
29059 * include/sched.h: Likewise.
29060 * include/search.h: Likewise.
29061 * include/setjmp.h: Likewise.
29062 * include/signal.h: Likewise.
29063 * include/stdio.h: Likewise.
29064 * include/stdlib.h: Likewise.
29065 * include/string.h: Likewise.
29066 * include/sys/cdefs.h: Likewise.
29067 * include/sys/mman.h: Likewise.
29068 * include/sys/msg.h: Likewise.
29069 * include/sys/resource.h: Likewise.
29070 * include/sys/select.h: Likewise.
29071 * include/sys/socket.h: Likewise.
29072 * include/sys/stat.h: Likewise.
29073 * include/sys/statvfs.h: Likewise.
29074 * include/sys/time.h: Likewise.
29075 * include/sys/times.h: Likewise.
29076 * include/sys/uio.h: Likewise.
29077 * include/sys/utsname.h: Likewise.
29078 * include/sys/wait.h: Likewise.
29079 * include/termios.h: Likewise.
29080 * include/time.h: Likewise.
29081 * include/ulimit.h: Likewise.
29082 * include/unistd.h: Likewise.
29083 * include/utime.h: Likewise.
29084 * include/wchar.h: Likewise.
29085 * include/wctype.h: Likewise.
29086 * include/wordexp.h: Likewise.
29087
29088 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29089
7a270350
UD
29090 * time/time.h: TIME_UTC must be a macro.
29091 Make timespec_get available for ISO C11 only as well.
29092
7724defc
UD
290932012-02-24 Ulrich Drepper <drepper@gmail.com>
29094
29095 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29096 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29097
6b1d1d46
JM
290982012-02-24 Joseph Myers <joseph@codesourcery.com>
29099
29100 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29101
0f8bbd69
JM
291022012-02-24 Joseph Myers <joseph@codesourcery.com>
29103
29104 * manual/texinfo.tex: Update to version 2012-01-19.16.
29105
66ab80bc
JM
291062012-02-24 Joseph Myers <joseph@codesourcery.com>
29107
29108 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29109
74981cc5
RM
291102012-02-24 Roland McGrath <roland@hack.frob.com>
29111
ee968201
RM
29112 [BZ #13738]
29113 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29114 * manual/fdl-1.3.texi: New file.
29115 * manual/fdl-1.1.texi: File removed.
29116
74981cc5
RM
29117 [BZ #13738]
29118 * manual/libc.texinfo (FDL_VERSION): New @set.
29119 Use it for mention of FDL in cover text.
29120 (Documentation License): Use it in @include file name.
29121
7bb764bc
JM
291222012-02-22 Joseph Myers <joseph@codesourcery.com>
29123 Roland McGrath <roland@hack.frob.com>
29124
29125 [BZ #5461]
29126 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29127 not LONG_LONG_MAX and LONG_LONG_MIN.
29128 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29129 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29130 name.
29131 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29132
6cbeae47
JM
291332012-02-22 Joseph Myers <joseph@codesourcery.com>
29134
29135 [BZ #2547]
29136 [BZ #11365]
29137 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29138 manipulate bits before adding and subtracting TWO23[sx].
29139 * math/libm-test.inc (nearbyint_test): Add more tests.
29140
fe45ce09
JM
291412012-02-22 Joseph Myers <joseph@codesourcery.com>
29142
29143 [BZ #2548]
29144 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29145 bits before adding and subtracting TWO23[sx].
29146 * math/libm-test.inc (rint_test): Add more tests.
29147 (rint_test_tonearest): Likewise.
29148 (rint_test_towardzero): Likewise.
29149 (rint_test_downward): Likewise.
29150 (rint_test_upward: Likewise.
29151
ff3b3d82
JM
291522012-02-22 Joseph Myers <joseph@codesourcery.com>
29153
29154 [BZ #10110]
29155 * include/stdc-predef.h: New file. Extracted from features.h.
29156 * include/features.h: Include stdc-predef.h.
29157 * Makefile (headers): Add stdc-predef.h.
29158 * CONFORMANCE (Compiler limitations): Update.
29159
ef0aab35
JM
291602012-02-22 Joseph Myers <joseph@codesourcery.com>
29161
29162 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29163
58639409
DM
291642012-02-21 David S. Miller <davem@davemloft.net>
29165
29166 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29167 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29168
c0e70b25
DM
291692012-02-20 David S. Miller <davem@davemloft.net>
29170
29171 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29172 using a normal save/restore sequence, rather than allocating a
29173 dummy stack frame just to store a frame pointer and restore.
29174 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29175
fb06851d
JM
291762012-02-21 Joseph Myers <joseph@codesourcery.com>
29177
29178 * manual/install.texi: Fix stray word in line-wrapped comment.
29179
7a8b71c3
DM
291802012-02-20 David S. Miller <davem@davemloft.net>
29181
d510c123
DM
29182 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29183 both binutils and gcc support GOTDATA.
29184
0722d7c2
DM
29185 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29186 "rd %pc" in the PIC register setup sequences.
29187
3d2b3019
DM
29188 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29189 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29190 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29191 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29192 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29195 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29197 (SYSCALL_ERROR_HANDLER): Likewise.
29198 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29199 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29200 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29201 (SYSCALL_ERROR_HANDLER): Likewise.
29202
c80098a9
DM
29203 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29204 (HAVE_GCC_GOTDATA): New.
29205 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29206 relocation support in both binutils and gcc.
29207 * sysdeps/sparc/elf/configure: Regenerate.
29208
3a2545a0
DM
29209 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29210 * sysdeps/sparc/sparc32/elf/configure: Delete.
29211 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29212 * sysdeps/sparc/sparc64/elf/configure: Delete.
29213 * sysdeps/sparc/elf/configure.in: New file.
29214 * sysdeps/sparc/elf/configure: Generate.
29215
7a8b71c3
DM
29216 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29217 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29218 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29219 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29220 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29221
f1e86fca
JM
292222012-02-21 Joseph Myers <joseph@codesourcery.com>
29223
29224 * manual/install.texi: Do not mention specific glibc version
29225 numbers.
29226 * manual/libc.texinfo (VERSION, UPDATED): Update.
29227 (@copying): Use @copyright{} and range of years.
29228
0e7dfaef
JM
292292012-02-21 Joseph Myers <joseph@codesourcery.com>
29230
29231 [BZ #13695]
29232 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29233 [crti.S not in sysdirs] (generated): Do not append.
29234 [crti.S not in sysdirs] (omit-deps): Likewise.
29235 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29236 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29237 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29238 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29239 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29240 Likewise.
29241 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29242 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29243 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29244 * csu/defs.awk: Remove file.
29245 * sysdeps/generic/initfini.c: Likewise.
29246 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29247 variable.
29248 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29249 Likewise.
29250
599af3ca
JM
292512012-02-20 Joseph Myers <joseph@codesourcery.com>
29252
29253 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29254 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29255 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29256 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29257 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29258 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29259 <bits/epoll.h>.
29260 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29261 (__EPOLL_PACKED): Define to empty if not defined by
29262 <bits/epoll.h>.
29263 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29265 bits/epoll.h.
29266
0e499750
JM
292672012-02-20 Joseph Myers <joseph@codesourcery.com>
29268
29269 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29270 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29271 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29272 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29273 <bits/timerfd.h>.
29274 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29276 bits/timerfd.h.
29277
5ad91f6e
JM
292782012-02-20 Joseph Myers <joseph@codesourcery.com>
29279
29280 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29281 in C locale.
29282 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29283 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29284 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29286
06b99b02
AJ
292872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29288
29289 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29290 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29291
7638c0fd
AS
292922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29293
29294 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29295 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29296 defined.
29297 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29298 Likewise.
29299 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29300 entry for 2.16.
29301
92221550
AJ
293022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29303
29304 * math/w_acos.c: Use non-signaling floating-point comparisons.
29305 * math/w_acosf.c: Likewise.
29306 * math/w_acosh.c: Likewise.
29307 * math/w_acoshf.c: Likewise.
29308 * math/w_acoshl.c: Likewise.
29309 * math/w_acosl.c: Likewise.
29310 * math/w_asin.c: Likewise.
29311 * math/w_asinf.c: Likewise.
29312 * math/w_asinl.c: Likewise.
29313 * math/w_atanh.c: Likewise.
29314 * math/w_atanhf.c: Likewise.
29315 * math/w_atanhl.c: Likewise.
29316 * math/w_exp2.c: Likewise.
29317 * math/w_exp2f.c: Likewise.
29318 * math/w_exp2l.c: Likewise.
29319 * math/w_j0.c: Likewise.
29320 * math/w_j0f.c: Likewise.
29321 * math/w_j0l.c: Likewise.
29322 * math/w_j1.c: Likewise.
29323 * math/w_j1f.c: Likewise.
29324 * math/w_j1l.c: Likewise.
29325 * math/w_jn.c: Likewise.
29326 * math/w_jnf.c: Likewise.
29327 * math/w_log.c: Likewise.
29328 * math/w_log10.c: Likewise.
29329 * math/w_log10f.c: Likewise.
29330 * math/w_log10l.c: Likewise.
29331 * math/w_log2.c: Likewise.
29332 * math/w_log2f.c: Likewise.
29333 * math/w_log2l.c: Likewise.
29334 * math/w_logf.c: Likewise.
29335 * math/w_logl.c: Likewise.
29336 * math/w_sqrt.c: Likewise.
29337 * math/w_sqrtf.c: Likewise.
29338 * math/w_sqrtl.c: Likewise.
29339 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29340 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29341 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29342 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29343 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29344
ebaf36eb
JM
293452012-02-19 Joseph Myers <joseph@codesourcery.com>
29346
29347 [BZ #9739]
29348 * manual/string.texi (strnlen): Use correct parameter name in
29349 equivalent expression.
29350
71c254a6
JM
293512012-02-19 Joseph Myers <joseph@codesourcery.com>
29352
29353 [BZ #11174]
29354 * manual/users.texi (seteuid): Consistently use neweuid for
29355 argument name.
29356
16d2c631
JM
293572012-02-19 Joseph Myers <joseph@codesourcery.com>
29358
29359 [BZ #13704]
29360 * manual/nss.texi (Services in the NSS configuration): Correct
29361 list of services in example configuration file.
29362
cd837b09
NB
293632012-02-19 Nick Bowler <nbowler@draconx.ca>
29364
29365 [BZ #11322]
29366 * manual/arith.texi: Remove statements about negative zero
29367 behaving identically to zero.
29368
02c4bbad
JM
293692012-02-18 Joseph Myers <joseph@codesourcery.com>
29370
29371 [BZ #5993]
29372 * manual/install.texi: Do not document upgrading from libc5.
29373
366842e7
JM
293742012-02-18 Joseph Myers <joseph@codesourcery.com>
29375
29376 [BZ #4596]
29377 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29378
dd54084d
DM
293792012-02-18 David S. Miller <davem@davemloft.net>
29380
29381 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29382 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29383 %o7 across the call.
29384 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29385 instead.
29386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29387 SETUP_PIC_REG_LEAF.
29388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29389 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29390 * sysdeps/sparc/crtn.S: Likewise.
29391
2bcc53a3
UD
293922012-02-17 Ulrich Drepper <drepper@gmail.com>
29393
29394 * aout/Makefile: Remove.
29395
09c093b5
RK
293962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29397
29398 [BZ #13058]
29399 * manual/examples/argp-ex1.c (main): Format definition in GNU
29400 style.
29401 * manual/examples/argp-ex2.c (main): Likewise.
29402 * manual/examples/argp-ex3.c (main): Likewise.
29403 * manual/examples/argp-ex4.c (main): Likewise.
29404 * manual/examples/longopt.c (main): Use new-style prototype
29405 definition.
29406 * manual/examples/strncat.c (main): Specify return type and use
29407 (void) for arguments.
29408 * manual/examples/subopt.c (main): Use char **argv argument.
29409
2ee633a2
JM
294102012-02-17 Joseph Myers <joseph@codesourcery.com>
29411
29412 [BZ #5077]
29413 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29414 rounding modes.
29415
0520adde
FB
294162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29417
29418 [BZ #6907]
29419 * manual/string.texi (strchr): Change when strchrnul is
29420 recommended.
29421
3f4081cd
DGM
294222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29423
29424 [BZ #174]
29425 * manual/locale.texi (setlocale): Document LOCPATH.
29426
d1b10e78
JM
294272012-02-17 Joseph Myers <joseph@codesourcery.com>
29428
29429 [BZ #10210]
29430 * manual/process.texi (execle): Move @dots{} before last argument.
29431
79c6869c
PB
294322012-02-17 Paul Bolle <pebolle@tiscali.nl>
29433
29434 [BZ #12047]
29435 * manual/charset.texi (Generic Charset Conversion): Fix typo
29436 (LC_TYPE -> LC_CTYPE).
29437
cc6e48bc
NB
294382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29439
29440 [BZ #5805]
29441 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29442 (scalbnf): Likewise.
29443 (scalbnl): Likewise.
29444 (scalbln): Likewise.
29445 (scalblnf): Likewise.
29446 (scalblnl): Likewise.
29447 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29448 (vwarnx): Likewise.
29449 (verr): Likewise.
29450 (verrx): Likewise.
29451 * manual/filesys.texi (telldir): Use braces around return type.
29452 * manual/llio.texi (mmap): Add space after comma.
29453 (mmap64): Likewise.
29454 * manual/math.texi (jn): Use @var{} on parameter names.
29455 (jnf): Likewise.
29456 (jnl): Likewise.
29457 (yn): Likewise.
29458 (ynf): Likewise.
29459 (ynl): Likewise.
29460 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29461 line.
29462 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29463 "...".
29464 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29465 (sched_get_priority_max): Likewise.
29466 * manual/signal.texi (sigvec): Add space after comma.
29467 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29468 names.
29469 (if_indextoname): Likewise.
29470 (if_freenameindex): Likewise.
29471 (sendto): Use ',' instead of '.' in prototype.
29472 * manual/startup.texi (syscall): Use @dots{} instead of literal
29473 "...".
29474 * manual/stdio.texi (__fpending): Separate initial words of
29475 paragraph from @deftypefun line.
29476 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29477 "...".
29478 (vsyslog): Use @var{} on parameter names.
29479 * manual/terminal.texi (stty): Use @var{} on parameter names.
29480 * manual/users.texi (getutmp): Use @var{} on parameter names.
29481 (getutmpx): Likewise.
29482
5b23062f
JM
294832012-02-17 Joseph Myers <joseph@codesourcery.com>
29484
29485 [BZ #6884]
29486 * manual/stdio.texi (fopen): Fix typos in description of
29487 ",ccs=STRING".
29488
8dee4833
AJ
294892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29490
29491 [BZ #4026]
29492 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29493 get clock_id definition.
29494
9078ce93
TS
294952012-02-17 Thomas Schwinge <thomas@schwinge.name>
29496
29497 [BZ #4822]
29498 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29499 (madvise): Cast every argument to void on its own.
29500
3835c55f
JM
295012012-02-17 Joseph Myers <joseph@codesourcery.com>
29502
29503 [BZ #9902]
29504 * manual/startup.texi (Exit Status): Fix typo.
29505
35c47e37
JM
295062012-02-17 Joseph Myers <joseph@codesourcery.com>
29507
29508 [BZ #10140]
29509 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29510 * manual/examples/argp-ex2.c: Likewise.
29511 * manual/examples/argp-ex3.c: Likewise.
29512
e3b69ca7
RH
295132012-02-16 Richard Henderson <rth@redhat.com>
29514
29515 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29516 * sysdeps/s390/s390-32/initfini.c: Remove.
29517 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29518 * sysdeps/s390/s390-64/initfini.c: Remove.
29519
df83af67
KK
295202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29521
29522 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29523 compiler output for sysdeps/generic/initfini.c.
29524 * sysdeps/sh/elf/initfini.c: Remove file.
29525
f63f3380
DM
295262012-02-16 David S. Miller <davem@davemloft.net>
29527
fb59b3a4
DM
29528 [BZ #11494]
29529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29530
f63f3380
DM
29531 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29532 * sysdeps/sparc/crti.S: New file.
29533 * sysdeps/sparc/crtn.S: New file.
29534 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29535 * sysdeps/sparc/sparc64/Makefile: Likewise.
29536
df6a4a4a
MF
295372012-02-15 Mike Frysinger <vapier@gentoo.org>
29538
6dd8f3dc 29539 [BZ #3335]
df6a4a4a
MF
29540 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29541
1cac7236
RM
295422012-02-15 Roland McGrath <roland@hack.frob.com>
29543
d2c736f8
RM
29544 [BZ #4822]
29545 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29546
1cac7236
RM
29547 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29548 (write, read, close): Likewise.
29549 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29550
8e475601
JM
295512012-02-15 Joseph Myers <joseph@codesourcery.com>
29552
29553 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29554 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29555 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29556 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29557 <bits/signalfd.h>.
29558 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29560 bits/signalfd.h.
29561
ed656b40
MP
295622012-02-14 Marek Polacek <polacek@redhat.com>
29563
29564 * sysdeps/x86_64/crti.S: New file.
29565 * sysdeps/x86_64/crtn.S: New file.
29566 * sysdeps/x86_64/elf/initfini.c: Remove file.
29567
2a979d3a
JM
295682012-02-13 Joseph Myers <joseph@codesourcery.com>
29569
29570 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29571 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29572 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29573 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29574 <bits/inotify.h>.
29575 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29577 bits/inotify.h.
29578
2a418ac3
JM
295792012-02-13 Joseph Myers <joseph@codesourcery.com>
29580
29581 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29582 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29583 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29584 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29585 <bits/eventfd.h>.
29586 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29588 bits/eventfd.h.
29589
fb779be7
TS
295902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29591
e19e83c5
RM
29592 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29593 __feraiseexcept instead of feraiseexcept.
7c35ffed 29594
fb779be7
TS
29595 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29596 nanosleep invocations.
29597 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29598 strings, and add error checking for a nanosleep invocations.
29599
59ba27a6
PE
296002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29601
29602 Replace FSF snail mail address with URLs, as per GNU coding standards.
29603 Most of the snail mail addresses were wrong anyway, and omitting
29604 them makes the source code easier to maintain. Almost all of the
29605 changes are to license notices and to locale LC_IDENTIFICATION
29606 addresses, except for this one:
29607 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29608 not its snail mail address.
29609
57b957eb
RH
296102012-02-09 Richard Henderson <rth@twiddle.net>
29611
af850b1c
RH
29612 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29613 of kernel-features.h.
29614
57b957eb
RH
29615 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29616
6b73181a
MP
296172012-02-08 Marek Polacek <polacek@redhat.com>
29618
29619 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29620 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29621 * sysdeps/gnu/_G_config.h: Likewise.
29622 * sysdeps/generic/_G_config.h: Likewise.
29623
26ecc33a
AS
296242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29625
6c6dbc63
AS
29626 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29627 tests.
29628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29629
e216c012
AS
29630 * sysdeps/powerpc/powerpc32/crti.S: New file.
29631 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29632 * sysdeps/powerpc/powerpc64/crti.S: New file.
29633 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29634
26ecc33a
AS
29635 * Makeconfig (have-initfini): Don't set.
29636 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29637 * configure.in (nopic_initfini): Don't substitute.
29638 * config.h.in (HAVE_INITFINI): Don't #undef.
29639 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29640 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29641
3add8e13
JM
296422012-02-08 Joseph Myers <joseph@codesourcery.com>
29643
29644 Support crti.S and crtn.S provided directly by architectures.
29645 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29646 [crti.S in sysdirs] (omit-deps): Likewise.
29647 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29648 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29649 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29650 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29651 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29652 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29653 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29654 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29655 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29656 compiler output for sysdeps/generic/initfini.c.
29657 * sysdeps/i386/elf/Makefile: Remove file.
29658 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29659
a22f12b4
MP
296602012-02-07 Marek Polacek <polacek@redhat.com>
29661
29662 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29663 * sysdeps/gnu/_G_config.h: Likewise.
29664 * sysdeps/mach/hurd/_G_config.h: Likewise.
29665
148cf100
MP
296662012-02-07 Marek Polacek <polacek@redhat.com>
29667
29668 * math/Makefile (tests): Add tst-CMPLX2.
29669 * math/tst-CMPLX2.c: New file.
29670
cfdc0dd7
AS
296712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29672
84ba42c4
AS
29673 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29674
cfdc0dd7
AS
29675 * math/libm-test.inc (jn_test): Add missing L suffix.
29676
622c86f4
MP
296772012-02-06 Marek Polacek <polacek@redhat.com>
29678
29679 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29680 * sysdeps/i386/fpu/e_powf.S: Likewise.
29681 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29682 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29683 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29684 * sysdeps/i386/fpu/e_pow.S: Likewise.
29685 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29686 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29687 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29688 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29689 * sysdeps/i386/fpu/e_log2.S: Likewise.
29690 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29691 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29692 * sysdeps/i386/fpu/e_powl.S: Likewise.
29693 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29694 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29695 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29696 * sysdeps/i386/fpu/e_logl.S: Likewise.
29697 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29698 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29699 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29700 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29701 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29702 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29703 * sysdeps/i386/fpu/e_log.S: Likewise.
29704 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29705 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29706 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29707 * sysdeps/i386/fpu/e_logf.S: Likewise.
29708 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29709 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29710 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29711 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29712 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29713 * sysdeps/i386/fpu/e_log10.S: Likewise.
29714 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29715 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29716 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29717 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29718 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29719 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29720 * sysdeps/i386/asm-syntax.h: Likewise.
29721 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29722 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29723 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29724 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29725 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29726 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29727 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29728 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29729 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29730 * sysdeps/powerpc/sysdep.h: Likewise.
29731 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29732 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29733
d4a54ac6
JM
297342012-02-06 Joseph Myers <joseph@codesourcery.com>
29735
29736 [BZ #411]
29737 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29738
314054ea
JM
297392012-02-06 Joseph Myers <joseph@codesourcery.com>
29740
29741 * sysdeps/i386/sysdep.h: Include <features.h>.
29742 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29743 version.
29744
d8e0ca50
JM
297452012-02-05 Joseph Myers <joseph@codesourcery.com>
29746
29747 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29748 Define.
29749 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29750 LOAD_PIC_REG_STR.
29751
b1da7dd9
JM
297522012-02-03 Joseph Myers <joseph@codesourcery.com>
29753
29754 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29755 (SETUP_PIC_REG): Use GET_PC_THUNK.
29756 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29757 macro.
29758
9a1d9254
JM
297592012-02-03 Joseph Myers <joseph@codesourcery.com>
29760
29761 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29762 for non-PIC compilation.
29763 (SETUP_PIC_REG): Add .p2align directive.
29764 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29765 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29766 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29767 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29768 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29769 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29770 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29771 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29772 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29773 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29774 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29775 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29776 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29777 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29778 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29779 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29780 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29781 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29782 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29783 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29784 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29785 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29786 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29787 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29788 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29790 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29791 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29792 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29793 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29794 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29795 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29796 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29797 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29798 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29799 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29800 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29801 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29802 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29803 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29804 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29805
65dc3b75
JM
298062012-02-03 Joseph Myers <joseph@codesourcery.com>
29807
29808 * math/tst-CMPLX.c: Include <stdio.h>.
29809
d55bf177
JM
298102012-01-31 Joseph Myers <joseph@codesourcery.com>
29811
29812 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29813 float.
29814 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29815 * sysdeps/sparc/bits/mathdef.h: Likewise.
29816
69db4f8f
MP
298172012-01-31 Marek Polacek <polacek@redhat.com>
29818
29819 * libio/libio.h: Don't define _PARAMS.
29820 * locale/programs/config.h: Don't define PARAMS.
29821 * stdlib/strtol_l.c: Likewise.
29822 (__strtol_l): Remove PARAMS from the prototype.
29823
41b81892
UD
298242012-01-31 Ulrich Drepper <drepper@gmail.com>
29825
3b49edc0
UD
29826 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29827 names. Just use the correct names. Remove unnecessary wrapper
29828 functions.
29829 * malloc/arena.c: Likewise.
29830 * malloc/hooks.c: Likewise.
29831
41b81892
UD
29832 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29833 ARENA_TEST says not to. Simplify test for creation of a new arena.
29834 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29835
27a25b6e
UD
298362012-01-30 Ulrich Drepper <drepper@gmail.com>
29837
29838 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29839 into tail calls.
29840 (update_get_addr): New function.
29841 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29842 GET_ADDR_MODULE parameter.
29843
c8a89e7d
JM
298442012-01-30 Joseph Myers <joseph@codesourcery.com>
29845
29846 * crypt/cert.c: Remove __STDC__ conditionals.
29847 * crypt/crypt-entry.c: Likewise.
29848 * crypt/crypt_util.c: Likewise.
29849 * libio/filedoalloc.c: Likewise.
29850 * libio/fileops.c: Likewise.
29851 * libio/genops.c: Likewise.
29852 * libio/iofclose.c: Likewise.
29853 * libio/iofdopen.c: Likewise.
29854 * libio/iofopen.c: Likewise.
29855 * libio/iofopen64.c: Likewise.
29856 * libio/iogetdelim.c: Likewise.
29857 * libio/iopopen.c: Likewise.
29858 * libio/obprintf.c: Likewise.
29859 * libio/oldfileops.c: Likewise.
29860 * libio/oldiofclose.c: Likewise.
29861 * libio/oldiofdopen.c: Likewise.
29862 * libio/oldiofopen.c: Likewise.
29863 * libio/oldiopopen.c: Likewise.
29864 * libio/wfiledoalloc.c: Likewise.
29865 * libio/wgenops.c: Likewise.
29866 * locale/programs/xmalloc.c: Likewise.
29867 * misc/syslog.c: Likewise.
29868 * stdio-common/xbug.c: Likewise.
29869 * string/memchr.c: Likewise.
29870 * string/memcmp.c: Likewise.
29871 * string/memrchr.c: Likewise.
29872 * string/rawmemchr.c: Likewise.
29873 * sysdeps/posix/getcwd.c: Likewise.
29874 * time/strftime_l.c: Likewise.
29875
3b100462
JM
298762012-01-30 Joseph Myers <joseph@codesourcery.com>
29877
29878 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29879 * config.make.in (config-cflags-sse2avx): Define.
29880 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29881 Fix typo.
29882
607998af
CM
298832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29884
29885 * scripts/config.guess: Update from upstream config git repository.
29886 * scripts/config.sub: Likewise.
29887
3601428f
CM
298882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29889
3ac8b282
CM
29890 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29891 (EM_NUM): Update.
29892 (R_TILEPRO_*, R_TILEGX_*): New macros.
29893
e034841e
CM
29894 * scripts/firstversions.awk: Fix bug in version range handling.
29895
540d7568
CM
29896 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29897
3601428f
CM
29898 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29899
463de862
CM
29900 * include/sys/epoll.h: New file.
29901 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29902 libc_hidden_def.
29903
73139a76
UD
299042012-01-28 Ulrich Drepper <drepper@gmail.com>
29905
96bc5b45
UD
29906 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29907 Avoid unnecessary __WORDSIZE == 64 test.
29908 (fmaxf): Use VEX format if possible.
29909 (fmax): Likewise.
29910 (fminf): Likewise.
29911 (fmin): Likewise.
29912
56f6f6a2
UD
29913 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29914 * math/math_private.h: Remove libc_fegetround* and
29915 libc_fesetround*.
29916 * sysdeps/i386/configure.in: Check for -msse2avx.
29917 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29918 also if SSE2AVX is defined.
29919 Remove libc_fegetround* and libc_fesetround*.
29920 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29921 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29922 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29923 of HAS_YMM_USABLE.
29924 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29925 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29926 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29927 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29928 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29929
73139a76
UD
29930 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29931
d73f93a4
AZ
299322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29933
29934 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29935 size is not set.
29936 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29937
6ee65ed6
UD
299382012-01-27 Ulrich Drepper <drepper@gmail.com>
29939
29940 [BZ #13618]
29941 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29942 relocation.
29943 * Makeconfig (libm): Define.
29944 * elf/Makefile: Add rules to build and run tst-relsort1.
29945 * elf/tst-relsort1.c: New file.
29946 * elf/tst-relsort1mod1.c: New file.
29947 * elf/tst-relsort1mod2.c: New file.
29948
8db21882
JM
299492012-01-27 Joseph Myers <joseph@codesourcery.com>
29950
29951 * math/s_ldexp.c: Remove __STDC__ conditionals.
29952 * math/s_ldexpf.c: Likewise.
29953 * math/s_ldexpl.c: Likewise.
29954 * math/s_nextafter.c: Likewise.
29955 * math/s_nexttowardf.c: Likewise.
29956 * math/s_significand.c: Likewise.
29957 * math/s_significandf.c: Likewise.
29958 * math/s_significandl.c: Likewise.
29959 * math/w_jnl.c: Likewise.
29960 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29961 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29962 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29963 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29964 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29966 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29967 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29968 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29969 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29970 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29971 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29972 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29973 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29974 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29975 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29976 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29977 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29979 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29980 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29981 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29982 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29983 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29984 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29985 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29986 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29987 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29988 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29989 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29990 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29991 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29992 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29993 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29994 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29995 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29996 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29997 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29998 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29999 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30000 * sysdeps/ieee754/k_standard.c: Likewise.
30001 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30002 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30003 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30004 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30005 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30006 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30007 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30008 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30009 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30011 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30012 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30013 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30015 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30016 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30017 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30019 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30020 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30021 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30022 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30023 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30024 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30025 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30026 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30027 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30028 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30029 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30031 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30032 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30033 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30034 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30035 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30036 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30037 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30038 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30039 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30040 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30041 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30043 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30044 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30045 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30046 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30047 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30048 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30049 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30050 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30051 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30052 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30053 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30054 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30055 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30056 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30057 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30058 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30059 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30060 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30061 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30062 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30063 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30064 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30065 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30066 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30067 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30068 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30070 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30071 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30072 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30073 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30074 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30075 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30076 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30077 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30078 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30079 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30080 * sysdeps/ieee754/s_matherr.c: Likewise.
30081 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30082 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30083 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30084 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30085
965a54a4
JM
300862012-01-26 Joseph Myers <joseph@codesourcery.com>
30087
30088 * crypt/md5.h: Remove __STDC__ conditionals.
30089 * libio/libioP.h: Likewise.
30090 * locale/programs/config.h: Likewise.
30091 * sysdeps/generic/sysdep.h: Likewise.
30092 * sysdeps/i386/asm-syntax.h: Likewise.
30093 * sysdeps/s390/asm-syntax.h: Likewise.
30094 * sysdeps/unix/sysdep.h: Likewise.
30095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30097
7071ad79
JM
300982012-01-26 Joseph Myers <joseph@codesourcery.com>
30099
30100 * libio/libio.h: Remove __STDC__ conditionals.
30101 * malloc/obstack.h: Likewise.
30102 * math/complex.h: Likewise.
30103 * math/math.h: Likewise.
30104 * sysdeps/generic/_G_config.h: Likewise.
30105 * sysdeps/gnu/_G_config.h: Likewise.
30106 * sysdeps/mach/hurd/_G_config.h: Likewise.
30107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30108 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30109 * sysdeps/sparc/bits/mathdef.h: Likewise.
30110
afc5ed09
UD
301112012-01-26 Ulrich Drepper <drepper@gmail.com>
30112
30113 [BZ #13583]
30114 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30115 Clean up HAS_* macros.
afc5ed09 30116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30117 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30118 possible.
30119 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30120 HAS_AVX.
30121 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30122 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30123 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30124 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30125 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30126
bdb6de1d
JM
301272012-01-25 Joseph Myers <joseph@codesourcery.com>
30128
30129 * elf/tst-unique3.cc (gets): Remove declaration.
30130 * elf/tst-unique3lib.cc (gets): Likewise.
30131 * elf/tst-unique3lib2.cc (gets): Likewise.
30132 * elf/tst-unique4.cc (gets): Likewise.
30133
b15549e6
UD
301342012-01-24 Ulrich Drepper <drepper@gmail.com>
30135
30136 * include/stdio.h: Add C++ protection. Add gets declarations and
30137 definitions.
30138 * debug/tst-chk1.c: Don't declare gets here.
30139 * stdio-common/tst-gets.c: Likewise.
30140
a037381f
JM
301412012-01-24 Joseph Myers <joseph@codesourcery.com>
30142
30143 * posix/glob: Remove directory.
30144
f1d4aa75
JM
301452012-01-24 Joseph Myers <joseph@codesourcery.com>
30146
30147 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30148
81c0c964
PT
301492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30150
30151 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30152 of the non-standard EPFNOSUPPORT.
30153
0ea698ae
ST
301542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30155
30156 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30157 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30158 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30159
d220b117
UD
301602012-01-21 Ulrich Drepper <drepper@gmail.com>
30161
30162 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30163
3e1aa84e
UD
301642012-01-20 Ulrich Drepper <drepper@gmail.com>
30165
30166 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30167 transient errors.
30168 * nscd/grpcache.c (cache_addgr): Likewise.
30169 * nscd/hstcache.c (cache_addhst): Likewise.
30170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30171 * nscd/pwdcache.c (cache_addpw): Likewise.
30172 * nscd/servicescache.c (cache_addserv): Likewise.
30173
400aa020
UD
301742012-01-16 Ulrich Drepper <drepper@gmail.com>
30175
d77e7869
UD
30176 * malloc/malloc.c: Various cleanups.
30177 * malloc/hooks.c: Likewise.
30178
400aa020
UD
30179 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30180 * stdlib/bug-fmtmsg1.c: New file.
30181
30182 * stdlib/fmtmsg.c (init): Add missing unlock.
30183 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30184
e0a309cf
MP
301852012-01-12 Marek Polacek <polacek@redhat.com>
30186
30187 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30188 and _GNU_SOURCE.
30189
929d11c7
WS
301902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30191
30192 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30193 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30194 macro to ensure uniqueness of label name.
30195 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30196 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30197
41d0e869
UD
301982012-01-11 Ulrich Drepper <drepper@gmail.com>
30199
0cc5ed3b
UD
30200 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30201
41d0e869
UD
30202 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30203 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30204 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30205 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30206
a47a831a
UD
302072012-01-10 Ulrich Drepper <drepper@gmail.com>
30208
daa891c0
UD
30209 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30210
30211 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30212 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30213 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30214
e58ef0f2
UD
30215 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30216
a47a831a 30217 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30218 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30219 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30221
30222 * math/bits/math-finite.h: Add ldexp support.
30223
a0bfc9c7
MP
302242012-01-10 Marek Polacek <polacek@redhat.com>
30225
30226 * locale/programs/localedef.h (show_archive_content): Add noreturn
30227 attribute.
30228
d6e97a1d
UD
302292012-01-09 Ulrich Drepper <drepper@gmail.com>
30230
30231 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30232
d5835c26
UD
302332012-01-08 Ulrich Drepper <drepper@gmail.com>
30234
e5f484c6
UD
30235 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30236
d5835c26
UD
30237 * io/Makefile (headers): Add bits/poll2.h.
30238
d1f741e9
WS
302392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30240
30241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30242 typo #include statement.
30243
ec09c1c4
UD
302442012-01-08 Ulrich Drepper <drepper@gmail.com>
30245
30246 * include/sys/cdefs.h: Define __attribute_alloc_size.
30247 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30248 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30249 * elf/pldd.c: Likewise.
30250 * iconv/iconv_charmap.c: Likewise.
30251 * iconv/iconvconfig.c: Likewise.
30252 * iconv/strtab.c: Likewise.
30253 * locale/programs/locale.c: Likewise.
30254 * locale/programs/localedef.h: Likewise.
30255 * locale/programs/simple-hash.c: Likewise.
30256 * nscd/nscd.h: Likewise.
30257 * nss/makedb.c: Likewise.
30258 * sysdeps/generic/ldconfig.h: Likewise.
30259 * locale/programs/localedef.c: Remove xmalloc prototype.
30260 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30261
20b38e03
PP
302622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30263
30264 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30265 appropriate.
30266
a0da5fe1
UD
302672012-01-08 Ulrich Drepper <drepper@gmail.com>
30268
1d5a644a 30269 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30270 * math/tst-CMPLX.c: New file.
1d5a644a 30271
8784a6db
UD
30272 * math/complex.h (CMPLXL): Fix typo.
30273
d9a216c0
UD
30274 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30275 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30276 GLIBC_2.16.
30277 * debug/tst-chk1.c: Add poll and ppoll tests.
30278 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30279 * include/sys/poll.h: Add hidden proto for ppoll.
30280 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30281 * sysdeps/mach/hurd/ppoll.c: Likewise.
30282 * io/ppoll.c: Likewise.
30283 * debug/poll_chk.c: New file.
30284 * debug/ppoll_chk.c: New file.
30285 * include/bits/poll2.h: New file.
30286 * io/bits/poll2.h: New file.
30287
ac097f5c
UD
30288 [BZ #1350]
30289 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30290
2119dcfa
UD
30291 * configure.in: static is always set to yes. Remove.
30292 * config.make.in: Don't set build-static.
30293 * Makeconfig: Remove use of build-static.
30294 * dlfcn/Makefile: Likewise.
30295 * elf/Makefile: Likewise.
30296 * math/Makefile: Likewise.
30297 * misc/Makefile: Likewise.
30298 * nptl/Makefile: Likewise.
30299 * sysdeps/mach/hurd/Makefile: Likewise.
30300
121766a9
UD
30301 * configure.in: PWD_P is not used anymore.
30302 * config.make.in: Remove PWD_P entry.
30303
51a1d39c 30304 * configure.in: Remove last remnants of RANLIB.
8720d066 30305 No need to check for signed size_t anymore.
215f4bdc
UD
30306 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30307 and IA-64.
3857022a 30308 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30309 * aclocal.m4: Likewise.
30310
d3ed7225
UD
30311 * wcsmbs/mbrtoc16.c: Implement using towc function.
30312 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30313 * wcsmbs/wcsmbsload.c: Likewise.
30314 * iconv/gconv_simple.c: Likewise.
30315 * iconv/gconv_int.h: Likewise.
30316 * iconv/gconv_builtin.h: Likewise.
30317 * iconv/iconv_prog.c: Remove CHAR16 handling.
30318
30319 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30320
30321 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30322
a0da5fe1
UD
30323 * configure.in: Remove --with-elf and --enable-bounded options.
30324 Dont set base_machine for ia64. More non-ELF conditions removed.
30325 Remove testing and setting of leading underscore information.
30326 * config.make.in (build-bounded): Set to no.
30327 * config.h.in: Remove NO_UNDERSCORES entry.
30328 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30329 them.
30330 * csu/start.c: Remove !NO_UNDERSCORE code.
30331 * locale/localeinfo.h: Likewise.
30332 * sysdeps/generic/machine-gmon.h: Likewise.
30333 * sysdeps/generic/sysdep.h: Likewise.
30334 * sysdeps/i386/sysdep.h: Likewise.
30335 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30336 * sysdeps/mach/sysdep.h: Likewise.
30337 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30339 * sysdeps/sh/sysdep.h: Likewise.
30340 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30341 * sysdeps/unix/i386/sysdep.S: Likewise.
30342 * sysdeps/unix/sparc/start.c: Likewise.
30343 * sysdeps/unix/sparc/sysdep.S: Likewise.
30344 * sysdeps/unix/sparc/sysdep.h: Likewise.
30345 * sysdeps/unix/start.c: Likewise.
30346 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30347 * sysdeps/x86_64/sysdep.h: Likewise.
30348
df78418a
UD
303492012-01-07 Ulrich Drepper <drepper@gmail.com>
30350
a784e502
UD
30351 [BZ #13553]
30352 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30353 for non-gcc.
30354 * argp/argp-fmtstream.h: Use const instead __const.
30355 * argp/argp.h: Likewise.
30356 * assert/assert.h: Likewise.
30357 * bits/fenv.h: Likewise.
30358 * bits/sched.h: Likewise.
30359 * bits/sigset.h: Likewise.
30360 * bits/sigthread.h: Likewise.
30361 * catgets/nl_types.h: Likewise.
30362 * conform/data/pthread.h-data: Likewise.
30363 * crypt/crypt-private.h: Likewise.
30364 * crypt/crypt.h: Likewise.
30365 * crypt/crypt_util.c: Likewise.
30366 * ctype/ctype.h: Likewise.
30367 * debug/execinfo.h: Likewise.
30368 * debug/mbsnrtowcs_chk.c: Likewise.
30369 * debug/mbsrtowcs_chk.c: Likewise.
30370 * debug/wcsnrtombs_chk.c: Likewise.
30371 * debug/wcsrtombs_chk.c: Likewise.
30372 * debug/wcstombs_chk.c: Likewise.
30373 * dirent/dirent.h: Likewise.
30374 * dlfcn/dlfcn.h: Likewise.
30375 * elf/neededtest4.c: Likewise.
30376 * grp/grp.h: Likewise.
30377 * gshadow/gshadow.h: Likewise.
30378 * iconv/gconv.h: Likewise.
30379 * iconv/gconv_int.h: Likewise.
30380 * iconv/gconv_simple.c: Likewise.
30381 * iconv/iconv.h: Likewise.
30382 * iconv/loop.c: Likewise.
30383 * iconv/skeleton.c: Likewise.
30384 * include/aio.h: Likewise.
30385 * include/aliases.h: Likewise.
30386 * include/argz.h: Likewise.
30387 * include/arpa/inet.h: Likewise.
30388 * include/assert.h: Likewise.
30389 * include/dirent.h: Likewise.
30390 * include/dlfcn.h: Likewise.
30391 * include/execinfo.h: Likewise.
30392 * include/fcntl.h: Likewise.
30393 * include/fenv.h: Likewise.
30394 * include/glob.h: Likewise.
30395 * include/grp.h: Likewise.
30396 * include/libintl.h: Likewise.
30397 * include/mntent.h: Likewise.
30398 * include/netdb.h: Likewise.
30399 * include/pwd.h: Likewise.
30400 * include/rpc/netdb.h: Likewise.
30401 * include/sched.h: Likewise.
30402 * include/search.h: Likewise.
30403 * include/shadow.h: Likewise.
30404 * include/signal.h: Likewise.
30405 * include/stdio.h: Likewise.
30406 * include/stdlib.h: Likewise.
30407 * include/string.h: Likewise.
30408 * include/sys/socket.h: Likewise.
30409 * include/sys/stat.h: Likewise.
30410 * include/sys/statfs.h: Likewise.
30411 * include/sys/statvfs.h: Likewise.
30412 * include/sys/syslog.h: Likewise.
30413 * include/sys/time.h: Likewise.
30414 * include/sys/uio.h: Likewise.
30415 * include/time.h: Likewise.
30416 * include/unistd.h: Likewise.
30417 * include/utmp.h: Likewise.
30418 * include/wchar.h: Likewise.
30419 * include/wctype.h: Likewise.
30420 * inet/aliases.h: Likewise.
30421 * inet/arpa/inet.h: Likewise.
30422 * inet/netinet/ether.h: Likewise.
30423 * inet/netinet/in.h: Likewise.
30424 * intl/libintl.h: Likewise.
30425 * io/bits/fcntl2.h: Likewise.
30426 * io/fcntl.h: Likewise.
30427 * io/ftw.h: Likewise.
30428 * io/sys/poll.h: Likewise.
30429 * io/sys/stat.h: Likewise.
30430 * io/sys/statfs.h: Likewise.
30431 * io/sys/statvfs.h: Likewise.
30432 * io/utime.h: Likewise.
30433 * libio/bits/stdio.h: Likewise.
30434 * libio/bits/stdio2.h: Likewise.
30435 * libio/libio.h: Likewise.
30436 * libio/libioP.h: Likewise.
30437 * libio/stdio.h: Likewise.
30438 * locale/lc-ctype.c: Likewise.
30439 * locale/locale.h: Likewise.
30440 * login/utmp.h: Likewise.
30441 * malloc/arena.c: Likewise.
30442 * malloc/malloc.c: Likewise.
30443 * malloc/malloc.h: Likewise.
30444 * malloc/mcheck.c: Likewise.
30445 * malloc/mtrace.c: Likewise.
30446 * math/bits/mathcalls.h: Likewise.
30447 * math/fenv.h: Likewise.
30448 * math/math_private.h: Likewise.
30449 * misc/bits/error.h: Likewise.
30450 * misc/bits/syslog.h: Likewise.
30451 * misc/err.h: Likewise.
30452 * misc/error.h: Likewise.
30453 * misc/fstab.h: Likewise.
30454 * misc/mntent.h: Likewise.
30455 * misc/regexp.h: Likewise.
30456 * misc/search.h: Likewise.
30457 * misc/sgtty.h: Likewise.
30458 * misc/sys/mman.h: Likewise.
30459 * misc/sys/syslog.h: Likewise.
30460 * misc/sys/uio.h: Likewise.
30461 * misc/sys/xattr.h: Likewise.
30462 * misc/ttyent.h: Likewise.
30463 * nis/rpcsvc/ypclnt.h: Likewise.
30464 * nss/nss.h: Likewise.
30465 * posix/bits/unistd.h: Likewise.
30466 * posix/fnmatch.h: Likewise.
30467 * posix/glob.h: Likewise.
30468 * posix/sched.h: Likewise.
30469 * posix/spawn.h: Likewise.
30470 * posix/sys/wait.h: Likewise.
30471 * posix/unistd.h: Likewise.
30472 * posix/wordexp.h: Likewise.
30473 * pwd/pwd.h: Likewise.
30474 * resolv/netdb.h: Likewise.
30475 * resource/sys/resource.h: Likewise.
30476 * rt/aio.h: Likewise.
30477 * rt/bits/mqueue2.h: Likewise.
30478 * rt/mqueue.h: Likewise.
30479 * shadow/shadow.h: Likewise.
30480 * signal/signal.h: Likewise.
30481 * socket/send.c: Likewise.
30482 * socket/sendto.c: Likewise.
30483 * socket/sys/socket.h: Likewise.
30484 * stdio-common/printf.h: Likewise.
30485 * stdlib/bits/stdlib.h: Likewise.
30486 * stdlib/fmtmsg.h: Likewise.
30487 * stdlib/monetary.h: Likewise.
30488 * stdlib/stdlib.h: Likewise.
30489 * stdlib/ucontext.h: Likewise.
30490 * streams/stropts.h: Likewise.
30491 * string/argz.h: Likewise.
30492 * string/bits/string2.h: Likewise.
30493 * string/string.h: Likewise.
30494 * string/strings.h: Likewise.
30495 * sunrpc/rpc/auth.h: Likewise.
30496 * sunrpc/rpc/auth_des.h: Likewise.
30497 * sunrpc/rpc/clnt.h: Likewise.
30498 * sunrpc/rpc/netdb.h: Likewise.
30499 * sunrpc/rpc/pmap_clnt.h: Likewise.
30500 * sunrpc/rpc/xdr.h: Likewise.
30501 * sysdeps/generic/inttypes.h: Likewise.
30502 * sysdeps/generic/net/if.h: Likewise.
30503 * sysdeps/generic/sys/swap.h: Likewise.
30504 * sysdeps/gnu/net/if.h: Likewise.
30505 * sysdeps/gnu/utmpx.h: Likewise.
30506 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30507 * sysdeps/i386/i486/bits/string.h: Likewise.
30508 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30509 * sysdeps/s390/bits/string.h: Likewise.
30510 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30511 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30512 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30513 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30514 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30515 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30516 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30517 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30518 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30519 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30520 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30521 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30522 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30523 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30524 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30525 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30526 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30528 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30529 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30530 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30531 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30532 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30533 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30534 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30535 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30536 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30537 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30538 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30539 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30540 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30541 * sysvipc/sys/ipc.h: Likewise.
30542 * sysvipc/sys/msg.h: Likewise.
30543 * sysvipc/sys/sem.h: Likewise.
30544 * sysvipc/sys/shm.h: Likewise.
30545 * termios/termios.h: Likewise.
30546 * time/sys/time.h: Likewise.
30547 * time/time.h: Likewise.
30548 * wcsmbs/bits/wchar2.h: Likewise.
30549 * wcsmbs/uchar.h: Likewise.
30550 * wcsmbs/wchar.h: Likewise.
30551 * wctype/wctype.h: Likewise.
30552
0269750c
UD
30553 [BZ #13551]
30554 * Makeconfig: Remove all but ELF support including AIX support.
30555 * Makerules: Likewise.
30556 * config.h.in: Likewise.
30557 * config.make.in: Likewise.
30558 * configure: Likewise.
30559 * configure.in: Likewise.
30560 * csu/Makefile: Likewise.
30561 * csu/version.c: Likewise.
30562 * debug/Makefile: Likewise.
30563 * dlfcn/Makefile: Likewise.
30564 * elf/Makefile: Likewise.
30565 * extra-lib.mk: Likewise.
30566 * iconv/Makefile: Likewise.
30567 * include/libc-symbols.h: Likewise.
30568 * include/shlib-compat.h: Likewise.
30569 * resolv/Makefile: Likewise.
30570 * resolv/res_libc.c: Likewise.
30571 * rt/Makefile: Likewise.
30572 * sysdeps/i386/asm-syntax.h: Likewise.
30573 * sysdeps/i386/sysdep.h: Likewise.
30574 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30575 * sysdeps/mach/sysdep.h: Likewise.
30576 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30577 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30578 * sysdeps/s390/asm-syntax.h: Likewise.
30579 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30580 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30581 * sysdeps/sh/sysdep.h: Likewise.
30582 * sysdeps/unix/sparc/sysdep.h: Likewise.
30583 * sysdeps/wordsize-32/divdi3.c: Likewise.
30584 * sysdeps/x86_64/sysdep.h: Likewise.
30585
00bbd29b
UD
30586 * argp/Versions: Remove _argp_unlock_xxx.
30587
30588 [BZ #13559]
30589 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30590 * abilist/libBrokenLocale.abilist: Likewise.
30591 * abilist/libanl.abilist: Likewise.
30592 * abilist/libc.abilist: Likewise.
30593 * abilist/libcrypt.abilist: Likewise.
30594 * abilist/libdl.abilist: Likewise.
30595 * abilist/libm.abilist: Likewise.
30596 * abilist/libnsl.abilist: Likewise.
30597 * abilist/libpthread.abilist: Likewise.
30598 * abilist/libresolv.abilist: Likewise.
30599 * abilist/librt.abilist: Likewise.
30600 * abilist/libthread_db.abilist: Likewise.
30601 * abilist/libutil.abilist: Likewise.
30602 * abilist/libnss_db.abilist: New file.
30603
30604 * scripts/abilist.awk: Add support for indirect functions.
30605
a2693a0e
UD
30606 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30607
3f05895f
UD
30608 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30609
ecb6fb48
UD
30610 * shlib-versions: Remove entries for ports architectures.
30611
664f8cb9
UD
30612 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30613 files in ports.
30614 * elf/stackguard-macros.h: Remove support for IA-64.
30615 * elf/tst-auditmod1.c: Likewise.
30616 * sysdeps/generic/ldsodefs.h: Likewise.
30617
7ae81d88
UD
30618 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30619 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30620 configure files.
30621
bdeba135
UD
30622 [BZ #13552]
30623 * configure.in: Remove --enable-omitfp support.
30624 * FAQ.in: Adjust.
30625 * config.make.in: Likewise.
30626 * Makeconfig: Likewise.
30627 * manual/install.texi: Likewise.
30628
d75a0a62
UD
30629 In case anyone cares, the IA-64 architecture could move to ports.
30630 * sysdeps/ia64/*: Removed.
30631 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30632 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30633
dcc9756b
UD
30634 [BZ #13555]
30635 * configure.in: Remove entries for unsupported architectures.
30636
d3761ebc 30637 [BZ #13533]
9954432e
UD
30638 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30639 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30640 routines.
30641 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30642 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30643 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30644 fall back to using wcrtomb.
30645 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30646 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30647 renaming.
30648 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30649 * wcsmbs/tst-c16c32-1.c: New file.
30650
30651 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30652 local variable.
30653
c3a87236
UD
30654 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30655
28926a1b
UD
30656 * elf/tst-unique3.cc: Add explicit declaration of gets.
30657 * elf/tst-unique3lib.cc: Likewise.
30658 * elf/tst-unique3lib2.cc: Likewise.
30659 * elf/tst-unique4.cc: Likewise.
30660
df78418a
UD
30661 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30662
8ecd6b2a
JM
306632012-01-06 Joseph Myers <joseph@codesourcery.com>
30664
30665 [BZ #13566]
30666 * assert/assert.h (static_assert): Don't define for C++.
30667 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30668 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30669
9f115170
UD
306702012-01-03 Ulrich Drepper <drepper@gmail.com>
30671
5e0d0300
UD
30672 * iconv/loop.c (single loop): Fix assertion in storing of
30673 remaining bytes.
30674
9f115170
UD
30675 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30676
81fb02b0
UD
306772012-01-01 Ulrich Drepper <drepper@gmail.com>
30678
30679 * posix/getconf.c: Update copyright year.
30680 * nss/getent.c: Likewise.
a316c1f6 30681 * nss/makedb.c: Likewise.
81fb02b0
UD
30682 * iconv/iconvconfig.c: Likewise.
30683 * iconv/iconv_prog.c: Likewise.
30684 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30685 * elf/pldd.c: Likewise.
30686 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30687 * catgets/gencat.c: Likewise.
30688 * csu/version.c: Likewise.
30689 * elf/ldd.bash.in: Likewise.
30690 * elf/sprof.c (print_version): Likewise.
30691 * locale/programs/locale.c: Likewise.
30692 * locale/programs/localedef.c: Likewise.
a316c1f6 30693 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30694 * nscd/nscd.c (print_version): Likewise.
30695 * debug/xtrace.sh: Likewise.
30696 * malloc/memusage.sh: Likewise.
30697 * malloc/mtrace.pl: Likewise.
30698 * debug/catchsegv.sh: Likewise.
30699
2ba92745
JJ
307002011-12-30 Jakub Jelinek <jakub@redhat.com>
30701
30702 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30703 pure attribute.
30704
dadebdae
UD
307052011-12-24 Ulrich Drepper <drepper@gmail.com>
30706
d3761ebc 30707 [BZ #13533]
db6af3eb
UD
30708 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30709 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30710 transformations.
30711 * iconv/gconv_int.h: Likewise.
30712 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30713 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30714 from libc for GLIBC_2.16.
30715 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30716 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30717 * wcsmbs/uchar.h: Really define mbstate_t.
30718 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30719 * wcsmbs/c16rtomb.c: New file.
30720 * wcsmbs/mbrtoc16.c: New file.
30721 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30722 for C/POSIX locale.
30723 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30724 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30725
dadebdae
UD
30726 * wcsmbs/wchar.h: Add missing __restrict.
30727
67371b56
UD
307282011-12-23 Ulrich Drepper <drepper@gmail.com>
30729
74033a25
UD
30730 [BZ #13532]
30731 * time/Makefile (routines): Add timespec_get.
30732 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30733 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30734 timespec for ISO C11.
30735 * time/timespec_get.c: New file.
30736 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30737 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30738
380d7e87
UD
30739 [BZ #13531]
30740 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30741 * stdlib/stdlib.h: Declare aligned_alloc.
30742 * Versions.def: Add GLIBC_2.16 for libc.
30743 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30744
4e9e7a35
UD
30745 [BZ 13527]
30746 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30747 ISO C11.
30748
380d7e87 30749 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30750 code.
30751
03a71829
UD
30752 [BZ #13528]
30753 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30754
839e283e
UD
30755 [BZ #13529]
30756 * assert/assert.h (static_assert): Define.
30757
ce5294e2 30758 * version.h: Update for 2.16 development version.
90fa7312 30759
8d44e150 30760 [BZ #13526]
d7809905
UD
30761 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30762 _ISOC11_SOURCE.
30763
c0da14cd
UD
30764 * version.h (RELEASE): Bump for 2.15 release.
30765 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30766
530a3249
MP
30767 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30768 Patch by Marek Polacek <mpolacek@redhat.com>.
30769
67371b56
UD
30770 * bits/byteswap.h: Protect long long constants with __extension__.
30771 * sysdeps/i386/bits/byteswap.h: Likewise.
30772 * sysdeps/ia64/bits/byteswap.h: Likewise.
30773 * sysdeps/s390/bits/byteswap.h: Likewise.
30774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30775
15db4de1
LD
307762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30777
30778 [BZ #13540]
bbe315ea
LD
30779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30780 destination buffer.
15db4de1
LD
30781 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30782
2b2596b1
MP
307832011-12-23 Marek Polacek <polacek@redhat.com>
30784
30785 * elf/dl-addr.c (determine_info): Add inline keyword.
30786 * elf/tst-auditmod4b.c (check_avx): Likewise.
30787 * elf/tst-auditmod6b.c (check_avx): Likewise.
30788 * elf/tst-auditmod6c.c (check_avx): Likewise.
30789 * elf/tst-auditmod7b.c (check_avx): Likewise.
30790
70c6c246
UD
307912011-12-23 Ulrich Drepper <drepper@gmail.com>
30792
30793 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30794 !__SSE_MATH__.
30795
c044cf14
LD
307962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30797
15db4de1 30798 [BZ #13540]
c044cf14
LD
30799 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30800 processing for last bytes.
30801
6b13d9d9
BH
308022011-08-06 Bruno Haible <bruno@clisp.org>
30803
d455f537
BH
30804 [BZ #13061]
30805 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30806 U+0385, not to U+1FEE.
30807
6b13d9d9
BH
30808 [BZ #13062]
30809 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30810 entry for U+00A5 U+0301.
30811
db910efd
UD
308122011-12-22 Ulrich Drepper <drepper@gmail.com>
30813
27deeafc
UD
30814 [BZ #13166]
30815 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30816 buffer for the output is too small.
30817
aed9d171
UD
30818 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30819 optimization.
30820
db910efd
UD
30821 [BZ #13185]
30822 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30823 SSE flags if possible.
30824
2bd779ae
LD
308252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30826
e7f9dac3 30827 [BZ #13540]
2bd779ae
LD
30828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30829 processing for last bytes.
30830
154bfc16
JM
308312011-12-22 Joseph Myers <joseph@codesourcery.com>
30832
30833 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30834 (syscall-list-default-options, syscall-list-default-condition)
30835 (syscall-list-includes): Define.
30836 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30837 list of ABIs and options and #if conditions for each ABI. Do not
30838 handle common syscalls between ABIs specially.
30839 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30840 Remove.
30841 (syscall-list-variants, syscall-list-32bit-options)
30842 (syscall-list-32bit-condition, syscall-list-64bit-options)
30843 (syscall-list-64bit-condition): Define.
30844 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30845 (syscall-list-variants, syscall-list-32bit-options)
30846 (syscall-list-32bit-condition, syscall-list-64bit-options)
30847 (syscall-list-64bit-condition): Define.
30848 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30849 Remove.
30850 (syscall-list-variants, syscall-list-32bit-options)
30851 (syscall-list-32bit-condition, syscall-list-64bit-options)
30852 (syscall-list-64bit-condition): Define.
30853 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30854 Remove.
30855 (syscall-list-variants, syscall-list-32bit-options)
30856 (syscall-list-32bit-condition, syscall-list-64bit-options)
30857 (syscall-list-64bit-condition): Define.
30858
21eaf3a5
UD
308592011-12-22 Ulrich Drepper <drepper@gmail.com>
30860
16c6f992
UD
30861 * locale/iso-639.def: Add brx entry.
30862
41043168
UD
30863 [BZ #13328]
30864 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30865 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30866
21eaf3a5
UD
30867 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30868 __feraiseexcept_renamed.
30869
e3a851a2
UD
308702011-12-21 Ulrich Drepper <drepper@gmail.com>
30871
4920765e
UD
30872 [BZ #13538]
30873 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30874 EPOLLET with unsigned values.
30875 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30876 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30877
e3a851a2
UD
30878 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30879 to large cancellation.
30880 * math/s_cacoshf.c: Likewise.
30881 * math/s_cacoshl.c: Likewise.
30882
b27e24b8
RK
308832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30884
30885 [BZ #13305]
aebefeee 30886 [BZ #12786]
b27e24b8
RK
30887 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30888 * math/s_cacoshf.c: Likewise.
30889 * math/s_cacoshl.c: Likewise.
30890
ee190f67
UD
308912011-12-21 Ulrich Drepper <drepper@gmail.com>
30892
30893 [BZ #13439]
30894 * iconv/gconv.h: Define __GCONV_SWAP.
30895 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30896 * iconvdata/utf-16.c: Likewise.
30897 * iconvdata/utf-32.c: Likewise.
30898
707f25df
AS
308992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30900
30901 [BZ #13524]
30902 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30903 numerator after shifting it by one limb.
30904
d2daaa1e
RÁE
309052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30906
30907 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30908 under [__USE_EXTERN_INLINES].
30909
a4647e72
UD
309102011-12-17 Ulrich Drepper <drepper@gmail.com>
30911
30912 [BZ #13446]
30913 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30914
f0b264f1
AZ
309152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30916
30917 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30918 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30919 optimized code.
30920 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30921 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30922 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30923 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30924 for strncasecmp/strncasecmp_l compilation.
30925 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30926 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30927
8ef4f244
MP
309282011-12-08 Marek Polacek <mpolacek@redhat.com>
30929
30930 [BZ #13484]
30931 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30932 of __asm__.
30933
97ac2654
UD
309342011-12-17 Ulrich Drepper <drepper@gmail.com>
30935
30936 [BZ #13506]
30937 * time/tzfile.c (__tzfile_read): Check values from file header.
30938
91d2a845
WS
309392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30940
30941 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30942 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30943 * powerpc/powerpc32/dl-start.S: Likewise.
30944 * powerpc/powerpc32/elf/start.S: Likewise.
30945 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30946 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30947 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30948 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30949 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30950 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30951 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30952 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30953 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30954 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30955 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30956 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30957 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30958 * powerpc/powerpc32/memset.S: Likewise.
30959 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30960 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30961 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30962 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30963 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30964 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30965 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30966 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30967 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30968 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30969 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30970 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30971 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30972
a1267ba1
AZ
309732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30974
30975 * math/libm-test.inc: Added more nearbyint tests.
30976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30977 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30979 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30980
ad8ac1bd
RL
309812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30982
30983 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30984 FD_CLOEXEC.
30985
1d3e4b61
UD
309862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30987
30988 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30989 Add wcscpy-ssse3 wcscpy-c.
30990 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30991 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30992 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30993 * sysdeps/x86_64/wcschr.S: New file.
30994 * sysdeps/x86_64/wcsrchr.S: New file.
30995 * string/test-strcmp.c: Remove checking of wcscmp function for
30996 wrong alignments.
30997 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30998 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30999 wcsrchr-sse2 wcsrchr-c.
31000 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31001 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31002 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31003 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31004 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31005 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31006 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31007 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31008 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31009 * wcsmbc/wcschr.c (WCSCHR): New macro.
31010
5b330a2d
UD
310112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31012
31013 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31014 * wcsmbs/test-wcsrchr.c: New file.
31015 * string/test-strrchr.c: Add wcsrchr support.
31016 (WIDE): New macro.
31017 * wcsmbs/test-wcscpy.c: New file.
31018 * string/test-strcpy.c: Add wcscpy support.
31019 (WIDE): New macro.
26428b7c 31020
f039c043
UD
310212011-12-10 Ulrich Drepper <drepper@gmail.com>
31022
31023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31024 the inner loop.
31025
850fb039
AS
310262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31027
31028 [BZ #13472]
31029 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31030
4efbd5cb
UD
310312011-12-04 Ulrich Drepper <drepper@gmail.com>
31032
52ff5dd0 31033 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31034 Minor optimizations.
52ff5dd0 31035
4efbd5cb
UD
31036 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31037 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31038 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31039
8a426e12
UD
310402011-12-03 Ulrich Drepper <drepper@gmail.com>
31041
aff2453d
UD
31042 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31043 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31044 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31045 for gcc to avoid warnings.
31046 * inet/Makefile (tests): Add tst-checks.
31047 * inet/tst-checks.c: New file.
31048
31049 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31050 warning.
31051
31052 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31053 __wmemcmp_sse2.
31054
31055 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31056 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31057
8a426e12
UD
31058 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31059
9bea3473
UD
310602011-12-02 Ulrich Drepper <drepper@gmail.com>
31061
3a965496
UD
31062 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31063 problem.
31064
9bea3473
UD
31065 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31066
f101631b
UD
310672011-11-29 Joseph Myers <joseph@codesourcery.com>
31068
31069 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31070 conditional on GCC version.
31071 (__arch_compare_and_exchange_val_8_acq)
31072 (__arch_compare_and_exchange_val_16_acq)
31073 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31074 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31075 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31076
a98275aa
UD
310772011-12-02 Joseph Myers <joseph@codesourcery.com>
31078
31079 * sysdeps/sh/backtrace.c: New file.
31080
d4cc29a2
AS
310812011-12-02 Andreas Schwab <schwab@redhat.com>
31082
31083 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31084 parenthesis.
31085
6257af2d
AS
310862011-12-01 Andreas Schwab <schwab@redhat.com>
31087
31088 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31089 falling back to utime.
31090
b5f44c1a
AS
310912011-11-30 Andreas Schwab <schwab@redhat.com>
31092
31093 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31094 expectations for float.
31095
f3a6cc0a
AS
310962011-11-29 Andreas Schwab <schwab@redhat.com>
31097
31098 * locale/weight.h (findidx): Add parameter len.
31099 * locale/weightwc.h (findidx): Likewise.
31100 * posix/fnmatch_loop.c (FCT): Adjust caller.
31101 * posix/regcomp.c (build_equiv_class): Likewise.
31102 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31103 * posix/regexec.c (check_node_accept_bytes): Likewise.
31104 * string/strcoll_l.c (STRCOLL): Likewise.
31105 * string/strxfrm_l.c (STRXFRM): Likewise.
31106
9d65ea3a
UD
311072011-11-17 Ulrich Drepper <drepper@gmail.com>
31108
31109 * Makefile.in: Remove CVSOPT handling.
31110 * configure.in: Remove use of AC_REVISION.
31111 * iconvdata/Makefile (distribute): No need to filter out CVS.
31112 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31113 handling.
31114
5583a086
AS
311152011-11-16 Andreas Schwab <schwab@redhat.com>
31116
31117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31118 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31119 [USE_AS_STRNCASECMP_L]: Likewise.
31120 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31121 NO_TLS_DIRECT_SEG_REFS.
31122 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31123 Fix argument offsets for non-PIC.
31124 [USE_AS_STRNCASECMP_L]: Likewise.
31125 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31126 NO_TLS_DIRECT_SEG_REFS.
31127
d62a8200
UD
311282011-11-15 Ulrich Drepper <drepper@gmail.com>
31129
9d65ea3a 31130 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31131 O_CLOEXEC.
31132 * locale/loadlocale.c (_nl_load_locale): Likewise.
31133
09f93bd3
AS
311342011-11-15 Andreas Schwab <schwab@redhat.com>
31135
446514f9
AS
31136 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31137 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31138 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31139 (SYSCALL_GETTIME): Set errno on error.
31140
09f93bd3
AS
31141 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31142 count references to noai6ai_cached.
31143
312be3f9
UD
311442011-11-15 Ulrich Drepper <drepper@gmail.com>
31145
31146 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31147
31148 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31149 FD_CLOEXEC for /proc/self/maps.
31150
31151 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31152 FD_CLOEXEC for /proc/meminfo.
31153
31154 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31155 gai.conf.
31156
31157 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31158 FD_CLOEXEC for given file.
31159
31160 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31161
31162 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31163 FD_CLOEXEC for /etc/hosts.
31164 (_gethtent): Likewise.
31165
31166 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31167
31168 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31169 cancellation and set FD_CLOEXEC for /etc/netgroup.
31170
31171 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31172 reading /etc/publickey.
31173
31174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31175 allow cancellation when reading /etc/group.
31176
31177 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31178 cancellation.
31179 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31180
31181 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31182 when using data file.
31183
31184 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31185
31186 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31187 (write_nis_obj): Use "c" and "e" in fopen.
31188
31189 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31190
31191 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31192
31193 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31194
31195 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31196
31197 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31198 locale.alias.
31199
31200 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31201
31202 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31203
31204 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31205
31206 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31207 file parsing and set FD_CLOEXEC.
31208
82af0fa8
UD
312092011-11-14 Ulrich Drepper <drepper@gmail.com>
31210
31211 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31212
a5fb313c
AS
312132011-11-14 Andreas Schwab <schwab@redhat.com>
31214
31215 * malloc/arena.c (arena_get2): Don't call reused_arena when
31216 _int_new_arena failed.
31217
6abf3465
UD
312182011-11-14 Ulrich Drepper <drepper@gmail.com>
31219
31220 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31221 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31222 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31223 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31224 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31225 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31226 to compile strcasecmp and strncasecmp.
31227 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31228 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31229
31230 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31231
76e3966e
UD
312322011-11-13 Ulrich Drepper <drepper@gmail.com>
31233
31234 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31235 locale-defines.sym to gen-as-const-headers.
31236 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31237 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31239 to compile strcasecmp and strncasecmp.
31240 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31241 strcasecmp_l and strncasecmp_l.
31242 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31243 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31244 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31245 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31246 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31247 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31248 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31249 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31250 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31251 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31252 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31253
ab26144e
UD
312542011-11-12 Ulrich Drepper <drepper@gmail.com>
31255
7edb22ef
UD
31256 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31257 result of SYSDEP_GETTIME_CPU to retval.
31258 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31259 parameter list to macro. Remove trailing semicolon. Adjust users.
31260
9694fc44
UD
31261 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31262 variable.
31263
8ad89ef8
UD
31264 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31265 mantissa words.
31266 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31267
0c822ef9
UD
31268 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31269 from unused variable.
31270
874e0564
UD
31271 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31272 DWARF definitions.
31273 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31274 for assembling.
31275
3a2edc79
UD
31276 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31277 over namespaces.
31278
f3c2577f
UD
31279 * sunrpc/rpc_prot.c (rejected): Fix case value.
31280
294ce126
UD
31281 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31282 unsigned long long int to avoid warnings in shift.
31283
5e2b63c6
UD
31284 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31285 of use of trans.
31286 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31287 variable tmp.
31288
e7f4b08e
UD
31289 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31290 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31291 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31292
ab26144e
UD
31293 * nis/nis_table.c (nis_list): Use variable of correct type for
31294 result of __follow_path call.
31295
8a6d5255
AZ
312962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31297
31298 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31299 of math functions ceil, trunc, floor, round, and sqrt, when
31300 avaliable on the platform.
31301 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31302 name clash.
31303 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31304 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31305 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31306
aaddc98c
MP
313072011-10-30 Marek Polacek <mpolacek@redhat.com>
31308
31309 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31310 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31311
95b7042b
RM
313122011-11-11 Roland McGrath <roland@hack.frob.com>
31313
31314 * include/unistd.h: Fix __readlink return type.
31315 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31316
57769839
UD
313172011-11-11 Ulrich Drepper <drepper@gmail.com>
31318
31319 * stdlib/ucontext.h: Undo last change for makecontext.
31320
edc5984d
AS
313212011-11-11 Andreas Schwab <schwab@redhat.com>
31322
98591e58
AS
31323 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31324
edc5984d
AS
31325 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31326 * setjmp/setjmp.h: Mark functions as non-leaf.
31327 * setjmp/bits/setjmp2.h: Likewise.
31328 * stdlib/ucontext.h: Likewise.
31329
77cdc054
AS
313302011-11-10 Andreas Schwab <schwab@redhat.com>
31331
31332 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31333 (reused_arena): Don't check arena limit.
31334 (arena_get2): Atomically check arena limit.
31335
fe72eebd
UD
313362011-11-08 Ulrich Drepper <drepper@gmail.com>
31337
5f078c32
UD
31338 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31339 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31340
fe72eebd
UD
31341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31342 instructions.
31343
ae1bc2fa
AS
313442011-11-07 Andreas Schwab <schwab@redhat.com>
31345
7583a88d
AS
31346 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31347 handler when locking.
31348
ae1bc2fa
AS
31349 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31350 Fix size of allocated buffer.
31351
10fb0bfa
AS
313522011-11-04 Andreas Schwab <schwab@redhat.com>
31353
998832a4
AS
31354 [BZ #10103]
31355 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31356 declarations for long double functions.
31357 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31358
10fb0bfa
AS
31359 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31360
3d7ba52b
AS
313612011-11-03 Andreas Schwab <schwab@redhat.com>
31362
a9ae54a1
AS
31363 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31364 installed.
31365
3d7ba52b
AS
31366 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31367 is disabled.
31368
bc8db248
ST
313692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31370
31371 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31372
45b96dd6
AS
313732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31374
647776f6
AS
31375 * include/alloca.h (stackinfo_alloca_round): Define.
31376 (extend_alloca): Use it.
31377 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31378 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31379 here.
31380
d91a8b93
AS
31381 * scripts/check-local-headers.sh: Ignore libaudit.h.
31382
45b96dd6
AS
31383 * nscd/Makefile (extra-objs): Make recursively expanded.
31384
432d41ce
UD
313852011-11-01 Ulrich Drepper <drepper@gmail.com>
31386
34372fc6
UD
31387 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31388 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31389
fadb59f8
UD
31390 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31391 * posix/tst-rfc3484-2.c: Likewise.
31392 * posix/tst-rfc3484-3.c: Likewise.
31393
78239589
UD
31394 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31395 process_vm_writev.
31396 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31397 process_vm_writev.
31398 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31399 process_vm_writev from libc using GLIBC_2.15 version.
31400
432d41ce
UD
31401 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31402
02f9c6cf
PP
314032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31404
31405 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31406 stack usage.
31407
3a2c0242
UD
314082011-10-31 Ulrich Drepper <drepper@gmail.com>
31409
f4ec4833
UD
31410 [BZ #13367]
31411 * nss/getent.c (initgroups_keys): Show error message in case no group
31412 names are given.
31413
3a2c0242
UD
31414 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31415 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31416 __bump_nl_timestamp.
31417 * nscd/connections (nscd_init): When host database is served open
31418 netlink socket and request notification about configuration changes.
31419 (main_loop_poll): Track netlink file descriptor and bump timestamp
31420 in case data becomes available.
31421 (main_loop_epoll): Likewise.
31422 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31423 (database_pers_head): Add extra_data fileds.
31424 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31425 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31426 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31427 Adjust caller.
31428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31429 in6ai data, call __free_in6ai.
31430 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31431 Add -DHAVE_NETLINK.
31432 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31433 interface information. Reuse previous data if netlink timestamp
31434 is not changed.
31435 (__bump_nl_timestamp): New function.
31436 (__free_in6ai): New function.
31437
636064eb
UD
314382011-10-30 Ulrich Drepper <drepper@gmail.com>
31439
31440 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31441 close_not_cancel_no_status here.
31442 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31443
9beb2334
UD
314442011-10-29 Ulrich Drepper <drepper@gmail.com>
31445
6ef76f3b
UD
31446 [BZ #13276]
31447 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31448 return value.
31449
0ffc4f3e 31450 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31451 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31452 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31453
cb95113e
UD
314542011-07-03 Andreas Jaeger <aj@suse.de>
31455
31456 [BZ #10709]
31457 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31458 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31459 * math/libm-test.inc (sin_test): Add test case.
31460
a1b560ff
UD
314612011-10-29 Ulrich Drepper <drepper@gmail.com>
31462
c9aaface
UD
31463 [BZ #13337]
31464 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31465 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31466
d272e7f1
UD
31467 * elf/chroot_canon.c (chroot_canon): Cleanups.
31468
1bc33071
UD
31469 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31470
1760874d
TJ
31471 [BZ #13335]
31472 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31473 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31474
51d91b18
UD
31475 * string/test-strchr.c: Make usable for strchrnul testing.
31476 * string/test-strchrnul.c: New file.
31477 * string/Makefile (strop-tests): Add strchrnul.
31478
a1b560ff 31479 * po/it.po: Update from translation team.
b611fb81 31480 * po/es.po: Likewise.
a1b560ff 31481
a5b81e1f
UD
314822011-10-28 Ulrich Drepper <drepper@gmail.com>
31483
fd52bc6d
UD
31484 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31485 the three constants needed as parameters. Drop the others.
31486 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31487 __m128i_strloadu_tolower.
52e4b9eb
UD
31488 Create and initialize variable zero and use it in all the places
31489 where _mm_setzero_si128 was used.
fd52bc6d 31490
a5b81e1f
UD
31491 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31492 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31493 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31494 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31495 anymore.
31496 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31497 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31498 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31499 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31500 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31501 __mpranred, __mptan.
31502 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31503 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31504 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31505 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31506 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31507 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31508 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31509 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31510 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31511
b4343346
AS
315122011-10-28 Andreas Schwab <schwab@redhat.com>
31513
0c92d8a8
AS
31514 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31515 redefine if SHARED.
31516 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31517
b4343346
AS
31518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31519 wide char related routines to wcsmbs subdir.
31520
3871f58f
AS
315212011-10-27 Andreas Schwab <schwab@redhat.com>
31522
31523 [BZ #13344]
31524 * misc/sys/cdefs.h (__THROWNL): Define.
31525 * posix/unistd.h: Use __THREADNL instead of __THREAD
31526 for memory synchronization functions.
31527
94d44d9f
RM
315282011-10-26 Roland McGrath <roland@hack.frob.com>
31529
21b64b15 31530 [BZ #13349]
94d44d9f
RM
31531 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31532 doesn't exist.
31533 * manual/stdio.texi (Obstack Streams): Node removed.
31534
f6ce9294
AS
315352011-10-26 Andreas Schwab <schwab@redhat.com>
31536
80479147
AS
31537 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31538 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31539 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31540
f6ce9294
AS
31541 * math/math_private.h (math_force_eval): Allow non-addressable
31542 arguments.
31543 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31544
618280a1
UD
315452011-10-25 Ulrich Drepper <drepper@gmail.com>
31546
e0016b11
UD
31547 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31548 file is not needed.
31549
31550 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31551 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31552 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31553 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31554 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31555 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31556 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31557 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31558 Add AVX variants.
31559 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31560 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31561 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31562 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31563 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31564 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31565 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31566 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31567 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31568 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31569 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31570 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31571 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31572 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31573 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31574 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31575 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31576 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31577 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31578
31579 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31580 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31581
618280a1
UD
31582 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31583 place. Use VEX encoding when compiling for AVX.
31584
37822576
AS
315852011-10-25 Andreas Schwab <schwab@redhat.com>
31586
1f1e1947
AS
31587 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31588 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31589
37822576
AS
31590 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31591
31ea014d
UD
315922011-10-25 Ulrich Drepper <drepper@gmail.com>
31593
d7826aa1 31594 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31595 useless if() expression.
d7826aa1
UD
31596 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31597 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31598 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31599 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31600 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31601 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31602 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31603 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31604 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31605 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31606 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31607 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31608 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31609 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31610 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31611 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31612 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31613 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31614 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31615
31ea014d
UD
31616 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31617
16437fec
AS
316182011-10-25 Andreas Schwab <schwab@redhat.com>
31619
31620 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31621 condition.
31622 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31623
31d3cc00
UD
316242011-10-25 Ulrich Drepper <drepper@gmail.com>
31625
31626 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31627 .text section. Avoid duplicate constants.
31628 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31629 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31630 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31632 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31634 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31636 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31637 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31638 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31639 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31640 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31641 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31642 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31643 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31644 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31645 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31646 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31648 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31649 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31650 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31651 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31652 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31653 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31654 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31655 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31656 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31657 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31658 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31659 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31660 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31661 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31662 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31663 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31664 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31665 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31666 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31667 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31668 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31669 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31670 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31671 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31672 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31673
58985aa9
UD
316742011-10-24 Ulrich Drepper <drepper@gmail.com>
31675
202c9deb
UD
31676 * sysdeps/x86_64/dla.h: Move to ...
31677 * sysdeps/x86_64/fpu/dla.h: ...here.
31678 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31679 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31680
af968f62
UD
31681 * config.make.in: Add have-mfma4 entry.
31682 * configure.in: Substitute libc_cv_cc_fma4.
31683 * math/Makefile (dbl-only-routines): Add sincostab.
31684 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31685 Use __sincostab not sincos.
31686 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31687 name is a macro.
31688 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31692 using __copysign.
31693 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31694 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31695 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31696 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31697 and __inv.
31698 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31699 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31700 __copysign.
31701 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31702 define aliases when function name is a macro.
31703 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31704 sysdeps/ieee754/dbl-64/sincos.tbl.
31705 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31706 fma4-enabled routines.
31707 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31708 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31709 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31710 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31711 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31712 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31714 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31715 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31716 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31717 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31718 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31719 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31720 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31721 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31722 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31723 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31724 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31725 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31726 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31727 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31728 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31729 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31730 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31731 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31732 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31733 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31734 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31735 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31736 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31737
58985aa9
UD
31738 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31739 rename.
31740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31748
a201fbcf
AS
317492011-10-24 Andreas Schwab <schwab@redhat.com>
31750
31751 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31752
fc2ee42a
LD
317532011-10-23 Ulrich Drepper <drepper@gmail.com>
31754
bb3129bd
UD
31755 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31756
0275fff8
UD
31757 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31758 prediction.
31759 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31760
2fa2ae85
UD
31761 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31762 Remove unused variable magic_bits.
31763 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31764
fc2ee42a
LD
31765 * string/strnlen.c: Define and use STRNLEN macro.
31766 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31767 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31768 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31769 * wcsmbs/wcslen.c: Define and use WCSLEN.
31770 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31771 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31772 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31773 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31774 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31775 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31776 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31777
ce7dd29f
LD
317782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31779
31780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31781 strnlen-sse2-no-bsf.
31782 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31783 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31784 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31785 Add strnlen support.
31786 (USE_AS_STRNLEN): New macro.
31787 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31788 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31789 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31790 * sysdeps/x86_64/wcslen.S: New file.
31791
979c70a3
MZ
317922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31793
31794 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31795 XMM-moves are used for copying on small sizes.
31796
2d09f82f
LD
317972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31798
31799 * wcsmbs/Makefile (strop-tests): Add wcschr.
31800 * wcsmbs/test-wcschr.c: New file.
31801 * string/test-strchr.c: Update.
31802 Add wcschr support.
31803 (WIDE): New macro.
31804
619fccca
LD
318052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31806
2d09f82f 31807 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31808 * wcsmbs/test-wcslen.c: New file.
31809 * string/test-strlen.c: Update.
31810 Add wcslen support.
31811 (WIDE): New macro.
31812
09f699ea
UD
318132011-10-23 Ulrich Drepper <drepper@gmail.com>
31814
31815 * po/it.po: Update from translation team.
31816
95584d3b
LD
318172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31818
31819 * sysdeps/x86_64/wcscmp.S: Update.
31820 Fix wrong comparison semantics.
31821 wcscmp shall use signed comparison not unsigned.
31822 Don't use substraction to avoid overflow bug.
31823 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31824 * wcsmbc/wcscmp.c: Likewise.
31825 * string/test-strcmp.c: Likewise.
31826 Add new tests to check cases with negative values.
31827
c8b3296b
UD
318282011-10-23 Ulrich Drepper <drepper@gmail.com>
31829
31830 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31831 * sysdeps/x86_64/dla.h: ...here. New file.
31832 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
31838 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31839 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31840 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31841
246ad57a
AS
318422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31843
31844 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31845 __ynl_finite aliases.
31846
a1a87169
UD
318472011-10-22 Ulrich Drepper <drepper@gmail.com>
31848
0d355eb7
UD
31849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31850
a1a87169
UD
31851 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31852 define DLA_FMA.
31853 [DLA_FMA] (EMULV): Use DLA_FMA.
31854 [DLA_FMA] (MUL12): Use EMULV.
31855 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31856 that are not needed.
31857 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31860 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31861 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31863 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31864
ee2aafe0
AS
318652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31866
31867 * math/s_nan.c: Undef __nan.
31868 * math/s_nanf.c: Undef __nanf.
31869 * math/s_nanl.c: Undef __nanl.
31870 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31871 "math_private.h".
31872
bc62c2fb
UD
318732011-10-22 Ulrich Drepper <drepper@gmail.com>
31874
77425c63
UD
31875 * math/s_catan.c: Add branch predictions.
31876 * math/s_catanf.c: Likewise.
31877 * math/s_catanh.c: Likewise.
31878 * math/s_catanhf.c: Likewise.
31879 * math/s_catanhl.c: Likewise.
31880 * math/s_catanl.c: Likewise.
31881 * math/s_cexp.c: Likewise.
31882 * math/s_cexpf.c: Likewise.
31883 * math/s_cexpl.c: Likewise.
31884 * math/s_clog.c: Likewise.
31885 * math/s_clog10.c: Likewise.
31886 * math/s_clog10f.c: Likewise.
31887 * math/s_clog10l.c: Likewise.
31888 * math/s_clogf.c: Likewise.
31889 * math/s_clogl.c: Likewise.
31890 * math/s_csqrt.c: Likewise.
31891 * math/s_csqrtf.c: Likewise.
31892 * math/s_csqrtl.c: Likewise.
31893 * math/s_ctanf.c: Likewise.
31894 * math/s_ctanh.c: Likewise.
31895 * math/s_ctanhf.c: Likewise.
31896 * math/s_ctanhl.c: Likewise.
31897 * math/s_ctanl.c: Likewise.
31898
bc62c2fb
UD
31899 * math/math_private.h: Define __nan, __nanf, __nanl.
31900 * math/s_cacosh.c: Include <math_private.h>.
31901 * math/s_cacoshl.c: Likewise.
31902 * math/s_casinh.c: Likewise.
31903 * math/s_casinhf.c: Likewise.
31904 * math/s_casinhl.c: Likewise.
31905 * math/s_ccos.c: Rely entire on ccosh.
31906 * math/s_ccosf.c: Rely entire on ccoshf.
31907 * math/s_ccosl.c: Rely entirely on ccoshl.
31908 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31909 Remove tests for FE_INVALID.
31910 * math/s_ccoshf.c: Likewise.
31911 * math/s_ccoshl.c: Likewise.
31912 * math/s_csin.c: Likewise.
31913 * math/s_csinf.c: Likewise.
31914 * math/s_csinh.c Likewise.
31915 * math/s_csinhf.c: Likewise.
31916 * math/s_csinhl.c: Likewise.
31917 * math/s_csinl.c: Likewise.
31918 * math/s_ctan.c: Likewise.
31919 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31920 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31921 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31922
8ec250a4
UD
319232011-10-21 Ulrich Drepper <drepper@gmail.com>
31924
c196fed8
UD
31925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31926 compilation problems.
31927
8ec250a4
UD
31928 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31929 __builtin_expect.
31930
8d4f46c6
UD
319312011-10-20 Ulrich Drepper <drepper@gmail.com>
31932
ed72b654
UD
31933 * sysdeps/i386/configure.in: Test for -mfma4 option.
31934 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31935 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31936 COMMON_CPUID_INDEX_80000001.
31937 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31938 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31939 use it if FMA3 is not supported.
31940 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31941
8d4f46c6
UD
31942 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31943 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31944
d45c60c2
AS
319452011-10-20 Andreas Schwab <schwab@redhat.com>
31946
31947 [BZ #12892]
31948 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31949 it would create a cycle with a link time dependency.
31950
d9a4d2ab
UD
319512011-10-19 Ulrich Drepper <drepper@gmail.com>
31952
855d1560
UD
31953 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31954 instruction.
31955 * string/Makefile (strop-tests): Add rawmemchr.
31956 * string/test-rawmemchr.c: New file.
31957
d9a4d2ab
UD
31958 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31959 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31960 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31961 when compiling str{,n}casecmp and when AVX is available. Hook up
31962 new optimized code in initializers.
31963
8f3b1ffe
AS
319642011-10-19 Andreas Schwab <schwab@redhat.com>
31965
31966 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31967 __feraiseexcept instead of feraiseexcept.
31968
d38f1dba
UD
319692011-10-18 Ulrich Drepper <drepper@gmail.com>
31970
d9a8d0ab
UD
31971 * math/math_private.h: Define defaults for libc_fetestexcept and
31972 libc_feupdateenv.
31973 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31974 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31975 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31976 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31977 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31978 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31979 libc_fetestexcept and libc_feupdateenv.
31980
4855e3dd
UD
31981 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31982 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31983 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31984 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31985 libc_feholdexcept_setround.
31986
581d30e3
UD
31987 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31988 Add s_nearbyint-c and s_nearbyintf-c.
31989 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31990 nearbyintf inlines.
31991 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31992 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31993 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31994 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31995
d38f1dba
UD
31996 * math/math_private.h: Define defaults for libc_fegetround,
31997 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31998 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31999 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32000 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32001 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32002 standard functions.
32003 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32004 Remove comments and hacks for old compiler versions.
32005 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32006 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32007 libc_feholdexceptl.
32008
caa6c9d8
AS
320092011-10-18 Andreas Schwab <schwab@redhat.com>
32010
32011 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32012 (__feraiseexcept_renamed): Add __NTH.
32013 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32014 namespace violations.
32015
97c066e6
UD
320162011-10-17 Ulrich Drepper <drepper@gmail.com>
32017
99ce7b04
UD
32018 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32019
1004d182
UD
32020 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32021
228a984d
UD
32022 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32023 recently added interfaces.
32024 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32025
c8553a6a
UD
32026 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32027 about macro parameter expansion.
32028
ed22dcf6
UD
32029 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32030 __NO_MATH_INLINES is defined. Cleanups.
32031
32032 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32033 and __floorf is target has SSE4.1.
32034 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32035 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32036 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32037 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32038
b171c137
UD
32039 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32040 name.
32041 (floorf): Likewise.
32042
97c066e6
UD
32043 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32044
629f62ef
AS
320452011-10-17 Andreas Schwab <schwab@redhat.com>
32046
49a43d80
AS
32047 * misc/sys/cdefs.h: Fix last change.
32048
629f62ef
AS
32049 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32050 database lookup.
32051
e453f6cd
UD
320522011-10-16 Ulrich Drepper <drepper@gmail.com>
32053
aa78043a
UD
32054 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32055
ad0f5cad
UD
32056 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32057 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32058 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32059 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32060 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32061 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32062 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32063 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32064 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32065 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32066 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32067 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32068 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32069 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32070 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32071 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32072 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32073 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32074 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32075 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32076 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32077 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32078
32079 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32080 ceil, ceilf, floor, floorf.
32081
32082 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32083 Perform IRELATIVE relocations last.
32084
e453f6cd
UD
32085 * elf/do-rel.h: Add another parameter nrelative, replacing the
32086 local variable with the same name. Change name of the function
32087 to end in Rel or Rela (uppercase).
32088 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32089 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32090 elf_dynamic_do_##reloc function.
32091
fd5bdc09
UD
320922011-10-15 Ulrich Drepper <drepper@gmail.com>
32093
79b195b5
UD
32094 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32095 is sufficient, at least on modern CPUs.
32096
d4a28569
UD
32097 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32098
b61099b5
UD
32099 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32100 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32101
bcf01e6d
UD
32102 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32103 __expl_finite.
32104 * math/bits/math-finite.h: Add entries for exp.
32105 * math/e_expl.c: Add __*_finite alias.
32106 * sysdeps/i386/fpu/e_exp.S: Likewise.
32107 * sysdeps/i386/fpu/e_expf.S: Likewise.
32108 * sysdeps/i386/fpu/e_expl.c: Likewise.
32109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32110 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32111 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32112 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32113 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32114 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32115 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32116
ba1a0d59
UD
32117 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32118 is sufficient, at least on modern CPUs.
32119
fd5bdc09
UD
32120 * ctype/ctype-info.c (__ctype_init): Define.
32121 * include/ctype.h (__ctype_init): Declare.
32122 (__ctype_b_loc): The variable is always initialized.
32123 (__ctype_toupper_loc): Likewise.
32124 (__ctype_tolower_loc): Likewise.
32125 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32126 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32127
7872cfb0
AS
321282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32129
b468825a
AS
32130 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32131
7872cfb0
AS
32132 * configure.in: Also look in $cxxmachine/include for C++ system
32133 headers.
32134
be13f7bf
LD
321352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32136
32137 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32138 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32139 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32140 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32141 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32142 (USE_AS_WMEMCMP): New macro.
32143 Fixing indents.
32144 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32145 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32146 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32147 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32149 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32150 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32151 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32152 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32153 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32154 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32155 (USE_AS_WMEMCMP): New macro.
32156 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32157 * sysdeps/string/test-memcmp.c: Update.
32158 Fix simple_wmemcmp.
32159 Add new tests.
32160 * wcsmbs/wmemcmp.c: Update.
32161 (WMEMCMP): New macro.
32162 Fix overflow bug.
32163
556a2007
AJ
321642011-10-12 Andreas Jaeger <aj@suse.de>
32165
32166 [BZ #13268]
32167 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32168
538faaa7
UD
321692011-10-15 Ulrich Drepper <drepper@gmail.com>
32170
ab6737ff
UD
32171 * libio/iofwide.c (do_length): Avoid warning.
32172
538faaa7
UD
32173 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32174
396a21b1
UD
321752011-10-14 Ulrich Drepper <drepper@gmail.com>
32176
cdf2901f
UD
32177 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32178
38ad40ce
UD
32179 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32180 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32181 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32182 * sysdeps/i386/i686/fpu/e_log.S: New file.
32183 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32184 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32185
396a21b1
UD
32186 * ctype/ctype.h: Add support for inlined isXXX functions when
32187 compiling C++ code.
32188
6b1f68c9
AS
321892011-10-14 Andreas Schwab <schwab@redhat.com>
32190
349290c0
AS
32191 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32192
6b1f68c9
AS
32193 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32194
f2282d42
RM
321952011-10-13 Roland McGrath <roland@hack.frob.com>
32196
32197 [BZ #13291]
32198 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32199
5298ffa8
AS
322002011-10-13 Andreas Schwab <schwab@redhat.com>
32201
714fad23
AS
32202 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32203 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32204 feraiseexcept.
32205
81dcc7fb
AS
32206 * sysdeps/x86_64/memrchr.S: Check for zero size.
32207
5298ffa8
AS
32208 * string/stratcliff.c: Add memrchr tests.
32209
951fbcec
LD
322102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32211
32212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32213 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32214 rawmemchr-sse2 rawmemchr-sse2-bsf.
32215 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32216 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32217 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32218 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32219 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32220 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32221 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32222 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32223 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32224 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32225 * string/memrchr.c (MEMRCHR): New macro.
32226
0ac5ae23
UD
322272011-10-12 Ulrich Drepper <drepper@gmail.com>
32228
32229 Add integration with gcc's -ffinite-math-only and optimize wrapper
32230 functions in libm.
32231 * Versions.def: Define GLIBC_2.15 version for libm.
32232 * math/Makefile (headers): Add bits/math-finite.h.
32233 * math/bits/math-finite.h: New file.
32234 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32235 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32236 * math/e_acoshl.c: Add __*_finite alias.
32237 * math/e_acosl.c: Likewise.
32238 * math/e_asinl.c: Likewise.
32239 * math/e_atan2l.c: Likewise.
32240 * math/e_atanhl.c: Likewise.
32241 * math/e_coshl.c: Likewise.
32242 * math/e_exp10.c: Likewise.
32243 * math/e_exp10f.c: Likewise.
32244 * math/e_exp10l.c: Likewise.
32245 * math/e_exp2l.c: Likewise.
32246 * math/e_fmodl.c: Likewise.
32247 * math/e_gammal_r.c: Likewise.
32248 * math/e_hypotl.c: Likewise.
32249 * math/e_j0l.c: Likewise.
32250 * math/e_j1l.c: Likewise.
32251 * math/e_jnl.c: Likewise.
32252 * math/e_lgammal_r.c: Likewise.
32253 * math/e_log10l.c: Likewise.
32254 * math/e_log2l.c: Likewise.
32255 * math/e_logl.c: Likewise.
32256 * math/e_powl.c: Likewise.
32257 * math/e_sinhl.c: Likewise.
32258 * math/e_sqrtl.c: Likewise.
32259 * math/e_scalb.c: Completely rewritten and optimized.
32260 * math/e_scalbf.c: Likewise.
32261 * math/e_scalbl.c: Likewise.
32262 * math/w_acos.c: Likewise.
32263 * math/w_acosf.c: Likewise.
32264 * math/w_acosl.c: Likewise.
32265 * math/w_acosh.c: Likewise.
32266 * math/w_acoshf.c: Likewise.
32267 * math/w_acoshl.c: Likewise.
32268 * math/w_asin.c: Likewise.
32269 * math/w_asinf.c: Likewise.
32270 * math/w_asinl.c: Likewise.
32271 * math/w_atan2.c: Likewise.
32272 * math/w_atan2f.c: Likewise.
32273 * math/w_atan2l.c: Likewise.
32274 * math/w_atanh.c: Likewise.
32275 * math/w_atanhf.c: Likewise.
32276 * math/w_atanhl.c: Likewise.
32277 * math/w_exp10.c: Likewise.
32278 * math/w_exp10f.c: Likewise.
32279 * math/w_exp10l.c: Likewise.
32280 * math/w_fmod.c: Likewise.
32281 * math/w_fmodf.c: Likewise.
32282 * math/w_fmodl.c: Likewise.
32283 * math/w_j0.c: Likewise.
32284 * math/w_j0f.c: Likewise.
32285 * math/w_j0l.c: Likewise.
32286 * math/w_j1.c: Likewise.
32287 * math/w_j1f.c: Likewise.
32288 * math/w_j1l.c: Likewise.
32289 * math/w_jn.c: Likewise.
32290 * math/w_jnf.c: Likewise.
32291 * math/w_log.c: Likewise.
32292 * math/w_logf.c: Likewise.
32293 * math/w_logl.c: Likewise.
32294 * math/w_log10.c: Likewise.
32295 * math/w_log10f.c: Likewise.
32296 * math/w_log10l.c: Likewise.
32297 * math/w_log2.c: Likewise.
32298 * math/w_log2f.c: Likewise.
32299 * math/w_log2l.c: Likewise.
32300 * math/w_pow.c: Likewise.
32301 * math/w_powf.c: Likewise.
32302 * math/w_powl.c: Likewise.
32303 * math/w_remainder.c: Likewise.
32304 * math/w_remainderf.c: Likewise.
32305 * math/w_remainderl.c: Likewise.
32306 * math/w_scalb.c: Likewise.
32307 * math/w_scalbf.c: Likewise.
32308 * math/w_scalbl.c: Likewise.
32309 * math/w_sqrt.c: Likewise.
32310 * math/w_sqrtf.c: Likewise.
32311 * math/w_sqrtl.c: Likewise.
32312 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32313 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32314 used.
32315 * math/math_private.h: Declare __kernel_standard_f.
32316 * math/w_cosh.c: Remove cruft and optimize a bit.
32317 * math/w_coshf.c: Likewise.
32318 * math/w_coshl.c: Likewise.
32319 * math/w_exp2.c: Likewise.
32320 * math/w_exp2f.c: Likewise.
32321 * math/w_exp2l.c: Likewise.
32322 * math/w_hypot.c: Likewise.
32323 * math/w_hypotf.c: Likewise.
32324 * math/w_hypotl.c: Likewise.
32325 * math/w_lgamma.c: Likewise.
32326 * math/w_lgamma_r.c: Likewise.
32327 * math/w_lgammaf.c: Likewise.
32328 * math/w_lgammaf_r.c: Likewise.
32329 * math/w_lgammal.c: Likewise.
32330 * math/w_lgammal_r.c: Likewise.
32331 * math/w_sinh.c: Likewise.
32332 * math/w_sinhf.c: Likewise.
32333 * math/w_sinhl.c: Likewise.
32334 * math/w_tgamma.c: Likewise.
32335 * math/w_tgammaf.c: Likewise.
32336 * math/w_tgammal.c: Likewise.
32337 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32338 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32339 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32340 Minor optimizations. Pretty printing. Remove cruft.
32341 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32342 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32343 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32344 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32345 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32346 * sysdeps/i386/fpu/e_asin.S: Likewise.
32347 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32348 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32349 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32350 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32351 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32353 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32354 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32355 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32356 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32357 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32358 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32359 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32360 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32361 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32362 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32363 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32364 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32365 * sysdeps/i386/fpu/e_log.S: Likewise.
32366 * sysdeps/i386/fpu/e_log10.S: Likewise.
32367 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32368 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32369 * sysdeps/i386/fpu/e_log2.S: Likewise.
32370 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32371 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32372 * sysdeps/i386/fpu/e_logf.S: Likewise.
32373 * sysdeps/i386/fpu/e_logl.S: Likewise.
32374 * sysdeps/i386/fpu/e_pow.S: Likewise.
32375 * sysdeps/i386/fpu/e_powf.S: Likewise.
32376 * sysdeps/i386/fpu/e_powl.S: Likewise.
32377 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32378 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32379 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32380 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32381 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32382 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32383 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32384 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32385 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32386 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32387 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32388 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32389 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32390 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32391 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32392 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32393 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32394 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32395 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32396 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32397 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32399 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32400 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32402 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32403 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32404 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32406 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32407 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32408 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32409 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32410 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32411 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32412 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32413 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32414 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32415 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32416 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32417 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32418 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32419 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32420 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32421 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32422 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32423 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32424 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32425 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32426 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32427 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32428 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32429 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32430 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32431 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32432 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32433 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32434 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32435 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32436 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32437 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32438 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32439 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32440 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32441 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32442 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32443 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32444 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32445 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32446 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32447 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32448 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32449 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32450 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32451 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32452 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32453 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32454 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32455 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32456 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32457 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32458 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32459 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32460 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32461 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32462 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32463 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32464 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32465 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32466 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32467 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32468 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32469 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32470 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32471 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32472 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32473 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32474 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32475 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32476 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32477 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32478 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32479 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32480 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32481 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32482 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32483 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32484 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32485 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32486 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32487 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32488 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32489 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32490 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32491 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32492 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32493 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32494 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32495 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32496 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32497 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32498 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32499 (__isnanf): Likewise.
32500 (__isinf_ns): Likewise.
32501 (__isinf_nsf): Likewise.
32502 (__finite): Likewise.
32503 (__finitef): Likewise.
32504 (__ieee754_sqrt): Define as macro.
32505 (__ieee754_sqrtf): Define as macro.
32506 (__ieee754_sqrtl): Define as macro.
32507 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32508 inlined copy.
32509 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32510 __FINITE_MATH_ONLY__ consistent.
32511 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32512
12cc2fcd
AS
325132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32514
a843a204
AS
32515 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32516 of rawmemchr.
32517
12cc2fcd
AS
32518 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32519
c853acd5
UD
325202011-10-09 Ulrich Drepper <drepper@gmail.com>
32521
32522 * po/ja.po: Update from translation team.
32523
c658d255
RM
325242011-10-08 Roland McGrath <roland@hack.frob.com>
32525
110946e4
RM
32526 * locale/programs/locarchive.c (prepare_address_space): New function.
32527 (create_archive, enlarge_archive, open_archive): Use it.
32528
50604220
RM
32529 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32530 inside [SHARED], where it is used.
32531
c658d255
RM
32532 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32533
32534 * nss/getent.c (netgroup_keys): Remove unused variable.
32535 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32536
6a621eb7
UD
325372011-10-08 Ulrich Drepper <drepper@gmail.com>
32538
7edb55ce
UD
32539 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32540 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32542 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32543 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32544 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32545 * math/Makefile (libm-calls): Add s_isinf_ns.
32546 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32547 * math/multc3.c: Likewise.
32548 * math/s_casin.c: Likewise.
32549 * math/s_casinf.c: Likewise.
32550 * math/s_casinl.c: Likewise.
32551 * math/s_ccos.c: Likewise.
32552 * math/s_ccosf.c: Likewise.
32553 * math/s_ccosl.c: Likewise.
32554 * math/s_ctan.c: Likewise.
32555 * math/s_ctanf.c: Likewise.
32556 * math/s_ctanh.c: Likewise.
32557 * math/s_ctanhf.c: Likewise.
32558 * math/s_ctanhl.c: Likewise.
32559 * math/s_ctanl.c: Likewise.
32560 * math/w_fmod.c: Likewise.
32561 * math/w_fmodf.c: Likewise.
32562 * math/w_fmodl.c: Likewise.
32563 * math/w_remainder.c: Likewise.
32564 * math/w_remainderf.c: Likewise.
32565 * math/w_remainderl.c: Likewise.
32566 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32567 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32568 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32570 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32571 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32572 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32573 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32574
187da0ae
UD
32575 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32576 of the number.
32577 * stdio-common/printf_fphex.c: Likewise.
32578 * stdio-common/printf_size.c: Likewise.
32579
9277c064
UD
32580 * math/e_exp10.c: Include math_private.h using <...> not "...".
32581 * math/e_exp10f.c: Likewise.
32582 * math/e_exp10l.c: Likewise.
32583 * math/e_exp2l.c: Likewise.
32584 * math/e_j0l.c: Likewise.
32585 * math/e_j1l.c: Likewise.
32586 * math/e_jnl.c: Likewise.
32587 * math/e_lgammal_r.c: Likewise.
32588 * math/e_rem_pio2l.c: Likewise.
32589 * math/e_scalb.c: Likewise.
32590 * math/e_scalbf.c: Likewise.
32591 * math/e_scalbl.c: Likewise.
32592 * math/k_cosl.c: Likewise.
32593 * math/k_sinl.c: Likewise.
32594 * math/k_tanl.c: Likewise.
32595 * math/s_cacoshf.c: Likewise.
32596 * math/s_catan.c: Likewise.
32597 * math/s_catanf.c: Likewise.
32598 * math/s_catanh.c: Likewise.
32599 * math/s_catanhf.c: Likewise.
32600 * math/s_catanhl.c: Likewise.
32601 * math/s_catanl.c: Likewise.
32602 * math/s_ccosh.c: Likewise.
32603 * math/s_ccoshf.c: Likewise.
32604 * math/s_ccoshl.c: Likewise.
32605 * math/s_cexp.c: Likewise.
32606 * math/s_cexpf.c: Likewise.
32607 * math/s_cexpl.c: Likewise.
32608 * math/s_clog.c: Likewise.
32609 * math/s_clog10.c: Likewise.
32610 * math/s_clog10f.c: Likewise.
32611 * math/s_clog10l.c: Likewise.
32612 * math/s_clogf.c: Likewise.
32613 * math/s_clogl.c: Likewise.
32614 * math/s_csin.c: Likewise.
32615 * math/s_csinf.c: Likewise.
32616 * math/s_csinh.c: Likewise.
32617 * math/s_csinhf.c: Likewise.
32618 * math/s_csinhl.c: Likewise.
32619 * math/s_csinl.c: Likewise.
32620 * math/s_csqrt.c: Likewise.
32621 * math/s_csqrtf.c: Likewise.
32622 * math/s_csqrtl.c: Likewise.
32623 * math/s_ctan.c: Likewise.
32624 * math/s_ctanf.c: Likewise.
32625 * math/s_ctanh.c: Likewise.
32626 * math/s_ctanhf.c: Likewise.
32627 * math/s_ctanhl.c: Likewise.
32628 * math/s_ctanl.c: Likewise.
32629 * math/s_ldexp.c: Likewise.
32630 * math/s_ldexpf.c: Likewise.
32631 * math/s_ldexpl.c: Likewise.
32632 * math/s_significand.c: Likewise.
32633 * math/s_significandf.c: Likewise.
32634 * math/s_significandl.c: Likewise.
32635 * math/w_acos.c: Likewise.
32636 * math/w_acosf.c: Likewise.
32637 * math/w_acosh.c: Likewise.
32638 * math/w_acoshf.c: Likewise.
32639 * math/w_acoshl.c: Likewise.
32640 * math/w_acosl.c: Likewise.
32641 * math/w_asin.c: Likewise.
32642 * math/w_asinf.c: Likewise.
32643 * math/w_asinl.c: Likewise.
32644 * math/w_atan2.c: Likewise.
32645 * math/w_atan2f.c: Likewise.
32646 * math/w_atan2l.c: Likewise.
32647 * math/w_atanh.c: Likewise.
32648 * math/w_atanhf.c: Likewise.
32649 * math/w_atanhl.c: Likewise.
32650 * math/w_cosh.c: Likewise.
32651 * math/w_coshf.c: Likewise.
32652 * math/w_coshl.c: Likewise.
32653 * math/w_dremf.c: Likewise.
32654 * math/w_exp10.c: Likewise.
32655 * math/w_exp10f.c: Likewise.
32656 * math/w_exp10l.c: Likewise.
32657 * math/w_exp2.c: Likewise.
32658 * math/w_exp2f.c: Likewise.
32659 * math/w_fmod.c: Likewise.
32660 * math/w_fmodf.c: Likewise.
32661 * math/w_fmodl.c: Likewise.
32662 * math/w_hypot.c: Likewise.
32663 * math/w_hypotf.c: Likewise.
32664 * math/w_hypotl.c: Likewise.
32665 * math/w_j0.c: Likewise.
32666 * math/w_j0f.c: Likewise.
32667 * math/w_j0l.c: Likewise.
32668 * math/w_j1.c: Likewise.
32669 * math/w_j1f.c: Likewise.
32670 * math/w_j1l.c: Likewise.
32671 * math/w_jn.c: Likewise.
32672 * math/w_jnf.c: Likewise.
32673 * math/w_jnl.c: Likewise.
32674 * math/w_lgamma.c: Likewise.
32675 * math/w_lgamma_r.c: Likewise.
32676 * math/w_lgammaf.c: Likewise.
32677 * math/w_lgammaf_r.c: Likewise.
32678 * math/w_lgammal.c: Likewise.
32679 * math/w_lgammal_r.c: Likewise.
32680 * math/w_log.c: Likewise.
32681 * math/w_log10.c: Likewise.
32682 * math/w_log10f.c: Likewise.
32683 * math/w_log10l.c: Likewise.
32684 * math/w_log2.c: Likewise.
32685 * math/w_log2f.c: Likewise.
32686 * math/w_log2l.c: Likewise.
32687 * math/w_logf.c: Likewise.
32688 * math/w_logl.c: Likewise.
32689 * math/w_pow.c: Likewise.
32690 * math/w_powf.c: Likewise.
32691 * math/w_powl.c: Likewise.
32692 * math/w_remainder.c: Likewise.
32693 * math/w_remainderf.c: Likewise.
32694 * math/w_remainderl.c: Likewise.
32695 * math/w_scalb.c: Likewise.
32696 * math/w_scalbf.c: Likewise.
32697 * math/w_scalbl.c: Likewise.
32698 * math/w_sinh.c: Likewise.
32699 * math/w_sinhf.c: Likewise.
32700 * math/w_sinhl.c: Likewise.
32701 * math/w_sqrt.c: Likewise.
32702 * math/w_sqrtf.c: Likewise.
32703 * math/w_sqrtl.c: Likewise.
32704 * math/w_tgamma.c: Likewise.
32705 * math/w_tgammaf.c: Likewise.
32706 * math/w_tgammal.c: Likewise.
32707
6a621eb7
UD
32708 * po/ja.po: Update from translation team.
32709
bf582445
AJ
327102011-09-29 Andreas Jaeger <aj@suse.de>
32711
f9efbf3a
AJ
32712 [BZ #13179]
32713 * sunrpc/netname.c (netname2host): Fix logic.
32714
bf582445
AJ
32715 [BZ #6779]
32716 [BZ #6783]
32717 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32718 correctly.
32719 * math/w_remainder.c (__remainder): Likewise.
32720 * math/w_remainderf.c (__remainderf): Likewise.
32721 * math/libm-test.inc (remainder_test): Add test cases.
32722
48693bea
AK
327232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32724
32725 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32726 sdiv_qrnnd.
32727
42622229
LD
327282011-10-07 Ulrich Drepper <drepper@gmail.com>
32729
32730 * string/test-memcmp.c: Avoid unncessary #defines.
32731 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32732
093ecf92
LD
327332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32734
32735 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32736 Use new sse2 version for core i3 - i7 as it's faster
32737 than sse42 version.
32738 (bit_Prefer_PMINUB_for_stringop): New.
32739 * sysdeps/x86_64/rawmemchr.S: Update.
32740 Replace with faster SSE2 version.
32741 * sysdeps/x86_64/memrchr.S: New file.
32742 * sysdeps/x86_64/memchr.S: Update.
32743 Replace with faster SSE2 version.
32744
fde56e5c
MP
327452011-09-12 Marek Polacek <mpolacek@redhat.com>
32746
32747 * elf/dl-load.c (lose): Add cast to avoid warning.
32748
21fd49a9
UD
327492011-10-07 Ulrich Drepper <drepper@gmail.com>
32750
5a06e643
UD
32751 * po/ca.po: Update from translation team.
32752
684ae515
UD
32753 * inet/getnetgrent_r.c: Hook up nscd.
32754 * nscd/Makefile (routines): Add nscd_netgroup.
32755 (nscd-modules): Add netgroupcache.
32756 (CFLAGS-netgroupcache.c): Define.
32757 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32758 (cache_search): Add const to second parameter.
32759 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32760 INNETGR.
32761 (dbs): Add netgrdb entry.
32762 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32763 (verify_persistent_db): Handle netgrdb.
32764 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32765 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32766 GETFDNETGR.
32767 (netgroup_response_header): Define.
32768 (innetgroup_response_header): Define.
32769 (datahead): Add netgroup_response_header and innetgroup_response_header
32770 elements.
32771 * nscd/nscd.conf: Add entries for netgroup cache.
32772 * nscd/nscd.h (dbtype): Add netgrdb.
32773 (_PATH_NSCD_NETGROUP_DB): Define.
32774 (netgroup_iov_disabled): Declare.
32775 (xmalloc, xcalloc, xrealloc): Move declarations here.
32776 (cache_search): Adjust prototype.
32777 Add netgroup-related prototypes.
32778 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32779 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32780 (__nscd_innetgr): Declare.
32781 * nscd/selinux.c (perms): Use access_vector_t as element type and
32782 add netgroup-related initializers.
32783 * nscd/netgroupcache.c: New file.
32784 * nscd/nscd_netgroup.c: New file.
32785 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32786 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32787 For four parameters use innetgr.
32788 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32789 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32790 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32791 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32792
21fd49a9
UD
32793 * nscd/connections.c (register_traced_file): Don't register file
32794 for disabled databases.
32795
054c0457
UD
327962011-10-06 Ulrich Drepper <drepper@gmail.com>
32797
32b63198
UD
32798 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32799
054c0457
UD
32800 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32801 from tree and freeing node.
32802
64031225
JO
328032011-09-25 Jiri Olsa <jolsa@redhat.com>
32804
32805 * nss/nsswitch.c (__nss_database_lookup): Handle
32806 nss_parse_service_list out of memory case.
32807
0490345c
JO
328082011-09-15 Jiri Olsa <jolsa@redhat.com>
32809
32810 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32811 out of memory case.
32812
3a62d00d
AS
328132011-10-04 Andreas Schwab <schwab@redhat.com>
32814
32815 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32816 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32817 pass it down.
32818 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32819 elf_machine_rela, elf_machine_lazy_rel.
32820 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32821 (ELF_DYNAMIC_DO_REL): Likewise.
32822 (ELF_DYNAMIC_DO_RELA): Likewise.
32823 (ELF_DYNAMIC_RELOCATE): Likewise.
32824 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32825 to ELF_DYNAMIC_DO_REL.
32826 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32827 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32828 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32829 elf_machine_rela.
32830 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32831 skip_ifunc, don't call ifunc function if non-zero.
32832 (elf_machine_rela): Likewise.
32833 (elf_machine_lazy_rel): Likewise.
32834 (elf_machine_lazy_rela): Likewise.
32835 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32836 (elf_machine_lazy_rel): Likewise.
32837 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32838 Likewise.
32839 (elf_machine_lazy_rel): Likewise.
32840 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32841 Likewise.
32842 (elf_machine_lazy_rel): Likewise.
32843 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32844 (elf_machine_lazy_rel): Likewise.
32845 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32846 (elf_machine_lazy_rel): Likewise.
32847 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32848 (elf_machine_lazy_rel): Likewise.
32849 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32850 (elf_machine_lazy_rel): Likewise.
32851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32852 (elf_machine_lazy_rel): Likewise.
32853 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32854 (elf_machine_lazy_rel): Likewise.
32855
68577918
UD
328562011-09-28 Ulrich Drepper <drepper@gmail.com>
32857
32858 * nss/nss_files/files-init.c (_nss_files_init): Use static
32859 initialization for all the *_traced_file variables.
32860
68822d74
AS
328612011-09-28 Andreas Schwab <schwab@redhat.com>
32862
32863 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32864
2056100b
RM
328652011-09-27 Roland McGrath <roland@hack.frob.com>
32866
32867 [BZ #13226]
32868 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32869
32c76b63
AS
328702011-09-27 Andreas Schwab <schwab@redhat.com>
32871
32872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32873 Reread the line before reparsing it.
32874
bf972c9d
AS
328752011-09-26 Andreas Schwab <schwab@redhat.com>
32876
32877 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32878
e057a1b5
JM
328792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32880 Maxim Kuvyrkov <maxim@codesourcery.com>
32881 Joseph Myers <joseph@codesourcery.com>
32882
32883 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32884 if needed for __stack_chk_guard.
32885
bc7e1c36
RM
328862011-09-19 Roland McGrath <roland@hack.frob.com>
32887
ecb1482f
RM
32888 * sysdeps/posix/spawni.c (script_execute): Always define it.
32889 It will be optimized away if unused.
32890 (maybe_script_execute): New function.
32891 (__spawni): Call it.
32892
bc7e1c36
RM
32893 * Makerules: Don't include tls.make.
32894 (config-tls): Always set to thread.
32895 * tls.make.c: File removed.
32896
1c3b002b
MF
328972011-09-19 Mike Frysinger <vapier@gentoo.org>
32898
32899 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32900 * config.make.in (CPPFLAGS-config): New substituted variable.
32901
2840865d
UD
329022011-09-15 Ulrich Drepper <drepper@gmail.com>
32903
88738eb6
UD
32904 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32905
cbf645a6 32906 [BZ #13192]
2840865d
UD
32907 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32908 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32909
b402e91a
RM
329102011-09-15 Roland McGrath <roland@hack.frob.com>
32911
32912 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32913 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32915 (CALL_FAIL): Likewise.
32916 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32917 (CALL_FAIL): Macro removed.
32918 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32919
4c1a1f71
UD
329202011-09-15 Ulrich Drepper <drepper@gmail.com>
32921
32922 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32923 for __FINITE_MATH_ONLY__ == 1.
32924
edc121be
AS
329252011-09-15 Andreas Schwab <schwab@redhat.com>
32926
32927 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32928 __ieee754_sqrt instead of sqrt.
32929 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32930 __ieee754_sqrtf instead of sqrtf.
32931 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32932 __floorf instead of floorf.
32933 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32934 __floorf, __truncf instead of floorf, truncf.
32935
cd205654
UD
329362011-09-14 Ulrich Drepper <drepper@gmail.com>
32937
ee4d0315
UD
32938 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32939
cd205654
UD
32940 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32941 __extern_always_inline.
32942 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32943 32-bit.
32944
48b67d71
AS
329452011-09-14 Andreas Schwab <schwab@redhat.com>
32946
32947 * elf/rtld.c (dl_main): Also relocate in dependency order when
32948 doing symbol dependency testing.
32949
1ae12c75
AS
329502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32951
32952 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32953 Always define `refsym'.
32954
995a80df
AS
329552011-09-13 Andreas Schwab <schwab@redhat.com>
32956
e529793b
AS
32957 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32958 (__FD_ELT): Renamed from __FDELT.
32959 * misc/bits/select2.h (__FD_ELT): Likewise.
32960 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32961 __FD_MASK instead of __FDELT, __FDMASK.
32962 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32963 Likewise.
32964 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32965 Likewise.
32966
52d4fef8
AS
32967 * elf/Makefile (gen-ldd): Fix pattern.
32968
995a80df
AS
32969 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32970 (init_tls): Likewise.
32971
8682f8b0
UD
329722011-09-12 Ulrich Drepper <drepper@gmail.com>
32973
32974 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32975
de82006d
AS
329762011-09-12 Andreas Schwab <schwab@redhat.com>
32977
a7c8e6a1
AS
32978 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32979 `struct cmsghdr *' instead of `void *'.
32980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32981 Likewise.
32982
0f31fe77
AS
329832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32984
32985 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32986 if non-absolute.
32987 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32988 ldd_rewrite_script.
0f31fe77 32989
32b4c839
UD
329902011-09-11 Ulrich Drepper <drepper@gmail.com>
32991
83cd1420
UD
32992 * configure.in: Remove --with-tls option.
32993 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32994 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32995 out in case it is missing.
32996 * sysdeps/ia64/elf/configure.in: Likewise.
32997 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32998 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32999 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33000 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33001 * sysdeps/sh/elf/configure.in: Likewise.
33002 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33003 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33004 * sysdeps/x86_64/elf/configure.in: Likewise.
33005 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33006 * sysdeps/mach/hurd/tls.h: Likewise.
33007
633f745d
UD
33008 [BZ #13067]
33009 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33010
f318beb8
UD
33011 [BZ #13090]
33012 * configure.in: Fix use of AC_INIT.
33013
32b4c839
UD
33014 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33015
3ce1f295
UD
330162011-09-10 Ulrich Drepper <drepper@gmail.com>
33017
bb016596
UD
33018 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33019 __set_errno.
8e58439c
UD
33020 * malloc/hooks.c: Likewise.
33021
aebae053 33022 [BZ #11929]
02d46fc4
UD
33023 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33024 variables statically.
33025 (narenas): Initialize.
33026 (list_lock): Initialize.
bb016596
UD
33027 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33028 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33029 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33030 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33031 Add initializers to main_arena and mp_.
33032 (malloc_state): Remove pagesize member. Change all users to use
33033 GLRO(dl_pagesize).
33034
33035 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33036 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33037 is always initialized.
33038
22a89187
UD
33039 * malloc/malloc.c: Removed unused configurations and dead code.
33040 * malloc/arena.c: Likewise.
33041 * malloc/hooks.c: Likewise.
02d46fc4 33042 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33043
d063d164
UD
33044 * include/tls.h: Removed. USE___THREAD must always be defined.
33045 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33046 * elf/dl-libc.c: Likewise.
33047 * elf/dl-tsd.c: Likewise.
33048 * include/errno.h: Likewise.
33049 * include/netdb.h: Likewise.
33050 * include/resolv.h: Likewise.
33051 * inet/herrno-loc.c: Likewise.
33052 * inet/herrno.c: Likewise.
33053 * malloc/arena.c: Likewise.
33054 * malloc/hooks.c: Likewise.
33055 * malloc/malloc.c: Likewise.
33056 * resolv/res-state.c: Likewise.
33057 * resolv/res_libc.c: Likewise.
33058 * sysdeps/i386/dl-machine.h: Likewise.
33059 * sysdeps/ia64/dl-machine.h: Likewise.
33060 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33061 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33062 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33063 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33064 * sysdeps/sh/dl-machine.h: Likewise.
33065 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33066 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33067 * sysdeps/unix/i386/sysdep.S: Likewise.
33068 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33069 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33071 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33073 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33074 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33075 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33078 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33079 * sysdeps/x86_64/dl-machine.h: Likewise.
33080 * tls.make.c: Likewise.
33081
3ce1f295
UD
33082 * configure.in: Remove --with-__thread option. Make tests for
33083 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33084 tls_model attribute fail if no support is available. Remove
33085 USE_IN_LIBIO.
33086 * Makeconfig: Adjust for dropped configure option. All features are
33087 now mandatory.
33088 * Makerules: Likewise.
33089 * Versions.def: Likewise.
33090 * argp/argp-fmtstream.c: Likewise.
33091 * argp/argp-fmtstream.h: Likewise.
33092 * argp/argp-help.c: Likewise.
33093 * assert/assert.c: Likewise.
33094 * config.h.in: Likewise.
33095 * config.make.in: Likewise.
33096 * configure: Likewise.
33097 * configure.in: Likewise.
33098 * csu/Versions: Likewise.
33099 * csu/init.c: Likewise.
33100 * elf/tst-audit2.c: Likewise.
33101 * elf/tst-tls10.c: Likewise.
33102 * elf/tst-tls10.h: Likewise.
33103 * elf/tst-tls11.c: Likewise.
33104 * elf/tst-tls12.c: Likewise.
33105 * elf/tst-tls14.c: Likewise.
33106 * elf/tst-tlsmod11.c: Likewise.
33107 * elf/tst-tlsmod12.c: Likewise.
33108 * elf/tst-tlsmod13.c: Likewise.
33109 * elf/tst-tlsmod13a.c: Likewise.
33110 * elf/tst-tlsmod14a.c: Likewise.
33111 * elf/tst-tlsmod15b.c: Likewise.
33112 * elf/tst-tlsmod16a.c: Likewise.
33113 * elf/tst-tlsmod16b.c: Likewise.
33114 * elf/tst-tlsmod7.c: Likewise.
33115 * elf/tst-tlsmod8.c: Likewise.
33116 * elf/tst-tlsmod9.c: Likewise.
33117 * gmon/gmon.c: Likewise.
33118 * grp/fgetgrent_r.c: Likewise.
33119 * grp/putgrent.c: Likewise.
33120 * hurd/fopenport.c: Likewise.
33121 * include/libc-symbols.h: Likewise.
33122 * include/tls.h: Likewise.
33123 * intl/gettextP.h: Likewise.
33124 * intl/loadinfo.h: Likewise.
33125 * locale/global-locale.c: Likewise.
33126 * locale/localeinfo.h: Likewise.
33127 * mach/devstream.c: Likewise.
33128 * malloc/arena.c: Likewise.
33129 * malloc/set-freeres.c: Likewise.
33130 * misc/err.c: Likewise.
33131 * misc/getttyent.c: Likewise.
33132 * misc/mntent_r.c: Likewise.
33133 * posix/getopt.c: Likewise.
33134 * posix/wordexp.c: Likewise.
33135 * pwd/fgetpwent_r.c: Likewise.
33136 * resolv/Versions: Likewise.
33137 * resolv/res_hconf.c: Likewise.
33138 * shadow/fgetspent_r.c: Likewise.
33139 * shadow/putspent.c: Likewise.
33140 * stdio-common/printf_fphex.c: Likewise.
33141 * stdio-common/tmpfile.c: Likewise.
33142 * stdlib/abort.c: Likewise.
33143 * stdlib/fmtmsg.c: Likewise.
33144 * sunrpc/auth_unix.c: Likewise.
33145 * sunrpc/clnt_perr.c: Likewise.
33146 * sunrpc/clnt_tcp.c: Likewise.
33147 * sunrpc/clnt_udp.c: Likewise.
33148 * sunrpc/clnt_unix.c: Likewise.
33149 * sunrpc/openchild.c: Likewise.
33150 * sunrpc/svc_simple.c: Likewise.
33151 * sunrpc/svc_tcp.c: Likewise.
33152 * sunrpc/svc_udp.c: Likewise.
33153 * sunrpc/svc_unix.c: Likewise.
33154 * sunrpc/xdr.c: Likewise.
33155 * sunrpc/xdr_array.c: Likewise.
33156 * sunrpc/xdr_rec.c: Likewise.
33157 * sunrpc/xdr_ref.c: Likewise.
33158 * sunrpc/xdr_stdio.c: Likewise.
33159
1248c1c4
PB
331602011-09-09 Ulrich Drepper <drepper@gmail.com>
33161
33162 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33163
331642011-07-03 Andreas Jaeger <aj@suse.de>
33165
33166 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33167 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33168 regenerate with gen-libm-tests.pl.
33169
331702010-05-12 Petr Baudis <pasky@suse.cz>
33171
33172 [BZ #11589]
33173 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33174 around j0() zero points by switching to j1().
33175 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33179
f22e1074
UD
331802011-09-09 Ulrich Drepper <drepper@gmail.com>
33181
f19009c1
UD
33182 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33183 instead of 0.
33184 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33185 instead of 0.
f19009c1
UD
33186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33187 Patch in part by Pavel Roskin <proski@gnu.org>.
33188
3f8cc204
UD
33189 [BZ #13138]
33190 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33191 realloc.
33192 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33193 Free memory block if necessary.
33194
f22e1074
UD
33195 [BZ #12847]
33196 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33197 be NULL. Don't lock in this case.
33198
0a2349f9
RM
331992011-09-09 Roland McGrath <roland@hack.frob.com>
33200
33201 * elf/elf.h (ELFOSABI_GNU): New macro.
33202 (ELFOSABI_LINUX): Define to that.
33203
f3cdd467
DZ
332042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33205
33206 * string/strncat.c (strncat): Undef the symbol in case it has been
33207 defined in bits/string.h.
33208
74718d13
UD
332092011-09-09 Ulrich Drepper <drepper@gmail.com>
33210
633e9e0f
UD
33211 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33212
0a2349f9 33213 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33214 link map.
33215
f9924780
AJ
332162011-08-17 Andreas Jaeger <aj@suse.de>
33217
33218 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33219
7f5517aa
PP
332202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33221 Ian Lance Taylor <iant@google.com>
33222
33223 * math/libm-test.inc (lround_test): New testcase.
33224 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33225
762011fe
UD
332262011-09-08 Ulrich Drepper <drepper@gmail.com>
33227
92963737
UD
33228 * Makefile: Remove support for automatic cvs check-ins.
33229 * Makerules: Likewise.
33230 * config.make.in: Likewise.
33231 * configure.in: Likewise.
33232 * intl/Makefile: Likewise.
33233 * locale/Makefile: Likewise.
33234 * po/Makefile: Likewise.
33235 * posix/Makefile: Likewise.
33236 * sysdeps/gnu/Makefile: Likewise.
33237 * sysdeps/mach/hurd/Makefile: Likewise.
33238 * sysdeps/sparc/sparc32/Makefile: Likewise.
33239
b0727fd8
JS
33240 [BZ #13118]
33241 * posix/Makefile (bug-regex32-ENV): Define.
33242 Patch by John Stanley <jpsinthemix@verizon.net>.
33243
a0f33f99
UD
33244 * misc/Makefile (headers): Add bits/select2.h.
33245 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33246 * misc/bits/select2.h: New file.
33247 * include/bits/select2.h: New file.
33248 * debug/Makefile (routines): Add fdelt_chk.
33249 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33250 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33251 FD_ISSET.
33252 * debug/fdelt_chk.c: New file.
33253
762011fe
UD
33254 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33255 * wcsmbs/test-wmemcmp.c: Likewise.
33256 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33257 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33258
332592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33260
33261 * string/Makefile (strop-tests): Add memcmp.
33262 * string/test-wmemcmp.c: New file.
33263 * string/test-memcmp.c: Add wmemcmp support.
33264
7f513ec8
RM
332652011-09-08 Roland McGrath <roland@hack.frob.com>
33266
0442afb4
RM
33267 [BZ #13153]
33268 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33269 2011-07-19 change.
33270
7f513ec8
RM
33271 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33272 garbage value in a __mach_port_mod_refs call in the cases of the
33273 task-self and thread-self ports.
33274
a12b2239
ST
332752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33276
33277 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33278
610f9ab4
AS
332792011-09-08 Andreas Schwab <schwab@redhat.com>
33280
7f513ec8 33281 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33282
48882a1a
LD
332832011-09-07 Ulrich Drepper <drepper@gmail.com>
33284
b49865be
UD
33285 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33286
fdc86bc9
UD
33287 * elf/dl-libc.c (dlerror_run): Pass back error code from
33288 dl_catch_error.
33289
c966526a
UD
33290 [BZ #13123]
33291 * elf/dl-load.c (lose): Free l_origin if it is valid.
33292
48882a1a
LD
33293 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33294 names.
33295 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33296 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33298 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33299 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33300 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33301
77a2a8b4
AZ
333022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33303
33304 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33305 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33306 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33307 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33308 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33309 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33310 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33311 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33312 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33313 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33314
24f579d8
AM
333152011-08-15 Alan Modra <amodra@gmail.com>
33316
33317 [BZ #13092]
33318 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33319 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33320 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33321 ppc_mcount to static-only-routines.
33322 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33323 __mcount_internal.
33324 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33325 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33326
3d4837df
UD
333272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33328
33329 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33330 for finite and infinity parameters.
33331
22700377
WS
333322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33333
33334 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33335 and add nop instructions for throughput optimization.
33336 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33337
5025581e
WS
333382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33339
33340 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33341 aligned copy for power7 with vector-scalar instructions.
33342 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33343
08a300c9
L
333442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33345
33346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33347 AVX check.
33348
59178ef9
AS
333492011-09-07 Andreas Schwab <schwab@redhat.com>
33350
33351 [BZ #13144]
33352 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33353 last change.
33354
e38ba7ab
UD
333552011-09-07 Ulrich Drepper <drepper@gmail.com>
33356
33357 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33358 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33359 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33360 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33361 clock_gettime.
33362
d53a73ac
UD
333632011-09-06 Ulrich Drepper <drepper@gmail.com>
33364
fc8bffcc
UD
33365 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33366 Forgot to demangle the pointer.
33367
ceaa0c5d
UD
33368 * sysdeps/i386/sysdep.h: Define atom_text_section.
33369 * sysdeps/x86_64/sysdep.h: Likewise.
33370 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33371 section with atom_text_section.
33372 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33373 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33374 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33375 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33376 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33377
a77d3c17
UD
33378 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33379 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33380 already be defined. Change to take two parameters and don't assign
33381 result to variable. Adjust all users.
33382 Define INTERNAL_GETTIME if not already defined.
33383 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33384 call.
33385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33386 HAVE_CLOCK_GETTIME_VSYSCALL.
33387 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33388
d53a73ac
UD
33389 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33390 gettimeofday vsyscall, just use time.
33391
a8f84144
AS
333922011-09-06 Andreas Schwab <schwab@redhat.com>
33393
33394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33395 <errno.h>.
33396
ef606249
UD
333972011-09-06 Ulrich Drepper <drepper@gmail.com>
33398
33399 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33400 syscall on x86-64.
33401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33402 syscall.
33403 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33404 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33405 syscall if possible.
33406
6585cb60
UD
334072011-09-05 Ulrich Drepper <drepper@gmail.com>
33408
33409 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33410 e_ident. Don't pass to find_mapsXX.
33411 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33412
a5f524e4
LD
334132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33414
33415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33416 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33417 * sysdeps/x86_64/multiarch/strchr.S: Update.
33418 Check bit_slow_BSF bit.
33419 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33420 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33421 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33422
554881ef
UD
334232011-09-05 Ulrich Drepper <drepper@gmail.com>
33424
d96de963
UD
33425 [BZ #13134]
33426 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33427 before glibc 2.15.
33428 (tryshell): Define.
33429 (__spawni): Change last parameter to be flag. Test
33430 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33431 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33432 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33433 * posix/spawni.c: Likewise.
33434 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33435 * posix/spawnp.c: Likewise. Change normal version to use
33436 SPAWN_XFLAGS_USE_PATH.
33437 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33438 SPAWN_XFLAGS_TRY_SHELL.
33439
d48e5868
UD
33440 [BZ #13150]
33441 * posix/glob.h: Remove gcc 1.x support.
33442
554881ef
UD
33443 [BZ #13068]
33444 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33445
693fb948
LD
334462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33447
33448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33449 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33450 strrchr-sse2-bsf
33451 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33452 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33453 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33454 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33455 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33457
1b48c537
UD
334582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33459
49d42c37
UD
33460 * sysdeps/x86_64/wcscmp.S: New file.
33461
1b48c537
UD
33462 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33463 wcscmp-c wcscmp-sse2
33464 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33465 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33466 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33467 * wcsmbs/wcscmp.c: Allow renaming.
33468
15c95c5d
DM
334692011-09-05 David S. Miller <davem@davemloft.net>
33470
33471 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33472 stack slot, rather than the struct return pointer slot.
33473 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33474 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33476 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33477
2f0ad8f3
UD
334782011-09-05 Ulrich Drepper <drepper@gmail.com>
33479
d88ae418
UD
33480 * po/ja.po: Update from translation team.
33481
2f0ad8f3
UD
33482 [BZ #13144]
33483 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33484 kernel in 64-bit binaries.
33485
5f4318d1
DM
334862011-09-01 David S. Miller <davem@davemloft.net>
33487
33488 * elf/elf.h (HWCAP_SPARC_*): Move to..
33489 * sysdeps/sparc/sysdep.h: this new file and add new values.
33490 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33491 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33492 _DL_HWCAP_COUNT to 24.
33493 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33494 entries.
33495 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33496 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33497 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33499 instead of magic constants.
33500 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33501
3ba57516
DM
335022011-08-31 David S. Miller <davem@davemloft.net>
33503
33504 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33505 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33506 Reimplement to do errno handling inline.
33507 (SYSCALL_ERROR_HANDLER): New macro.
33508 (__SYSCALL_STRING): Do not do errno handling in asm.
33509 (__CLONE_SYSCALL_STRING): Delete.
33510 (__INTERNAL_SYSCALL_STRING): Delete.
33511 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33512 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33513 (PSEUDO): Reimplement to do errno handling inline.
33514 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33515 (SYSCALL_ERROR_HANDLER): New macro.
33516 (__SYSCALL_STRING): Do not do errno handling in asm.
33517 (__CLONE_SYSCALL_STRING): Delete.
33518 (__INTERNAL_SYSCALL_STRING): Delete.
33519 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33520 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33521 i386.
33522 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33523 (inline_syscall*): Add 'err' argument.
33524 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33525 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33526 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33527 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33528
33529 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33530 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33531
2bc17433
AS
335322011-08-30 Andreas Schwab <schwab@redhat.com>
33533
33534 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33535
fbeb5f4d
JO
335362011-08-29 Jiri Olsa <jolsa@redhat.com>
33537
33538 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33539 directive.
33540
ad69cc26
DM
335412011-08-24 David S. Miller <davem@davemloft.net>
33542
33543 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33544
39dd69df
AS
335452011-08-24 Andreas Schwab <schwab@redhat.com>
33546
33547 * elf/Makefile: Add rules to build and run unload8 test.
33548 * elf/unload8.c: New file.
33549 * elf/unload8mod1.c: New file.
33550 * elf/unload8mod1x.c: New file.
33551 * elf/unload8mod2.c: New file.
33552 * elf/unload8mod3.c: New file.
33553
33554 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33555 it wasn't used.
33556
2c0b250a
DM
335572011-08-23 David S. Miller <davem@davemloft.net>
33558
33559 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33560 subtract stack bias.
33561 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33562 %sp not %fp in calculations.
33563 (_JMPBUF_UNWINDS_ADJ): Likewise.
33564
22044b48
DM
33565 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33566 (aio_suspend): Call it to force an exception region around the
33567 AIO_MISC_WAIT() invocation.
33568
2cae4995
AS
335692011-08-23 Andreas Schwab <schwab@redhat.com>
33570
33571 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33572 backslash.
33573
873a772e
AJ
335742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33575
33576 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33577 protection macro.
33578 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33579 and <dl-machine.h>.
33580 (Elf64_FuncDesc): Remove.
33581
25ad0df1
DM
335822011-08-22 David S. Miller <davem@davemloft.net>
33583
33584 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33585 sigaltstack check, add missing cfi directives.
33586 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33587 missing cfi directives, and sigaltstack handling.
33588
e888bcbe
AS
335892011-08-16 Andreas Schwab <schwab@redhat.com>
33590
33591 [BZ #11724]
33592 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33593 object is seen twice.
33594 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33595
33596 * elf/Makefile (distribute): Add tst-initorder2.c.
33597 (tests): Add tst-initorder2.
33598 (modules-names): Add tst-initorder2a tst-initorder2b
33599 tst-initorder2c tst-initorder2d. Add rules to build them.
33600 ($(objpfx)tst-initorder2.out): New rule.
33601 * elf/tst-initorder2.c: New file.
33602 * elf/tst-initorder2.exp: New file.
33603
87162f46
AS
336042011-08-22 Andreas Schwab <schwab@redhat.com>
33605
70538b7f
AS
33606 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33607
f55ffe58
AS
33608 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33609 dependencies back to end of function.
33610
87162f46
AS
33611 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33612 $(elfobjdir)/ld.so.
33613
91b392a4
UD
336142011-08-21 Ulrich Drepper <drepper@gmail.com>
33615
33616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33617 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33619 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33620 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33621 of __vdso_gettimeofday.
33622 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33623 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33624 attribute_hidden.
33625 (_libc_vdso_platform_setup): Remove initialization of
33626 __vdso_gettimeofday and __vdso_time.
33627
5c43483f
UD
336282011-08-20 Ulrich Drepper <drepper@gmail.com>
33629
775a77e7
UD
33630 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33631 and fgetc_unlocked.
33632 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33633 getc_unlocked.
89f447ed 33634
49c74ba9
UD
33635 * elf/dl-open.c (add_to_global): Report additions to the global scope
33636 for LD_DEBUG=scopes.
33637 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33638 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33639
5c43483f
UD
33640 [BZ #13114]
33641 * stdio-common/Makefile (tests): Add bug24.
33642 * stdio-common/bug24.c: New file.
33643
a101b025
AJ
336442011-08-19 Andreas Jaeger <aj@suse.de>
33645
33646 [BZ #13114]
33647 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33648 non-existant file when using close-on-exec mode.
33649
c88f1766
UD
336502011-08-20 Ulrich Drepper <drepper@gmail.com>
33651
0276a718
UD
33652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33653 the very first instruction.
33654
c88f1766
UD
33655 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33656 the CFI state in the end.
33657 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33658 inclusion of dl-trampoline.h.
33659 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33660
51ccffa0
AS
336612011-08-19 Andreas Schwab <schwab@redhat.com>
33662
94d7165f
AS
33663 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33664 expectations for long double.
33665
51ccffa0
AS
33666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33667 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33668
fd708658 336692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33670
33671 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33672 artificual limit depends upon the system page size.
33673
44f0a71e
UD
336742011-08-17 Ulrich Drepper <drepper@gmail.com>
33675
33676 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33677 * resolv/Makefile: Define CFLAGS-libresolv.
33678
8de79a24
AS
336792011-08-17 Andreas Schwab <schwab@redhat.com>
33680
33681 * nss/makedb.c (compute_tables): Make variables used in nested
33682 function static.
33683
27724598
UD
336842011-08-17 Ulrich Drepper <drepper@gmail.com>
33685
c5305d88
UD
33686 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33687 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33688 if buffer was too small.
33689
27724598
UD
33690 * elf/pldd.c (main): Attach to all threads in the process.
33691 Rewrite /proc handling to use *at functions.
33692
076fe015
UD
336932011-08-16 Ulrich Drepper <drepper@gmail.com>
33694
174baab3
UD
33695 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33696 specifies first scope to show.
33697 (dl_open_worker): Update callers. Move printing scope of new
33698 object to before the relocation.
44f0a71e 33699 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33700 * sysdeps/generic/ldsodefs.h: Update declaration.
33701
076fe015
UD
33702 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33703 string for the scope number.
33704
a60df2c3
UD
337052011-08-14 Ulrich Drepper <drepper@gmail.com>
33706
33707 * nscd/servicescache.c (cache_addserv): Make sure written is always
33708 initialized.
33709
5e4287d1
RM
337102011-08-14 Roland McGrath <roland@hack.frob.com>
33711
85ae0589
RM
33712 * sysdeps/i386/i486/bits/atomic.h
33713 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33714 statement expression, so as to suppress "set but not used" warning.
33715 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33716
69f63097
RM
33717 * string/strncat.c (STRNCAT): Use prototype definition.
33718
675456ef
RM
33719 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33720 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33721 -Iprograms here.
33722 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33723 (localedef-modules): Add localedef.
33724 (locale-modules): Add locale.
33725
5e4287d1
RM
33726 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33727 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33728 to avoid a warning.
33729
9c96ff23
DM
337302011-08-14 David S. Miller <davem@davemloft.net>
33731
33732 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33733 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33734
f9ddf089
UD
337352011-08-13 Ulrich Drepper <drepper@gmail.com>
33736
44f0a71e 33737 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33738 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33739 * elf/rtld.c (dl_main): Set l_name of vDSO.
33740 Call _dl_show_scope when DL_DEBUG_SCOPES.
33741 (process_dl_debug): Recognize scopes flag and also set it for all.
33742 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33743 Declare _dl_show_scope.
33744
1dc27704
UD
33745 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33746 (do_dlopen): Pass caller_dlopen to dl_open.
33747 (__libc_dlopen_mode): Initialize caller_dlopen.
33748
f9ddf089
UD
33749 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33750 of libc. Make tolower call locale-independent. Optimize a bit by
33751 using isdigit instead of isalnum.
33752 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33753
9ac533d3
UD
337542011-08-12 Ulrich Drepper <drepper@gmail.com>
33755
33756 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33757 was a dependency or dynamically loaded.
33758
89edf2e9
UD
337592011-08-11 Ulrich Drepper <drepper@gmail.com>
33760
8e999d29
UD
33761 * intl/l10nflist.c: Allow architecture-specific pop function.
33762 * sysdeps/x86_64/l10nflist.c: New file.
33763
89edf2e9
UD
33764 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33765 classification.
33766
14d96785
AS
337672011-08-10 Andreas Schwab <schwab@redhat.com>
33768
33769 * include/dirent.h: Add libc_hidden_proto for scandirat and
33770 scandirat64. Don't declare __scandirat64.
33771 * dirent/scandirat.c: Add libc_hidden_def.
33772 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33773 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33774
6761ac04
DM
337752011-08-10 David S. Miller <davem@davemloft.net>
33776
33777 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33778 enum.
33779 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33780 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33781 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33782
c55fbd1e
UD
337832011-08-09 Ulrich Drepper <drepper@gmail.com>
33784
33785 * Versions.def [libc]: Add GLIBC_2.15.
33786 * dirent/Makefile (routines): Add scandirat and scandirat64.
33787 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33788 GLIBC_2.15.
33789 * dirent/dirent.h: Declare scandirat and scandirat64.
33790 * dirent/scandirat.c: New file.
33791 * dirent/scandirat64.c: New file.
33792 * sysdeps/wordsize-64/scandirat.c: New file.
33793 * sysdeps/wordsize-64/scandirat64.c: New file.
33794 * dirent/opendir.c: Define opendirat.
33795 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33796 using scandirat.
33797 * dirent/scandir64.c: Adjust for scandir.c change.
33798 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33799 __scandirat64, and __scandir_cancel_handler.
33800 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33801 additional parameter and use openat instead of open (outside of ld.so).
33802 Add new __opendir as wrapper around __opendirat.
33803 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33804 here without requiring old scandirat implementation.
33805
879165f2
UD
338062011-08-08 Ulrich Drepper <drepper@gmail.com>
33807
33808 * dirent/scandir.c (cancel_handler): Renamed to
33809 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33810 defined. Adjust users.
33811 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33812 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33813
cb7e923b
UD
338142011-08-04 Ulrich Drepper <drepper@gmail.com>
33815
16292edd
UD
33816 * string/test-string.h (IMPL): Use __STRING to expand name and then
33817 stringify it.
33818
cb7e923b
UD
33819 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33820 of cleanups.
33821
cff82933
LD
338222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33823
33824 * string/Makefile: Update.
33825 (strop-tests): Append strncat.
33826 * string/test-wcscmp.c: New file.
33827 New comprehensive test for wcscmp.
33828 * string/test-strcmp.c: Update.
33829 (WIDE): New define.
33830
9be9bfcc
AS
338312011-07-22 Andreas Schwab <schwab@redhat.com>
33832
33833 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33834 line.
33835
2e96f1c7
AS
338362011-07-26 Andreas Schwab <schwab@redhat.com>
33837
33838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33839 encoding to ACE if AI_IDN.
33840
85188888
JJ
338412011-08-01 Jakub Jelinek <jakub@redhat.com>
33842
33843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33844 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33845
5fa16e9b
LD
338462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33847
33848 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33849 Fix overflow bug in strncat.
33850 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33851
33852 * string/test-strncat.c: Update.
33853 Add new tests for checking overflow bugs.
33854
338552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33856
33857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33858 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33859 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33860 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33861 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33862 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33863 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33864 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33865 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33866
33867 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33868 (USE_AS_STRCAT): Define.
33869 Add strcat and strncat support.
33870 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33871
8c1a459f
AS
338722011-07-25 Andreas Schwab <schwab@redhat.com>
33873
33874 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33875 __n bigger than INT_MAX+1.
33876 (__strncmp_g): Likewise.
33877
bba33c28
UD
338782011-07-23 Ulrich Drepper <drepper@gmail.com>
33879
798be72d
UD
33880 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33881 * libio/stido.h: Likewise.
33882
8accd4dc
UD
33883 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33884 (AF_NFC): Define.
33885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33886 (AF_NFC): Define.
33887
cbff0d96
UD
33888 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33889 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33890 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33891 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33892 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33893
9191c04a
UD
33894 [BZ #13021]
33895 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33896 installed.
33897
bba33c28
UD
33898 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33899 typo.
33900 (_dl_x86_64_save_sse): Likewise.
33901
90f139dd
UD
339022011-07-22 Ulrich Drepper <drepper@gmail.com>
33903
1aae088a
UD
33904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33905 OSXSAVE.
33906 (_dl_x86_64_save_sse): Likewise.
33907
8e2045f5
UD
33908 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33909
90f139dd
UD
33910 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33911
1d002f25
AS
339122011-07-21 Andreas Schwab <schwab@redhat.com>
33913
33914 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33915 change.
33916 (_dl_x86_64_save_sse): Use correct AVX check.
33917
21137f89
UD
339182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33919
33920 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33921 bug in strncpy/strncat.
33922 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33923
a65c0b7a
UD
339242011-07-21 Ulrich Drepper <drepper@gmail.com>
33925
33926 * string/tester.c (test_strcat): Add tests for different alignments
33927 of source and destination.
33928 (test_strncat): Likewise.
33929
6986b98a
UD
339302011-07-20 Ulrich Drepper <drepper@gmail.com>
33931
90bb2039
UD
33932 [BZ #12852]
33933 * posix/glob.c (glob): Check passed in values before using them in
33934 expressions to avoid some overflows.
33935 (glob_in_dir): Likewise.
33936
5644ef54
UD
33937 [BZ #13007]
33938 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33939 check for AVX enablement so that we don't crash with old kernels and
33940 new hardware.
33941 * elf/tst-audit4.c: Add same checks here.
33942 * elf/tst-audit6.c: Likewise.
33943
33944 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33945
bfc9dc9b
AS
339462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33947
33948 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33949
702e64bb
UD
339502011-07-20 Ulrich Drepper <drepper@gmail.com>
33951
33952 * po/cs.po: Update from translation team.
33953 * po/bg.po: Likewise.
33954
295e904f
MP
339552011-07-12 Marek Polacek <mpolacek@redhat.com>
33956
33957 * misc/sys/cdefs.h: Add support for const attribute.
33958 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33959 to gnu_dev_{major,minor,makedev} functions.
33960
3ff94596
MP
339612011-07-20 Marek Polacek <mpolacek@redhat.com>
33962
33963 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33964
28b59fca
AS
339652011-07-20 Andreas Schwab <schwab@redhat.com>
33966
33967 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33968 strlen results.
33969
19df733e
AK
339702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33971
33972 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33973 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33974 register in order to avoid conflicts with the soft frame pointer
33975 being held in r11 when necessary.
33976 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33977 (INTERNAL_VSYSCALL_NCS): Likewise.
33978
c8835729
MP
339792011-07-14 Marek Polacek <mpolacek@redhat.com>
33980
33981 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33982 * elf/dl-fini.c (_dl_fini): Adjust caller.
33983 * elf/dl-close.c (_dl_close_worker): Likewise.
33984 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33985
b902330c
MP
339862011-07-15 Marek Polacek <mpolacek@redhat.com>
33987
8991e135
MP
33988 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33989 "aux_cache->nlibs < 0".
33990
b902330c
MP
33991 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33992 in the reload-count case.
33993
99710781
LD
339942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33995
33996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33997 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33998 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33999 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34000 * sysdeps/x86_64/multiarch/strcat.S: New file.
34001 * sysdeps/x86_64/multiarch/strncat.S: New file.
34002 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34003 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34004 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34005 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34006 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34007 (USE_AS_STRCAT): Define.
34008 Add strcat and strncat support.
34009 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34010 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34011 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34012 * string/strncat.c: Update.
34013 (USE_AS_STRNCAT): Define.
34014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34015 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34016 and i7.
34017 * sysdeps/x86_64/multiarch/init-arch.h
34018 (bit_Prefer_PMINUB_for_stringop): New.
34019 (index_Prefer_PMINUB_for_stringop): Likewise.
34020 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34021 bit_Prefer_PMINUB_for_stringop.
34022
7dc6bd90
UD
340232011-07-19 Ulrich Drepper <drepper@gmail.com>
34024
34025 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34026 buffer64.
34027 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34028 of casting of buffer.
34029 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34030 buffer32 and buffer64.
34031 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34032 writes instead of casting of buffer.
34033 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34034 buffer32.
34035 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34036 casting of buffer.
34037
e0e72284
AS
340382011-07-19 Andreas Schwab <schwab@redhat.com>
34039
34040 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34041
feb1eb0b
UD
340422011-07-19 Ulrich Drepper <drepper@gmail.com>
34043
34044 * nscd/nscd.c (termination_handler): Don't do anything for a database
34045 if it has not yet been initialized.
34046
298711ff
UD
340472011-07-18 Ulrich Drepper <drepper@gmail.com>
34048
34049 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34050
340512011-07-15 Marek Polacek <mpolacek@redhat.com>
34052
34053 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34054
f9d68389
UD
340552011-07-18 Ulrich Drepper <drepper@gmail.com>
34056
34057 * po/nl.po: Update from translation team.
34058 * po/sv.po: Likewise.
34059
db290cf5
RM
340602011-07-16 Roland McGrath <roland@hack.frob.com>
34061
34062 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34063 now disallowed by GCC.
5c550700 34064
fd5e21c7
RM
34065 * configure.in (use-default-link): Default to yes if a test -shared
34066 link meets our qualifications.
34067 * configure: Regenerated.
34068
5c550700
RM
34069 * config.make.in (output-format): New variable.
34070 * configure.in: Check for ld --print-output-format support.
34071 * configure: Regenerated.
34072 * Makerules ($(common-objpfx)format.lds)
34073 [$(output-format) != unknown]: Just use $(output-format),
34074 instead of the linker-script munging.
34075
9fa2c032
RM
340762011-07-14 Roland McGrath <roland@hack.frob.com>
34077
a6928d51
RM
34078 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34079 of $(common-objpfx)shlib.lds.
34080 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34081
661607b3
RM
34082 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34083 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34084
9fa2c032
RM
34085 * configure.in (-z relro check): Adjust test code to add a large
34086 writable data section after it.
34087 * configure: Regenerated.
34088
defe9061
RM
340892011-07-11 Roland McGrath <roland@hack.frob.com>
34090
34091 * configure.in (-z relro check): Fix test code to make the variable
34092 truly const.
34093 * configure: Regenerated.
34094
319b9ad4
UD
340952011-07-11 Ulrich Drepper <drepper@gmail.com>
34096
34097 * nscd/nscd.h (struct traced_file): Define.
34098 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34099 elements. Add traced_files.
34100 (inotify_fd): Declare.
34101 (register_traced_file): Declare.
34102 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34103 (inotify_fd): Export.
34104 (resolv_conf_descr): Remove.
34105 (nscd_init): Move inotify descriptor creation to main.
34106 Don't register files for notification here.
34107 (register_traced_file): New function.
34108 (invalidate_cache): Don't use reset_res to determine whether to call
34109 res_init, go through the list of registered files.
34110 (main_loop_poll): The inotify descriptors are now stored in the
34111 structures for the traced files.
34112 (main_loop_epoll): Likewise
34113 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34114 to __nss_disable_nscd.
34115 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34116 for a database anymore. Check the records for all the registered
34117 files instead.
34118 * nss/Makefile (libnss_files-routines): Add files-init.
34119 (libnss_db-routines): Add db-init.
34120 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34121 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34122 * nss/nss_db/db-init.c: New file.
34123 * nss/nss_files/files-init.c: New file.
34124 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34125 __nss_lookup_function.
34126 (__nss_lookup_function): Call nss_load_library.
34127 (nss_load_all_libraries): New function.
34128 (__nss_disable_nscd): Take parameter with callback function for files
34129 to register. Set is_nscd. Load all the DSOs for the NSS modules
34130 used for the cached services.
34131 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34132 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34133 options for features to all the files in nscd.
34134
34135 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34136
23bee3e8
RM
341372011-07-10 Roland McGrath <roland@hack.frob.com>
34138
34139 * csu/elf-init.c (__libc_csu_init): Comment typo.
34140
46a5b7f0
UD
341412011-07-09 Ulrich Drepper <drepper@gmail.com>
34142
34143 * po/pl.po: Update from translation team.
34144 * po/ja.po: Likewise.
34145 * po/ru.po: Likewise.
34146 * po/ko.po: Likewise.
34147 * po/fr.po: Likewise.
34148
d30cf5bb
RM
341492011-07-09 Roland McGrath <roland@hack.frob.com>
34150
113ddea4
RM
34151 * configure.in (.ctors/.dtors header and trailer check):
34152 Use an empirical test on a built program.
34153 * configure: Regenerated.
34154
574920b4
RM
34155 * configure.in (-z relro check): Use an empirical test on a built DSO.
34156 Detect, but do not require, on ia64.
34157 * configure: Regenerated.
34158
d30cf5bb
RM
34159 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34160 Update tests that use readelf to use $READELF instead.
34161 * configure: Regenerated.
34162
8538fdb3
UD
341632011-07-08 Ulrich Drepper <drepper@gmail.com>
34164
34165 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34166 if the result is not used.
34167
04d08991
AJ
341682011-07-05 Andreas Jaeger <aj@suse.de>
34169
34170 [BZ#9696]
34171 * stdlib/tst-strtod.c: Add testcase.
34172
de283087
AD
341732011-07-07 Ulrich Drepper <drepper@gmail.com>
34174
4e5f31c8 34175 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34176 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34177 The latter has a higher limit. Take additional parameter to pass to
34178 the new function.
34179 (__pathconf): Pass file to __statfs_link_max.
34180 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34181 __statfs_link_max.
34182 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34183 __statfs_link_max.
34184
de283087
AD
34185 [BZ #12868]
34186 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34187 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34188 Handle Lustre.
34189 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34190 (__statfs_filesize_max): Likewise.
34191 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34192
c75fa153
AJ
341932011-07-05 Andreas Jaeger <aj@suse.de>
34194
34195 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34196
1a544854
UD
341972011-07-06 Marek Polacek <mpolacek@redhat.com>
34198
34199 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34200 `status' variable.
34201 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34202 Likewise.
34203
6f0eec67
UD
342042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34205
34206 * Makefile (strop-tests): Add strncat.
34207 * string/test-strncat.c: New file.
34208
aae30307
UD
342092011-06-30 Marek Polacek <mpolacek@redhat.com>
34210
34211 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34212
c0cfb5eb
UD
342132011-06-21 Andreas Jaeger <aj@suse.de>
34214
34215 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34216 Copy rule from iconvdata/Makefile.
34217
01636b21
UD
342182011-07-06 Ulrich Drepper <drepper@gmail.com>
34219
34220 [BZ #12922]
34221 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34222 but no long options are defined, just return 'W'.
34223
9895c8bc
UD
342242011-06-22 Marek Polacek <mpolacek@redhat.com>
34225
34226 [BZ #9696]
34227 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34228
5d4cf042
UD
342292011-07-06 Ulrich Drepper <drepper@gmail.com>
34230
34231 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34232 netgroups to read.
960e5535 34233 (innetgr): Likewise.
5d4cf042 34234
751eb97e
RM
342352011-07-05 Roland McGrath <roland@hack.frob.com>
34236
34237 * config.make.in (install_root): Default to $(DESTDIR).
34238
f15f1e45
UD
342392011-07-05 Ulrich Drepper <drepper@gmail.com>
34240
34241 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34242
4e34ac6a
RM
342432011-07-02 Roland McGrath <roland@hack.frob.com>
34244
5e9b6af4
RM
34245 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34246
84f9ea0f
RM
34247 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34248 containing directory rather than embedding absolute directory names.
34249
ea5ee9f7
RM
34250 * scripts/check-local-headers.sh: Rewritten using awk.
34251 Match by word, not by line. Print error messages for matches.
34252 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34253
1b74661a
RM
34254 * Makerules [shlib-lds-flags empty]:
34255 ($(common-objpfx)libc_pic.opts): New target.
34256 ($(common-objpfx)libc_pic.os.clean): New target.
34257 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34258
34259 * config.make.in (OBJCOPY): New variable.
34260 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34261 * configure: Regenerated.
34262
f781ef40
RM
34263 * config.make.in (use-default-link): New variable.
34264 * configure.in (use_default_link): Grok --with-default-link to set it.
34265 * configure: Regenerated.
34266 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34267 (shlib-lds, shlib-lds-flags): Define to empty.
34268
2d4fa81e
RM
34269 * Makerules (shlib-lds): New variable.
34270 (shlib-lds-flags): New variable.
34271 (build-shlib, build-moduile, build-module-asneeded): Use it.
34272 ($(common-objpfx)libc.so): Use $(shlib-lds).
34273 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34274 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34275
31fffa6b
RM
34276 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34277 DT_FLAGS/DT_FLAGS_1 with zero flags.
34278
4e34ac6a
RM
34279 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34280 linker script munging.
34281
fcfc776b
UD
342822011-07-02 Ulrich Drepper <drepper@gmail.com>
34283
34284 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34285 as 128-bit value.
34286 * crypt/sha512.c (sha512_process_block): Perform total addition using
34287 128-bit if possible.
34288 (__sha512_finish_ctx): Likewise.
34289 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34290 as 64-bit value.
34291 * crypt/sha256.c (SWAP64): Define.
34292 (sha256_process_block): Perform total addition using 64-bit if
34293 possible.
34294 (__sha256_finish_ctx): Likewise.
34295
99231d9a
UD
342962011-07-01 Ulrich Drepper <drepper@gmail.com>
34297
34298 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34299 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34300 * nscd/hstcache.c (cache_addhst): Likewise.
34301 * nscd/grpcache.c (cache_addgr): Likewise.
34302 * nscd/aicache.c (addhstaiX): Likewise
34303 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34304
445b4a53
TK
343052011-07-01 Thorsten Kukuk <kukuk@suse.de>
34306
34307 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34308 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34309 * nscd/hstcache.c (cache_addhst): Likewise.
34310 * nscd/grpcache.c (cache_addgr): Likewise.
34311 * nscd/aicache.c (addhstaiX): Likewise
34312
6d4d8e8e
AS
343132011-07-01 Andreas Schwab <schwab@redhat.com>
34314
34315 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34316 domain only when needed.
34317
89f654c5
AS
343182011-06-30 Andreas Schwab <schwab@redhat.com>
34319
34320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34321 is always restored.
34322
cf3b23ff
UD
343232011-06-29 Ulrich Drepper <drepper@gmail.com>
34324
34325 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34326 are re-adding the entry.
34327 * nscd/servicescache.c (cache_addserv): Likewise.
34328
751626f9
AJ
343292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34330
34331 * sysdeps/generic/dl-irel.h: fix protection against multiple
34332 inclusions.
34333 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34334
9113ea1f
UD
343352011-06-28 Ulrich Drepper <drepper@gmail.com>
34336
5c0b8d90
UD
34337 [BZ #12935]
34338 * malloc/memusage.sh: Fix quoting in message.
34339 * debug/xtrace.sh: Likewise.
34340
9113ea1f
UD
34341 * configure.in: Remove support for --experimental-malloc option, make
34342 it the default.
34343 * config.make.in: Likewise.
34344 * malloc/Makefile: Likewise.
34345
a4172181
AS
343462011-06-27 Andreas Schwab <schwab@redhat.com>
34347
34348 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34349 two-byte characters.
34350
78a7eee7
RM
343512011-06-27 Roland McGrath <roland@hack.frob.com>
34352
62bede13
RM
34353 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34354 AC_CACHE_CHECK invocation.
34355 * configure: Regenerated.
34356
78a7eee7
RM
34357 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34358
5ce33a62
UD
343592011-06-27 Ulrich Drepper <drepper@gmail.com>
34360
034807a9
UD
34361 [BZ #12350]
34362 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34363 bit from old_res_options.
34364
4902da17
UD
34365 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34366
5ce33a62
UD
34367 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34368 value type for setfct.
34369
c2344f56
L
343702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34371
34372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34373 __gettimeofday instead of gettimeofday.
34374
68468076
UD
343752011-06-26 Ulrich Drepper <drepper@gmail.com>
34376
34377 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34378
acb0d739
L
343792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34380
34381 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34382
34383 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34384 info.
34385
8912479f
L
343862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34387
34388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34389 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34390 strcpy-sse2-unaligned strncpy-sse2-unaligned
34391 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34392 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34393 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34394 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34395 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34396 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34397 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34398 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34399 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34400 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34401 (STRCPY): Support SSE2 and SSSE3 versions.
34402
d5495a11
UD
344032011-06-24 Ulrich Drepper <drepper@gmail.com>
34404
34405 [BZ #12874]
34406 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34407 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34408 kernels which artificially limit size of requests.
34409
0b1cbaae
L
344102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34411
34412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34413 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34414 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34415 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34416 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34417 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34418 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34419 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34420 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34421 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34422 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34423 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34424 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34425 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34426 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34428 Enable unaligned load optimization for Intel Core i3, i5 and i7
34429 processors.
34430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34431 Define.
34432 (index_Fast_Unaligned_Load): Define.
34433 (HAS_FAST_UNALIGNED_LOAD): Define.
34434
07f494a0
MP
344352011-06-23 Marek Polacek <mpolacek@redhat.com>
34436
34437 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34438
fa3fc0fe
UD
344392011-06-22 Ulrich Drepper <drepper@gmail.com>
34440
34441 [BZ #12907]
34442 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34443 until it is clear that the information is realy needed.
34444 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34445
e12df166
AS
344462011-06-22 Andreas Schwab <schwab@redhat.com>
34447
34448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34449
852eb34d
UD
344502011-06-22 Ulrich Drepper <drepper@gmail.com>
34451
84e2a551
UD
34452 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34453 /sys/devices/system/cpu/online if it is usable.
34454
852eb34d
UD
34455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34456 reading the information from the /proc filesystem to once a second.
34457
6e502e19
UD
344582011-06-21 Andreas Jaeger <aj@suse.de>
34459
34460 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34461 NULL after inclusion of kernel headers.
34462
75d39ff2
UD
344632011-06-21 Ulrich Drepper <drepper@gmail.com>
34464
51f9aa6a
UD
34465 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34466 calls to internal_setent.
34467
c0244a9d
UD
34468 [BZ #12885]
34469 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34470 addresses using gethostbyname4_r ignore IPv4 addresses.
34471
c5e3c2ae
UD
34472 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34473 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34474
75d39ff2
UD
34475 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34476
42675c6f
DM
344772011-06-20 David S. Miller <davem@davemloft.net>
34478
34479 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34480 inclusions.
34481 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34482
34483 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34484 (elf_irel): Use it.
34485 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34486 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34487 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34488 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34489 * sysdeps/x86_64/dl-irel.h: Likewise.
34490
34491 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34492 * elf/dl-sym.c: Likewise.
34493
57912a71
UD
344942011-06-15 Ulrich Drepper <drepper@gmail.com>
34495
34496 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34497 need to dereference resplen2.
34498
ee22793d
AS
344992011-06-14 Andreas Schwab <schwab@redhat.com>
34500
34501 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34502
a9e836b0
UD
345032011-06-15 Ulrich Drepper <drepper@gmail.com>
34504
77fb9117
UD
34505 * Makeconfig: Define vardbdir and inst_vardbdir.
34506 * nss/Makefile: Add rules to install db-Makefile.
34507
40c1b22c
UD
34508 * nss/nss_db/db-XXX.c: Cleanup.
34509
9f2da732
UD
34510 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34511 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34512 GLIBC_PRIVATE.
34513 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34514 * nss/makedb.c: Implement -g option to specify that value strings
34515 are generated and should not be added to table iterated over for
34516 get*ent calls.
34517 * nss/nss_db/db-initgroups.c: New file.
34518
82e9a1f7
UD
34519 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34520 interface.
34521
c41af17e
UD
34522 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34523 (internal_getgrouplist): Adjust to name change.
34524 Update use_initgroups_entry if this is not the first call.
34525 * nss/databases.def: Add initgroups entry.
34526
a9e836b0
UD
34527 * nss/makedb.c (compute_tables): Check result of multiple hash table
34528 sizes to minimize maximum chain length.
34529
2666d441
UD
345302011-06-14 Ulrich Drepper <drepper@gmail.com>
34531
34532 * Versions.def: Add entry for libnss_db.
34533 * shlib-versions: Likewise.
34534 * nss/Makefile: Add rules to build libnss_db.
34535 * nss/Versions: Add libnss_db information. Organize libnss_files
34536 entries better.
34537 * nss/db-Makefile: Add gshadow support. Change rules for the new
34538 makedb progra. Some minor improvements to generate smaller files.
34539 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34540 here from...
34541 * nss/makedb.c: ...here.
34542 Improve database format to be smaller and require less memory at
34543 runtime.
34544 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34545 db anymore.
34546 * nss/nss_db/db-netgrp.c: Likewise.
34547 * nss/nss_db/db-open.c: Likewise.
34548 * nss/nss_files/flies-XXX.x: Adjust comments.
34549 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34550 * nss/nss_files/files-grp.c: Likewise.
34551 * nss/nss_files/files-hosts.c: Likewise.
34552 * nss/nss_files/files-network.c: Likewise.
34553 * nss/nss_files/files-proto.c: Likewise.
34554 * nss/nss_files/files-pwd.c: Likewise.
34555 * nss/nss_files/files-rpc.c: Likewise.
34556 * nss/nss_files/files-service.c: Likewise.
34557 * nss/nss_files/files-sgrp.c: Likewise.
34558 * nss/nss_files/files-spwd.c: Likewise.
34559 * nss/nss_db/db-alias.c: Removed.
34560 * nss/nss_db/dummy-db.h: Removed.
34561
9ee76b5a
UD
345622011-06-02 Ulrich Drepper <drepper@gmail.com>
34563
34564 * nss/makedb.c: Rewritten to not use database library.
34565 * nss/Makefile: Update to build new makedb program.
34566
c71ca1f8
AJ
345672011-06-14 Andreas Jaeger <aj@suse.de>
34568
34569 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34570 memset declaration.
34571
3154bfb8
UD
345722011-06-10 Andreas Schwab <schwab@redhat.com>
34573
34574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34575 tmpbuf.
34576
b350afab
RM
345772011-06-10 Roland McGrath <roland@hack.frob.com>
34578
decd4e50
RM
34579 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34580 * elf/Makefile ($(objpfx)ld.so): Likewise.
34581
5615eaf2
RM
34582 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34583 Don't list ld.so twice in dependencies.
34584
34585 * posix/bug-regex31.c: Include <stdlib.h>.
34586
34587 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34588
34589 * nis/nss_compat/compat-spwd.c
34590 (getspent_next_nss_netgr): Remove unused variable.
34591 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34592
34593 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34594 nonmembers" output to use the right array.
34595
34596 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34597
34598 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34599
34600 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34601 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34602 * catgets/gencat.c (read_input_file): Likewise.
34603 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34604
34605 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34606 variable definition inside #if's controlling its use.
34607
34608 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34609
34610 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34611
34612 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34613
34614 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34615 unreachable code.
34616
34617 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34618
b68e08db
RM
34619 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34620 * configure: Regenerated.
34621
b350afab
RM
34622 * Makerules: Revert last change.
34623 * elf/Makefile: Likewise.
34624
28368601
RM
346252011-06-09 Roland McGrath <roland@hack.frob.com>
34626
34627 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34628 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34629 (reloc-link): Likewise.
34630
11988f8f
UD
346312011-06-09 Ulrich Drepper <drepper@gmail.com>
34632
34633 * elf/Makefile: Add rules to build pldd.
34634 * elf/pldd.c: New file.
34635 * elf/pldd-xx.c: New file.
34636
e80fab37
UD
346372011-06-07 Ulrich Drepper <drepper@gmail.com>
34638
34639 * version.h: Update for 2.15 development version.
34640
9b849836
DM
346412011-06-07 David S. Miller <davem@davemloft.net>
34642
34643 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34644 ifuncs.
34645 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34646 elf_machine_lazy_rel): Likewise.
34647 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34649 elf_machine_lazy_rel): Likewise.
34650 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34651 dl_hwcap via passed in argument.
34652 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34653 Likewise.
34654
5a31b283
AK
346552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34656
34657 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34658
069e52f8
RM
346592011-06-06 Roland McGrath <roland@hack.frob.com>
34660
34661 [BZ #12849]
34662 * manual/fdl-1.1.texi: New file, verbatim from:
34663 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34664 * manual/lgpl-2.1.texi: New file, verbatim from:
34665 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34666 * manual/Makefile (licenses): New variable, list those new file names.
34667 (texis): Use it.
34668 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34669
34670 * manual/fdl.texi: File removed.
34671 * manual/lesser.texi: File removed.
34672 * manual/libc.texinfo (Copying, Documentation License):
34673 Use new @include file names, put @appendix directive before @include.
34674
f16846a5
JJ
346752011-06-04 Jakub Jelinek <jakub@redhat.com>
34676
34677 [BZ #12841]
34678 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34679 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34680 (mq_open): Add __NTH.
34681
3d29045b
L
346822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34683
34684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34685 Assume Intel Core i3/i5/i7 processor if AVX is available.
34686
8c297311
UD
346872011-05-31 Ulrich Drepper <drepper@gmail.com>
34688
34689 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34690 typo.
34691
c8fc0c91
UD
346922011-05-31 Andreas Schwab <schwab@redhat.com>
34693
34694 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34695 memory. Use alloca_account. Fix memory leak when retrying.
34696
5b27a807
UD
346972011-05-31 Ulrich Drepper <drepper@gmail.com>
34698
356f8bc6
UD
34699 * version.h (RELEASE): Bump for 2.14 release.
34700 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34701
5b27a807
UD
34702 * config.make.in (RANLIB): Remove entry.
34703
01f16ab0
UD
347042011-05-30 Ulrich Drepper <drepper@gmail.com>
34705
41fce8bd
UD
34706 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34707 (libc.pot): Work around missing support for .ksh extension in xgettext.
34708
4769ae77
UD
34709 [BZ #12684]
34710 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34711 if both request failed.
34712 (send_dg): In case of server errors clear resplen or *resplen2.
34713
6b1e7d19
UD
34714 [BZ #12454]
34715 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34716 when there are multiple maps.
34717 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34718 (_dl_fini): Remove test here.
34719
01f16ab0
UD
34720 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34721
b1ebd700
UD
347222011-05-29 Ulrich Drepper <drepper@gmail.com>
34723
7ae22829
UD
34724 [BZ #12350]
34725 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34726 bit from old_res_options.
34727 (gaih_inet): Likewise.
34728
553149f6 34729 [BZ #11099]
18a84741 34730 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34731 as signed.
34732
652ffab1
UD
34733 * resolv/res_init.c (res_setoptions): Make the code more compact.
34734
16985fd0
UD
34735 [BZ #11558]
34736 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34737 set RES_USEVC.
34738
0464f746
UD
34739 [BZ #11634]
34740 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34741
7d17596c
UD
34742 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34743
cf6bbbd7
UD
34744 [BZ #11781]
34745 * malloc/malloc.h: Declare malloc hook variables as volatile.
34746
13f1ab36
UD
34747 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34748 in last patch.
34749
b1ebd700
UD
34750 [BZ #11799]
34751 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34752 raise in the comment.
80e2212d
UD
34753 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34755 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34756
ce67228d
UD
347572011-05-28 Ulrich Drepper <drepper@gmail.com>
34758
8887a920
UD
34759 [BZ #12811]
34760 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34761 grow the buffers more if it already has to be sufficient.
34762 (build_wcs_upper_buffer): Likewise.
34763 * posix/regexec.c (check_matching): Likewise.
34764 (clean_state_log_if_needed): Likewise.
34765 (extend_buffers): Don't enlarge buffers beyond size of the input
34766 buffer.
34767 Patches mostly by Emil Wojak <emil@wojak.eu>.
34768 * posix/bug-regex32.c: New file.
34769 * posix/Makefile (tests): Add bug-regex32.
34770
4f031072
UD
34771 * locale/findlocale.c (_nl_find_locale): Return right away if
34772 _nl_explode_name failed.
34773 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34774
d0478f0c
UD
34775 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34776
de81b246
UD
34777 * debug/xtrace.sh: Unify messages.
34778 * malloc/memusage.sh: Likewise.
34779
c738465a
UD
34780 [BZ #12813]
34781 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34782 time symbol from vDSO. Substitute with vsyscall if not available.
34783 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34784 __vdso_time.
34785
f1f929d7
UD
34786 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34787 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34788 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34789 Add sendmmsg and internal_sendmmsg.
34790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34791 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34792 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34793
ce67228d
UD
34794 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34795 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34796 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34797
e57420c6
UD
347982011-05-27 Ulrich Drepper <drepper@gmail.com>
34799
a8509ca5
UD
34800 [BZ #12813]
34801 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34802 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34803 available.
34804 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34805 __vdso_getcpu.
34806
e57420c6
UD
34807 [BZ #12814]
34808 * iconvdata/Makefile (tests): Add bug-iconv9.
34809 * iconvdata/bug-iconv9.c: New file.
34810
4d07db15
AS
348112011-05-27 Andreas Schwab <schwab@redhat.com>
34812
34813 [BZ #12814]
34814 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34815
ea486f69
JJ
348162011-05-25 Jakub Jelinek <jakub@redhat.com>
34817
34818 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34819 (struct user_regs_struct): Change intcs field back to cs.
34820
6f038433
UD
348212011-05-25 Ulrich Drepper <drepper@gmail.com>
34822
34823 * po/ja.po: Update from translation team.
34824
67f86a25
UD
348252011-05-23 Ulrich Drepper <drepper@gmail.com>
34826
34827 [BZ #12795]
34828 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34829 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34830
def7fbd6
AS
348312011-05-20 Andreas Schwab <schwab@redhat.com>
34832
34833 * stdlib/longlong.h: Update from GCC.
34834
f50ef8f1
AS
348352011-05-23 Andreas Schwab <schwab@redhat.com>
34836
34837 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34838 parameter name.
34839 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34840 Add parameter name.
34841 (__sysconf): Pass it down.
34842
de7ce8f1
UD
348432011-05-22 Ulrich Drepper <drepper@gmail.com>
34844
f2962a71
UD
34845 [BZ #12671]
34846 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34847 some situations.
34848 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34849 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34850 add in in __libc_use_alloca calls. Adjust callers.
34851 (glob): Use malloc in some situations.
34852
de7ce8f1
UD
34853 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34854 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34855 pltexit.
34856
aec84f53
UD
348572011-05-21 Ulrich Drepper <drepper@gmail.com>
34858
05bb4a68
UD
34859 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34860 and CLOCK_BOOTTIME_ALARM.
34861
7ea72f99
UD
34862 [BZ #12782]
34863 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34864 is returned.
34865
7e4afad5
UD
34866 * string/_strerror.c (__strerror_r): Print negative errors as signed
34867 numbers.
34868
8e211fec
UD
34869 [BZ #12777]
34870 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34871 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34872 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34873
f7d82dc9
UD
34874 * configure.in: Fix typo in redirection and correct removal of test
34875 files in two cases.
34876
cc9e536d
UD
34877 [BZ #12788]
34878 * locale/setlocale.c (new_composite_name): Fix test to check for
34879 identical name of all categories.
34880
aec84f53
UD
34881 [BZ #12792]
34882 * libio/filedoalloc.c (local_isatty): New function.
34883 (_IO_file_doallocate): Use local_isatty.
34884 * stdio-common/perror.c (perror): In case a new stream is used
34885 forward the stream error.
34886 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34887 error flag.
34888
78e64fdc
RT
348892011-05-20 Ulrich Drepper <drepper@gmail.com>
34890
34a9094f
UD
34891 [BZ #11869]
34892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34893 alloca.
34894 * include/alloca.h (extend_alloca_account): Define.
34895
78e64fdc
RT
34896 [BZ #11857]
34897 * posix/regex.h: Fix comments with documentation of user-accessible
34898 fields after compilation and describe correct free'ing of pattern
34899 after re_compile_pattern.
34900 Patch by Reuben Thomas <rrt@sc3d.org>.
34901
457bddfc
RA
349022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34903
34904 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34905 and -mno-altivec to prevent the compiler from using Altivec and/or
34906 VSX instructions when the corresponding registers are not available.
34907
a4527b51
AS
349082011-05-19 Andreas Schwab <schwab@redhat.com>
34909
34910 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34911
ed690b2f
UD
349122011-05-19 Ulrich Drepper <drepper@gmail.com>
34913
34914 * libio/freopen.c (freopen): Use __dup2, not dup2.
34915 * libio/freopen64.c (freopen64): Likewise.
34916
8db73634
L
349172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34918
34919 [BZ #12775]
34920 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34921 * math/Makefile (tests): Add test-powl.
34922 (CFLAGS-test-powl.c): Define.
34923 * math/test-powl.c: New file.
34924
0a197a9d
L
349252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34926
34927 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34928
ee30c380
UD
349292011-05-17 Ulrich Drepper <drepper@gmail.com>
34930
34931 [BZ #11837]
34932 * iconvdata/gb18030.c: Update to GB18020-2005.
34933
6ce75379
UD
349342011-05-16 Ulrich Drepper <drepper@gmail.com>
34935
a4b89fd8
AR
34936 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34937 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34938 Patch by Aharon Robbins <arnold@skeeve.com>.
34939
ea389b12
UD
34940 [BZ #11892]
34941 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34942 on the stack.
34943
68a3f91f
UD
34944 [BZ #11895]
34945 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34946 through underflows.
34947
15cc7dd1
UD
34948 [BZ #12766]
34949 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34950 point to strings before performing equality test for error_one_per_line
34951 mode.
34952
f3799213
UD
34953 [BZ #11697]
34954 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34955
d79a9c94
UD
34956 [BZ #11820]
34957 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34958 (struct user_fpregs_struct): Avoid __uint*_t types.
34959
56e5eb46
UD
34960 [BZ #6420]
34961 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34962 symbol info. Use it instead of calling _dl_addr locally.
34963 (lock_and_info): New function.
34964 (tr_freehook): Call lock_and_info and pass symbol info as additional
34965 parameter to tr_where.
34966 (tr_mallochook): Likewise.
34967 (tr_reallochook): Likewise.
34968 (tr_memalignhook): Likewise.
34969
6ce75379
UD
34970 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34971 used and couldn't be at all thread-safe.
34972
f8a3b5bf
UD
349732011-05-15 Ulrich Drepper <drepper@gmail.com>
34974
94b7cc37
UD
34975 * libio/freopen.c (freopen): Don't close old file descriptor
34976 before the new one is opened. Instead dup the new file descriptor
34977 to the old one after the new stream is created.
34978 * libio/freopen64.c (freopen64): Likewise.
34979 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34980 * libio/fileops.c (_IO_new_file_close_it): Handle new
34981 _IO_FLAGS2_NOCLOSE flag.
34982 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34983 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34984 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34985 _IO_FLAGS2_NOCLOSE flag.
34986 * include/unistd.h: Add hidden_proto for dup3.
34987 Define __have_dup3.
34988 * io/dup3.c: Define hidden symbol.
34989 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34990
bd25564e
UD
34991 [BZ #7101]
34992 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34993 when an incomplete long option is used.
34994 * posix/tst-getopt_long1.c: New file.
34995 * posix/Makefile (tests): Add tst-getopt_long1.
34996
c84cfef4
UD
34997 [BZ #10138]
34998 * scripts/config.guess: Update from autoconf-2.68.
34999 * scripts/config.sub: Likewise.
35000
3b85df27
UD
35001 [BZ #10157]
35002 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35003 tests into ...
35004 (has_cpuclock): ...this. New function.
35005 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35006 macro here based on has_cpuclock code.
35007
15a856b1
UD
35008 [BZ #10149]
35009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35010 First byte (not low byte) is now always NUL.
35011 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35012
05f399e6
UD
35013 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35014 Use non-cancelable interfaces.
35015
10a52685 35016 [BZ #9809]
94ecc67d
UD
35017 * locale/iso-639.def: Add entry for Sorani.
35018
f8a3b5bf
UD
35019 [BZ #11901]
35020 * include/stdlib.h: Move include protection to the right place.
35021 Define abort_msg_s. Declare __abort_msg with it.
35022 * stdlib/abort.c (__abort_msg): Adjust type.
35023 * assert/assert.c (__assert_fail_base): New function. Majority
35024 of code from __assert_fail. Allocate memory for __abort_msg with
35025 mmap.
35026 (__assert_fail): Now call __assert_fail_base.
35027 * assert/assert-perr.c: Remove bulk of implementation. Use
35028 __assert_fail_base.
35029 * include/assert.hL Declare __assert_fail_base.
35030 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35031 mmap.
35032 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35033
1af4e298
UD
350342011-05-14 Ulrich Drepper <drepper@gmail.com>
35035
f8a3b5bf 35036 [BZ #11952]
d26dfc60
MG
35037 [BZ #12453]
35038 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35039 until all modules are registered in the DTV.
35040 * elf/Makefile: Add rules to build and run tst-tls19.
35041 * elf/tst-tls19.c: New file.
35042 * elf/tst-tls19mod1.c: New file.
35043 * elf/tst-tls19mod2.c: New file.
35044 * elf/tst-tls19mod3.c: New file.
35045 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35046
2fc54d6f
UD
35047 [BZ #12083]
35048 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35049 correctly.
35050
98d76b46
UD
35051 [BZ #12601]
35052 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35053 two-byte sequence errors.
35054 * iconvdata/Makefile (tests): Add bug-iconv8.
35055 * iconvdata/bug-iconv8.c: New file.
35056
da3c19ef
UD
35057 [BZ #12626]
35058 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35059 buf2 definition.
35060
ca408c15
UD
35061 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35062
d6f67f7d
UD
35063 [BZ #12432]
35064 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35065 (dummy_getcfa): New function.
35066 (init): Get _Unwind_GetCFA address, use dummy if not found.
35067 (backtrace_helper): In recursion check, also check whether CFA changes.
35068 (__backtrace): Completely initialize arg.
35069
1af4e298 35070 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35071 storing incomplete byte sequence in state object. Avoid testing for
35072 guaranteed too small input if we know there is enough data available.
1af4e298 35073
da62f81b
AS
350742011-05-11 Andreas Schwab <schwab@redhat.com>
35075
35076 * Makeconfig (+link-pie): Indent.
35077 * Rules (binaries-pie): Define if $(have-fpie) and
35078 $(build-shared).
35079 (binaries-shared): Also filter out $(binaries-pie).
35080 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35081 * nscd/Makefile (others-pie): Add nscd.
35082 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35083 ($(objpfx)nscd): Remove command override.
35084 * login/Makefile (others-pie): Add pt_chown.
35085 ($(objpfx)pt_chown): Remove command override.
35086 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35087 remove command overrides.
35088
fcabc0f8
UD
350892011-05-13 Ulrich Drepper <drepper@gmail.com>
35090
20030ae6
UD
35091 * libio/tst_putwc.c: Fix error messages.
35092
fcabc0f8
UD
35093 [BZ #12724]
35094 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35095 currently writing and seek to current position when not.
35096 * libio/Makefile (tests): Add bug-fclose1.
35097 * libio/bug-fclose1.c: New file.
35098
320a5dc0
PB
350992011-05-12 Ulrich Drepper <drepper@gmail.com>
35100
35101 [BZ #12511]
35102 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35103 don't set DF_1_NODELETE here.
35104 (do_lookup_x): When entering new entry test for copy relocation
35105 and if necessary set DF_1_NODELETE flag.
35106 * elf/tst-unique4.cc: New file.
35107 * elf/tst-unique4.h: New file.
35108 * elf/tst-unique4lib.cc: New file.
35109 * elf/Makefile: Add rules to build and run tst-unique4.
35110 Patch by Piotr Bury <pbury@goahead.com>.
35111
22836f52
UD
351122011-05-11 Ulrich Drepper <drepper@gmail.com>
35113
f574184a
UD
35114 [BZ #12052]
35115 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35116
e1fb097f
UD
35117 [BZ #12625]
35118 * misc/mntent_r.c (addmntent): Flush the stream after the output
35119
22836f52
UD
35120 [BZ #12393]
35121 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35122 (is_trusted_path_normalize): Skip initial colon. Append slash
35123 to empty buffer. Duplicate is_trusted_path code but allow
35124 constructed patch to be prefix.
35125 (is_dst): Allow $ORIGIN followed by /.
35126 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35127 Correct testing of result of is_trusted_path_normalize
35128 (decompose_rpath): Fix warning.
35129
7b3b0b2a
UD
351302011-05-10 Ulrich Drepper <drepper@gmail.com>
35131
35132 [BZ #11257]
35133 * grp/initgroups.c (internal_getgrouplist): When we found the service
35134 list through the initgroups entry in nsswitch.conf do not always
35135 continue on a successful lookup. Don't always use the
eac80ce2 35136 __nss_group_database value if it is set.
7b3b0b2a
UD
35137 * nss/nsswitch.conf (initgroups): Change action for successful db
35138 lookup to continue for compatibility.
35139
2a81eaa5
UD
351402011-05-09 Ulrich Drepper <drepper@gmail.com>
35141
be97a69e
UD
35142 [BZ #11532]
35143 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35144 and CP774 modules.
35145 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35146 and CP774 modules.
35147 * iconvdata/tst-tables.sh: Likewise.
35148 * iconvdata/cp770.c: New file.
35149 * iconvdata/cp771.c: New file.
35150 * iconvdata/cp772.c: New file.
35151 * iconvdata/cp773.c: New file.
35152 * iconvdata/cp774.c: New file.
35153 * iconvdata/testdata/CP770: New file.
35154 * iconvdata/testdata/CP770..UTF8: New file.
35155 * iconvdata/testdata/CP771: New file.
35156 * iconvdata/testdata/CP771..UTF8: New file.
35157 * iconvdata/testdata/CP772: New file.
35158 * iconvdata/testdata/CP772..UTF8: New file.
35159 * iconvdata/testdata/CP773: New file.
35160 * iconvdata/testdata/CP773..UTF8: New file.
35161 * iconvdata/testdata/CP774: New file.
35162 * iconvdata/testdata/CP774..UTF8: New file.
35163
35164 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35165 END CHARMAP line.
35166 * iconvdata/gen-8bit-gap.sh: Likewise.
35167 * iconvdata/gen-8bit.sh: Likewise.
35168
c1e9e399
UD
35169 * locale/iso-639.def: Add ary entry.
35170
24c55fb3 35171 [BZ #11258]
96b4b1b0
UD
35172 * locale/C-translit.h.in: Add U20A1 transliteration.
35173
bdc2f971
KB
35174 [BZ #12178]
35175 * locale/iso-639.def: Add wae entry.
35176 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35177
2952b117
UD
35178 [BZ #12545]
35179 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35180 for n.
35181
2a81eaa5
UD
35182 [BZ #12711]
35183 * locale/C-translit.h.in: Add entry for U20B9.
35184 Patch by pravin.d.s@gmail.com.
35185
28377d1b
UD
351862011-05-08 Ulrich Drepper <drepper@gmail.com>
35187
7fb90fb8
UD
35188 [BZ #12713]
35189 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35190 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35191 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35192 in rtld. Use *stat64.
7fb90fb8 35193 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35194 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35195 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35196 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35197 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35198 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35199 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35200 __fstatat64 macros.
7fb90fb8
UD
35201 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35202 * dirent/rewinddir.c: Add libc_hidden_def.
35203 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35204 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35205
28377d1b
UD
35206 * include/dirent.h (__alloc_dir): Add flags parameter.
35207 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35208 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35209 __alloc_dir.
35210 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35211 from fdopendir if O_CLOEXEC is already set.
35212
66bdbaa4
AM
352132011-03-15 Alan Modra <amodra@gmail.com>
35214
35215 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35216 l_tls_firstbyte_offset non-zero. Save padding offset in
35217 l_tls_firstbyte_offset for later use.
35218 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35219 freeing static tls block.
35220
95721191
JN
352212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35222
35223 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35224 where #ifdef was intended. The intent is to prevent ARG_MAX from
35225 being defined by the kernel headers.
35226
f87dfb1f
UD
352272011-05-07 Ulrich Drepper <drepper@gmail.com>
35228
35229 [BZ #12734]
35230 * resolv/resolv.h: Define RES_NOTLDQUERY.
35231 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35232 no-tld-query and set RES_NOTLDQUERY.
35233 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35234 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35235 modern BIND to search name as TLD unless forbidden.
35236
47c3cd7a
UD
352372011-05-07 Petr Baudis <pasky@suse.cz>
35238 Ulrich Drepper <drepper@gmail.com>
35239
35240 [BZ #12393]
35241 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35242 (is_trusted_path): ...to here.
c1e9ea35 35243 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35244 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35245 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35246
8a35c912
PP
352472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35248
35249 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35250 __BEGIN/__END_DECLS.
35251
acd41f47
UD
352522011-05-06 Ulrich Drepper <drepper@gmail.com>
35253
35254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35255 NSS_STATUS_NOTFOUND if no record was found.
35256
597df647
AS
352572011-05-05 Andreas Schwab <schwab@redhat.com>
35258
35259 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35260 (headers-not-in-tirpc): Remove rpc/netdb.h
35261 * resolv/netdb.h: Revert last change.
35262
b9af1301
PP
352632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35264
35265 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35266 circular dependency between libgcc.a and libc.a.
35267
4e34d5f5
AS
352682011-05-05 Andreas Schwab <schwab@redhat.com>
35269
35270 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35271 * nis/Makefile: Don't install rpcsvc/*.
35272 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35273 instead of <rpc/types.h>.
35274 (MAXHOSTNAMELEN): Define.
35275
00ee369c
AS
352762011-05-03 Andreas Schwab <schwab@redhat.com>
35277
35278 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35279
0b592a30
MB
352802011-04-28 Maciej Babinski <mbabinski@google.com>
35281
35282 [BZ #12714]
35283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35284 gethostbyname4_r when IPv6 results are possible.
35285
6e04cbbe
UD
352862011-05-02 Ulrich Drepper <drepper@gmail.com>
35287
35288 [BZ #12723]
35289 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35290 _PC_PIPE_BUF handling.
35291
e4ecafe0
BH
352922011-04-30 Bruno Haible <bruno@clisp.org>
35293
35294 [BZ #12717]
35295 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35296 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35297 to 'int'.
35298 * inet/getnameinfo.c (getnameinfo): Likewise.
35299
125ee683
UD
353002011-04-29 Ulrich Drepper <drepper@gmail.com>
35301
35302 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35303 to groups setting in database lookup.
35304 * nss/nsswitch.conf: Add initgroups entry.
35305
b722481a
EB
353062011-04-22 Ulrich Drepper <drepper@gmail.com>
35307
35308 [BZ #12685]
35309 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35310 mode string.
35311 Patch by Eric Blake <eblake@redhat.com>.
35312
4df46dbd
L
353132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35314
35315 * sunrpc/Makefile (need-export-routines): Add svc_run.
35316 (routines): Remove svc_run.
35317 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35318 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35319 * sunrpc/svc_run.c (svc_run): Likewise.
35320 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35321
e84142d2
UD
353222011-04-21 Ulrich Drepper <drepper@gmail.com>
35323
35324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35325 problem in reallocation in last patch.
35326
877175d8
UD
353272011-04-20 Ulrich Drepper <drepper@gmail.com>
35328
35329 * sunrpc/Makefile: Move inclusion of Rules.
35330
ab8eed78
UD
353312011-04-19 Ulrich Drepper <drepper@gmail.com>
35332
35333 * nss/nss_files/files-initgroups.c: New file.
35334 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35335 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35336 _nss_files_initgroups_dyn.
35337
e3d8f584
RS
353382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35339
35340 * elf/elf.h (R_ARM_IRELATIVE): Define.
35341
af190f45
UD
353422011-04-19 Ulrich Drepper <drepper@gmail.com>
35343
35344 * po/ru.po: Update from translation team.
35345
53cf59ef
UD
353462011-04-17 Ulrich Drepper <drepper@gmail.com>
35347
35348 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35349 dependencies.
35350
4c559bcd
MF
353512011-02-06 Mike Frysinger <vapier@gentoo.org>
35352
35353 [BZ #12653]
35354 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35355 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35356 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35357 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35358 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35359
4420675c
AS
353602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35361
35362 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35363 differing bytes.
35364 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35366 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35367
75ea32ab
UD
353682011-04-17 Ulrich Drepper <drepper@gmail.com>
35369
35370 [BZ #12420]
35371 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35372 storing it.
35373 * stdlib/bug-getcontext.c: New file.
35374 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35375
27390476
AK
353762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35377
35378 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35379 instructions into .machine "z9-109".
35380 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35381 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35382
10442705
AK
353832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35384
35385 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35386 between environment variables and auxiliary vector.
35387
7b57bfe5
UD
353882011-04-16 Ulrich Drepper <drepper@gmail.com>
35389
35390 * Makefile: Add rules to build linkobj/libc.so.
35391 * include/libc-symbols.h: Define libc_hidden_nolink.
35392 * include/rpc/auth.h: Mark functions which are to be hidden.
35393 * include/rpc/auth_des.h: Likewise.
35394 * include/rpc/auth_unix.h: Likewise.
35395 * include/rpc/clnt.h: Likewise.
35396 * include/rpc/des_crypt.h: Likewise.
35397 * include/rpc/key_prot.h: Likewise.
35398 * include/rpc/pmap_clnt.h: Likewise.
35399 * include/rpc/pmap_prot.h: Likewise.
35400 * include/rpc/pmap_rmt.h: Likewise.
35401 * include/rpc/rpc_msg.h: Likewise.
35402 * include/rpc/svc.h: Likewise.
35403 * include/rpc/svc_auth.h: Likewise.
35404 * include/rpc/xdr.h: Likewise.
35405 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35406 * nss/Makefile: Likewise.
35407 * sunrpc/Makefile: Don't install headers. Build library with normal
35408 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35409 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35410 for the compat linking library. Remove use of INTDEF/INTUSE.
35411 * sunrpc/auth_none.c: Likewise.
35412 * sunrpc/auth_unix.c: Likewise.
35413 * sunrpc/authdes_prot.c: Likewise.
35414 * sunrpc/authuxprot.c: Likewise.
35415 * sunrpc/clnt_gen.c: Likewise.
35416 * sunrpc/clnt_perr.c: Likewise.
35417 * sunrpc/clnt_raw.c: Likewise.
35418 * sunrpc/clnt_simp.c: Likewise.
35419 * sunrpc/clnt_tcp.c: Likewise.
35420 * sunrpc/clnt_udp.c: Likewise.
35421 * sunrpc/clnt_unix.c: Likewise.
35422 * sunrpc/des_crypt.c: Likewise.
35423 * sunrpc/des_soft.c: Likewise.
35424 * sunrpc/get_myaddr.c: Likewise.
35425 * sunrpc/key_call.c: Likewise.
35426 * sunrpc/key_prot.c: Likewise.
35427 * sunrpc/netname.c: Likewise.
35428 * sunrpc/pm_getmaps.c: Likewise.
35429 * sunrpc/pm_getport.c: Likewise.
35430 * sunrpc/pmap_clnt.c: Likewise.
35431 * sunrpc/pmap_prot.c: Likewise.
35432 * sunrpc/pmap_prot2.c: Likewise.
35433 * sunrpc/pmap_rmt.c: Likewise.
35434 * sunrpc/publickey.c: Likewise.
35435 * sunrpc/rpc_cmsg.c: Likewise.
35436 * sunrpc/rpc_common.c: Likewise.
35437 * sunrpc/rpc_dtable.c: Likewise.
35438 * sunrpc/rpc_prot.c: Likewise.
35439 * sunrpc/rpc_thread.c: Likewise.
35440 * sunrpc/rtime.c: Likewise.
35441 * sunrpc/svc.c: Likewise.
35442 * sunrpc/svc_auth.c: Likewise.
35443 * sunrpc/svc_authux.c: Likewise.
35444 * sunrpc/svc_raw.c: Likewise.
35445 * sunrpc/svc_run.c: Likewise.
35446 * sunrpc/svc_simple.c: Likewise.
35447 * sunrpc/svc_tcp.c: Likewise.
35448 * sunrpc/svc_udp.c: Likewise.
35449 * sunrpc/svc_unix.c: Likewise.
35450 * sunrpc/svcauth_des.c: Likewise.
35451 * sunrpc/xcrypt.c: Likewise.
35452 * sunrpc/xdr.c: Likewise.
35453 * sunrpc/xdr_array.c: Likewise.
35454 * sunrpc/xdr_float.c: Likewise.
35455 * sunrpc/xdr_intXX_t.c: Likewise.
35456 * sunrpc/xdr_mem.c: Likewise.
35457 * sunrpc/xdr_rec.c: Likewise.
35458 * sunrpc/xdr_ref.c: Likewise.
35459 * sunrpc/xdr_sizeof.c: Likewise.
35460 * sunrpc/xdr_stdio.c: Likewise.
35461
e6c61494
UD
354622011-04-10 Ulrich Drepper <drepper@gmail.com>
35463
35464 [BZ #12650]
35465 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35466 * sysdeps/ia64/dl-tls.h: Likewise.
35467 * sysdeps/powerpc/dl-tls.h: Likewise.
35468 * sysdeps/s390/dl-tls.h: Likewise.
35469 * sysdeps/sh/dl-tls.h: Likewise.
35470 * sysdeps/sparc/dl-tls.h: Likewise.
35471 * sysdeps/x86_64/dl-tls.h: Likewise.
35472 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35473
34fe483e
AS
354742011-03-14 Andreas Schwab <schwab@redhat.com>
35475
35476 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35477 rpath element also skip the following colon.
35478 (expand_dynamic_string_token): Add is_path parameter and pass
35479 down to DL_DST_REQUIRED and _dl_dst_substitute.
35480 (decompose_rpath): Call expand_dynamic_string_token with
35481 non-zero is_path. Ignore empty rpaths.
35482 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35483 with zero is_path.
35484
f12a32e6
AS
354852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35486
35487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35488 Make cancelable.
35489
38a7d692
UD
354902011-04-09 Ulrich Drepper <drepper@gmail.com>
35491
35492 [BZ #12655]
35493 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35494 Patch by Filipe David Manana <fdmanana@apache.org>.
35495
e451d22b
AS
354962011-04-07 Andreas Schwab <schwab@redhat.com>
35497
35498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35499 Maintain aligned stack.
35500 (CHECK_RSP): Remove unused macro.
35501
dedc7c7b
UD
355022011-04-03 Ulrich Drepper <drepper@gmail.com>
35503
35504 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35505 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35506
94521213
UD
355072011-04-02 Ulrich Drepper <drepper@gmail.com>
35508
35509 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35510
8cb700c0 35511 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35512
0354e355
L
355132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35514
35515 [BZ #12518]
35516 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35517 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35518 * sysdeps/x86_64/memmove.c: New file.
35519 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35520 (memcpy): Renamed to ...
35521 (__new_memcpy): This.
35522 (memcpy): Provide GLIBC_2_14 memcpy.
35523 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35524 (memcpy): Provide GLIBC_2_2_5 memcpy.
35525
8593482f
UD
355262011-04-01 Ulrich Drepper <drepper@gmail.com>
35527
35528 [BZ #12631]
35529 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35530
81a5726b
AS
355312011-03-30 Andreas Schwab <schwab@redhat.com>
35532
35533 * misc/syncfs.c: New file.
35534 * misc/Makefile (routines): Add syncfs.
35535 * posix/unistd.h: Declare syncfs.
35536 * sysdeps/unix/syscalls.list: Add syncfs.
35537
00e5419f
AS
355382011-04-01 Andreas Schwab <schwab@redhat.com>
35539
35540 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35541 open_by_handle_at.
35542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35545 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35547 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35549
748876bf
UD
355502011-04-01 Ulrich Drepper <drepper@gmail.com>
35551
658e451d
UD
35552 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35553 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35554 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35556 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35558 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35559
748876bf
UD
35560 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35561 sync_file_range.c with -fexceptions.
35562 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35563 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35564 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35565 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35566 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35567 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35568 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35569 sync_file_range as cancellation point
35570 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35571 now a wrapper around __call_sync_file_range with cancellation handling.
35572 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35573 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35574 function name to __call_sync_file_range.
35575 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35576 Add call_sync_file_range.
748876bf 35577
6e63d5e1
AS
355782011-04-01 Andreas Schwab <schwab@redhat.com>
35579
35580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35581 bits/timex.h.
6e63d5e1 35582
46998f74
UD
355832011-04-01 Ulrich Drepper <drepper@gmail.com>
35584
4c1423ed
UD
35585 * iconv/iconv.h: Fix typo in comment.
35586 * io/fcntl.h: Likewise.
35587 * libio/stdio.h: Likewise.
35588 * posix/spawn.h: Likewise.
35589 * posix/unistd.h: Likewise.
35590 * stdlib/stdlib.h: Likewise.
35591 * time/time.h: Likewise.
35592 * wcsmbs/wchar.h: Likewise.
35593
158648c0
UD
35594 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35595 open_by_handle): Add.
35596 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35597 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35598 Augment a few comments.
35599 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35600 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35601 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35603 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35604 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35605 open_by_handle.
35606
46998f74
UD
35607 * io/fcntl.h (AT_EMPTY_PATH): Define.
35608
83fe108b
UD
356092011-03-30 Ulrich Drepper <drepper@gmail.com>
35610
35611 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35612 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35613 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35614 to...
35615 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35616 * Versions.def: Add GLIBC_2.14.
35617 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35618 Export.
83fe108b 35619
bb242059
UD
356202011-03-22 Ulrich Drepper <drepper@gmail.com>
35621
35622 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35623 round counter.
35624 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35625
c97a1282
L
356262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35627
35628 [BZ #12597]
35629 * string/test-strncmp.c (do_page_test): New function.
35630 (check2): Likewise.
35631 (test_main): Call check2.
35632 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35633
2a115601
UD
356342011-03-20 Ulrich Drepper <drepper@gmail.com>
35635
35636 [BZ #12587]
35637 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35638 Handle cache information in CPU leaf 4.
35639 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35640
8126d904
UD
356412011-03-18 Ulrich Drepper <drepper@gmail.com>
35642
042c49c6 35643 [BZ #12583]
8126d904
UD
35644 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35645 character representation.
35646 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35647
ccfe366e
RA
356482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35649
35650 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35651 END(__isnan) to END(__isnanf) to match function entry point/label
35652 EALIGN(__isnanf,...).
35653
c6e13027
JJ
356542011-03-10 Jakub Jelinek <jakub@redhat.com>
35655
35656 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35657
33f85a3f
UD
356582011-03-10 Ulrich Drepper <drepper@gmail.com>
35659
028478fa
UD
35660 [BZ #12510]
35661 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35662 copy from the symbol referenced in the relocation to initialize the
35663 used variable.
35664 Patch by Piotr Bury <pbury@goahead.com>.
35665 * elf/Makefile: Add rules to build and tst-unique3.
35666 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35667 * elf/tst-unique3.cc: New file.
35668 * elf/tst-unique3.h: New file.
35669 * elf/tst-unique3lib.cc: New file.
35670 * elf/tst-unique3lib2.cc: New file.
35671
33f85a3f
UD
35672 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35673
03592fc7
MF
356742011-03-10 Mike Frysinger <vapier@gentoo.org>
35675
35676 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35677 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35678 to _start.
03592fc7 35679
6a5ee102
UD
356802011-03-06 Ulrich Drepper <drepper@gmail.com>
35681
35682 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35683 to-be-loaded object along a path to loader is ld.so.
35684
7e4ba49c
HJ
356852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35686 Ulrich Drepper <drepper@gmail.com>
35687
35688 * sysdeps/x86_64/memset.S: After aligning destination, code
35689 branches to different locations depending on the value of
35690 misalignment, when multiarch is enabled. Fix this.
35691
356922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35693
35694 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35695 Set _x86_64_preferred_memory_instruction for AMD processsors.
35696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35697 Set bit_Prefer_SSE_for_memop for AMD processors.
35698
13a804de
UD
356992011-03-04 Ulrich Drepper <drepper@gmail.com>
35700
35701 * libio/fmemopen.c (fmemopen): Optimize a bit.
35702
9d25c392
AS
357032011-03-03 Andreas Schwab <schwab@redhat.com>
35704
35705 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35706
a5543c6a
RM
357072011-03-03 Roland McGrath <roland@redhat.com>
35708
35709 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35710
012d35f7
DM
357112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35712
7e4ba49c 35713 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35714 __bzero_ultra1 instead of __memset_ultra1.
35715
4bff6e01
AS
357162011-02-23 Andreas Schwab <schwab@redhat.com>
35717 Ulrich Drepper <drepper@gmail.com>
35718
35719 [BZ #12509]
35720 * include/link.h (struct link_map): Add l_orig_initfini.
35721 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35722 returning unsuccessfully.
35723 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35724 close of a file loaded at startup, restore the original l_initfini
35725 list.
35726 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35727 list, store the pointer.
35728 * elf/Makefile ($(objpfx)noload-mem): New rule.
35729 (noload-ENV): Define.
35730 (tests): Add $(objpfx)noload-mem.
35731 * elf/noload.c: Include <memcheck.h>.
35732 (main): Call mtrace. Close all opened handles.
35733
f2092faf
AS
357342011-02-17 Andreas Schwab <schwab@redhat.com>
35735
35736 [BZ #12454]
35737 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35738 dependencies are missing.
35739
6c8a2e88
ST
357402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35741
f2092faf 35742 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35743 Hurd needs munmap.
35744 * sysdeps/mach/hurd/ifreq.h: New file.
35745
84a42118
PB
357462011-01-27 Petr Baudis <pasky@suse.cz>
35747 Ulrich Drepper <drepper@gmail.com>
35748
071f805e 35749 [BZ 12445]#
84a42118
PB
35750 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35751 to extend_alloca().
35752 * stdio-common/bug23.c: New file.
35753 * stdio-common/Makefile (tests): Add bug23.
35754
e23fe25b
AS
357552010-09-28 Andreas Schwab <schwab@redhat.com>
35756 Ulrich Drepper <drepper@gmail.com>
35757
35758 [BZ #12489]
35759 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35760 before performing relro protection. At old place add assertion
35761 to make sure nothing changed.
35762
d3f02e10
NS
357632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35764 Glauber de Oliveira Costa <glommer@gmail.com>
35765
35766 * elf/elf.h: Add new ARM TLS relocs.
35767
d55fd7a5
RA
357682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35769
35770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35771 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35772 cast from r3.
35773 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35774 'tests' variable.
35775 * sysdeps/wordsize-64/tst-writev.c: New file.
35776
2206397e
RA
357772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35778
35779 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35780 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35781 insns in _dl_start to prevent a TOC reference before relocs are
35782 resolved.
35783
e9433893
UD
357842011-02-15 Ulrich Drepper <drepper@gmail.com>
35785
35786 [BZ #12469]
35787 * Makeconfig: Remove RANLIB definition.
35788 * Makerules: Don't use RANLIB.
35789 * aclocal.m4: Remove ranlib test.
35790 * configure.in: No need to check for ranlib.
35791 * elf/rtld-Rules: Don't use RANLIB.
35792
f75286c6
ST
357932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35794
8e31c82d
ST
35795 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35796 protection macro.
35797 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35798 inclusion protection macro.
35799
f75286c6
ST
35800 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35801 SIGRTMIN and SIGRTMAX and print information in that case only when
35802 SIGRTMIN is defined.
35803
c1d0e639
JJ
358042011-02-11 Jakub Jelinek <jakub@redhat.com>
35805
35806 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35807 arginfo fn returning -1.
35808
35809 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35810 and thousands string is zero terminated.
35811
edf9294e
AS
358122011-02-03 Andreas Schwab <schwab@redhat.com>
35813
35814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35815 sysdeps/unix/sysv/linux/bits/socket.h.
35816
2b7e92df
ST
358172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35818
edf9294e
AS
35819 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35820 (__CPU_COUNT): Remove old macros.
35821 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35822 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35823 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35824 (__sched_cpualloc, __sched_cpufree): Add declarations.
35825
a4c7ea7b
UD
358262011-02-05 Ulrich Drepper <drepper@gmail.com>
35827
35828 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35829 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35830 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35831 (readdhstai): Return value of addhstaiX call.
35832 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35833 (addgrbyX): Return value returned by cache_addgr.
35834 (readdgrbyname): Return value returned by addgrbyX.
35835 (readdgrbygid): Likewise.
35836 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35837 (addpwbyX): Return value returned by cache_addpw.
35838 (readdpwbyname): Return value returned by addhstbyX.
35839 (readdpwbyuid): Likewise.
35840 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35841 (addservbyX): Return value returned by cache_addserv.
35842 (readdservbyname): Return value returned by addservbyX:
35843 (readdservbyport): Likewise.
35844 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35845 (addhstbyX): Return value returned by cache_addhst.
35846 (readdhstbyname): Return value returned by addhstbyX.
35847 (readdhstbyaddr): Likewise.
35848 (readdhstbynamev6): Likewise.
35849 (readdhstbyaddrv6): Likewise.
35850 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35851 (readdinitgroups): Return value returned by addinitgroupsX.
35852 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35853 (prune_cache): Keep track of timeout value of re-added entries.
35854 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35855 * nscd/nscd.h: Adjust prototypes of readd* functions.
35856
a0bf67cc
RM
358572011-02-04 Roland McGrath <roland@redhat.com>
35858
35859 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35860 (nis_stats): Likewise.
35861 * nis/nis_modify.c (nis_modify): Likewise.
35862 * nis/nis_remove.c (nis_remove): Likewise.
35863 * nis/nis_add.c (nis_add): Likewise.
35864
35865 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35866
35867 * posix/fnmatch_loop.c: Add some consts.
35868
35869 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35870
435b95eb
L
358712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35872
35873 [BZ #12460]
35874 * config.make.in (config-cflags-novzeroupper): Define.
35875 * configure.in: Substitute libc_cv_cc_novzeroupper.
35876 * elf/Makefile (AVX-CFLAGS): Define.
35877 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35878 (CFLAGS-tst-auditmod4a.c): Likewise.
35879 (CFLAGS-tst-auditmod4b.c): Likewise.
35880 (CFLAGS-tst-auditmod6b.c): Likewise.
35881 (CFLAGS-tst-auditmod6c.c): Likewise.
35882 (CFLAGS-tst-auditmod7b.c): Likewise.
35883 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35884
8517b15e
UD
358852011-02-02 Ulrich Drepper <drepper@gmail.com>
35886
35887 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35888 function to the callback.
35889 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35890
10a656fe
AS
358912011-02-02 Andreas Schwab <schwab@redhat.com>
35892
35893 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35894 of errno.
35895
968dad0a
UD
358962011-01-19 Ulrich Drepper <drepper@gmail.com>
35897
9f94d2ea 35898 [BZ #11724]
968dad0a
UD
35899 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35900 of constructors.
35901 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35902 of destructors.
35903 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35904
35905 [BZ #11724]
35906 * elf/Makefile: Add rules to build and run new test.
35907 * elf/tst-initorder.c: New file.
35908 * elf/tst-initorder.exp: New file.
35909 * elf/tst-initordera1.c: New file.
35910 * elf/tst-initordera2.c: New file.
35911 * elf/tst-initordera3.c: New file.
35912 * elf/tst-initordera4.c: New file.
35913 * elf/tst-initorderb1.c: New file.
35914 * elf/tst-initorderb2.c: New file.
35915 * elf/tst-order-a1.c: New file.
35916 * elf/tst-order-a2.c: New file.
35917 * elf/tst-order-a3.c: New file.
35918 * elf/tst-order-a4.c: New file.
35919 * elf/tst-order-b1.c: New file.
35920 * elf/tst-order-b2.c: New file.
35921 * elf/tst-order-main.c: New file.
35922 New test case by George Gensure <werkt0@gmail.com>.
35923
86e92359
UD
359242010-10-01 Andreas Schwab <schwab@redhat.com>
35925
35926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35927 decoding ACE if AI_CANONIDN.
35928
5d5732b0
UD
359292011-01-18 Ulrich Drepper <drepper@gmail.com>
35930
35931 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35932
a77e8cbc
UD
359332011-01-17 Ulrich Drepper <drepper@gmail.com>
35934
6392473f
UD
35935 * version.h (RELEASE): Bump for 2.13 release.
35936 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35937
620a0529
UD
35938 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35939
18ba70a5
UD
35940 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35941 MADV_NOHUGEPAGE.
32465c3e
UD
35942 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35943 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35944 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35945 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35946 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35947 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35948
c0dafcf1
UD
35949 * posix/getconf.c: Update copyright year.
35950 * catgets/gencat.c: Likewise.
35951 * csu/version.c: Likewise.
35952 * debug/catchsegv.sh: Likewise.
35953 * debug/xtrace.sh: Likewise.
35954 * elf/ldconfig.c: Likewise.
35955 * elf/ldd.bash.in: Likewise.
35956 * elf/sprof.c (print_version): Likewise.
35957 * iconv/iconv_prog.c: Likewise.
35958 * iconv/iconvconfig.c: Likewise.
35959 * locale/programs/locale.c: Likewise.
35960 * locale/programs/localedef.c: Likewise.
35961 * malloc/memusage.sh: Likewise.
35962 * malloc/mtrace.pl: Likewise.
35963 * nscd/nscd.c (print_version): Likewise.
35964 * nss/getent.c: Likewise.
35965
a77e8cbc
UD
35966 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35967 PF_CAIF, and PF_ALG.
35968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35969
77e8bddf
AS
359702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35971
1f20b93a
AS
35972 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35973 (modules-names): Use them.
35974 (ifunc-test-modules, ifunc-pie-tests): Define.
35975 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35976 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35977 (test-extras): Likewise.
35978 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35979 $(compile-command.c).
35980 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35981 (all-built-dso): Define.
35982 (check-textrel.out, check-execstack.out): Depend on it.
35983
77e8bddf
AS
35984 * configure.in: Don't override --enable-multi-arch.
35985
bc425b33
UD
359862011-01-15 Ulrich Drepper <drepper@gmail.com>
35987
35988 [BZ #6812]
35989 * nscd/hstcache.c (tryagain): Define.
35990 (cache_addhst): Return tryagain not notfound for temporary errors.
35991 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35992 failed.
35993
794c3ad3
UD
359942011-01-14 Ulrich Drepper <drepper@gmail.com>
35995
70181fdd
UD
35996 [BZ #10563]
35997 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35998 to make the syscall.
35999 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36000
794c3ad3
UD
36001 [BZ #12378]
36002 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36003 and fall back to matching as normal character if the string ends before
36004 the matching ']' is found. This is what POSIX requires.
36005 * posix/testfnm.c: Adjust test result.
36006 * posix/globtest.sh: Adjust test result. Add new test.
36007 * posix/tst-fnmatch.input: Likewise.
36008 * posix/tst-fnmatch2.c: Add new test.
36009
68dc9497
AS
360102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36011
36012 * elf/Makefile (check-execstack): Revert last change. Depend on
36013 check-execstack.h.
36014 (check-execstack.h): New target.
36015 (generated): Add check-execstack.h.
36016 * elf/check-execstack.c: Include "check-execstack.h".
36017 (main): Revert last change.
36018 (handle_file): Return zero if GNU_STACK is absent and
36019 DEFAULT_STACK_PERMS doesn't include PF_X.
36020
451f001b
UD
360212011-01-13 Ulrich Drepper <drepper@gmail.com>
36022
cfa28e56
UD
36023 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36024 in child fails because the descriptor is already closed.
8cf8ce17
UD
36025 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36026 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36027 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36028
1086d70d
UD
36029 [BZ #12397]
36030 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36031 syscall.
36032
451f001b
UD
36033 [BZ #10484]
36034 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36035 temporary buffer used to handle multi lookups locally.
a85b5cb4 36036 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36037
08769175
UD
360382011-01-12 Ulrich Drepper <drepper@gmail.com>
36039
36040 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36041 loader is ld.so.
36042
5e49c52e
UD
360432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36044
36045 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36046 alignment for SSE2.
36047
60522a5f
UD
360482011-01-12 Ulrich Drepper <drepper@gmail.com>
36049
36050 [BZ #12394]
36051 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36052 characters. When rounding increased number of integer digits recompute
36053 number of groups.
36054 * stdio-common/tst-grouping.c: New file.
36055 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36056
f257bbd7
UD
360572011-01-09 Ulrich Drepper <drepper@gmail.com>
36058
36059 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36060 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36061
36062 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36063 void.
36064 * bits/select.h: Likewise.
36065
fa9c15cb
UD
360662011-01-08 Ulrich Drepper <drepper@gmail.com>
36067
36068 * po/ja.po: Update from translation team.
36069
16c2895f
DM
360702011-01-04 David S. Miller <davem@sunset.davemloft.net>
36071
36072 [BZ #11155]
36073 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36074 implementation just like for lxstat, fxstatat, et al.
36075
2543fef2
JM
360762010-12-27 Jim Meyering <meyering@redhat.com>
36077
36078 [BZ #12348]
36079 * posix/regexec.c (build_trtable): Return failure indication upon
36080 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36081
98727dbe
UD
360822010-12-25 Ulrich Drepper <drepper@gmail.com>
36083
5bd6dc5c
UD
36084 [BZ #12201]
36085 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36086 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36087 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36088 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36089
97983464
UD
36090 [BZ #12207]
36091 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36092
98727dbe
UD
36093 [BZ #12204]
36094 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36095 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36096
4a531bb0
L
360972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36098
36099 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36100 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36101 script has SORT_BY_INIT_PRIORITY.
36102 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36103 NO_CTORS_DTORS_SECTIONS is defined.
36104 * elf/soinit.c: Likewise.
36105 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36106 NO_CTORS_DTORS_SECTIONS is defined.
36107 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36108 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36109 * sysdeps/sh/init-first.c: Likewise.
36110 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36111
07eb4b71
UD
361122010-12-24 Ulrich Drepper <drepper@gmail.com>
36113
36114 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36115 always use the slow path.
36116
30950a5f
RA
361172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36118
36119 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36120 similar rule which adds the sysdep directories to the header search in
36121 order to pick up the correct platform stackinfo.h.
36122 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36123 perform test if it is, otherwise return successfully without testing.
36124 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36125 DEFAULT_STACK_PERMS define in stackinfo.h.
36126 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36127 defined in stackinfo.h.
36128 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36129 DEFAULT_STACK_PERMS defined in stackinfo.h.
36130 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36131 * sysdeps/ia64/stackinfo.h: Likewise.
36132 * sysdeps/s390/stackinfo.h: Likewise.
36133 * sysdeps/sh/stackinfo.h: Likewise.
36134 * sysdeps/sparc/stackinfo.h: Likewise.
36135 * sysdeps/x86_64/stackinfo.h: Likewise.
36136 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36137 PF_X for powerpc64. Retain PF_X for powerpc32.
36138
db753e2c
UD
361392010-12-19 Ulrich Drepper <drepper@gmail.com>
36140
14b697f7
UD
36141 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36142 accurately.
db753e2c
UD
36143 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36144 GETDENTS_64BIT_ALIGNED.
36145
28300719
UD
361462010-12-14 Ulrich Drepper <dreper@gmail.com>
36147
14b697f7 36148 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36149
4f197237
AS
361502010-12-10 Andreas Schwab <schwab@redhat.com>
36151
dbb0472f
AS
36152 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36153 _GNU_SOURCE.
36154
4f197237
AS
36155 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36156 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36157 Remove __restrict.
36158 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36159 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36160
fb88ac72
UD
361612010-12-09 Ulrich Drepper <drepper@gmail.com>
36162
36163 [BZ #11655]
36164 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36165 are initialized.
36166
42acbb92
JJ
361672010-12-09 Jakub Jelinek <jakub@redhat.com>
36168
36169 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36170
c038d98d
UD
361712010-12-03 Ulrich Drepper <drepper@gmail.com>
36172
36173 * po/it.po: Update from translation team.
36174
3a4a2499
L
361752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36176
36177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36178 unused codes.
36179
1e24cf6e
UD
361802010-11-30 Ulrich Drepper <drepper@gmail.com>
36181
36182 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36183
a7690819
AS
361842010-11-24 Andreas Schwab <schwab@redhat.com>
36185
36186 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36187 specially.
36188 (gaih_getanswer_slice): Likewise.
36189
3bf8d1b1
JJ
361902010-10-20 Jakub Jelinek <jakub@redhat.com>
36191
36192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36193
6db52fbb
PB
361942010-05-31 Petr Baudis <pasky@suse.cz>
36195
36196 [BZ #11149]
36197 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36198 silently even in the chroot mode.
36199
eaca7569
UD
362002010-11-22 Ulrich Drepper <drepper@gmail.com>
36201
36202 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36203 last patch a bit. Pretty printing
36204
3056dcdb
UD
362052010-05-31 Petr Baudis <pasky@suse.cz>
36206
36207 [BZ #10085]
36208 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36209 initialization of skip_initgroups_dyn.
36210
cf7c9078
UD
362112010-11-19 Ulrich Drepper <drepper@gmail.com>
36212
36213 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36214 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36215
a1fb5e3e
UD
362162010-11-16 Ulrich Drepper <drepper@gmail.com>
36217
36218 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36219
3540d66b
AS
362202010-11-11 Andreas Schwab <schwab@redhat.com>
36221
36222 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36223 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36224 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36225 ($(objpfx)tst-fnmatch-mem): New rule.
36226 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36227 * posix/tst-fnmatch.c (main): Call mtrace.
36228
13b69574
L
362292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36230
36231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36232 Support Intel processor model 6 and model 0x2c.
36233
da93d214
LM
362342010-11-10 Luis Machado <luisgpm@br.ibm.com>
36235
36236 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36237 signed comparison.
36238
8ca52c6e
L
362392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36240
36241 [BZ #12205]
36242 * string/test-strncasecmp.c (check_result): New function.
36243 (do_one_test): Use it.
36244 (check1): New function.
36245 (test_main): Use it.
36246 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36247 Support strcasecmp and strncasecmp.
36248
69da074d
UD
362492010-11-08 Ulrich Drepper <drepper@gmail.com>
36250
36251 [BZ #12194]
36252 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36253 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36254
ff02d528
L
362552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36256
36257 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36258 IFUNC support.
36259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36260 memset-x86-64.
36261 * sysdeps/x86_64/multiarch/bzero.S: New file.
36262 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36263 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36264 * sysdeps/x86_64/multiarch/memset.S: New file.
36265 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36267 Set bit_Prefer_SSE_for_memop for Intel processors.
36268 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36269 Define.
36270 (index_Prefer_SSE_for_memop): Define.
36271 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36272
344d0b54
LM
362732010-11-04 Luis Machado <luisgpm@br.ibm.com>
36274
36275 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36276 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36277
c0dde15b
UD
362782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36279
36280 [BZ #12191]
36281 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36282 (__x86_64_raw_data_cache_size_half): Likewise.
36283 (__x86_64_raw_shared_cache_size): Likewise.
36284 (__x86_64_raw_shared_cache_size_half): Likewise.
36285
36286 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36287 (__x86_64_raw_data_cache_size_half): Likewise.
36288 (__x86_64_raw_shared_cache_size): Likewise.
36289 (__x86_64_raw_shared_cache_size_half): Likewise.
36290 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36291 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36292 and __x86_64_raw_shared_cache_size_half. Round
36293 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36294 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36295 to multiple of 256 bytes.
36296
0e516e0e
MS
362972010-11-03 Ulrich Drepper <drepper@gmail.com>
36298
36299 [BZ #12167]
36300 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36301 of inacessible symlinks. Verify result of symlink before returning it.
36302 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36303 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36304
0e012e87
ER
363052010-10-28 Erich Ritz <erichritz@gmail.com>
36306
36307 * math/math.h (isinf): Fix typo in comment.
36308
de0ff7bc
UD
363092010-11-01 Ulrich Drepper <drepper@gmail.com>
36310
36311 * po/da.po: Update from translation team.
36312
fa41c84d
UD
363132010-10-26 Ulrich Drepper <drepper@gmail.com>
36314
36315 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36316 is added to the list.
36317
f0967738
AK
363182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36319 Ulrich Drepper <drepper@gmail.com>
36320
36321 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36322 the global list here. Move code to...
36323 (_dl_add_to_namespace_list): ...here. New function.
36324 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36325 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36326 * elf/dl-load.c (lose): Don't remove the element from the list.
36327 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36328 (_dl_map_object): Likewise.
36329
363302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36331
36332 [BZ #12159]
36333 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36334 into all bytes of SSE register.
36335 Patch by Richard Li <richardpku@gmail.com>.
36336
f0967738 363372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36338
36339 [BZ #12140]
36340 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36341 perturbing.
36342
d0b9e94f
MB
363432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36344
36345 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36346 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36347 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36348 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36350 submachine.
36351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36352
8e9f92e9
AS
363532010-10-22 Andreas Schwab <schwab@redhat.com>
36354
36355 * include/dlfcn.h (__RTLD_SECURE): Define.
36356 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36357 mode & __RTLD_SECURE instead.
36358 (open_path): Rename preloaded parameter to secure.
36359 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36360 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36361 * elf/dl-deps.c (openaux): Likewise.
36362 * elf/rtld.c (struct map_args): Remove is_preloaded.
36363 (map_doit): Don't use it.
36364 (dl_main): Likewise.
36365 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36366 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36367
bc96fbda
AS
363682010-09-09 Andreas Schwab <schwab@redhat.com>
36369
36370 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36371 (sysd-rules-targets): Remove duplicates.
36372 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36373 rtld-%.$o dependency.
36374
22cd1c9b
AS
363752010-10-18 Andreas Schwab <schwab@redhat.com>
36376
36377 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36378 _dl_map_object do it.
36379
18edac48
UD
363802010-10-19 Ulrich Drepper <drepper@gmail.com>
36381
36382 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36383 fast fma builtins, define the macros in the C99 standard.
36384 (FP_FAST_FMAF): Likewise.
36385 (FP_FAST_FMAL): Likewise.
36386 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36387
36388 * bits/mathdef.h: Update copyright year.
36389 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36390
d2050124
MM
363912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36392
36393 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36394 builtins, define the macros in the C99 standard.
36395 (FP_FAST_FMAF): Likewise.
36396 (FP_FAST_FMAL): Likewise.
36397 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36398 multiply/add.
36399 (FP_FAST_FMAF): Likewise.
36400
475facd1
JJ
364012010-10-15 Jakub Jelinek <jakub@redhat.com>
36402
36403 [BZ #3268]
36404 * math/libm-test.inc (fma_test): Some new testcases.
36405 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36406 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36407 y and infinite z. Do multiplication by C already in long double.
36408 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36410 y and infinite z. Do bitwise or of inexact bit into u.d.
36411 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36412 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36413 * sysdeps/i386/fpu/s_fma.S: Removed.
36414 * sysdeps/i386/fpu/s_fmal.S: Removed.
36415
7c08a05c
JJ
364162010-10-16 Jakub Jelinek <jakub@redhat.com>
36417
36418 [BZ #3268]
36419 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36420 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36421 computation is not scheduled after fetestexcept. Fix value
36422 of minimum denormal long double.
36423
f3f7372d
JJ
364242010-10-14 Jakub Jelinek <jakub@redhat.com>
36425
36426 [BZ #3268]
36427 * math/libm-test.inc (fma_test): Add some more tests.
36428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36429 correctly.
36430
14d43591
AS
364312010-10-15 Andreas Schwab <schwab@redhat.com>
36432
36433 * scripts/data/localplt-s390-linux-gnu.data: New file.
36434 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36435
5e908464
JJ
364362010-10-13 Jakub Jelinek <jakub@redhat.com>
36437
36438 [BZ #3268]
36439 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36440 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36441 instead of dbl-64.
36442 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36443 inlines.
36444 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36446 if one of x and y is very large and the other is subnormal.
36447 * sysdeps/s390/fpu/s_fmaf.c: New file.
36448 * sysdeps/s390/fpu/s_fma.c: New file.
36449 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36450 * sysdeps/powerpc/fpu/s_fma.S: New file.
36451 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36452 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36453 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36454
364552010-10-12 Jakub Jelinek <jakub@redhat.com>
36456
36457 [BZ #3268]
36458 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36459 fma tests.
36460 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36461 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36462 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36463 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36464 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36465 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36466 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36467
b833d51f
UD
364682010-10-12 Ulrich Drepper <drepper@redhat.com>
36469
36470 [BZ #12078]
36471 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36472 * posix/bug-regex31.input: Add test case.
36473
1751705d
UD
364742010-10-11 Ulrich Drepper <drepper@gmail.com>
36475
e9b9cbf5
UD
36476 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36477 * posix/bug-regex31.input: New file.
36478
36479 [BZ #12078]
36480 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36481 (parse_sub_exp): Fix last change, use postorder.
36482
ef06edbe
UD
36483 * posix/bug-regex31.c: New file.
36484 * posix/Makefile: Add rules to build and run bug-regex31.
36485
a129c80d
UD
36486 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36487
36488 [BZ #12078]
36489 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36490
b76b818e
UD
36491 [BZ #12108]
36492 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36493 to have entries in sys_siglist.
36494
1751705d
UD
36495 [BZ #12093]
36496 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36497 be NULL.
36498
9ff8d36f
JJ
364992010-10-07 Jakub Jelinek <jakub@redhat.com>
36500
36501 [BZ #3268]
36502 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36503 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36504 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36505 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36506 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36507 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36508 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36509 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36510 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36511 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36512 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36513 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36514 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36515 * math/ftestexcept.c (fetestexcept): Likewise.
36516 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36517 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36518 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36519 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36520 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36521 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36522 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36523
af325969
UD
365242010-10-11 Ulrich Drepper <drepper@gmail.com>
36525
c579b202 36526 [BZ #12107]
af325969
UD
36527 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36528 newline.
36529
67a67b95
UD
365302010-10-06 Ulrich Drepper <drepper@gmail.com>
36531
36532 * string/bug-strstr1.c: New file.
36533 * string/Makefile: Add rules to build and run bug-strstr1.
36534
5fb308bc
EB
365352010-10-05 Eric Blake <eblake@redhat.com>
36536
36537 [BZ #12092]
36538 * string/str-two-way.h (two_way_long_needle): Always clear memory
36539 when skipping input due to the shift table.
36540
45db99c7
UD
365412010-10-03 Ulrich Drepper <drepper@gmail.com>
36542
3b111893
UD
36543 [BZ #12005]
36544 * malloc/mcheck.c: Handle large requests.
36545
45db99c7
UD
36546 [BZ #12077]
36547 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36548 for strncmp and strncasecmp.
36549 * string/stratcliff.c: Add tests for strcmp and strncmp.
36550 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36551
cf7a1eb8
NI
365522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36553
36554 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36555 __set_fpscr.
36556
6484ba5e
AJ
365572010-09-30 Andreas Jaeger <aj@suse.de>
36558
36559 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36560 (CGROUP_SUPER_MAGIC): Define.
36561 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36562 Handle btrfs and cgroup file systems.
36563 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36564 Likewise.
36565
91c42559
LM
365662010-09-27 Luis Machado <luisgpm@br.ibm.com>
36567
36568 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36569 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36570
87a97932
AK
365712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36572
36573 [BZ #12067]
36574 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36575 trying to locate the ELF header.
36576
c21cc9bc
AS
365772010-09-27 Andreas Schwab <schwab@redhat.com>
36578
36579 [BZ #11611]
36580 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36581 Mask out sign-bit copies when constructing f_fsid.
36582
315970f6
PB
365832010-09-24 Petr Baudis <pasky@suse.cz>
36584
36585 * debug/stack_chk_fail_local.c: Add missing licence exception.
36586 * debug/warning-nop.c: Likewise.
36587
1ac7a2c7
JM
365882010-09-15 Joseph Myers <joseph@codesourcery.com>
36589
36590 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36591 implementing getdents64 using getdents syscall, set d_type if
36592 __ASSUME_GETDENTS32_D_TYPE.
36593
56801c50
AS
365942010-09-16 Andreas Schwab <schwab@redhat.com>
36595
36596 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36597 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36598
dda51327
UD
365992010-09-21 Ulrich Drepper <drepper@redhat.com>
36600
36601 [BZ #12037]
36602 * posix/unistd.h: Undo change of feature selection for ftruncate from
36603 2010-01-11.
36604
8ffcee4a
UD
366052010-09-20 Ulrich Drepper <drepper@redhat.com>
36606
a545ecd9 36607 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36608 detection.
36609
e24f0a8b
AS
366102010-09-20 Andreas Schwab <schwab@redhat.com>
36611
36612 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36613 fanotify_mark.
36614 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36615
7291c56f
AS
366162010-09-14 Andreas Schwab <schwab@redhat.com>
36617
36618 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36619 variables after CHECK_SP call.
36620 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36621
bc5fb037
AS
366222010-09-13 Andreas Schwab <schwab@redhat.com>
36623 Ulrich Drepper <drepper@redhat.com>
36624
36625 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36626 re-relocationg ld.so.
36627 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36628 _dl_init_paths call.
36629 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36630 here anymore.
36631
e66e7419
UD
366322010-09-14 Ulrich Drepper <drepper@redhat.com>
36633
36634 * resolv/res_init.c (__res_vinit): Count the default server we added.
36635
c044aa75
CLT
366362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36637 Ulrich Drepper <drepper@redhat.com>
36638
36639 [BZ #11968]
36640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36641 (____longjmp_chk): Use %ebx for saving value across system call.
36642 Add unwind info.
36643
32cf4069
AS
366442010-09-06 Andreas Schwab <schwab@redhat.com>
36645
36646 * manual/Makefile: Don't mix pattern rules with normal rules.
36647
817328ee
AS
366482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36649
36650 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36651 operation.
36652 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36653 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36654 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36655 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36656 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36657 Likewise.
36658
29fddf61
UD
366592010-09-04 Ulrich Drepper <drepper@redhat.com>
36660
36661 [BZ #11979]
36662 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36663 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36664
0959ffc9
UD
366652010-09-02 Ulrich Drepper <drepper@redhat.com>
36666
36667 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36668 * sysdeps/x86_64/addmul_1.S: Likewise.
36669 * sysdeps/x86_64/lshift.S: Likewise.
36670 * sysdeps/x86_64/mul_1.S: Likewise.
36671 * sysdeps/x86_64/rshift.S: Likewise.
36672 * sysdeps/x86_64/sub_n.S: Likewise.
36673 * sysdeps/x86_64/submul_1.S: Likewise.
36674
ece29840
ST
366752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36676
0959ffc9
UD
36677 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36678 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36679 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36680 * bits/sched.h [__need_schedparam]
ece29840 36681 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36682 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36683 (__defined_schedparam): Define to 1.
ece29840
ST
36684 (__sched_param): New structure, identical to sched_param.
36685 (__need_schedparam): Undefine.
36686
e53a31fe
MF
366872010-08-31 Mike Frysinger <vapier@gentoo.org>
36688
fdc0c10d
MF
36689 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36690 (epoll_create1): Declare.
36691
e53a31fe
MF
36692 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36693
a726d796
AS
366942010-08-31 Andreas Schwab <schwab@redhat.com>
36695
36696 [BZ #7066]
36697 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36698 shifting retval into place.
36699
2f3e3dc7
UD
367002010-09-01 Ulrich Drepper <drepper@redhat.com>
36701
f2933da9
UD
36702 * nis/rpcsvc/nis.h: Update copyright notice.
36703 * nis/rpcsvc/nis.x: Likewise.
36704 * nis/rpcsvc/nis_callback.h: Likewise.
36705 * nis/rpcsvc/nis_callback.x: Likewise.
36706 * nis/rpcsvc/nis_object.x: Likewise.
36707 * nis/rpcsvc/nis_tags.h: Likewise.
36708 * nis/rpcsvc/yp.h: Likewise.
36709 * nis/rpcsvc/yp.x: Likewise.
36710 * nis/rpcsvc/ypupd.h: Likewise.
36711 * nis/yp_xdr.c: Likewise.
36712 * nis/ypupdate_xdr.c: Likewise.
36713
2f3e3dc7
UD
36714 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36715 mainly the body of pmap_getport. Add parameters to specify timeouts.
36716 (pmap_getport): Use __libc_rpc_getport.
36717 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36718 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36719 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36720
f3dcc2f9
AS
367212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36722
36723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36724 fanotify_mark.
36725
6d34eb5b
RM
367262010-08-27 Roland McGrath <roland@redhat.com>
36727
36728 * sysdeps/i386/i686/multiarch/Makefile
36729 (CFLAGS-varshift.c): New variable.
36730
9ea3de11
UD
367312010-08-27 Ulrich Drepper <drepper@redhat.com>
36732
c96d23fc
UD
36733 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36734 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36735
9ea3de11
UD
36736 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36737
36738 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36739
623aac7f
L
367402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36741
36742 * sysdeps/x86_64/strlen.S: Unroll the loop.
36743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36744 strlen-sse2 strlen-sse2-bsf.
36745 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36746 __strlen_no_bsf if bit_Slow_BSF is set.
36747 (__strlen_sse42): Removed.
36748 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36749 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36750
8b2b7715
RM
367512010-08-25 Roland McGrath <roland@redhat.com>
36752
36753 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36754 * sysdeps/x86_64/multiarch/varshift.c: New file.
36755 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36756 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36757 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36758 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36759
e73015f2
L
367602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36761
36762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36763 strlen-sse2 strlen-sse2-bsf.
36764 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36765 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36766 (__strlen_sse2): Removed.
36767 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36768 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36770 bit_Slow_BSF for Atom.
36771 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36772 (index_Slow_BSF): Define.
36773 (HAS_SLOW_BSF): Define.
36774
df24a73e
UD
367752010-08-25 Ulrich Drepper <drepper@redhat.com>
36776
36777 [BZ #10851]
36778 * resolv/res_init.c (__res_vinit): When no server address at all
36779 is given default to loopback.
36780
f2ac4868
RM
367812010-08-24 Roland McGrath <roland@redhat.com>
36782
09055553
RM
36783 * configure.in: Remove config-name.h generation.
36784 * configure: Regenerated.
36785 * config-name.in: File removed.
36786 * scripts/config-uname.sh: New file.
36787 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36788 ($(objdir)config-name.h): New target.
36789
f2ac4868
RM
36790 * sunrpc/rpc_parse.h: Avoid nested comment.
36791
73f27d5e
RH
367922010-08-24 Richard Henderson <rth@redhat.com>
36793 Ulrich Drepper <drepper@redhat.com>
36794 H.J. Lu <hongjiu.lu@intel.com>
36795
36796 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36798 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36799 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36800 _mm_alignr_epi8 with _mm_loadu_si128.
36801 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36802 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36803 (__m128i_shift_right): Removed.
36804 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36805 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36806 * sysdeps/x86_64/multiarch/varshift.h: New file.
36807 * sysdeps/x86_64/multiarch/varshift.S: New file.
36808
84b9230c
MF
368092010-08-21 Mike Frysinger <vapier@gentoo.org>
36810
36811 * configure.in: Move assembler checks to before sysdep dir checking.
36812
9bbd0ddc
PB
368132010-08-20 Petr Baudis <pasky@suse.cz>
36814
36815 * LICENSES: Sync the sunrpc license.
36816
9da4bb31
UD
368172010-08-19 Ulrich Drepper <drepper@redhat.com>
36818
a7ab6ec8
UD
36819 * sunrpc/auth_des.c: Update copyright notice once again.
36820 * sunrpc/auth_none.c: Likewise.
36821 * sunrpc/auth_unix.c: Likewise.
36822 * sunrpc/authdes_prot.c: Likewise.
36823 * sunrpc/authuxprot.c: Likewise.
36824 * sunrpc/bindrsvprt.c: Likewise.
36825 * sunrpc/clnt_gen.c: Likewise.
36826 * sunrpc/clnt_perr.c: Likewise.
36827 * sunrpc/clnt_raw.c: Likewise.
36828 * sunrpc/clnt_simp.c: Likewise.
36829 * sunrpc/clnt_tcp.c: Likewise.
36830 * sunrpc/clnt_udp.c: Likewise.
36831 * sunrpc/clnt_unix.c: Likewise.
36832 * sunrpc/des_crypt.c: Likewise.
36833 * sunrpc/des_soft.c: Likewise.
36834 * sunrpc/get_myaddr.c: Likewise.
36835 * sunrpc/getrpcport.c: Likewise.
36836 * sunrpc/key_call.c: Likewise.
36837 * sunrpc/key_prot.c: Likewise.
36838 * sunrpc/openchild.c: Likewise.
36839 * sunrpc/pm_getmaps.c: Likewise.
36840 * sunrpc/pm_getport.c: Likewise.
36841 * sunrpc/pmap_clnt.c: Likewise.
36842 * sunrpc/pmap_prot.c: Likewise.
36843 * sunrpc/pmap_prot2.c: Likewise.
36844 * sunrpc/pmap_rmt.c: Likewise.
36845 * sunrpc/rpc/auth.h: Likewise.
36846 * sunrpc/rpc/auth_unix.h: Likewise.
36847 * sunrpc/rpc/clnt.h: Likewise.
36848 * sunrpc/rpc/des_crypt.h: Likewise.
36849 * sunrpc/rpc/key_prot.h: Likewise.
36850 * sunrpc/rpc/netdb.h: Likewise.
36851 * sunrpc/rpc/pmap_clnt.h: Likewise.
36852 * sunrpc/rpc/pmap_prot.h: Likewise.
36853 * sunrpc/rpc/pmap_rmt.h: Likewise.
36854 * sunrpc/rpc/rpc.h: Likewise.
36855 * sunrpc/rpc/rpc_des.h: Likewise.
36856 * sunrpc/rpc/rpc_msg.h: Likewise.
36857 * sunrpc/rpc/svc.h: Likewise.
36858 * sunrpc/rpc/svc_auth.h: Likewise.
36859 * sunrpc/rpc/types.h: Likewise.
36860 * sunrpc/rpc/xdr.h: Likewise.
36861 * sunrpc/rpc_clntout.c: Likewise.
36862 * sunrpc/rpc_cmsg.c: Likewise.
36863 * sunrpc/rpc_common.c: Likewise.
36864 * sunrpc/rpc_cout.c: Likewise.
36865 * sunrpc/rpc_dtable.c: Likewise.
36866 * sunrpc/rpc_hout.c: Likewise.
36867 * sunrpc/rpc_main.c: Likewise.
36868 * sunrpc/rpc_parse.c: Likewise.
36869 * sunrpc/rpc_parse.h: Likewise.
36870 * sunrpc/rpc_prot.c: Likewise.
36871 * sunrpc/rpc_sample.c: Likewise.
36872 * sunrpc/rpc_scan.c: Likewise.
36873 * sunrpc/rpc_scan.h: Likewise.
36874 * sunrpc/rpc_svcout.c: Likewise.
36875 * sunrpc/rpc_tblout.c: Likewise.
36876 * sunrpc/rpc_util.c: Likewise.
36877 * sunrpc/rpc_util.h: Likewise.
36878 * sunrpc/rpcinfo.c: Likewise.
36879 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36880 * sunrpc/rpcsvc/key_prot.x: Likewise.
36881 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36882 * sunrpc/rpcsvc/mount.x: Likewise.
36883 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36884 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36885 * sunrpc/rpcsvc/rex.x: Likewise.
36886 * sunrpc/rpcsvc/rstat.x: Likewise.
36887 * sunrpc/rpcsvc/rusers.x: Likewise.
36888 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36889 * sunrpc/rpcsvc/spray.x: Likewise.
36890 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36891 * sunrpc/rtime.c: Likewise.
36892 * sunrpc/svc.c: Likewise.
36893 * sunrpc/svc_auth.c: Likewise.
36894 * sunrpc/svc_authux.c: Likewise.
36895 * sunrpc/svc_raw.c: Likewise.
36896 * sunrpc/svc_run.c: Likewise.
36897 * sunrpc/svc_simple.c: Likewise.
36898 * sunrpc/svc_tcp.c: Likewise.
36899 * sunrpc/svc_udp.c: Likewise.
36900 * sunrpc/svc_unix.c: Likewise.
36901 * sunrpc/svcauth_des.c: Likewise.
36902 * sunrpc/xcrypt.c: Likewise.
36903 * sunrpc/xdr.c: Likewise.
36904 * sunrpc/xdr_array.c: Likewise.
36905 * sunrpc/xdr_float.c: Likewise.
36906 * sunrpc/xdr_mem.c: Likewise.
36907 * sunrpc/xdr_rec.c: Likewise.
36908 * sunrpc/xdr_ref.c: Likewise.
36909 * sunrpc/xdr_sizeof.c: Likewise.
36910 * sunrpc/xdr_stdio.c: Likewise.
36911
9da4bb31
UD
36912 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36913 handling.
36914
bdaa77bc
AS
369152010-08-19 Andreas Schwab <schwab@redhat.com>
36916
36917 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36918
fe2f79db
LM
369192010-08-19 Luis Machado <luisgpm@br.ibm.com>
36920
36921 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36922 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36923 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36924 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36925 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36926 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36927 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36928 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36929 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36930 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36931 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36932 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36933 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36934 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36935
b9b42ee0
AB
369362010-07-26 Anton Blanchard <anton@samba.org>
36937
36938 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36939 * malloc/arena.c (heap_trim): Likewise.
36940
1c06ba31
UD
369412010-08-16 Ulrich Drepper <drepper@redhat.com>
36942
36943 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36944 here. Not...
36945 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36946 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36947
f8392f40
L
369482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36949
36950 * sysdeps/i386/elf/Makefile: New file.
36951
3162f12e
AS
369522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36953
36954 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36955 from fanotify_init.
36956 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36958
28c90b2c
UD
369592010-08-15 Ulrich Drepper <drepper@redhat.com>
36960
36961 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36962 of strncasecmp_l.
1feccb6c 36963 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36964
ca6bb004
UD
369652010-08-14 Ulrich Drepper <drepper@redhat.com>
36966
e9f82e0d
UD
36967 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36968 strncase_l-nonascii.
36969 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36970 Add strncase_l-ssse3.
36971 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36972 * sysdeps/x86_64/strcmp.S: Likewise.
36973 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36974 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36975 * sysdeps/x86_64/strncase.S: New file.
36976 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36977 * sysdeps/x86_64/strncase_l.S: New file.
36978 * string/Makefile (strop-tests): Add strncasecmp.
36979 * string/test-strncasecmp.c: New file.
36980
36981 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36982 warning.
36983
ca6bb004
UD
36984 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36985 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36986
052fa7b3
AS
369872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36988
36989 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36990
962dba78
UD
369912010-08-12 Ulrich Drepper <drepper@redhat.com>
36992
36993 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36994 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36995 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36996
bebff237
AM
369972010-05-01 Alan Modra <amodra@gmail.com>
36998
36999 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37000 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37001 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37002 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37003 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37004 tidying. Don't tail-call __sigjmp_save for static lib.
37005 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37006 save location.
37007 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37008 (CALL_MCOUNT): Add eh info, and nop after bl.
37009 (TAIL_CALL_SYSCALL_ERROR): New macro.
37010 (PSEUDO_RET): Use it.
37011 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37012 Correct save location of integer regs and cr.
37013 (_dl_profile_resolve): Correct cr save location. Delete nops
37014 after bl when SHARED. Reduce cfi size a little by better
37015 placement of cfi directives.
37016 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37017 make a stack frame. Instead use parm save area as a temp.
37018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37019 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37021 Don't make a stack frame for parent, use parm save area.
37022 Increase child stack frame to 112 bytes. Don't save unused reg,
37023 and adjust reg usage. Set up cfi on error recovery and
37024 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37026 (__makecontext): Add dummy nop after jump to exit.
37027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37028 Use correct parm save area and cr save, reduce stack frame.
37029 Correct cfi for possible PSEUDO_RET frame setup.
37030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37031 Branch to local label emitted by PSEUDO_RET rather than
37032 __syscall_error.
37033
02637374
AS
370342010-08-12 Andreas Schwab <schwab@redhat.com>
37035
37036 [BZ #11904]
37037 * locale/programs/locale.c (print_assignment): New function.
37038 (show_locale_vars): Use it.
37039
c3e2f19b
UD
370402010-08-11 Ulrich Drepper <drepper@redhat.com>
37041
3cdaa6ad
UD
37042 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37043 field.
37044 (struct statfs64): Likewise.
37045 (_STATFS_F_FLAGS): Define.
37046 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37047 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37048 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37049 (ST_VALID): Define locally.
37050 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37051 __statvfs_getflags, use the provided value.
37052 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37053 __ASSUME_STATFS_F_FLAGS.
37054
754f7da3
UD
37055 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37056
10b3bedc
UD
37057 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37058 Add sys/fanotify.h.
37059 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37060 fanotify_mask for GLIBC_2.13.
37061 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37062 fanotify_init and fanotify_mark.
37063 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37064 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37065
c08fb0d7
UD
37066 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37067 Add prlimit.
37068 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37069 prlimit64 for GLIBC_2.13.
37070 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37071 prlimit64.
37072 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37073 syscall.
37074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37075 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37076 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37077 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37078 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37079 add prlimit alias.
37080 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37081
15bac72b
UD
37082 [BZ #11903]
37083 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37084 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37085
c3e2f19b
UD
37086 * nss/Makefile: Add rules to build and run tst-nss-test1.
37087 * shlib-versions: Add entry for libnss_test1.
37088 * nss/nss_test1.c: New file.
37089 * nss/tst-nss-test1.c: New file.
37090
37091 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37092 (__nss_configure_lookup): Set appropriate entry in
37093 __nss_configure_lookup to true.
37094 * nss/nsswitch.h: Define enum with indeces of databases in
37095 databases and __nss_database_custom arrays. Declare
37096 __nss_database_custom.
37097 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37098 to avoid using nscd when custom rules are installed.
37099 * nss/getXXbyYY_r.c: Likewise.
37100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37101
37102 * nss/nss_files/files-parse.c: Whitespace fixes.
37103
f15ce4d8
UD
371042010-08-09 Ulrich Drepper <drepper@redhat.com>
37105
37106 [BZ #11883]
37107 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37108 * posix/fnmatch_loop.c: Likewise.
37109
d22e4cc9
AK
371102010-07-17 Andi Kleen <ak@linux.intel.com>
37111
37112 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37113 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37114 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37115 * Versions.def [GLIBC_2.13]: Add.
37116
805bc17d
UD
371172010-08-06 Ulrich Drepper <drepper@redhat.com>
37118
37119 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37120 Also fail if tpwd after pwuid call is NULL.
37121
5a42321d
ST
371222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37123
37124 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37125 when converting to ms.
37126
fd3ebeda
ST
371272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37128
37129 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37130 EOPNOTSUPP errors with ENOTTY.
37131 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37132 EOPNOTSUPP errors with ENOTTY.
37133
73507d3a
UD
371342010-07-31 Ulrich Drepper <drepper@redhat.com>
37135
37136 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37137 Add strcasecmp_l-ssse3.
37138 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37139 strcasecmp.
37140 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37141 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37142 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37143
fe36dd02
UD
371442010-07-30 Ulrich Drepper <drepper@redhat.com>
37145
66f6765a
UD
37146 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37147
42e08a54
UD
37148 * string/Makefile (strop-tests): Add strcasecmp.
37149 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37150 strcasecmp_l-nonascii.
37151 (gen-as-const-headers): Add locale-defines.sym.
37152 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37153 * sysdeps/x86_64/strcasecmp.S: New file.
37154 * sysdeps/x86_64/strcasecmp_l.S: New file.
37155 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37156 * sysdeps/x86_64/locale-defines.sym: New file.
37157 * string/test-strcasecmp.c: New file.
37158
fe36dd02
UD
37159 * string/test-strcasestr.c: Test both ends of the range of characters.
37160 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37161
48cbc0d6
RM
371622010-07-29 Roland McGrath <roland@redhat.com>
37163
76e6d6bc 37164 [BZ #11856]
48cbc0d6
RM
37165 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37166
880113d9
UD
371672010-07-27 Ulrich Drepper <drepper@redhat.com>
37168
37169 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37170 for ld.so.
37171
deb9cabb
AS
371722010-07-27 Andreas Schwab <schwab@redhat.com>
37173
37174 * manual/memory.texi (Malloc Tunable Parameters): Document
37175 M_PERTURB.
37176
1c7570ff
RM
371772010-07-26 Roland McGrath <roland@redhat.com>
37178
37179 [BZ #11840]
37180 * configure.in (-fgnu89-inline check): Set and substitute
37181 gnu89_inline, not libc_cv_gnu89_inline.
37182 * configure: Regenerated.
37183 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37184
24fb0f88
UD
371852010-07-26 Ulrich Drepper <drepper@redhat.com>
37186
37187 * string/test-strnlen.c: New file.
37188 * string/Makefile (strop-tests): Add strnlen.
37189 * string/tester.c (test_strnlen): Add a few more test cases.
37190 * string/tst-strlen.c: Better error reporting.
37191
37192 * sysdeps/x86_64/strnlen.S: New file.
37193
8e96b93a
UD
371942010-07-24 Ulrich Drepper <drepper@redhat.com>
37195
37196 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37197 lower-latency instructions.
37198
dbc676d4
UD
371992010-07-23 Ulrich Drepper <drepper@redhat.com>
37200
37201 * string/test-strcasestr.c: New file.
37202 * string/test-strstr.c: New file.
37203 * string/Makefile (strop-tests): Add strstr and strcasestr.
37204 * string/str-two-way.h: Don't undefine MAX.
37205 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37206
f6a31e0e
AS
372072010-07-21 Andreas Schwab <schwab@redhat.com>
37208
37209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37210 strcasestr-nonascii.
37211 (CFLAGS-strcasestr-nonascii.c): Define.
37212 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37213 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37214 Remove unused attribute.
37215
5dbc3b6c
RM
372162010-07-20 Roland McGrath <roland@redhat.com>
37217
37218 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37219 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37220 ld.so.cache was broken. With it, there is no way to disable dsocaps
37221 like LD_HWCAP_MASK can disable hwcaps.
37222
23d101d8
EPM
372232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37224
37225 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37226
cc9f2e47
UD
372272010-07-16 Ulrich Drepper <drepper@redhat.com>
37228
37229 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37230 call in strcasestr.
37231 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37232 __strcasestr_sse42_nonascii.
37233 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37234 strcasestr-nonascii.c.
37235 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37236
77c1b069
LM
372372010-06-15 Luis Machado <luisgpm@br.ibm.com>
37238
37239 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37240 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37241 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37242 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37243
440566c3
UD
372442010-07-09 Ulrich Drepper <drepper@redhat.com>
37245
37246 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37247 fcntl.
37248
5be9d05d
AS
372492010-07-06 Andreas Schwab <schwab@redhat.com>
37250
c30b7ee2 37251 [BZ #11577]
5be9d05d
AS
37252 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37253 dl_signal_cerror.
37254
8a492a67
UD
372552010-07-06 Ulrich Drepper <drepper@redhat.com>
37256
37257 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37258 _PC_PIPE_BUF using F_GETPIPE_SZ.
37259
713df3d5
RM
372602010-07-05 Roland McGrath <roland@redhat.com>
37261
37262 * manual/arith.texi (Rounding Functions): Fix rint description
37263 implicit in round description.
37264
702e8f14
UD
372652010-07-02 Ulrich Drepper <drepper@redhat.com>
37266
37267 * elf/Makefile: Fix linking for a few tests to make recent linker
37268 happy.
37269
52ed8be9
AS
372702010-06-30 Andreas Schwab <schwab@redhat.com>
37271
37272 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37273 $(common-objpfx)libc_nonshared.a.
37274
f47c9a11
LM
372752010-06-21 Luis Machado <luisgpm@br.ibm.com>
37276
37277 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37278 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37279 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37280 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37281 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37282 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37283 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37284 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37299 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37300 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37301 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37302 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37303 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37304 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37305 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37306 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37307 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37308 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37309 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37310 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37325
6fb8cbcb
L
373262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37327
37328 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37329 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37330 * string/memmove.c (memmove): Renamed to ...
37331 (MEMMOVE): ...this. Default to memmove.
37332 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37333 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37334 (END_CHK): Define.
37335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37336 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37337 mempcpy-ssse3-back memmove-ssse3-back.
37338 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37339 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37340 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37341 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37342 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37343 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37344 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37345 * sysdeps/x86_64/multiarch/memmove.c: New file.
37346 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37347 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37348 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37349 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37350 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37351 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37352 Define.
37353 (index_Fast_Copy_Backward): Define.
37354 (HAS_ARCH_FEATURE): Define.
37355 (HAS_FAST_REP_STRING): Define.
37356 (HAS_FAST_COPY_BACKWARD): Define.
37357
4e733bac 373582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37359
37360 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37361 Restore proper fallback handling.
37362
63c4ed22
UD
373632010-06-19 Ulrich Drepper <drepper@redhat.com>
37364
ac2b484c
UD
37365 [BZ #11701]
37366 * posix/group_member.c (__group_member): Correct checking loop.
37367
63c4ed22
UD
37368 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37369 OOM in getpwuid_r correctly. Return error number when the caller
37370 should return, otherwise -1.
37371 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37372 call returning > 0 value.
37373 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37374
765ade4b
AS
373752010-06-07 Andreas Schwab <schwab@redhat.com>
37376
37377 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37378 libc_nonshared.a from targets in modules-names.
37379
80da2e09
KS
373802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37381
37382 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37383 requires it.
37384
158db122
LM
373852010-06-10 Luis Machado <luisgpm@br.ibm.com>
37386
37387 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37388 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37389 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37390 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37391
caa78cf8
AS
373922010-06-02 Andreas Schwab <schwab@redhat.com>
37393
37394 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37395
b2ef2c01
UD
373962010-06-14 Ulrich Drepper <drepper@redhat.com>
37397
37398 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37399 and F_GETPIPE_SZ.
37400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37404 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37405 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37406
fbd643b6
RM
374072010-06-14 Roland McGrath <roland@redhat.com>
37408
37409 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37410
f32f2869
JJ
374112010-06-07 Jakub Jelinek <jakub@redhat.com>
37412
37413 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37414 __REDIRECT followed by __THROW.
37415 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37416 * posix/getopt.h (getopt): Likewise.
37417
2a50c078
EPM
374182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37419
37420 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37421 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37422 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37423 in AT_FLAGS.
37424 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37425 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37426
eb5ad2eb
LM
374272010-05-28 Luis Machado <luisgpm@br.ibm.com>
37428
37429 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37430
3c88fe1e
L
374312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37432
37433 [BZ #11640]
37434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37435 Properly check family and model.
37436
d2f73151
TY
374372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37438
37439 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37440
ebd2e13d
LM
374412010-05-24 Luis Machado <luisgpm@br.ibm.com>
37442
37443 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37444
b32b8b45
UD
374452010-05-21 Ulrich Drepper <drepper@redhat.com>
37446
37447 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37448 symbol reference.
37449
9acbe24d
AS
374502010-05-19 Andreas Schwab <schwab@redhat.com>
37451
37452 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37453 symbol reference.
37454
f0ccf6ea
AS
374552010-05-21 Andreas Schwab <schwab@redhat.com>
37456
3d04ff3a
AS
37457 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37458 and internal_recvmmsg.
37459 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37460 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37461 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37462 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37463
f0ccf6ea
AS
37464 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37465 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37466 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37467
5b08ac57
AS
374682010-05-20 Andreas Schwab <schwab@redhat.com>
37469
37470 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37471
4828935d
LM
374722010-05-17 Luis Machado <luisgpm@br.ibm.com>
37473
37474 POWER7 optimizations.
37475 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37476 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37477
373d545e
UD
374782010-05-19 Ulrich Drepper <drepper@redhat.com>
37479
37480 * version.h: Update for 2.13 development version.
37481
21a2b1ae
AS
374822010-05-12 Andrew Stubbs <ams@codesourcery.com>
37483
37484 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37485 exceptions. Return 0.
37486
3f7dcb2b
RM
374872010-05-07 Roland McGrath <roland@redhat.com>
37488
37489 * elf/ldconfig.c (main): Add a const.
37490
5f24d53a 374912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37492
a160f8d8
UD
37493 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37494 (args_options): Add no-idn option.
37495 (ahosts_keys_int): Add idn_flags to ai_flags.
37496 (parse_option): Handle 'i' option to clear idn_flags.
37497
5f24d53a
UD
37498 * malloc/malloc.c (_int_free): Possible race in the most recently
37499 added check. Only act on the data if no current modification
37500 happened.
265bb1ce
UD
37501
37502See ChangeLog.17 for earlier changes.
This page took 5.056612 seconds and 5 git commands to generate.